Tag
Hash :
b9ccfe5e
Author :
Date :
2002-04-12T15:28:15
* automake.in (scan_autoconf_traces) <AC_SUBST>: Ignore ANSI2KNR and AMDEPBACKSLASH. * tests/distcommon2.test: Use a full configure.in that calls AC_INIT. * tests/ext.test: Enable dependencies for OBJC. * tests/libobj.test, tests/libobj6.test, tests/libobj9.test: Delete. They tests for different flavors of $LIBOBJS assignments that wont be supported anymore. * tests/libobj2.test, tests/libobj10.test: Use AC_LIBOBJ. * tests/obsolete.test: Don't test Automake. * tests/suffix5.test: Require libtool. * tests/Makefile.am (TESTS): Remove libobj.test, libobj6.test and libobj9.test.
#! /bin/sh
# Test to make sure LIBOBJS works in subdirs.
# Bug from Josh MacDonald.
. $srcdir/defs || exit 1
cat > configure.in << 'END'
AC_INIT
AM_INIT_AUTOMAKE(nonesuch, nonesuch)
AC_PROG_CC
AC_PROG_RANLIB
AC_LIBOBJ([fsusage])
AC_OUTPUT(subdir/Makefile)
END
mkdir subdir
cat > subdir/Makefile.am << 'END'
noinst_LIBRARIES = libtu.a
libtu_a_SOURCES =
libtu_a_LIBADD = @LIBOBJS@
END
: > subdir/fsusage.c
$ACLOCAL || exit 1
$AUTOMAKE || exit 1
grep 'fsusage\.c' subdir/Makefile.in