CVS update by malcolmp xemacs ...

xemacs-cvs at xemacs.org xemacs-cvs at xemacs.org
Thu Dec 28 07:23:58 EST 2006


  User: malcolmp
  Date: 06/12/28 13:23:58

  Modified:    xemacs   ChangeLog configure.ac
Log:
configure.ac: Register --enable and --with forms with the option checking
list.

Revision  Changes    Path
1.518     +5 -0      XEmacs/xemacs/ChangeLog

Index: ChangeLog
===================================================================
RCS file: /pack/xemacscvs/XEmacs/xemacs/ChangeLog,v
retrieving revision 1.517
retrieving revision 1.518
diff -u -p -r1.517 -r1.518
--- ChangeLog	2006/12/19 15:24:13	1.517
+++ ChangeLog	2006/12/28 12:23:57	1.518
@@ -1,3 +1,8 @@
+2006-12-27  Malcolm Purvis  <malcolmp at xemacs.org>
+
+	* configure.ac (XE_MERGED_ARG): Register --enable and --with forms
+	with the option checking list.
+
 2006-12-19  Stephen J. Turnbull  <stephen at xemacs.org>
 
 	* Makefile.in.in (${srcdir}/configure): Generated from configure.ac.



1.53      +4 -0      XEmacs/xemacs/configure.ac

Index: configure.ac
===================================================================
RCS file: /pack/xemacscvs/XEmacs/xemacs/configure.ac,v
retrieving revision 1.52
retrieving revision 1.53
diff -u -p -r1.52 -r1.53
--- configure.ac	2006/12/11 19:44:11	1.52
+++ configure.ac	2006/12/28 12:23:57	1.53
@@ -252,6 +252,10 @@ Optional Features:
   --without-FEATURE       do not use FEATURE (same as --with-FEATURE=no)
   --disable-FEATURE       alias for --without-FEATURE]])dnl
 m4_divert_once([HELP_ENABLE], m4_bpatsubst([[$2]],[--enable\([^ ]+\) ],[--with\1   ]))dnl
+dnl Register both forms with the option checking list.
+dnl Options are only checked with autoconf > 2.61.
+m4_append_uniq([_AC_USER_OPTS], [enable_]m4_bpatsubst([$1], -, _), [:])dnl
+m4_append_uniq([_AC_USER_OPTS], [with_]m4_bpatsubst([$1], -, _), [:])dnl
 # If --with-$1 or --without-$1 were given then copy the value to the
 # equivalent enable_$1 variable.
 if test "[${with_]m4_bpatsubst([$1], -, _)+set}" = set; then





More information about the XEmacs-CVS mailing list