From: Ralf Wildenhues Date: Thu, 23 Aug 2007 18:36:06 +0000 (+0000) Subject: * lib/autoconf/general.m4 (AC_SITE_LOAD): Guard against file X-Git-Tag: v2.62~283 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ef8190413692a1caf598840f6256b0381598a714;p=thirdparty%2Fautoconf.git * lib/autoconf/general.m4 (AC_SITE_LOAD): Guard against file names beginning with `-' again. --- diff --git a/ChangeLog b/ChangeLog index 81cd5ad5..2f61d4d4 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2007-08-23 Ralf Wildenhues + + * lib/autoconf/general.m4 (AC_SITE_LOAD): Guard against file + names beginning with `-' again. + 2007-08-22 Stepan Kasal Ralf Wildenhues diff --git a/lib/autoconf/general.m4 b/lib/autoconf/general.m4 index 6350a56d..b5cd91b4 100644 --- a/lib/autoconf/general.m4 +++ b/lib/autoconf/general.m4 @@ -1821,7 +1821,7 @@ else fi for ac_site_file in "$ac_site_file1" "$ac_site_file2" do - test "$ac_site_file" = NONE && continue + test "x$ac_site_file" = xNONE && continue if test -r "$ac_site_file"; then AC_MSG_NOTICE([loading site script $ac_site_file]) sed 's/^/| /' "$ac_site_file" >&AS_MESSAGE_LOG_FD