]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
Avoid unwanted error message in configure output.
authorRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Sat, 7 Aug 2010 17:16:35 +0000 (19:16 +0200)
committerRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Sat, 7 Aug 2010 17:20:57 +0000 (19:20 +0200)
* 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>
ChangeLog
libltdl/m4/libtool.m4

index eb077af01cefe36c928a7546ab18275c016a5d48..6d765d26f05ebef48d9efeecbbd38e6833a80a86 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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
index d8d6aebd1fb38b9fdae2ec49917ea09bbc080387..c36a6b4c60f7b7f1d9227202e98cf4dba8eb87c4 100644 (file)
@@ -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