autoconf
[Top][All Lists]
Advanced

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

Re: sed prob in foreign.at


From: Akim Demaille
Subject: Re: sed prob in foreign.at
Date: 18 Jan 2001 14:13:29 +0100
User-agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.1 (Crater Lake)

| ./foreign.at:25: libtoolize | sed -n "s,^.*\`\(/[^']*\)'.*,\1,p" >at-path
| + at_status=0
| + set +vx
| + libtoolize
| + sed -n s,^.*`\(/[^']*\)'.*,\1,p
| libtoolize: `configure.in' does not exist

Waf waf waf!  Stupid me.  Yeah, of course, libtoolize does not know
about configure.ac (yet).

Thanks!  I'm checking this in:

Index: ChangeLog
from  Akim Demaille  <address@hidden>
        * tests/foreign.at (Autoconf & Libtool): `configure.in', not `.ac'
        since Libtool does not yet support it.
        Let the test suite be more verbose about at-path.
        From Patrick Welche.

Index: THANKS
===================================================================
RCS file: /cvs/autoconf/THANKS,v
retrieving revision 1.51
diff -u -u -r1.51 THANKS
--- THANKS 2001/01/16 10:27:19 1.51
+++ THANKS 2001/01/18 13:14:19
@@ -105,6 +105,7 @@
 Noah Friedman          address@hidden
 Ossama Othman          address@hidden
 Patrick Tullmann       address@hidden
+Patrick Welche         address@hidden
 Paul Berrevoets                address@hidden
 Paul Eggert            address@hidden
 Paul Gampe             address@hidden
Index: tests/foreign.at
===================================================================
RCS file: /cvs/autoconf/tests/foreign.at,v
retrieving revision 1.4
diff -u -u -r1.4 foreign.at
--- tests/foreign.at 2000/12/23 10:11:59 1.4
+++ tests/foreign.at 2001/01/18 13:14:19
@@ -15,8 +15,9 @@
 AT_CHECK([[libtoolize --version | grep '1.3.[012345]' && exit 77]],
          ignore, ignore, ignore)
 
-# Using a configure.ac, have libtoolize confess where libtool.m4 is.
-AT_DATA([configure.ac],
+# FIXME: Once Libtool `configure.ac' aware, change this.
+# Using a configure.in, have libtoolize confess where libtool.m4 is.
+AT_DATA([configure.in],
 [[AC_INIT
 AC_CONFIG_AUX_DIR(.)
 AC_PROG_LIBTOOL
@@ -24,9 +25,15 @@
 AT_CHECK([libtoolize | sed -n ["s,^.*\`\(/[^']*\)'.*,\1,p"] >at-path],
          0, [], ignore)
 
+# Make sure at-path contains something valid, and let the test suite
+# display it when verbose.  And fail, skipping would too easily hide
+# problems.
+AT_CHECK([grep . at-path], 0, [ignore])
+AT_CHECK([test -f "`cat at-path`"])
+
 # Build the concatenation of libtool.m4 and configure.ac.
-cp `cat at-path` configure.ac
-cat >>configure.ac <<_EOF
+cp `cat at-path` configure.in
+cat >>configure.in <<_EOF
 AC_INIT
 AC_CONFIG_AUX_DIR(.)
 AC_PROG_LIBTOOL


Note that it will fail anyway, but this is known, and we are waiting
for CVS Libtool to catch up the list of submitted patches.  Thanks!



reply via email to

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