From: Ben Elliston Date: Thu, 3 Sep 1998 00:37:37 +0000 (+0000) Subject: Thu May 28 18:37:36 1998 Ian Lance Taylor X-Git-Tag: autoconf-2-13-rc1~55 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d176bfd8f7abbdeaee7c1746a217f51af9005ae0;p=thirdparty%2Fautoconf.git Thu May 28 18:37:36 1998 Ian Lance Taylor * autoreconf.sh: Change initial /bin/sh to @SHELL@. Tue Nov 18 14:21:38 1997 Eric Mumpower * 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. --- diff --git a/autoreconf.in b/autoreconf.in index a91d26c7..781c3454 100644 --- a/autoreconf.in +++ b/autoreconf.in @@ -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%.*:%% diff --git a/autoreconf.sh b/autoreconf.sh index a91d26c7..781c3454 100644 --- a/autoreconf.sh +++ b/autoreconf.sh @@ -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%.*:%% diff --git a/bin/autoreconf.in b/bin/autoreconf.in index a91d26c7..781c3454 100644 --- a/bin/autoreconf.in +++ b/bin/autoreconf.in @@ -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%.*:%%