From: David MacKenzie Date: Thu, 15 Sep 1994 21:16:59 +0000 (+0000) Subject: command line fiddling X-Git-Tag: fsf-origin~447 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=69545b86e20e4a03a7057f1ce665dce71df43b89;p=thirdparty%2Fautoconf.git command line fiddling --- diff --git a/autoconf.in b/autoconf.in index a5a6a944d..3ba96147e 100644 --- a/autoconf.in +++ b/autoconf.in @@ -101,7 +101,7 @@ elif test ! -r "$infile"; then fi if test -n "$localdir"; then - use_localdir="-I$localdir" + use_localdir="-I$localdir -DAC_LOCALDIR=$localdir" else use_localdir= fi diff --git a/autoconf.sh b/autoconf.sh index a5a6a944d..3ba96147e 100644 --- a/autoconf.sh +++ b/autoconf.sh @@ -101,7 +101,7 @@ elif test ! -r "$infile"; then fi if test -n "$localdir"; then - use_localdir="-I$localdir" + use_localdir="-I$localdir -DAC_LOCALDIR=$localdir" else use_localdir= fi diff --git a/autoheader.in b/autoheader.in index 218963edb..c4040f967 100644 --- a/autoheader.in +++ b/autoheader.in @@ -101,7 +101,7 @@ headers= libs= if test "$localdir" != .; then - use_localdir="-I$localdir" + use_localdir="-I$localdir -DAC_LOCALDIR=$localdir" else use_localdir= fi diff --git a/autoheader.sh b/autoheader.sh index 218963edb..c4040f967 100644 --- a/autoheader.sh +++ b/autoheader.sh @@ -101,7 +101,7 @@ headers= libs= if test "$localdir" != .; then - use_localdir="-I$localdir" + use_localdir="-I$localdir -DAC_LOCALDIR=$localdir" else use_localdir= fi diff --git a/autoreconf.in b/autoreconf.in index 9f2c4e5d1..53b2b0cf2 100644 --- a/autoreconf.in +++ b/autoreconf.in @@ -64,6 +64,10 @@ if test $show_version = yes; then exit 0 fi +if test $# -ne 0; then + echo "$usage" 1>&2; exit 1 +fi + top_autoconf=`echo $0|sed s%autoreconf%autoconf%` top_autoheader=`echo $0|sed s%autoreconf%autoheader%` diff --git a/autoreconf.sh b/autoreconf.sh index 9f2c4e5d1..53b2b0cf2 100644 --- a/autoreconf.sh +++ b/autoreconf.sh @@ -64,6 +64,10 @@ if test $show_version = yes; then exit 0 fi +if test $# -ne 0; then + echo "$usage" 1>&2; exit 1 +fi + top_autoconf=`echo $0|sed s%autoreconf%autoconf%` top_autoheader=`echo $0|sed s%autoreconf%autoheader%` diff --git a/bin/autoconf.in b/bin/autoconf.in index a5a6a944d..3ba96147e 100644 --- a/bin/autoconf.in +++ b/bin/autoconf.in @@ -101,7 +101,7 @@ elif test ! -r "$infile"; then fi if test -n "$localdir"; then - use_localdir="-I$localdir" + use_localdir="-I$localdir -DAC_LOCALDIR=$localdir" else use_localdir= fi diff --git a/bin/autoheader.in b/bin/autoheader.in index 218963edb..c4040f967 100644 --- a/bin/autoheader.in +++ b/bin/autoheader.in @@ -101,7 +101,7 @@ headers= libs= if test "$localdir" != .; then - use_localdir="-I$localdir" + use_localdir="-I$localdir -DAC_LOCALDIR=$localdir" else use_localdir= fi diff --git a/bin/autoreconf.in b/bin/autoreconf.in index 9f2c4e5d1..53b2b0cf2 100644 --- a/bin/autoreconf.in +++ b/bin/autoreconf.in @@ -64,6 +64,10 @@ if test $show_version = yes; then exit 0 fi +if test $# -ne 0; then + echo "$usage" 1>&2; exit 1 +fi + top_autoconf=`echo $0|sed s%autoreconf%autoconf%` top_autoheader=`echo $0|sed s%autoreconf%autoheader%`