[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Manual handling of arguments
From: |
Ralf Wildenhues |
Subject: |
Re: Manual handling of arguments |
Date: |
Thu, 23 Aug 2007 20:36:18 +0200 |
User-agent: |
Mutt/1.5.13 (2006-08-11) |
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 <address@hidden>
* 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