From: Ralf Wildenhues Date: Sun, 5 Mar 2006 09:09:47 +0000 (+0000) Subject: * doc/autoconf.texi (Caching Results): Fix the examples to use a X-Git-Tag: AUTOCONF-2.59c~162 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bb44ff85bcc9f89aa01b6a712a0e3d9b354ae79e;p=thirdparty%2Fautoconf.git * doc/autoconf.texi (Caching Results): Fix the examples to use a recommended quoting style and discard unwanted output. --- diff --git a/ChangeLog b/ChangeLog index 73c0dbeda..95897c4e8 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2006-03-05 Ralf Wildenhues + + * doc/autoconf.texi (Caching Results): Fix the examples to use a + recommended quoting style and discard unwanted output. + 2006-03-05 Paul Eggert * lib/autotest/general.m4 (_AT_NORMALIZE_TEST_GROUP_NUMBER): New macro. diff --git a/doc/autoconf.texi b/doc/autoconf.texi index 473efb32e..a39faba15 100644 --- a/doc/autoconf.texi +++ b/doc/autoconf.texi @@ -7585,8 +7585,8 @@ instance, the following macro is broken: AC_DEFUN([AC_SHELL_TRUE], [AC_CACHE_CHECK([whether true(1) works], [ac_cv_shell_true_works], [ac_cv_shell_true_works=no - true && ac_cv_shell_true_works=yes - if test $ac_cv_shell_true_works = yes; then + (true) 2>/dev/null && ac_cv_shell_true_works=yes + if test "$ac_cv_shell_true_works" = yes; then AC_DEFINE([TRUE_WORKS], [1], [Define if `true(1)' works properly.]) fi]) @@ -7604,8 +7604,8 @@ is: AC_DEFUN([AC_SHELL_TRUE], [AC_CACHE_CHECK([whether true(1) works], [ac_cv_shell_true_works], [ac_cv_shell_true_works=no - true && ac_cv_shell_true_works=yes]) - if test $ac_cv_shell_true_works = yes; then + (true) 2>/dev/null && ac_cv_shell_true_works=yes]) + if test "$ac_cv_shell_true_works" = yes; then AC_DEFINE([TRUE_WORKS], [1], [Define if `true(1)' works properly.]) fi