fixing bug in recursion arg quoter
authorTom Yu <tlyu@mit.edu>
Wed, 29 Jun 1994 23:37:34 +0000 (23:37 +0000)
committerTom Yu <tlyu@mit.edu>
Wed, 29 Jun 1994 23:37:34 +0000 (23:37 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@3926 dc483132-0cff-0310-8789-dd5450dbe970

src/ChangeLog
src/aclocal.m4

index f6792bc1037988dc2291953e58110f69e072941f..04bca0048764cf0a1553829a307976475ad9f58f 100644 (file)
@@ -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
 
index b51cdac7840390cba93580964bc455f6fbba4532..7bd2cacc52faafcd84522c526b3bb78804bac304 100644 (file)
@@ -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