mirror of
git://git.savannah.gnu.org/libtool.git
synced 2024-11-27 06:09:57 +08:00
Avoid unwanted error message in configure output.
* libltdl/m4/libtool.m4 (_LT_PROG_ECHO_BACKSLASH): Try print in subshell, so eventual `print: not found' is hidden reliably. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
This commit is contained in:
parent
4246f026cb
commit
b7b0e70e98
@ -1,5 +1,9 @@
|
||||
2010-08-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
|
||||
|
||||
Avoid unwanted error message in configure output.
|
||||
* libltdl/m4/libtool.m4 (_LT_PROG_ECHO_BACKSLASH): Try print
|
||||
in subshell, so eventual `print: not found' is hidden reliably.
|
||||
|
||||
Fix compilation of program sources on AIX.
|
||||
* tests/lt_dlopenext.at (lt_dlopenext error messages): Do not
|
||||
use $LIBTOOL when compiling plain object, AIX by default does
|
||||
|
2
libltdl/m4/libtool.m4
vendored
2
libltdl/m4/libtool.m4
vendored
@ -1122,7 +1122,7 @@ ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
|
||||
|
||||
AC_MSG_CHECKING([how to print strings])
|
||||
# Test print first, because it will be a builtin if present.
|
||||
if test "X`print -r -- -n 2>/dev/null`" = X-n && \
|
||||
if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
|
||||
test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
|
||||
ECHO='print -r --'
|
||||
elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
|
||||
|
Loading…
Reference in New Issue
Block a user