changeset 3765:e1dc2edc2719

[xemacs-hg @ 2006-12-28 12:56:00 by malcolmp] Workaround problems with autoconf 2.60's 'config.status --recheck'.
author malcolmp
date Thu, 28 Dec 2006 12:56:04 +0000
parents 995ea1223b4d
children a3dcf9d17a40
files ChangeLog configure configure.ac
diffstat 3 files changed, 10 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Thu Dec 28 12:23:57 2006 +0000
+++ b/ChangeLog	Thu Dec 28 12:56:04 2006 +0000
@@ -1,3 +1,9 @@
+2006-12-28  Malcolm Purvis  <malcolmp@xemacs.org>
+
+	* configure.ac: Ensure ac_configure_args contains a leading space
+	to work around problems with 'config.status --recheck' under
+	autoconf 2.60 and 2.61.
+
 2006-12-27  Malcolm Purvis  <malcolmp@xemacs.org>
 
 	* configure.ac (XE_MERGED_ARG): Register --enable and --with forms
--- a/configure	Thu Dec 28 12:23:57 2006 +0000
+++ b/configure	Thu Dec 28 12:56:04 2006 +0000
@@ -39561,6 +39561,7 @@
 for W in $ac_configure_args; do if test -z "$T"; then T="$W"; else T="$T $W"; fi; done
 ac_configure_args="$T"
 
+ac_configure_args=" $ac_configure_args"
 cat >>confdefs.h <<_ACEOF
 #define EMACS_CONFIGURATION "$ac_cv_build"
 _ACEOF
--- a/configure.ac	Thu Dec 28 12:23:57 2006 +0000
+++ b/configure.ac	Thu Dec 28 12:56:04 2006 +0000
@@ -5815,6 +5815,9 @@
 fi
 
 XE_SPACE(ac_configure_args, $ac_configure_args)
+dnl Put back the leading space to work around problems with
+dnl 'config.status --recheck' under autoconf 2.60 and 2.61.
+ac_configure_args=" $ac_configure_args"
 AC_DEFINE_UNQUOTED(EMACS_CONFIGURATION, "$ac_cv_build")
 AC_DEFINE_UNQUOTED(EMACS_CONFIG_OPTIONS, "$ac_configure_args")