From: Paul Eggert Date: Sun, 2 Jan 2005 16:48:12 +0000 (+0000) Subject: (_AC_FEATURE_CHECK_LENGTH): If the variable to set is already set, set X-Git-Tag: AUTOCONF-2.59c~520 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=348d99e09bb10a33d1fca45a98c6fcdb7ad6bd4e;p=thirdparty%2Fautoconf.git (_AC_FEATURE_CHECK_LENGTH): If the variable to set is already set, set ac_cv_path_$1 to the preset value. --- diff --git a/lib/autoconf/programs.m4 b/lib/autoconf/programs.m4 index 9076b184b..ee14f58db 100644 --- a/lib/autoconf/programs.m4 +++ b/lib/autoconf/programs.m4 @@ -447,6 +447,8 @@ if test -z "$$1"; then m4_default([$4], [\$PATH])]) fi AC_SUBST([$1]) +else + ac_cv_path_$1=$$1 fi ])