Thu May 28 18:37:36 1998 Ian Lance Taylor <ian@cygnus.com>

* autoreconf.sh: Change initial /bin/sh to @SHELL@.
Tue Nov 18 14:21:38 1997  Eric Mumpower  <nocturne@cygnus.com>
        * autoreconf.sh: Do the right thing when AC_CONFIG_HEADER is
        given more than one filename. As noted in the "Invoking
        autoheader" node of the info files, autoheader will use the first
        file argument given to AC_CONFIG_HEADER. Prior to this patch,
        autoreconf would end up executing incorrect shell code (e.g.
        "test ! -f 1.h 2.h.in") in such cases.
        Patch submitted in parallel to bug-gnu-utils@prep.ai.mit.edu.
This commit is contained in:
Ben Elliston 1998-09-03 00:37:37 +00:00
parent 7846c78829
commit d176bfd8f7
3 changed files with 6 additions and 3 deletions

View File

@ -1,4 +1,4 @@
#! /bin/sh
#! @SHELL@
# autoreconf - remake all Autoconf configure scripts in a directory tree
# Copyright (C) 1994 Free Software Foundation, Inc.
@ -126,6 +126,7 @@ while read dir; do
if grep AC_CONFIG_HEADER configure.in >/dev/null; then
template=`sed -n '/AC_CONFIG_HEADER/{
s%[^#]*AC_CONFIG_HEADER(\([^)]*\).*%\1%
s%^ *\([^ ][^ ]*\) .*$%\1%
t here
: here
s%.*:%%

View File

@ -1,4 +1,4 @@
#! /bin/sh
#! @SHELL@
# autoreconf - remake all Autoconf configure scripts in a directory tree
# Copyright (C) 1994 Free Software Foundation, Inc.
@ -126,6 +126,7 @@ while read dir; do
if grep AC_CONFIG_HEADER configure.in >/dev/null; then
template=`sed -n '/AC_CONFIG_HEADER/{
s%[^#]*AC_CONFIG_HEADER(\([^)]*\).*%\1%
s%^ *\([^ ][^ ]*\) .*$%\1%
t here
: here
s%.*:%%

View File

@ -1,4 +1,4 @@
#! /bin/sh
#! @SHELL@
# autoreconf - remake all Autoconf configure scripts in a directory tree
# Copyright (C) 1994 Free Software Foundation, Inc.
@ -126,6 +126,7 @@ while read dir; do
if grep AC_CONFIG_HEADER configure.in >/dev/null; then
template=`sed -n '/AC_CONFIG_HEADER/{
s%[^#]*AC_CONFIG_HEADER(\([^)]*\).*%\1%
s%^ *\([^ ][^ ]*\) .*$%\1%
t here
: here
s%.*:%%