autoconf-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Changes in help messages


From: Pavel Roskin
Subject: Changes in help messages
Date: Wed, 25 Oct 2000 16:45:30 -0400 (EDT)

Hello!

"man autoconf" still recommends using --macrodir but autoconf itself says
it's obsolete.

On the other hand, "man autoreconf" recommends using --autoconf-dir but
autoreconf rejects this option.

ChangeLog:
        * autoconf.sh: Usage info made consistent with other tools.
        Recommend using --autoconf-dir instead of --macrodir.
        * autoreconf.sh: Actually accept --autoconf-dir. Make
        --macrodir obsolete. Remove --macro-path from the usage info.

Regards,
Pavel Roskin

_________________________
Index: autoconf.sh
--- autoconf.sh Wed Oct 25 14:48:51 2000
+++ autoconf.sh Wed Oct 25 16:35:26 2000
@@ -36,8 +36,6 @@
   -V, --version            print version number, then exit
   -v, --verbose            verbosely report processing
   -d, --debug              don't remove temporary files
-  -m, --macrodir=DIR       directory storing Autoconf's macro files
-  -l, --localdir=DIR       directory storing the \`aclocal.m4' file
   -o, --output=FILE        save output in FILE (stdout is the default)
   -W, --warnings=CATEGORY  report the warnings falling in CATEGORY [syntax]
 
@@ -51,6 +49,10 @@
   \`error'         warnings are error
 
 The environment variable \`WARNINGS' is honored.
+
+Library directories:
+  -A, --autoconf-dir=ACDIR  Autoconf's macro files location (rarely needed)
+  -l, --localdir=DIR        location of the \`aclocal.m4' file
 
 Tracing:
   -t, --trace=MACRO     report the list of calls to MACRO
Index: autoreconf.sh
--- autoreconf.sh       Mon Oct 16 14:25:56 2000
+++ autoreconf.sh       Wed Oct 25 16:23:12 2000
@@ -44,7 +44,6 @@
 
 Library directories:
   -A, --autoconf-dir=ACDIR  Autoconf's macro files location (rarely needed)
-  -m, --macro-path=PATH     library extensions files
   -l, --localdir=DIR        location of \`aclocal.m4' and \`acconfig.h'
   -M, --m4dir=M4DIR         this package's Autoconf extensions
 
@@ -152,13 +151,23 @@
        localdir=$1
        shift ;;
 
-    --macrodir | -m )
+    --autoconf-dir=*)
+      autoconf_dir=$optarg
+       shift ;;
+    --autoconf-dir | -A* )
        test $# = 1 && eval "$exit_missing_arg"
        shift
        autoconf_dir=$1
        shift ;;
-    --macrodir=* | -m* )
+    --macrodir=* | --m*=* )
+       echo "$me: warning: --macrodir is obsolete, use --autoconf-dir" >&1
        autoconf_dir=$optarg
+       shift ;;
+    --macrodir | --m* | -m )
+       echo "$me: warning: --macrodir is obsolete, use --autoconf-dir" >&1
+       test $# = 1 && eval "$exit_missing_arg"
+       shift
+       autoconf_dir=$1
        shift ;;
 
     --m4dir | -M )
_________________________




reply via email to

[Prev in Thread] Current Thread [Next in Thread]