[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
FYI: AC_STATE_SAVE
From: |
Akim Demaille |
Subject: |
FYI: AC_STATE_SAVE |
Date: |
12 Dec 2000 12:09:51 +0100 |
User-agent: |
Gnus/5.0807 (Gnus v5.8.7) XEmacs/21.1 (Channel Islands) |
Some people send logs which contain very weird stuff, e.g.:
./syntax.at:27: cat state-env.after
--- expout Fri Dec 8 14:05:17 2000
+++ stdout Fri Dec 8 14:05:28 2000
@@ -42,6 +42,8 @@
USER=epeisach
XPLOR=/usr/progs/Xplor3.8.1
_XPG=0
+/usr/lib32/cmplrs/mfef77 -G8 -TARG:t5_ll_sc_bug=on -Dmips -DMIPSEB -D_MIPSEB
-TENV:PIC -D_PIC -D__DSO__ -D_LANGUAGE_FORTRAN -DLANGUAGE_FORTRAN
-D_LANGUAGE_FORTRAN77 -DLANGUAGE_FORTRAN77 -Dunix -Dsgi -Dhost_mips
-D_SGI_SOURCE -D_LONGLONG -D_SVR4_SOURCE -D__sgi -D__host_mips -Amachine(mips)
-D_SYSTYPE_SVR4 -D__unix -Asystem(unix) -D_COMPILER_VERSION=730 -m1 -g2 -O0
-show -D__mips=4 -D_MIPS_ISA=4 -D_ABIN32=2 -D_MIPS_SIM=_ABIN32 -D_MIPS_FPSET=32
-D_MIPS_SZINT=32 -D_MIPS_SZLONG=32 -D_MIPS_SZPTR=32 -D_SIZE_INT= 32
-D_SIZE_LONG=32 -D_SIZE_PTR=32 -TARG:abi=n32:isa=mips4 -TARG:proc=r10000
-I/usr/include -include=/usr/include -FE:cmdline=/tmp/ctmL.AAAa0BPzb
-fB,/tmp/ctmB.BAAa0BPzb -TENV:io_library=mips conftest.f
+/usr/lib32/cmplrs/be -PHASE:c -G8 -TARG:t5_ll_sc_bug=on -TENV:PIC -m1 -g2 -O0
-show -TARG:abi=n32:isa=mips4 -TARG:proc=r10000 -LANG:=f77
-TENV:io_library=mips -fB,/tmp/ctmB.BAAa0BPzb -fo,conftest.o conftest.f
as_expr=expr
as_me=configure
as_unset=unset
I suppose that these are coming from an Autoconf var, e.g., ac_link or
whatever. Still, the result is that it pollutes the tests. I'm
applying this:
Index: ChangeLog
from Akim Demaille <address@hidden>
* tests/aclocal.m4 (AC_STATE_SAVE): Use a more precise regexp to
keep envvars.
Index: tests/aclocal.m4
===================================================================
RCS file: /cvs/autoconf/tests/aclocal.m4,v
retrieving revision 1.10
diff -u -u -r1.10 aclocal.m4
--- tests/aclocal.m4 2000/12/06 15:14:16 1.10
+++ tests/aclocal.m4 2000/12/12 09:38:20
@@ -44,7 +44,7 @@
[^(_|@|.[*#?].|LINENO|OLDPWD|PIPESTATUS|RANDOM|SECONDS)=])' 2>/dev/null |
# There maybe variables spread on several lines, eg IFS, remove the dead
# lines.
- fgrep = >state-env.$1
+ grep '^m4_defn([m4_re_word])=' >state-env.$1
test $? = 0 || rm -f state-env.$1
ls -1 | grep -v '^state' | sort >state-ls.$1
- FYI: AC_STATE_SAVE,
Akim Demaille <=