[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] config.status: avoid corrupting $ac_t
From: |
Eric Blake |
Subject: |
[PATCH] config.status: avoid corrupting $ac_t |
Date: |
Fri, 17 Sep 2010 10:43:41 -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 <address@hidden>
---
I spent more time explaining this then actually doing it :)
ChangeLog | 8 ++++++++
lib/autoconf/status.m4 | 4 ++--
2 files changed, 10 insertions(+), 2 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 82185b4..8067072 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2010-09-17 Eric Blake <address@hidden>
+
+ 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 <address@hidden>
docs: mark several macros obsolete
diff --git a/lib/autoconf/status.m4 b/lib/autoconf/status.m4
index 07889ae..7937388 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])
--
1.7.2.3
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [PATCH] config.status: avoid corrupting $ac_t,
Eric Blake <=