Hello,
  I noticed that --debug and --version were handled differently than
other config.status options.  Is there a reason for this?

If not, can I commit the attached patch?  (Passed make check.)

Have a nice day,
        Stepan
2005-05-11  Stepan Kasal  <[EMAIL PROTECTED]>

        * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Handle
          abbreviations of --version and --debug.

Index: lib/autoconf/status.m4
===================================================================
RCS file: /cvsroot/autoconf/autoconf/lib/autoconf/status.m4,v
retrieving revision 1.52
diff -u -r1.52 status.m4
--- lib/autoconf/status.m4      27 Apr 2005 10:04:36 -0000      1.52
+++ lib/autoconf/status.m4      11 May 2005 13:46:00 -0000
@@ -1428,7 +1428,7 @@
 cat >>$CONFIG_STATUS <<\_ACEOF
   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
     ac_cs_recheck=: ;;
-  --version | --vers* | -V )
+  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
     echo "$ac_cs_version"; exit ;;
   --he | --h)
     # Conflict between --help and --header
@@ -1436,7 +1436,7 @@
 Try `$[0] --help' for more information.]);;
   --help | --hel | -h )
     echo "$ac_cs_usage"; exit ;;
-  --debug | --d* | -d )
+  --debug | --debu | --deb | --de | --d | -d )
     debug=: ;;
   --file | --fil | --fi | --f )
     $ac_shift

Reply via email to