summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTom Yu <tlyu@mit.edu>1994-06-29 23:37:34 +0000
committerTom Yu <tlyu@mit.edu>1994-06-29 23:37:34 +0000
commit44670975e02bf5c740ec9167ed281645411ca6ff (patch)
treef400fa3f253e44658be8828fe233111021c3de41 /src
parentffa21ff97d2c7670142e5f9bdd1257b4d623c8a2 (diff)
fixing bug in recursion arg quoter
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@3926 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog2
-rw-r--r--src/aclocal.m49
2 files changed, 5 insertions, 6 deletions
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