* 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.
This commit is contained in:
Akim Demaille 2001-01-18 13:16:02 +00:00
parent 5540406dff
commit 5fef1ba952
3 changed files with 19 additions and 4 deletions

View File

@ -1,3 +1,10 @@
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

1
THANKS
View File

@ -105,6 +105,7 @@ Noah Elliott elliott@hera.llnl.gov
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

View File

@ -15,8 +15,9 @@ AT_CHECK([libtoolize --version || exit 77],
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 @@ 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