autoconf-patches
[Top][All Lists]
Advanced

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

21-unset.patch


From: Akim Demaille
Subject: 21-unset.patch
Date: 02 Nov 2000 12:25:45 +0100
User-agent: Gnus/5.0807 (Gnus v5.8.7) XEmacs/21.1 (Channel Islands)

Index: ChangeLog
from  Akim Demaille  <address@hidden>
        * acgeneral.m4 (_AC_INIT_PREPARE_ENVIRONMENT): Set `FOO' before
        trying to unset it: `unset' exits 1 if the variable is not defined.
        
        
Index: acgeneral.m4
--- acgeneral.m4 Wed, 01 Nov 2000 14:06:01 +0100 akim (ace/27_acgeneral. 
1.169.8.80 666)
+++ acgeneral.m4 Wed, 01 Nov 2000 14:32:34 +0100 akim (ace/27_acgeneral. 
1.169.8.80 666)
@@ -1374,7 +1374,7 @@ define([_AC_INIT_PREPARE_ENVIRONMENT],
 fi
 
 # Support unset when possible.
-if (unset FOO) >/dev/null 2>&1; then
+if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
   ac_unset=unset
 else
   ac_unset=false



reply via email to

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