]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
bug fixes from net
authorDavid MacKenzie <djm@djmnet.org>
Mon, 20 Nov 1995 20:34:22 +0000 (20:34 +0000)
committerDavid MacKenzie <djm@djmnet.org>
Mon, 20 Nov 1995 20:34:22 +0000 (20:34 +0000)
ChangeLog
Makefile.in
acgeneral.m4
autoconf.in
autoconf.sh
bin/autoconf.in
doc/Makefile.in
lib/autoconf/general.m4

index 9474e8f22da94292e3df12253e2e6a14aafceab0..598a2ae00a00c381da3c4d7c0c5c4d84afc7d393 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,14 @@
+Mon Nov 20 15:26:50 1995  David J. MacKenzie  <djm@catapult.va.pubnix.com>
+
+       * acgeneral.m4 (AC_INIT_PARSE_ARGS): Prettify usage message somewhat.
+
+       * Makefile.in: Use @bindir@, @datadir@, @infodir@.
+       (install): Find ASCRIPTS in $(srcdir).
+
+Sat Nov 18 14:21:55 1995  Karl Berry  <karl@cs.umb.edu>
+
+        * autoconf.sh: Allow lowercase letters in the undefined-macro name.
+
 Fri Nov 17 15:05:44 1995  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>
 
        * Version 2.5 released.
index 4026d9fd13f4d40b3e2df82a3ed5356bb47e2f96..bfb7c36207654d22e784e0cba061ef9c0c46b221 100644 (file)
@@ -39,14 +39,14 @@ prefix = @prefix@
 exec_prefix = @exec_prefix@
 
 # Directory in which to install scripts.
-bindir = $(exec_prefix)/bin
+bindir = @bindir@
 
 # Directory in which to install library files.
-datadir = $(prefix)/share
+datadir = @datadir@
 acdatadir = $(datadir)/autoconf
 
 # Directory in which to install documentation info files.
-infodir = $(prefix)/info
+infodir = @infodir@
 
 #### End of system configuration section. ####
 
@@ -130,7 +130,7 @@ install: all $(M4FILES) acconfig.h installdirs install-info
        *) echo Error: Autoconf requires GNU m4 1.1 or later; exit 1 ;; \
        esac
        for p in $(ASCRIPTS); do \
-         $(INSTALL_PROGRAM) $$p $(bindir)/`echo $$p|sed '$(transform)'`; \
+         $(INSTALL_PROGRAM) $(srcdir)/$$p $(bindir)/`echo $$p|sed '$(transform)'`; \
        done
        for i in $(M4FILES) acconfig.h; do \
        $(INSTALL_DATA) $(srcdir)/$$i $(acdatadir)/$$i; \
index c9a98176c5a8fd576bccb7bcc1f50ac8c986f7d4..befb5770e0c3e811fe02ef652908c9532d3d9613 100644 (file)
@@ -306,9 +306,11 @@ Directory and file names:
   --bindir=DIR            user executables in DIR [EPREFIX/bin]
   --sbindir=DIR           system admin executables in DIR [EPREFIX/sbin]
   --libexecdir=DIR        program executables in DIR [EPREFIX/libexec]
-  --datadir=DIR           read-only architecture-independent data in DIR [PREFIX/share]
+  --datadir=DIR           read-only architecture-independent data in DIR
+                          [PREFIX/share]
   --sysconfdir=DIR        read-only single-machine data in DIR [PREFIX/etc]
-  --sharedstatedir=DIR    modifiable architecture-independent data in DIR [PREFIX/com]
+  --sharedstatedir=DIR    modifiable architecture-independent data in DIR
+                          [PREFIX/com]
   --localstatedir=DIR     modifiable single-machine data in DIR [PREFIX/var]
   --libdir=DIR            object code libraries in DIR [EPREFIX/lib]
   --includedir=DIR        C header files in DIR [PREFIX/include]
@@ -318,7 +320,8 @@ Directory and file names:
   --srcdir=DIR            find the sources in DIR [configure dir or ..]
   --program-prefix=PREFIX prepend PREFIX to installed program names
   --program-suffix=SUFFIX append SUFFIX to installed program names
-  --program-transform-name=PROGRAM run sed PROGRAM on installed program names
+  --program-transform-name=PROGRAM
+                          run sed PROGRAM on installed program names
 EOF
     cat << EOF
 Host type:
@@ -332,9 +335,11 @@ Features and packages:
   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   --x-includes=DIR        X include files are in DIR
   --x-libraries=DIR       X library files are in DIR
---enable and --with options recognized:$ac_help
 changequote([, ])dnl
 EOF
+    if test -n "$ac_help"; then
+      echo "--enable and --with options recognized:$ac_help"
+    fi
     exit 0 ;;
 
   -host | --host | --hos | --ho)
index 65b1326d880ce6036f35c34254dc963ee52c2af1..5e136c13749513f3c37c69cd092fee242cb91d45 100644 (file)
@@ -127,7 +127,7 @@ pattern="AC_"
 status=0
 if grep "${pattern}" $tmpout > /dev/null 2>&1; then
   echo "autoconf: Undefined macros:" >&2
