]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
* lib/autoconf/general.m4 (AC_CONFIG_AUX_DIRS): Bring back
authorPaul Eggert <eggert@cs.ucla.edu>
Sun, 21 May 2006 00:19:42 +0000 (00:19 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Sun, 21 May 2006 00:19:42 +0000 (00:19 +0000)
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
<http://lists.gnu.org/archive/html/autoconf-patches/2006-05/msg00068.html>.
* NEWS: Document that these variables are intended to go away.

ChangeLog
NEWS
lib/autoconf/general.m4

index af7998fe2c4553824ac7d81edbca0282b2133203..19f2702c067b706b87c489d1539d3a545913332f 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,13 @@
+2006-05-20  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * 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
+       <http://lists.gnu.org/archive/html/autoconf-patches/2006-05/msg00068.html>.
+       * NEWS: Document that these variables are intended to go away.
+
 2006-05-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
        * lib/autoconf/c.m4 (AC_PROG_CXX_C_O): Require AC_PROG_CXX,
diff --git a/NEWS b/NEWS
index ad6037017a2cf1bdf8bc7eb3483d0b51c0554e84..98786083866ce6c3eeefa3c5bf068417f3cbde60 100644 (file)
--- 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
index d1eb687fcbef4c940eb04c3f00ada33fa1651971..93ffd5a5cf90401968b07a831502864a6a88c756 100644 (file)
@@ -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