[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
FYI: AC_SUBST of build_alias etc.
From: |
Akim Demaille |
Subject: |
FYI: AC_SUBST of build_alias etc. |
Date: |
15 Jun 2001 19:44:14 +0200 |
User-agent: |
Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Academic Rigor) |
Index: ChangeLog
from Akim Demaille <address@hidden>
`build_alias' and so on are not AC_SUBST'd.
Reported by Bruno Haible.
* acgeneral.m4 (AC_ARG_VAR): Move the AC_SUBST, from here...
(_AC_ARG_VAR_PRECIOUS): to here.
Index: NEWS
===================================================================
RCS file: /cvs/autoconf/NEWS,v
retrieving revision 1.155
diff -u -u -r1.155 NEWS
--- NEWS 2001/06/13 15:30:27 1.155
+++ NEWS 2001/06/15 17:40:14
@@ -11,6 +11,7 @@
literal.
- HAVE_INTTYPES_H is defined only if not conflicting with previous
headers.
+- build_, host_, and target_alias are AC_SUBST as in 2.13.
** Generic macros
- AC_CHECK_HEADER and AC_CHECK_HEADERS support a fourth argument to
Index: acgeneral.m4
===================================================================
RCS file: /cvs/autoconf/acgeneral.m4,v
retrieving revision 1.733
diff -u -u -r1.733 acgeneral.m4
--- acgeneral.m4 2001/06/13 08:45:39 1.733
+++ acgeneral.m4 2001/06/15 17:40:15
@@ -1502,7 +1502,8 @@
# In subsequent runs, after having loaded the cache, compare
# ac_cv_env_foo against ac_env_foo. See _AC_ARG_VAR_VALIDATE.
m4_define([_AC_ARG_VAR_PRECIOUS],
-[m4_divert_once([PARSE_ARGS],
+[AC_SUBST([$1])dnl
+m4_divert_once([PARSE_ARGS],
[ac_env_$1_set=${$1+set}
ac_env_$1_value=$$1
ac_cv_env_$1_set=${$1+set}
@@ -1560,7 +1561,6 @@
[AC_HELP_STRING([$1], [$2], [
])])],
[$0($1)])dnl
_AC_ARG_VAR_PRECIOUS([$1])dnl
-AC_SUBST([$1])dnl
])# AC_ARG_VAR
Index: configure
===================================================================
RCS file: /cvs/autoconf/configure,v
retrieving revision 1.138
diff -u -u -r1.138 configure
--- configure 2001/06/13 16:26:51 1.138
+++ configure 2001/06/15 17:40:15
@@ -1787,6 +1787,9 @@
s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
+s,@build_alias@,$build_alias,;t t
+s,@host_alias@,$host_alias,;t t
+s,@target_alias@,$target_alias,;t t
s,@ECHO_C@,$ECHO_C,;t t
s,@ECHO_N@,$ECHO_N,;t t
s,@ECHO_T@,$ECHO_T,;t t
@@ -1925,7 +1928,7 @@
esac
if test x"$ac_file" != x-; then
- { echo "$as_me:1928: creating $ac_file" >&5
+ { echo "$as_me:1931: creating $ac_file" >&5
echo "$as_me: creating $ac_file" >&6;}
rm -f "$ac_file"
fi
@@ -1943,7 +1946,7 @@
-) echo $tmp/stdin ;;
[\\/$]*)
# Absolute (can't be DOS-style, as IFS=:)
- test -f "$f" || { { echo "$as_me:1946: error: cannot find input file:
$f" >&5
+ test -f "$f" || { { echo "$as_me:1949: error: cannot find input file:
$f" >&5
echo "$as_me: error: cannot find input file: $f" >&2;}
{ (exit 1); exit 1; }; }
echo $f;;
@@ -1956,7 +1959,7 @@
echo $srcdir/$f
else
# /dev/null tree
- { { echo "$as_me:1959: error: cannot find input file: $f" >&5
+ { { echo "$as_me:1962: error: cannot find input file: $f" >&5
echo "$as_me: error: cannot find input file: $f" >&2;}
{ (exit 1); exit 1; }; }
fi;;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- FYI: AC_SUBST of build_alias etc.,
Akim Demaille <=