diff options
| author | Tom Yu <tlyu@mit.edu> | 1997-06-20 02:58:39 +0000 |
|---|---|---|
| committer | Tom Yu <tlyu@mit.edu> | 1997-06-20 02:58:39 +0000 |
| commit | 7d4a0726011f8276e301376cc87133fe206bf847 (patch) | |
| tree | de16bb18b614b179bdcd034d6249464b51da7e03 /src/util/autoconf | |
| parent | 569c6e5d771d81ec6d43832460c67222b4358a0c (diff) | |
| download | krb5-7d4a0726011f8276e301376cc87133fe206bf847.tar.gz krb5-7d4a0726011f8276e301376cc87133fe206bf847.tar.xz krb5-7d4a0726011f8276e301376cc87133fe206bf847.zip | |
* acgeneral.m4 (AC_CHECK_PROG, AC_PATH_PROG): Fix bug in previous
patch; add double quotes to protect things.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10101 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/util/autoconf')
| -rw-r--r-- | src/util/autoconf/ChangeLog | 5 | ||||
| -rw-r--r-- | src/util/autoconf/acgeneral.m4 | 4 | ||||
| -rw-r--r-- | src/util/autoconf/configure | 6 |
3 files changed, 10 insertions, 5 deletions
diff --git a/src/util/autoconf/ChangeLog b/src/util/autoconf/ChangeLog index 94ad35048..9a7a41a2a 100644 --- a/src/util/autoconf/ChangeLog +++ b/src/util/autoconf/ChangeLog @@ -1,3 +1,8 @@ +Thu Jun 19 22:30:06 1997 Tom Yu <tlyu@mit.edu> + + * acgeneral.m4 (AC_CHECK_PROG, AC_PATH_PROG): Fix bug in previous + patch; add double quotes to protect things. + Wed Jun 18 16:13:11 1997 Tom Yu <tlyu@mit.edu> * acgeneral.m4 (AC_CHECK_PROG, AC_PATH_PROG): Assign the path to diff --git a/src/util/autoconf/acgeneral.m4 b/src/util/autoconf/acgeneral.m4 index a343b9ac6..5a1dfdacd 100644 --- a/src/util/autoconf/acgeneral.m4 +++ b/src/util/autoconf/acgeneral.m4 @@ -1282,7 +1282,7 @@ ifelse([$6], , , [ ac_prog_rejected=no dnl $ac_dummy forces splitting on constant user-supplied paths. dnl POSIX.2 word splitting is done only on the output of word expansions, dnl not every word. This closes a longstanding sh security hole. - ac_dummy=ifelse([$5], , $PATH, [$5]) + ac_dummy="ifelse([$5], , $PATH, [$5])" for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/$ac_word; then @@ -1347,7 +1347,7 @@ AC_CACHE_VAL(ac_cv_path_$1, dnl $ac_dummy forces splitting on constant user-supplied paths. dnl POSIX.2 word splitting is done only on the output of word expansions, dnl not every word. This closes a longstanding sh security hole. - ac_dummy=ifelse([$4], , $PATH, [$4]) + ac_dummy="ifelse([$4], , $PATH, [$4])" for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/$ac_word; then diff --git a/src/util/autoconf/configure b/src/util/autoconf/configure index a0a4e7098..36006eb14 100644 --- a/src/util/autoconf/configure +++ b/src/util/autoconf/configure @@ -554,7 +554,7 @@ else ;; *) IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" - ac_dummy=$PATH + ac_dummy="$PATH" for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/$ac_word; then @@ -590,7 +590,7 @@ else ac_cv_prog_AWK="$AWK" # Let the user override the test. else IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" - ac_dummy=$PATH + ac_dummy="$PATH" for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/$ac_word; then @@ -625,7 +625,7 @@ else ;; *) IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" - ac_dummy=$PATH + ac_dummy="$PATH" for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/$ac_word; then |