-  grep "${pattern}" $tmpout | sed "s/.*\(${pattern}[_A-Z0-9]*\).*/\1/" |
+  grep "${pattern}" $tmpout | sed "s/.*\(${pattern}[_A-Za-z0-9]*\).*/\1/" |
     while read name; do
       grep -n $name $infile /dev/null
     done | sort -u >&2
index 65b1326d880ce6036f35c34254dc963ee52c2af1..5e136c13749513f3c37c69cd092fee242cb91d45 100644 (file)
@@ -127,7 +127,7 @@ pattern="AC_"
 status=0
 if grep "${pattern}" $tmpout > /dev/null 2>&1; then
   echo "autoconf: Undefined macros:" >&2
-  grep "${pattern}" $tmpout | sed "s/.*\(${pattern}[_A-Z0-9]*\).*/\1/" |
+  grep "${pattern}" $tmpout | sed "s/.*\(${pattern}[_A-Za-z0-9]*\).*/\1/" |
     while read name; do
       grep -n $name $infile /dev/null
     done | sort -u >&2
index 65b1326d880ce6036f35c34254dc963ee52c2af1..5e136c13749513f3c37c69cd092fee242cb91d45 100644 (file)
@@ -127,7 +127,7 @@ pattern="AC_"
 status=0
 if grep "${pattern}" $tmpout > /dev/null 2>&1; then
   echo "autoconf: Undefined macros:" >&2
-  grep "${pattern}" $tmpout | sed "s/.*\(${pattern}[_A-Z0-9]*\).*/\1/" |
+  grep "${pattern}" $tmpout | sed "s/.*\(${pattern}[_A-Za-z0-9]*\).*/\1/" |
     while read name; do
       grep -n $name $infile /dev/null
     done | sort -u >&2
index 4026d9fd13f4d40b3e2df82a3ed5356bb47e2f96..bfb7c36207654d22e784e0cba061ef9c0c46b221 100644 (file)
@@ -39,14 +39,14 @@ prefix = @prefix@
 exec_prefix = @exec_prefix@
 
 # Directory in which to install scripts.
-bindir = $(exec_prefix)/bin
+bindir = @bindir@
 
 # Directory in which to install library files.
-datadir = $(prefix)/share
+datadir = @datadir@
 acdatadir = $(datadir)/autoconf
 
 # Directory in which to install documentation info files.
-infodir = $(prefix)/info
+infodir = @infodir@
 
 #### End of system configuration section. ####
 
@@ -130,7 +130,7 @@ install: all $(M4FILES) acconfig.h installdirs install-info
        *) echo Error: Autoconf requires GNU m4 1.1 or later; exit 1 ;; \
        esac
        for p in $(ASCRIPTS); do \
-         $(INSTALL_PROGRAM) $$p $(bindir)/`echo $$p|sed '$(transform)'`; \
+         $(INSTALL_PROGRAM) $(srcdir)/$$p $(bindir)/`echo $$p|sed '$(transform)'`; \
        done
        for i in $(M4FILES) acconfig.h; do \
        $(INSTALL_DATA) $(srcdir)/$$i $(acdatadir)/$$i; \
index c9a98176c5a8fd576bccb7bcc1f50ac8c986f7d4..befb5770e0c3e811fe02ef652908c9532d3d9613 100644 (file)
@@ -306,9 +306,11 @@ Directory and file names:
   --bindir=DIR            user executables in DIR [EPREFIX/bin]
   --sbindir=DIR           system admin executables in DIR [EPREFIX/sbin]
   --libexecdir=DIR        program executables in DIR [EPREFIX/libexec]
-  --datadir=DIR           read-only architecture-independent data in DIR [PREFIX/share]
+  --datadir=DIR           read-only architecture-independent data in DIR
+                          [PREFIX/share]
   --sysconfdir=DIR        read-only single-machine data in DIR [PREFIX/etc]
-  --sharedstatedir=DIR    modifiable architecture-independent data in DIR [PREFIX/com]
+  --sharedstatedir=DIR    modifiable architecture-independent data in DIR
+                          [PREFIX/com]
   --localstatedir=DIR     modifiable single-machine data in DIR [PREFIX/var]
   --libdir=DIR            object code libraries in DIR [EPREFIX/lib]
   --includedir=DIR        C header files in DIR [PREFIX/include]
@@ -318,7 +320,8 @@ Directory and file names:
   --srcdir=DIR            find the sources in DIR [configure dir or ..]
   --program-prefix=PREFIX prepend PREFIX to installed program names
   --program-suffix=SUFFIX append SUFFIX to installed program names
-  --program-transform-name=PROGRAM run sed PROGRAM on installed program names
+  --program-transform-name=PROGRAM
+                          run sed PROGRAM on installed program names
 EOF
     cat << EOF
 Host type:
@@ -332,9 +335,11 @@ Features and packages:
   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   --x-includes=DIR        X include files are in DIR
   --x-libraries=DIR       X library files are in DIR
---enable and --with options recognized:$ac_help
 changequote([, ])dnl
 EOF
+    if test -n "$ac_help"; then
+      echo "--enable and --with options recognized:$ac_help"
+    fi
     exit 0 ;;
 
   -host | --host | --hos | --ho)