arguments.
Don't run AC_ARG_PROGRAM another time, it is required by
AM_INIT_AUTOMAKE.
* tests/aclocal.test: Work on the default configure.in
* tests/config.test (configure.in): Don't AC_ARG_PROGRAM.
First AM_INIT_AUTOMAKE, then AM_CONFIG_HEADER.
Be realistic in testing: AC_INIT is required for Autoconf.
Broken so called optimized tests break trace handling.
* tests/aclibobj.test, tests/aclocal.test, tests/acoutnoq.test,
* tests/acoutput.test, tests/acoutput2.test, tests/acoutqnl.test,
* tests/acouttbs.test, tests/acsilent.test, tests/alpha.test,
* tests/colon.test, tests/colon2.test, tests/colon3.test,
* tests/colon4.test, tests/colon5.test, tests/colon6.test,
* tests/colon7.test, tests/cond.test, tests/cond2.test,
* tests/cond3.test, tests/cond5.test, tests/conf2.test,
* tests/confh.test, tests/confh2.test, tests/confh3.test,
* tests/confh4.test, tests/config.test, tests/confsub.test,
* tests/ctarget1.test, tests/depcomp.test, tests/depend3.test,
* tests/distcommon.test, tests/dup3.test, tests/fpinst2.test,
* tests/fpinstall.test, tests/header.test, tests/ldflags.test,
* tests/libobj.test, tests/libobj10.test, tests/libobj2.test,
* tests/libobj6.test, tests/libobj7.test, tests/libobj8.test,
* tests/libobj9.test, tests/output.test, tests/output2.test,
* tests/output3.test, tests/output4.test, tests/parse.test,
* tests/pr2.test, tests/recurs.test, tests/recurs2.test,
* tests/remake.test, tests/remake2.test, tests/remake3.test,
* tests/req.test, tests/scripts.test, tests/subdir.test,
* tests/subdir2.test, tests/subdir4.test, tests/subobj4.test,
* tests/tagsub.test, tests/texinfo8.test, tests/version.test,
* tests/version2.test: Add AC_INIT in `configure.in'.
+2001-10-20 Akim Demaille <akim@epita.fr>
+
+ * tests/defs (configure.in): Use credible AM_INIT_AUTOMAKE
+ arguments.
+ Don't run AC_ARG_PROGRAM another time, it is required by
+ AM_INIT_AUTOMAKE.
+ * tests/aclocal.test: Work on the default configure.in
+ * tests/config.test (configure.in): Don't AC_ARG_PROGRAM.
+ First AM_INIT_AUTOMAKE, then AM_CONFIG_HEADER.
+
+ Be realistic in testing: AC_INIT is required for Autoconf.
+ Broken so called optimized tests break trace handling.
+
+ * tests/aclibobj.test, tests/aclocal.test, tests/acoutnoq.test,
+ * tests/acoutput.test, tests/acoutput2.test, tests/acoutqnl.test,
+ * tests/acouttbs.test, tests/acsilent.test, tests/alpha.test,
+ * tests/colon.test, tests/colon2.test, tests/colon3.test,
+ * tests/colon4.test, tests/colon5.test, tests/colon6.test,
+ * tests/colon7.test, tests/cond.test, tests/cond2.test,
+ * tests/cond3.test, tests/cond5.test, tests/conf2.test,
+ * tests/confh.test, tests/confh2.test, tests/confh3.test,
+ * tests/confh4.test, tests/config.test, tests/confsub.test,
+ * tests/ctarget1.test, tests/depcomp.test, tests/depend3.test,
+ * tests/distcommon.test, tests/dup3.test, tests/fpinst2.test,
+ * tests/fpinstall.test, tests/header.test, tests/ldflags.test,
+ * tests/libobj.test, tests/libobj10.test, tests/libobj2.test,
+ * tests/libobj6.test, tests/libobj7.test, tests/libobj8.test,
+ * tests/libobj9.test, tests/output.test, tests/output2.test,
+ * tests/output3.test, tests/output4.test, tests/parse.test,
+ * tests/pr2.test, tests/recurs.test, tests/recurs2.test,
+ * tests/remake.test, tests/remake2.test, tests/remake3.test,
+ * tests/req.test, tests/scripts.test, tests/subdir.test,
+ * tests/subdir2.test, tests/subdir4.test, tests/subobj4.test,
+ * tests/tagsub.test, tests/texinfo8.test, tests/version.test,
+ * tests/version2.test: Add AC_INIT in `configure.in'.
+
2001-10-20 Akim Demaille <akim@epita.fr>
* automake.in (&scan_autoconf_traces): Add support for
. $srcdir/defs || exit 1
cat > X << 'END'
+AC_INIT
AM_INIT_AUTOMAKE(nonesuch, nonesuch)
AC_PROG_CC
AC_PROG_RANLIB
# Alexandre Oliva.
. $srcdir/defs || exit 1
-# configure.in has to have some macro that aclocal can find.
-echo 'AM_INIT_AUTOMAKE' >> configure.in
-
$ACLOCAL --output=fred || exit 1
test -f fred
. $srcdir/defs || exit 1
cat > configure.in << 'END'
+AC_INIT
AM_INIT_AUTOMAKE(nonesuch, nonesuch)
PACKAGE=nonesuch
VERSION=nonesuch
. $srcdir/defs || exit 1
cat > configure.in << 'END'
+AC_INIT
AM_INIT_AUTOMAKE(nonesuch, nonesuch)
PACKAGE=nonesuch
VERSION=nonesuch
. $srcdir/defs || exit 1
cat > configure.in << 'END'
+AC_INIT
AM_INIT_AUTOMAKE(nonesuch, nonesuch)
AC_OUTPUT([subdir/Makefile subdir/foo Makefile foo], [true])
END
. $srcdir/defs || exit 1
cat > configure.in << 'END'
+AC_INIT
AM_INIT_AUTOMAKE(nonesuch, nonesuch)
PACKAGE=nonesuch
VERSION=nonesuch
. $srcdir/defs || exit 1
cat > configure.in << 'END'
+AC_INIT
AM_INIT_AUTOMAKE(nonesuch, nonesuch)
PACKAGE=nonesuch
VERSION=nonesuch
. $srcdir/defs || exit 1
-echo AM_INIT_GUILE_MODULE > configure.in
+cat >configure.in <<EOF
+AC_INIT
+AM_INIT_GUILE_MODULE
+EOF
cat > acinclude.m4 << 'END'
AC_DEFUN([AM_INIT_GUILE_MODULE],[
. $srcdir/defs || exit 1
cat >> configure.in << 'END'
+AC_INIT
AM_INIT_AUTOMAKE(zardoz, 1.5e)
END
. $srcdir/defs || exit 1
cat > configure.in << 'END'
+AC_INIT
AM_INIT_AUTOMAKE(nonesuch, nonesuch)
PACKAGE=nonesuch
VERSION=nonesuch
. $srcdir/defs || exit 1
cat > configure.in << 'END'
+AC_INIT
AM_INIT_AUTOMAKE(nonesuch, nonesuch)
PACKAGE=nonesuch
VERSION=nonesuch
. $srcdir/defs || exit 1
cat > configure.in << 'END'
+AC_INIT
AM_INIT_AUTOMAKE(nonesuch, nonesuch)
PACKAGE=nonesuch
VERSION=nonesuch
. $srcdir/defs || exit 1
cat > configure.in << 'END'
+AC_INIT
AM_INIT_AUTOMAKE(nonesuch, nonesuch)
PACKAGE=nonesuch
VERSION=nonesuch
. $srcdir/defs || exit 1
cat > configure.in << 'END'
+AC_INIT
AM_INIT_AUTOMAKE(nonesuch, nonesuch)
PACKAGE=nonesuch
VERSION=nonesuch
. $srcdir/defs || exit 1
cat > configure.in << 'END'
+AC_INIT
AM_INIT_AUTOMAKE(nonesuch, nonesuch)
PACKAGE=nonesuch
VERSION=nonesuch
. $srcdir/defs || exit 1
cat > configure.in << 'END'
+AC_INIT
AM_INIT_AUTOMAKE(nonesuch, nonesuch)
PACKAGE=nonesuch
VERSION=nonesuch
. $srcdir/defs || exit 1
cat > configure.in << 'END'
+AC_INIT
AM_INIT_AUTOMAKE(nonesuch, nonesuch)
AM_CONDITIONAL(TEST, true)
AC_OUTPUT(Makefile)
. $srcdir/defs || exit 1
cat > configure.in << 'END'
+AC_INIT
AM_INIT_AUTOMAKE(nonesuch, nonesuch)
AM_CONDITIONAL(TEST, true)
AC_OUTPUT(Makefile)
. $srcdir/defs || exit 1
cat > configure.in << 'END'
+AC_INIT
AM_INIT_AUTOMAKE(nonesuch, nonesuch)
AC_PROG_CC
AM_CONDITIONAL(ONE, true)
. $srcdir/defs || exit 1
cat > configure.in << 'END'
+AC_INIT
AM_INIT_AUTOMAKE(nonesuch, nonesuch)
AC_PROG_CC
AM_CONDITIONAL(ONE, true)
. $srcdir/defs || exit 1
cat > configure.in << 'END'
+AC_INIT
AM_INIT_AUTOMAKE(nonesuch, nonesuch)
AM_CONFIG_HEADER(config.h two.h)
PACKAGE=nonesuch
. $srcdir/defs || exit 1
cat > configure.in << 'END'
+AC_INIT
AM_INIT_AUTOMAKE(nonesuch, nonesuch)
PACKAGE=nonesuch
VERSION=nonesuch
. $srcdir/defs || exit 1
cat > configure.in << 'END'
+AC_INIT
AM_INIT_AUTOMAKE(nonesuch, nonesuch)
PACKAGE=nonesuch
VERSION=nonesuch
. $srcdir/defs || exit 1
cat > configure.in << 'END'
+AC_INIT
AM_INIT_AUTOMAKE(nonesuch, nonesuch)
PACKAGE=nonesuch
VERSION=nonesuch
. $srcdir/defs || exit 1
cat > configure.in << 'END'
+AC_INIT
AM_INIT_AUTOMAKE(nonesuch, nonesuch)
AC_ARG_PROGRAM
AC_PROG_INSTALL
. $srcdir/defs || exit 1
cat > configure.in << 'END'
-AM_CONFIG_HEADER(subdir/config.h)
+AC_INIT
AM_INIT_AUTOMAKE(nonesuch, nonesuch)
PACKAGE=nonesuch
VERSION=nonesuch
+AM_CONFIG_HEADER(subdir/config.h)
AC_PROG_CC
-AC_ARG_PROGRAM
AC_PROG_MAKE_SET
AC_PROG_INSTALL
AC_OUTPUT(Makefile)
. $srcdir/defs || exit 1
cat > configure.in << 'END'
+AC_INIT
AM_INIT_AUTOMAKE(nonesuch, nonesuch)
AC_PROG_MAKE_SET
AM_CONFIG_HEADER(subdir/config.h)
. $srcdir/defs || exit 1
cat > configure.in << 'END'
+AC_INIT
AM_INIT_AUTOMAKE(nonesuch, nonesuch)
AM_CONDITIONAL(TEST, true)
AC_OUTPUT(Makefile)
# Build appropriate environment in test directory. Eg create
# configure.in, touch all necessary files, etc.
-cat > configure.in << 'END'
+cat > configure.in << END
AC_INIT
-AM_INIT_AUTOMAKE(nonesuch, nonesuch)
-AC_ARG_PROGRAM
+AM_INIT_AUTOMAKE($me, 1.0)
AC_PROG_INSTALL
AC_PROG_MAKE_SET
AC_OUTPUT(Makefile)
. $srcdir/defs || exit 1
cat > configure.in << 'END'
+AC_INIT
AM_INIT_AUTOMAKE(nonesuch, nonesuch)
PACKAGE=nonesuch
VERSION=nonesuch
. $srcdir/defs || exit 1
cat > configure.in << 'END'
+AC_INIT
AM_INIT_AUTOMAKE(nonesuch, nonesuch)
AC_ARG_PROGRAM
AC_PROG_INSTALL
. $srcdir/defs || exit 1
cat > configure.in << EOF
+AC_INIT
AM_INIT_AUTOMAKE(nonesuch, nonesuch)
AC_OUTPUT(subdir/bar \
Makefile \
. $srcdir/defs || exit 1
cat >> configure.in << 'END'
+AC_INIT
AM_INIT_AUTOMAKE
END
mkdir zoo
cat > zoo/zoo.m4 << 'END'
-AC_DEFUN(AM_INIT_AUTOMAKE, zardoz)
+AC_DEFUN([AM_INIT_AUTOMAKE], zardoz)
END
$ACLOCAL -I zoo || exit 1
. $srcdir/defs || exit 1
cat > configure.in << 'END'
+AC_INIT
AM_INIT_AUTOMAKE(nonesuch, nonesuch)
PACKAGE=nonesuch
VERSION=nonesuch
. $srcdir/defs || exit 1
cat > configure.in << 'END'
+AC_INIT
AM_INIT_AUTOMAKE(nonesuch, nonesuch)
PACKAGE=nonesuch
VERSION=nonesuch
. $srcdir/defs || exit 1
cat >> configure.in << 'END'
+AC_INIT
AM_INIT_AUTOMAKE(nonesuch, nonesuch)
PACKAGE=nonesuch
VERSION=nonesuch
. $srcdir/defs || exit 1
cat > configure.in << 'END'
+AC_INIT
AM_INIT_AUTOMAKE(no, 0)
AC_PROG_CC
AC_ARG_PROGRAM
. $srcdir/defs || exit 1
cat > configure.in << 'END'
+AC_INIT
AM_INIT_AUTOMAKE(nonesuch, nonesuch)
PACKAGE=nonesuch
VERSION=nonesuch
. $srcdir/defs || exit 1
cat > configure.in << 'END'
+AC_INIT
AM_INIT_AUTOMAKE(nonesuch, nonesuch)
PACKAGE=nonesuch
VERSION=nonesuch
. $srcdir/defs || exit 1
cat > configure.in << 'END'
+AC_INIT
AM_INIT_AUTOMAKE(nonesuch, nonesuch)
PACKAGE=nonesuch
VERSION=nonesuch
. $srcdir/defs || exit 1
cat > configure.in << 'END'
+AC_INIT
AM_INIT_AUTOMAKE(nonesuch, nonesuch)
PACKAGE=nonesuch
VERSION=nonesuch
. $srcdir/defs || exit 1
cat > configure.in << 'END'
+AC_INIT
AM_INIT_AUTOMAKE(nonesuch, nonesuch)
PACKAGE=nonesuch
VERSION=nonesuch
. $srcdir/defs || exit 1
cat > configure.in << 'END'
+AC_INIT
AM_INIT_AUTOMAKE(nonesuch, nonesuch)
PACKAGE=nonesuch
VERSION=nonesuch
. $srcdir/defs || exit 1
cat > configure.in << 'END'
+AC_INIT
AM_INIT_AUTOMAKE(nonesuch, nonesuch)
PACKAGE=nonesuch
VERSION=nonesuch
. $srcdir/defs || exit 1
cat > configure.in << 'END'
+AC_INIT
AM_INIT_AUTOMAKE(nonesuch, nonesuch)
PACKAGE=nonesuch
VERSION=nonesuch
. $srcdir/defs || exit 1
cat > configure.in << 'END'
+AC_INIT
AM_INIT_AUTOMAKE(nonesuch, nonesuch)
PACKAGE=nonesuch
VERSION=nonesuch
. $srcdir/defs || exit 1
cat > configure.in << 'END'
+AC_INIT
AM_INIT_AUTOMAKE(nonesuch, nonesuch)
PACKAGE=nonesuch
VERSION=nonesuch
. $srcdir/defs || exit 1
cat > configure.in << 'END'
+AC_INIT
AM_INIT_AUTOMAKE(nonesuch, nonesuch)
PACKAGE=nonesuch
VERSION=nonesuch
. $srcdir/defs || exit 1
cat > configure.in << 'END'
+AC_INIT
AM_INIT_AUTOMAKE(nonesuch, nonesuch)
PACKAGE=nonesuch
VERSION=nonesuch
. $srcdir/defs || exit 1
cat > configure.in << 'END'
+AC_INIT
AM_INIT_AUTOMAKE(nonesuch, nonesuch)
PACKAGE=nonesuch
VERSION=nonesuch
. $srcdir/defs || exit 1
cat > configure.in << 'END'
+AC_INIT
AM_INIT_AUTOMAKE(nonesuch, nonesuch)
AC_PROG_CC
AM_CONDITIONAL(ONE, true)
. $srcdir/defs || exit 1
cat > configure.in << 'END'
+AC_INIT
AM_INIT_AUTOMAKE(nonesuch, nonesuch)
AC_PROG_CC
AC_OUTPUT(Makefile)
. $srcdir/defs || exit 1
cat > configure.in << 'END'
+AC_INIT
AM_INIT_AUTOMAKE(nonesuch, nonesuch)
PACKAGE=nonesuch
VERSION=nonesuch
. $srcdir/defs || exit 1
cat > configure.in << 'END'
+AC_INIT
AM_INIT_AUTOMAKE(nonesuch, nonesuch)
PACKAGE=nonesuch
VERSION=nonesuch
. $srcdir/defs || exit 1
cat > configure.in << 'END'
+AC_INIT
AM_INIT_AUTOMAKE(nonesuch, nonesuch)
PACKAGE=nonesuch
VERSION=nonesuch
. $srcdir/defs || exit 1
-echo AM_INIT_GUILE_MODULE > configure.in
+cat > configure.in <<EOF
+AC_INIT
+AM_INIT_GUILE_MODULE
+EOF
cat > acinclude.m4 << 'END'
AC_DEFUN([AM_INIT_GUILE_MODULE],[
. $srcdir/defs || exit 1
cat > configure.in << 'END'
+AC_INIT
AM_INIT_AUTOMAKE(nonesuch, nonesuch)
PACKAGE=nonesuch
VERSION=nonesuch
mkdir zot
cat > configure.in << 'END'
+AC_INIT
AM_INIT_AUTOMAKE(nonesuch, nonesuch)
PACKAGE=nonesuch
VERSION=nonesuch
mkdir one/two
cat > configure.in << 'END'
+AC_INIT
AM_INIT_AUTOMAKE(nonesuch, nonesuch)
PACKAGE=nonesuch
VERSION=nonesuch
mkdir lib src
cat > configure.in << 'END'
+AC_INIT
AM_INIT_AUTOMAKE(nonesuch, nonesuch)
PACKAGE=nonesuch
VERSION=nonesuch
. $srcdir/defs || exit 1
cat >> configure.in << 'END'
+AC_INIT
AM_INIT_AUTOMAKE(nonesuch, nonesuch)
PACKAGE=nonesuch
VERSION=nonesuch
: > sub/iguana.h
cat > configure.in << 'END'
+AC_INIT
AM_INIT_AUTOMAKE(nonesuch, nonesuch)
PACKAGE=nonesuch
VERSION=nonesuch
. $srcdir/defs || exit 1
cat > configure.in << 'END'
+AC_INIT
AM_INIT_AUTOMAKE(nonesuch, nonesuch)
PACKAGE=nonesuch
VERSION=nonesuch
. $srcdir/defs || exit 1
cat > configure.in << 'END'
+AC_INIT
AM_INIT_AUTOMAKE([sh-utils], [1.12o])
AC_OUTPUT(Makefile)
END
. $srcdir/defs || exit 1
cat > configure.in << 'END'
+AC_INIT
AM_INIT_AUTOMAKE([sh-utils], 1.12o, no)
AC_OUTPUT(Makefile)
END