+2001-01-18 Akim Demaille <akim@epita.fr>
+
+ * 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.
+
2001-01-18 Akim Demaille <akim@epita.fr>
* tests/atspecific.m4 (AT_CHECK_DEFINES): Discard
Noah Friedman friedman@gnu.ai.mit.edu
Ossama Othman ossama@debian.org
Patrick Tullmann tullmann@cs.utah.edu
+Patrick Welche prlw1@newn.cam.ac.uk
Paul Berrevoets paul@swi.com
Paul Eggert eggert@twinsun.com
Paul Gampe paulg@apnic.net
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
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