mirror of
git://git.sv.gnu.org/autoconf
synced 2025-01-30 11:01:45 +08:00
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:
parent
7846c78829
commit
d176bfd8f7
@ -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%.*:%%
|
||||
|
@ -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%.*:%%
|
||||
|
@ -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%.*:%%
|
||||
|
Loading…
Reference in New Issue
Block a user