autoconf-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: autoconf not namespace clean


From: Akim Demaille
Subject: Re: autoconf not namespace clean
Date: Fri, 16 May 2003 11:57:16 +0200
User-agent: Gnus/5.1001 (Gnus v5.10.1) Emacs/21.3 (gnu/linux)

Thanks, I'm installing this patch.

Index: ChangeLog
from  Akim Demaille  <address@hidden>

        * lib/m4sugar/m4sh.m4 (_AS_UNSET_PREPARE): s/FOO/as_foo/ to avoid
        user name space clashes.
        Reported by Bruno Haible.
        
Index: lib/m4sugar/m4sh.m4
===================================================================
RCS file: /cvsroot/autoconf/autoconf/lib/m4sugar/m4sh.m4,v
retrieving revision 1.94
diff -u -u -r1.94 m4sh.m4
--- lib/m4sugar/m4sh.m4 27 Mar 2003 13:18:34 -0000 1.94
+++ lib/m4sugar/m4sh.m4 16 May 2003 09:56:34 -0000
@@ -278,7 +278,7 @@
 # AS_UNSET depends upon $as_unset: compute it.
 m4_defun([_AS_UNSET_PREPARE],
 [# Support unset when possible.
-if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
+if (as_foo=foo; unset as_foo) >/dev/null 2>&1; then
   as_unset=unset
 else
   as_unset=false




reply via email to

[Prev in Thread] Current Thread [Next in Thread]