diff options
author | Ralf Wildenhues <Ralf.Wildenhues@gmx.de> | 2010-08-07 19:16:35 +0200 |
---|---|---|
committer | Ralf Wildenhues <Ralf.Wildenhues@gmx.de> | 2010-08-07 19:20:57 +0200 |
commit | b7b0e70e9863d4ddc2654614173d6a6d01556805 (patch) | |
tree | 4f9558ea0ea31eb821c418a1890755f6a12de91d | |
parent | 4246f026cb93c6f86271fbe717c27b443b07b389 (diff) | |
download | libtool-b7b0e70e9863d4ddc2654614173d6a6d01556805.tar.gz |
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>
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | libltdl/m4/libtool.m4 | 2 |
2 files changed, 5 insertions, 1 deletions
@@ -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 diff --git a/libltdl/m4/libtool.m4 b/libltdl/m4/libtool.m4 index d8d6aebd..c36a6b4c 100644 --- a/libltdl/m4/libtool.m4 +++ b/libltdl/m4/libtool.m4 @@ -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 |