Reported by Bruno Haible.
* acgeneral.m4 (AC_ARG_VAR): Move the AC_SUBST, from here...
(_AC_ARG_VAR_PRECIOUS): to here.
+2001-06-15 Akim Demaille <akim@epita.fr>
+
+ `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.
+
2001-06-15 Pavel Roskin <proski@gnu.org>
* acheaders.m4 (_AC_CHECK_HEADER_DIRENT): Instead of defining
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
# 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}
[AC_HELP_STRING([$1], [$2], [ ])])],
[$0($1)])dnl
_AC_ARG_VAR_PRECIOUS([$1])dnl
-AC_SUBST([$1])dnl
])# AC_ARG_VAR
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
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
-) 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;;
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;;
# 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}
[AC_HELP_STRING([$1], [$2], [ ])])],
[$0($1)])dnl
_AC_ARG_VAR_PRECIOUS([$1])dnl
-AC_SUBST([$1])dnl
])# AC_ARG_VAR