From: Tom Yu Date: Wed, 29 Jun 1994 23:37:34 +0000 (+0000) Subject: fixing bug in recursion arg quoter X-Git-Tag: krb5-1.0-beta4.2~184 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=44670975e02bf5c740ec9167ed281645411ca6ff;p=krb5.git fixing bug in recursion arg quoter git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@3926 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/ChangeLog b/src/ChangeLog index f6792bc10..04bca0048 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,5 +1,7 @@ Wed Jun 29 01:36:38 1994 Tom Yu (tlyu at dragons-lair) + * aclocal.m4: oops... fixing some problems with the quoter. + * aclocal.m4: added ISODE_DEFS to define KRB5_USE_ISODE if --enable-isode is given diff --git a/src/aclocal.m4 b/src/aclocal.m4 index b51cdac78..7bd2cacc5 100644 --- a/src/aclocal.m4 +++ b/src/aclocal.m4 @@ -46,10 +46,7 @@ if [ -z "${norecursion}" ] ; then recurse_args= recur_state= # ok this stuff really belongs in ac_general.m4, but we'll live :-) - set foo! "<<<$>>>@" for arg do - shift - shift if test -z "$recur_state" ; then case $arg in *\"*|*\\*|*\<<<$>>>*) @@ -57,17 +54,17 @@ if [ -z "${norecursion}" ] ; then ;; -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) recur_state="skip" + continue ;; -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) ;; esac # yes this is gross but we need it to make sure that things don't get scrod - set foo! "<<<$>>>@" "\"$arg\"" + recurse_args="$recurse_args \"$arg\"" else recur_state= fi done - shift for configdir in $1 ; do if [ -d ${srcdir}/${configdir} ] ; then @@ -115,7 +112,7 @@ if [ -z "${norecursion}" ] ; then ### The recursion line is here. if [ ! -z "${recprog}" ] ; then - if eval ${config_shell} ${recprog} "<<<$>>>@" ${srcdiroption}; then + if eval ${config_shell} ${recprog} $recurse_args ${srcdiroption}; then true else echo Configure in `pwd` failed, exiting. 1>&2