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
# Do not complain about the inexistence of a source for LIBOBJS if
# it's in BUILT_SOURCES. Reported by Erez Zadok
. $srcdir/defs || exit 1
cat >> configure.in << 'END'
AC_PROG_CC
AC_PROG_RANLIB
AC_LIBOBJ([foo])
AC_OUTPUT
END
cat > Makefile.am << 'END'
noinst_LIBRARIES = libfoo.a
libfoo_a_LIBADD = @LIBOBJS@
END
$ACLOCAL || exit 1
$AUTOMAKE && exit 1
echo 'BUILT_SOURCES = foo.c' >> Makefile.am
$AUTOMAKE || exit 1