+2001-10-21 Akim Demaille <akim@epita.fr>
+
+ * 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.
+
2001-10-21 Akim Demaille <akim@epita.fr>
* m4/lex.m4: Don't run AC_DECL_YYTEXT, Autoconf does.
cat > configure.in << 'END'
AC_INIT
AM_INIT_AUTOMAKE(nonesuch, nonesuch)
-PACKAGE=nonesuch
-VERSION=nonesuch
AC_PROG_CC
AC_PROG_RANLIB
LIBOBJS="$LIBOBJS fsusage.o mountlist.o"
cat > configure.in << 'END'
AC_INIT
AM_INIT_AUTOMAKE(nonesuch, nonesuch)
-PACKAGE=nonesuch
-VERSION=nonesuch
AC_PROG_CC
AC_PROG_RANLIB
LIBOBJS="$LIBOBJS foo.o"
cat > configure.in << 'END'
AC_INIT
AM_INIT_AUTOMAKE(nonesuch, nonesuch)
-PACKAGE=nonesuch
-VERSION=nonesuch
AC_PROG_CC
AC_PROG_RANLIB
LIBOBJS="$LIBOBJS fsusage.o"
cat > configure.in << 'END'
AC_INIT
AM_INIT_AUTOMAKE(nonesuch, nonesuch)
-PACKAGE=nonesuch
-VERSION=nonesuch
AC_PROG_CC
AC_PROG_RANLIB
LIBOBJS="fsusage.o mountlist.o $LIBOBJS"
cat > configure.in << 'END'
AC_INIT
AM_INIT_AUTOMAKE(nonesuch, nonesuch)
-PACKAGE=nonesuch
-VERSION=nonesuch
AC_PROG_CC
AC_PROG_RANLIB
AC_EXEEXT
# Make sure libtool is removed.
# Report from Kevin Dalley
-
+required=libtool
. $srcdir/defs || exit 1
cat >> configure.in << 'END'
# Make sure libtool clean targets exist.
# Report from Eric Magnien.
-
+required=libtool
. $srcdir/defs || exit 1
# This test requires libtoolize.
# Test to make sure libtool library dependencies are correct.
# Report from Lars J. Aas.
-
+required=libtool
. $srcdir/defs || exit 1
cat >> configure.in << 'END'
# Test to make sure LTLIBOBJS alone works ok.
# Report from Vadim Zeitlin.
-
+required=libtool
. $srcdir/defs || exit 1
cat >> configure.in << 'END'
. $srcdir/defs || exit 1
-cat >> configure.in << 'END'
-AC_INIT
-AM_INIT_AUTOMAKE([meal],[123])
-AC_OUTPUT([Makefile])
-END
-
cat > Makefile.am << 'END'
AUTOMAKE_OPTIONS = no-exeext
. $srcdir/defs || exit 1
-cat > configure.in << 'END'
-PACKAGE=nonesuch
-VERSION=nonesuch
+cat >> configure.in << 'END'
fp_PROG_INSTALL
-AC_OUTPUT(Makefile one/Makefile one/two/Makefile)
END
: > Makefile.am
#! /bin/sh
# Test for PR 72
-
+required=libtool
. $srcdir/defs || exit 1
cat >> configure.in << 'END'
. $srcdir/defs || exit 1
-cat > aclocal.m4 << 'END'
-sinclude(sub/p.m4)
-END
-
mkdir sub
cat > sub/p.m4 << 'END'
AC_SUBST(MAGICALPIG)
: > Makefile.am
$ACLOCAL || exit 1
+echo 'sinclude(sub/p.m4)' >> aclocal.m4
+
$AUTOMAKE --Wno-error || exit 1
grep MAGICALPIG Makefile.in
#! /bin/sh
# It is ok to have a conditional SUBDIRS when using gettext.
-
+required=gettext
. $srcdir/defs || exit 1
cat >> configure.in << 'END'
. $srcdir/defs || exit 1
cat >> configure.in << 'END'
-AC_INIT
-AM_INIT_AUTOMAKE(nonesuch, nonesuch)
-PACKAGE=nonesuch
-VERSION=nonesuch
AM_PROG_CC_C_O
AC_PROG_CC
AC_PROG_CXX
-AC_OUTPUT(Makefile d1/Makefile d2/Makefile)
+AC_OUTPUT(d1/Makefile d2/Makefile)
END
mkdir d1 d2