Tag
Hash :
5f0839d8
Author :
Date :
2001-10-21T18:04:33
* tests/subdircond.test: Requires gettext. * tests/libobj.test, tests/libobj10.test, tests/libobj2.test, * tests/libobj6.test, tests/libobj9.test, tests/libtool.test, * tests/libtool2.test, tests/ltdeps.test, tests/ltlibobjs.test, * tests/nolink.test, tests/obsolete.test, tests/pr72.test, * tests/sinclude.test, tests/subdircond.test, tests/subobj4.test: Produce valid configure.in, use aclocal appropriately, declare when libtool is required.
#! /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_INIT
AM_INIT_AUTOMAKE(nonesuch, nonesuch)
AC_PROG_CC
AC_PROG_RANLIB
LIBOBJS="$LIBOBJS foo.o"
AC_OUTPUT(Makefile)
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