Let's make the code consistent again -- the other part of the macro does
this as well, for the benefit of old and buggy 'test' implementations.
I've applied the trivial patch below.
Cheers,
Ralf
2007-08-23 Ralf Wildenhues <[EMAIL PROTECTED]>
* lib/autoconf/general.m4 (AC_SITE_LOAD): Guard against file
names beginning with `-' again.
Index: lib/autoconf/general.m4
===================================================================
RCS file: /cvsroot/autoconf/autoconf/lib/autoconf/general.m4,v
retrieving revision 1.954
diff -u -r1.954 general.m4
--- lib/autoconf/general.m4 21 Aug 2007 20:23:17 -0000 1.954
+++ lib/autoconf/general.m4 23 Aug 2007 18:35:35 -0000
@@ -1821,7 +1821,7 @@
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