From: Tom Yu Date: Fri, 1 Jul 1994 06:23:10 +0000 (+0000) Subject: * aclocal.m4: fixes for dealing with new version of autoconf, in X-Git-Tag: krb5-1.0-beta4.2~175 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=602afbc3fd1ee76f865745ed2fae0577c264ff59;p=krb5.git * 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 --- diff --git a/src/ChangeLog b/src/ChangeLog index 04bca0048..bc9543053 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 7bd2cacc5..6ac334207 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