2006-03-17 Stepan Kasal * lib/autoconf/programs.m4 (AC_CHECK_PROG): Quote the parameter of AC_SUBST. (_AC_PATH_PROG): Store the result to VARIABLE. (AC_PATH_PROG): No need to set VARIABLE again. Index: lib/autoconf/programs.m4 =================================================================== RCS file: /cvsroot/autoconf/autoconf/lib/autoconf/programs.m4,v retrieving revision 1.48 diff -u -r1.48 programs.m4 --- lib/autoconf/programs.m4 31 Dec 2005 16:44:22 -0000 1.48 +++ lib/autoconf/programs.m4 17 Mar 2006 15:50:46 -0000 @@ -122,7 +122,7 @@ # ----------------------------------------------------- AC_DEFUN([AC_CHECK_PROG], [_AC_CHECK_PROG($@) -AC_SUBST($1)dnl +AC_SUBST([$1])dnl ]) @@ -164,6 +164,7 @@ [ test -z "$ac_cv_path_$1" && ac_cv_path_$1="$3"])dnl ;; esac])dnl +$1=$ac_cv_path_$1 if test -n "$$1"; then AC_MSG_RESULT([$$1]) else @@ -176,7 +177,7 @@ # ----------------------------------------------------------------------- AC_DEFUN([AC_PATH_PROG], [_AC_PATH_PROG($@) -AC_SUBST([$1], [$ac_cv_path_$1])dnl +AC_SUBST([$1])dnl ])