summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Blake <eblake@redhat.com>2010-09-17 10:39:29 -0600
committerEric Blake <eblake@redhat.com>2010-09-17 10:39:29 -0600
commit779418b2d51457502cdf2e0d601ad9329089a74c (patch)
tree63e0b20bc1b1f989b51b69e46bbe9c67fc37e35b
parentb99695da259535240b5f86ae8f073efd30786869 (diff)
downloadautoconf-779418b2d51457502cdf2e0d601ad9329089a74c.tar.gz
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. Signed-off-by: Eric Blake <eblake@redhat.com>
-rw-r--r--ChangeLog8
-rw-r--r--lib/autoconf/status.m44
2 files changed, 10 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 82185b47..8067072b 100644
--- 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
diff --git a/lib/autoconf/status.m4 b/lib/autoconf/status.m4
index 07889ae3..79373882 100644
--- a/lib/autoconf/status.m4
+++ b/lib/autoconf/status.m4
@@ -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])