in $PATH.
* acspecific.m4 (AC_PROG_INSTALL): Likewise.
+2000-09-27 Pavel Roskin <proski@gnu.org>
+
+ * acgeneral.m4 (AC_CHECK_PROG): Added protection against spaces
+ in $PATH.
+ * acspecific.m4 (AC_PROG_INSTALL): Likewise.
+
2000-09-27 Pavel Roskin <proski@gnu.org>
* acgeneral.m4 (AC_CHECK_LIB): only call AH_CHECK_LIB if
m4_ifvanl([$6],
[ ac_prog_rejected=no])dnl
AC_SHELL_PATH_WALK([$5],
-[test -f $ac_dir/$ac_word || continue
+[test -f "$ac_dir/$ac_word" || continue
m4_ifvanl([$6],
[if test "$ac_dir/$ac_word" = "$6"; then
ac_prog_rejected=yes
*)
AC_SHELL_PATH_WALK([$4],
[if test -f "$ac_dir/$ac_word"; then
- ac_cv_path_$1=$ac_dir/$ac_word
+ ac_cv_path_$1="$ac_dir/$ac_word"
break
fi])
dnl If no 3rd arg is given, leave the cache variable unset,
# Don't use installbsd from OSF since it installs stuff as root
# by default.
for ac_prog in ginstall scoinst install; do
- if test -f $ac_dir/$ac_prog; then
+ if test -f "$ac_dir/$ac_prog"; then
if test $ac_prog = install &&
- grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
+ grep dspmsg "$ac_dir/$ac_prog" >/dev/null 2>&1; then
# AIX install. It has an incompatible calling convention.
:
elif test $ac_prog = install &&
- grep pwplus $ac_dir/$ac_prog >/dev/null 2>&1; then
+ grep pwplus "$ac_dir/$ac_prog" >/dev/null 2>&1; then
# program-specific install script used by HP pwplus--don't use.
:
else
m4_ifvanl([$6],
[ ac_prog_rejected=no])dnl
AC_SHELL_PATH_WALK([$5],
-[test -f $ac_dir/$ac_word || continue
+[test -f "$ac_dir/$ac_word" || continue
m4_ifvanl([$6],
[if test "$ac_dir/$ac_word" = "$6"; then
ac_prog_rejected=yes
*)
AC_SHELL_PATH_WALK([$4],
[if test -f "$ac_dir/$ac_word"; then
- ac_cv_path_$1=$ac_dir/$ac_word
+ ac_cv_path_$1="$ac_dir/$ac_word"
break
fi])
dnl If no 3rd arg is given, leave the cache variable unset,
# Don't use installbsd from OSF since it installs stuff as root
# by default.
for ac_prog in ginstall scoinst install; do
- if test -f $ac_dir/$ac_prog; then
+ if test -f "$ac_dir/$ac_prog"; then
if test $ac_prog = install &&
- grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
+ grep dspmsg "$ac_dir/$ac_prog" >/dev/null 2>&1; then
# AIX install. It has an incompatible calling convention.
:
elif test $ac_prog = install &&
- grep pwplus $ac_dir/$ac_prog >/dev/null 2>&1; then
+ grep pwplus "$ac_dir/$ac_prog" >/dev/null 2>&1; then
# program-specific install script used by HP pwplus--don't use.
:
else