From: Paul Eggert Date: Sun, 21 May 2006 00:19:42 +0000 (+0000) Subject: * lib/autoconf/general.m4 (AC_CONFIG_AUX_DIRS): Bring back X-Git-Tag: AUTOCONF-2.59d~60 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fb2b02422b229655611dce59f1a884428ca88cf1;p=thirdparty%2Fautoconf.git * lib/autoconf/general.m4 (AC_CONFIG_AUX_DIRS): Bring back ac_config_guess, ac_config_sub, and ac_configure, since evidently some other programs unwisely rely on these undocumented vars. But put in warning comments about them. Problem reported by Ralf Wildenhues in . * NEWS: Document that these variables are intended to go away. --- diff --git a/ChangeLog b/ChangeLog index af7998fe2..19f2702c0 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,13 @@ +2006-05-20 Paul Eggert + + * lib/autoconf/general.m4 (AC_CONFIG_AUX_DIRS): Bring back + ac_config_guess, ac_config_sub, and ac_configure, since evidently + some other programs unwisely rely on these undocumented vars. + But put in warning comments about them. + Problem reported by Ralf Wildenhues in + . + * NEWS: Document that these variables are intended to go away. + 2006-05-20 Ralf Wildenhues * lib/autoconf/c.m4 (AC_PROG_CXX_C_O): Require AC_PROG_CXX, diff --git a/NEWS b/NEWS index ad6037017..987860838 100644 --- a/NEWS +++ b/NEWS @@ -1,5 +1,9 @@ * Major changes in Autoconf 2.59d +** ac_config_guess, ac_config_sub, ac_configure + These never-documented variables have been marked with a comment + saying that we intend to remove them in a future release. + ** AC_PROG_CC_STDC Passing 'ac_cv_prog_cc_stdc=no' to 'configure' now sets ac_cv_prog_cc_c99 and ac_cv_prog_cc_c89 to 'no' as well, for backward compatibility with diff --git a/lib/autoconf/general.m4 b/lib/autoconf/general.m4 index d1eb687fc..93ffd5a5c 100644 --- a/lib/autoconf/general.m4 +++ b/lib/autoconf/general.m4 @@ -1601,6 +1601,15 @@ done if test -z "$ac_aux_dir"; then AC_MSG_ERROR([cannot find install-sh or install.sh in $1]) fi + +# These three variables are undocumented and unsupported, +# and are intended to be withdrawn in a future Autoconf release. +# They can cause serious problems if a builder's source tree is in a directory +# whose full name contains unusual characters. +ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. +ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. +ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. + AC_PROVIDE([AC_CONFIG_AUX_DIR_DEFAULT])dnl ])# AC_CONFIG_AUX_DIRS