autoconf-patches
[Top][All Lists]
Advanced

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

Re: [autoconf 2.49e] Test 12 failed on Solaris 8/SPARC


From: Akim Demaille
Subject: Re: [autoconf 2.49e] Test 12 failed on Solaris 8/SPARC
Date: 11 Apr 2001 18:32:09 +0200
User-agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.1 (Cuyahoga Valley)

>>>>> "Rainer" == Rainer Orth <address@hidden> writes:

Rainer> This is the only reference to this file in the whole truss
Rainer> output, i.e. it's never created.

Ah!  Of course.  Thanks!  These are fake tests that don't run the
M4sugar macros which create this file.  autoconf.sh should be robust
to that, indeed.

Given that I don't know how to test portably the existence of a file,
given that AWK + SED + SH sucks and we are going to move to Perl, I
don't want to fight any further than:

Index: ChangeLog
from  Akim Demaille  <address@hidden>

        * autoconf.sh (Task script): Be sure that `forbidden.rx' and
        `allowed.rx' exist when AWK loads then.
        Reported by Rainer Orth.

Index: autoconf.sh
===================================================================
RCS file: /cvs/autoconf/autoconf.sh,v
retrieving revision 1.117
diff -u -u -r1.117 autoconf.sh
--- autoconf.sh 2001/03/30 12:49:37 1.117
+++ autoconf.sh 2001/04/11 16:26:23
@@ -312,6 +312,8 @@
   ## --------------------------------- ##
   script)
   # M4 expansion.
+  : >$tmp/forbidden.rx
+  : >$tmp/allowed.rx
   $run_m4f -Dm4_warnings=$m4_warnings $infile >$tmp/configure ||
     { (exit 1); exit; }


which I applied.  Could you give it a second try?  Thanks!



reply via email to

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