]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
config.status: avoid corrupting $ac_t
authorEric Blake <eblake@redhat.com>
Fri, 17 Sep 2010 16:39:29 +0000 (10:39 -0600)
committerEric Blake <eblake@redhat.com>
Fri, 17 Sep 2010 16:39:29 +0000 (10:39 -0600)
* lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS_PREPARE): Use a
different name, so as not to clash with pre-2.50 usage of "$ac_t"
as a tab character.
Reported by Sam Steingold.

Signed-off-by: Eric Blake <eblake@redhat.com>
ChangeLog
lib/autoconf/status.m4

index 82185b4741ce762f83eeebc5e3008a2d710eb30b..8067072b0f1561c899ebc21cd71c4eb2ec578bdf 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2010-09-17  Eric Blake  <eblake@redhat.com>
+
+       config.status: avoid corrupting $ac_t
+       * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS_PREPARE): Use a
+       different name, so as not to clash with pre-2.50 usage of "$ac_t"
+       as a tab character.
+       Reported by Sam Steingold.
+
 2010-09-17  Bruno Haible  <bruno@clisp.org>
 
        docs: mark several macros obsolete
index 07889ae33e6211d4d44ae897d21b31e9bc1011e3..79373882fef417b8fe3d25963b20c993ecec1f26 100644 (file)
@@ -749,8 +749,8 @@ _ACEOF
 # handling of long lines.
 ac_delim='%!_!# '
 for ac_last_try in false false :; do
-  ac_t=`sed -n "/$ac_delim/p" confdefs.h`
-  if test -z "$ac_t"; then
+  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
+  if test -z "$ac_tt"; then
     break
   elif $ac_last_try; then
     AC_MSG_ERROR([could not make $CONFIG_HEADERS])