summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTom Yu <tlyu@mit.edu>1994-07-01 06:23:10 +0000
committerTom Yu <tlyu@mit.edu>1994-07-01 06:23:10 +0000
commit602afbc3fd1ee76f865745ed2fae0577c264ff59 (patch)
treed67684402c05b44cef88cc1a9ccb28b41422c17b /src
parent32776953d6ef07150215df5ddadb6cb8012dead5 (diff)
* aclocal.m4: fixes for dealing with new version of autoconf, in
particular quoting and BUILDTOP git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@3935 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog5
-rw-r--r--src/aclocal.m415
2 files changed, 12 insertions, 8 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 04bca00487..bc95430533 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,8 @@
+Fri Jul 1 02:21:51 1994 Tom Yu (tlyu at dragons-lair)
+
+ * aclocal.m4: fixes for dealing with new version of autoconf, in
+ particular quoting and BUILDTOP
+
Wed Jun 29 01:36:38 1994 Tom Yu (tlyu at dragons-lair)
* aclocal.m4: oops... fixing some problems with the quoter.
diff --git a/src/aclocal.m4 b/src/aclocal.m4
index 7bd2cacc52..6ac3342077 100644
--- a/src/aclocal.m4
+++ b/src/aclocal.m4
@@ -30,7 +30,7 @@ dnl set up buildtop stuff
dnl
define(AC_BUILDTOP,[.])dnl
define(AC_SET_BUILDTOP,
-[BUILDTOP=AC_BUILDTOP
+[BUILDTOP=AC_TOPDIR
AC_SUBST(BUILDTOP)dnl
])dnl
dnl
@@ -46,21 +46,20 @@ if [ -z "${norecursion}" ] ; then
recurse_args=
recur_state=
# ok this stuff really belongs in ac_general.m4, but we'll live :-)
- for arg do
+ for arg in $configure_args; do
if test -z "$recur_state" ; then
- case $arg in
- *\"*|*\\*|*\<<<$>>>*)
- arg=`echo $arg|sed -e 's/\\\\/\\\\\\\\/g;s/"/\\\\"/g;s/\\$/\\\\$/g'`
- ;;
+ eval unquoted_arg="$arg"
+ case "$unquoted_arg" in
-srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
recur_state="skip"
continue
;;
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
;;
+ *)
+ recurse_args="$recurse_args $arg"
+ ;;
esac
- # yes this is gross but we need it to make sure that things don't get scrod
- recurse_args="$recurse_args \"$arg\""
else
recur_state=
fi