From 7d4a0726011f8276e301376cc87133fe206bf847 Mon Sep 17 00:00:00 2001 From: Tom Yu Date: Fri, 20 Jun 1997 02:58:39 +0000 Subject: [PATCH] * 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 --- src/util/autoconf/ChangeLog | 5 +++++ src/util/autoconf/acgeneral.m4 | 4 ++-- 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 + + * 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 * 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 -- 2.26.2