sc_tests_overriding_macros_on_cmdline \
sc_tests_plain_sleep \
sc_tests_plain_egrep_fgrep \
+sc_tests_no_configure_in \
sc_tests_PATH_SEPARATOR \
sc_tests_logs_duplicate_prefixes \
sc_tests_makefile_variable_order \
exit 1; \
fi
+## Prefer 'configure.ac' over the obsolescent 'configure.in' as the name
+## for configure input files in our testsuite. The latter has been
+## deprecated for several years (at least since autoconf 2.50).
+sc_tests_no_configure_in:
+ @if grep -E '\bconfigure\\*\.in\b' $(xtests) $(srcdir)/tests/defs \
+ | grep -Ev '/backcompat.*\.(test|tap):' \
+ | grep -Ev '/autodist-configure-no-subdir\.test:' \
+ | grep -Ev '/(configure|help)\.test:' \
+ | grep .; \
+ then \
+ echo "Use 'configure.ac', not 'configure.in', as the name" >&2; \
+ echo "for configure input files in the test cases above." >&2; \
+ exit 1; \
+ fi
+
## Rule to ensure that the testsuite has been run before. We don't depend on `check'
## here, because that would be very wasteful in the common case. We could run
## `make check RECHECK_LOGS=' and avoid toplevel races with AM_RECURSIVE_TARGETS.
or `option-w0.tap' are *not* valid name for hand-written tests.
./defs brings in some commonly required files, and sets a skeleton
- configure.in. If possible, append to this file. In some cases
+ configure.ac. If possible, append to this file. In some cases
you'll have to overwrite it, but this should be the exception. Note
- that configure.in registers Makefile.in but do not output anything by
+ that configure.ac registers Makefile.in but do not output anything by
default. If you need ./configure to create Makefile, append AC_OUTPUT
- to configure.in. In case you don't want ./defs to pre-populate your
+ to configure.ac. In case you don't want ./defs to pre-populate your
test directory (which is a rare occurrence), set `$am_create_testdir'
to "empty" before sourcing ./defs.
running `make' over grepping `Makefile.in' (or do both).
If you run $AUTOMAKE or $AUTOCONF several times in the same test
- and change `configure.in' by the meantime, do
+ and change `configure.ac' by the meantime, do
rm -rf autom4te.cache
- before the following runs. On fast machines the new `configure.in'
+ before the following runs. On fast machines the new `configure.ac'
could otherwise have the same timestamp as the old `autom4te.cache'.
Alternatively, use `--force' for subsequent runs of the tools.
plan_ 22
-rm -f configure.in depcomp # Not required.
+rm -f configure.ac depcomp # Not required.
# -----------------------------------------------------------------------
dir=acoutbs$1
mkdir $dir
cd $dir
- cat > configure.in
+ cat > configure.ac
touch Makefile.am zot.in
command_ok_ "aclocal groks '\\' in AC_OUTPUT ($dir)" $ACLOCAL
command_ok_ "automake groks '\\' in AC_OUTPUT ($dir)" $AUTOMAKE
# -----------------------------------------------------------------------
# Test for bug reported by Jerome Santini.
-# If I put this line in my configure.in:
+# If I put this line in my configure.ac:
# AC_OUTPUT(Makefile src/Makefile tests/Makefile, echo timestamp > stamp-h)dnl
# automake is not happy:
# [ ... ]
mkdir acoutnoq
cd acoutnoq
-cat > configure.in << 'END'
+cat > configure.ac << 'END'
AC_INIT
AM_INIT_AUTOMAKE(nonesuch, nonesuch)
AC_OUTPUT(Makefile, [true])
mkdir acoutpt
cd acoutpt
-cat > configure.in << 'END'
+cat > configure.ac << 'END'
AC_INIT
AM_INIT_AUTOMAKE(nonesuch, nonesuch)
AC_OUTPUT([Makefile], [true])
# Name of the current "subtest".
cur=acoutput2
-cat > configure.in <<END
+cat > configure.ac <<END
AC_INIT([$cur], [1.0])
AM_INIT_AUTOMAKE
AC_OUTPUT([subdir/Makefile subdir/foo Makefile foo], [true])
mkdir acoutqnl
cd acoutqnl
-cat > configure.in << 'END'
+cat > configure.ac << 'END'
AC_INIT
AM_INIT_AUTOMAKE(nonesuch, nonesuch)
AC_OUTPUT([Makefile],
am_create_testdir=empty
. ./defs || Exit 1
-cat > configure.in << 'END'
+cat > configure.ac << 'END'
AC_INIT
MACRO1
MACRO2
am_create_testdir=empty
. ./defs || Exit 1
-cat > configure.in << 'END'
+cat > configure.ac << 'END'
AC_INIT
MACRO2
MACRO1
am_create_testdir=empty
. ./defs || Exit 1
-cat > configure.in <<END
+cat > configure.ac <<END
AC_INIT([$me], [1.0])
MACRO1
END
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
m4_include([somefile.m4])
AC_OUTPUT
END
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AM_PROG_LIBTOOL
AC_OUTPUT
END
diff aclocal.m4 stamp
# If FOO where to be used, that would be another story, of course.
-cat >>configure.in <<EOF
+cat >>configure.ac <<EOF
FOO
EOF
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
-# Make sure aclocal scans configure.in for macro definitions.
+# Make sure aclocal scans configure.ac for macro definitions.
# PR/319.
am_create_testdir=empty
# Start macros with AM_ because that causes aclocal to complain if it
# cannot find them.
-cat > configure.in << 'END'
+cat > configure.ac << 'END'
AC_INIT
m4_include([somedef.m4])
AC_DEFUN([AM_SOME_MACRO])
am_create_testdir=empty
. ./defs || Exit 1
-cat > configure.in << 'END'
+cat > configure.ac << 'END'
AC_SUBST([POM])
END
am_create_testdir=empty
. ./defs || Exit 1
-cat > configure.in << 'END'
+cat > configure.ac << 'END'
AC_INIT
SOME_DEFS
END
WARNINGS=error $ACLOCAL -I m4 2>stderr && { cat stderr >&2; Exit 1; }
cat stderr >&2
-grep '^configure\.in:2:.*UNDEFINED_MACRO' stderr
+grep '^configure\.ac:2:.*UNDEFINED_MACRO' stderr
:
am_create_testdir=empty
. ./defs || Exit 1
-cat > configure.in << 'END'
+cat > configure.ac << 'END'
AC_INIT
AM_MACRO1
AM_MACRO2
. ./defs || Exit 1
-cat >configure.in <<'END'
+cat >configure.ac <<'END'
AC_INIT([acloca19], [1.0])
m4_include([aconfig.ac])
FOO
echo 'm4_define([FOO], [wrong foo])' > foo.m4
echo 'm4_define([FOO], [right foo])' > acinclude.m4
-echo 'AC_INIT FOO' > configure.in
+echo 'AC_INIT FOO' > configure.ac
chmod a-w foo.m4
am_create_testdir=empty
. ./defs || Exit 1
-cat >>configure.in <<EOF
+cat >>configure.ac <<EOF
dnl m4_include(__some_really_bogus_nonexistent_file__.m4)
# m4_include(__some_really_bogus_nonexistent_file__.m4)
## m4_include(__some_really_bogus_nonexistent_file__.m4)
. ./defs || Exit 1
-cat >>configure.in <<EOF
+cat >>configure.ac <<EOF
FOO
AC_OUTPUT
EOF
grep GREPFOO Makefile
grep GREPBAR Makefile && Exit 1
-sed 's/FOO/BAR/' < configure.in > t
-mv -f t configure.in
+sed 's/FOO/BAR/' < configure.ac > t
+mv -f t configure.ac
rm -f foo.m4
$MAKE
grep GREPFOO Makefile && Exit 1
am_create_testdir=empty
. ./defs || Exit 1
-cat > configure.in << 'END'
+cat > configure.ac << 'END'
AC_INIT
FOO
END
mkdir am sys
-cat >> configure.in <<'END'
+cat >> configure.ac <<'END'
MY_MACRO
END
mkdir loc sys
-echo 'AM_DUMMY_MACRO' >> configure.in
+echo 'AM_DUMMY_MACRO' >> configure.ac
echo 'AC_DEFUN([AM_DUMMY_MACRO], [:])' >> sys/foo.m4
cwd=`pwd` || fatal_ "cannot get current working directory"
am_create_testdir=empty
. ./defs || Exit 1
-cat > configure.in << 'END'
+cat > configure.ac << 'END'
AC_INIT
AM_FOO
END
am_create_testdir=empty
. ./defs || Exit 1
-cat > configure.in << 'END'
+cat > configure.ac << 'END'
AC_INIT
AM_FOO
END
# The `--install' option should cause a required macro found in a
# directory specified in ACLOCAL_PATH to be installed locally.
-echo AM_BAR >> configure.in
+echo AM_BAR >> configure.ac
$ACLOCAL --install -I ldir
diff pdir/bar.m4 ldir/bar.m4
am_create_testdir=empty
. ./defs || Exit 1
-cat > configure.in << 'END'
+cat > configure.ac << 'END'
AC_INIT
AM_FOO
END
am_create_testdir=empty
. ./defs || Exit 1
-cat > configure.in << 'END'
+cat > configure.ac << 'END'
AC_INIT([foo], [1.0])
AM_INIT_AUTOMAKE([parallel-tests])
FOO_MACRO
am_create_testdir=empty
. ./defs || Exit 1
-cat > configure.in << 'END'
+cat > configure.ac << 'END'
AC_INIT
AM_FOO_MACRO
AM_BAR_MACRO
am_create_testdir=empty
. ./defs || Exit 1
-echo "AC_INIT([$me], [0]) AM_INIT_AUTOMAKE" > configure.in
+echo "AC_INIT([$me], [0]) AM_INIT_AUTOMAKE" > configure.ac
$ACLOCAL --output=fred
test -f fred
am_create_testdir=empty
. ./defs || Exit 1
-cat >> configure.in <<END
+cat >> configure.ac <<END
AC_INIT([$me], [1.0])
GNOME_X_CHECKS
END
required=cc
. ./defs || Exit 1
-cat >>configure.in <<EOF
+cat >>configure.ac <<EOF
AC_PROG_RANLIB
AM_PROG_AR
AC_PROG_CC
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AM_TEST([GREPME])
AC_CONFIG_FILES([sub/Makefile])
AC_OUTPUT
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
SOME_DEFS
AC_CONFIG_FILES([sub/Makefile])
AC_OUTPUT
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
SOME_DEFS
AC_CONFIG_FILES([sub/Makefile])
END
am_create_testdir=empty
. ./defs || Exit 1
-cat > configure.in << 'END'
+cat > configure.ac << 'END'
AC_INIT
SOME_DEFS
END
am_create_testdir=empty
. ./defs || Exit 1
-cat > configure.in << 'END'
+cat > configure.ac << 'END'
AC_INIT
MACRO1
MACRO2
. ./defs || Exit 1
-cat >configure.in <<EOF
+cat >configure.ac <<EOF
AC_INIT
AM_INIT_GUILE_MODULE
EOF
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_PROG_CC
AC_SUBST([FOOBAR_LDFLAGS],[blablabla])
END
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_PROG_CC
AM_PROG_CC_C_O
AC_SUBST([FOOBAR_CFLAGS],[blablabla])
END
# Pre-compute aclocal.m4, in order to save several aclocal invocations.
-cat configure.stub - > configure.in <<'END'
+cat configure.stub - > configure.ac <<'END'
AC_PROG_CC
AC_CANONICAL_BUILD
AC_CANONICAL_HOST
END
$ACLOCAL || framework_failure_ "cannot pre-compute aclocal.m4"
-rm -rf configure.in autom4te*.cache
+rm -rf configure.ac autom4te*.cache
mv aclocal.m4 aclocal.stub
# For debugging.
# might not execute the latter (the Autoconf manual gives more details).
echo > Makefile.am
if test $override = yes; then
- echo > configure.in
+ echo > configure.ac
else
- cp "$ocwd"/configure.stub configure.in
+ cp "$ocwd"/configure.stub configure.ac
fi
test -z "$fetch_file" || cp "$ocwd/$fetch_file" .
# Read description of "test scenario" from standard input.
case $line in
'== Name ==') what=NAME;;
'== Makefile.am ==') what=Makefile.am;;
- '== configure.in ==') what=configure.in;;
+ '== configure.ac ==') what=configure.ac;;
'== Files ==') what=LIST;;
'==*') framework_failure_ "invalid input line: $line";;
''|'#%'*) : Empty line or ad-hoc comment, ignore. ;;
fi
echo == Makefile.am ==
cat Makefile.am
- echo == configure.in ==
- cat configure.in
+ echo == configure.ac ==
+ cat configure.ac
echo Expected files: $files
mkdir "$build_aux"
cd ..
depcomp/C
== Files ==
depcomp
-== configure.in ==
+== configure.ac ==
AC_PROG_CC
== Makefile.am ==
bin_PROGRAMS = foo
depcomp/C++
== Files ==
depcomp
-== configure.in ==
+== configure.ac ==
AC_PROG_CXX
== Makefile.am ==
bin_PROGRAMS = foo
compile
== Files ==
compile
-== configure.in ==
-# Using AM_PROG_CC_C_O in configure.in should be enough. No need to
+== configure.ac ==
+# Using AM_PROG_CC_C_O in configure.ac should be enough. No need to
# use AC_PROG_CC too, nor to define xxx_PROGRAMS in Makefile.am.
AM_PROG_CC_C_O
END
== Files ==
config.sub
config.guess
-== configure.in ==
+== configure.ac ==
AC_CANONICAL_$MACH
END
done
ylwrap/Lex
== Files ==
ylwrap
-== configure.in ==
+== configure.ac ==
AC_PROG_CC
AC_PROG_LEX
== Makefile.am ==
ylwrap/Yacc
== Files ==
ylwrap
-== configure.in ==
+== configure.ac ==
AC_PROG_CC
AC_PROG_YACC
== Makefile.am ==
elisp-comp
== Files ==
elisp-comp
-== configure.in ==
+== configure.ac ==
AM_PATH_LISPDIR
== Makefile.am ==
lisp_LISP = foo.el
py-compile
== Files ==
py-compile
-== configure.in ==
+== configure.ac ==
AM_PATH_PYTHON
== Makefile.am ==
python_PYTHON = foo.py
ylwrap
config.sub
config.guess
-== configure.in ==
+== configure.ac ==
AC_CANONICAL_BUILD
AC_CANONICAL_HOST
AC_PROG_CXX
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
-# Make sure we complain if @ALLOCA@ is used without being set in configure.in
+# Make sure we complain if @ALLOCA@ is used without being set in configure.ac
. ./defs || Exit 1
-cat >> configure.in <<'END'
+cat >> configure.ac <<'END'
AM_PROG_AR
AC_PROG_CC
END
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
-# Make sure we complain if @LTALLOCA@ is used without being set in configure.in
+# Make sure we complain if @LTALLOCA@ is used without being set in configure.ac
. ./defs || Exit 1
-cat >> configure.in <<'END'
+cat >> configure.ac <<'END'
AC_PROG_CC
AM_PROG_AR
END
# Jim Meyering.
. ./defs || Exit 1
-cat > configure.in << 'END'
+cat > configure.ac << 'END'
AC_INIT([alpha], [1.0a])
AM_INIT_AUTOMAKE
AC_CONFIG_FILES([Makefile])
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# Another check for README-alpha support. This time it is requested
-# from configure.in. Report from Akim Demaille.
+# from configure.ac. Report from Akim Demaille.
. ./defs || Exit 1
-cat > configure.in << 'END'
+cat > configure.ac << 'END'
AC_INIT([alpha], [1.0b])
AM_INIT_AUTOMAKE([readme-alpha])
AC_CONFIG_FILES([Makefile sub/Makefile])
am_parallel_tests=yes
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_PROG_MKDIR_P
AC_OUTPUT
END
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
-# Test to see if AM_ name can be assigned to in configure.in.
+# Test to see if AM_ name can be assigned to in configure.ac.
# Report from Steve Robbins.
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AM_CFLAGS=foo
AC_SUBST(AM_BAR)
AC_SUBST([AM_ZARDOZ])
. ./defs || Exit 1
-echo AM_ZARDOZ >> configure.in
+echo AM_ZARDOZ >> configure.ac
$ACLOCAL 2>stderr && { cat stderr >&2; Exit 1; }
cat stderr
-grep 'configure.in:.*AM_ZARDOZ.*not found' stderr
+grep 'configure.ac:.*AM_ZARDOZ.*not found' stderr
. ./defs || Exit 1
-cat >>configure.in <<END
+cat >>configure.ac <<END
AM_CONDITIONAL([COND], [true])
END
zardoz = 1
END
-cat >>configure.in <<'END'
+cat >>configure.ac <<'END'
AC_CONFIG_FILES([Makefile2 Makefile3])
END
# We want complete control over automake options.
AUTOMAKE=$am_original_AUTOMAKE
-cat > configure.in <<END
+cat > configure.ac <<END
AC_INIT([$me], [1.0])
AM_INIT_AUTOMAKE([-Wall -Werror gnu])
AC_CONFIG_FILES([Makefile])
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_SUBST([backslash], "\\")
_AM_SUBST_NOTMAKE([backslash])
AC_OUTPUT
warn_rx='automatic de-ANSI-fication.*removed'
-echo AC_PROG_CC >> configure.in
+echo AC_PROG_CC >> configure.ac
$ACLOCAL
mv aclocal.m4 aclocal.sav
-cp configure.in configure.sav
+cp configure.ac configure.sav
-echo AM_C_PROTOTYPES >> configure.in
+echo AM_C_PROTOTYPES >> configure.ac
$ACLOCAL -Wnone 2>stderr && { cat stderr >&2; Exit 1; }
cat stderr >&2
-grep "^configure\\.in:5:.*$warn_rx" stderr
+grep "^configure\\.ac:5:.*$warn_rx" stderr
cat aclocal.sav "$am_automake_acdir"/protos.m4 > aclocal.m4
$AUTOCONF -Wnone 2>stderr && { cat stderr >&2; Exit 1; }
cat stderr >&2
-grep "^configure\\.in:5:.*$warn_rx" stderr
+grep "^configure\\.ac:5:.*$warn_rx" stderr
for opt in ansi2knr lib/ansi2knr; do
# ansi2knr option in Makefile.am
- cp configure.sav configure.in
+ cp configure.sav configure.ac
echo "AUTOMAKE_OPTIONS = $opt" > Makefile.am
rm -rf autom4te*.cache
AUTOMAKE_fails -Wnone
grep "^Makefile\.am:1:.*$warn_rx" stderr
- # ansi2knr option in configure.in
+ # ansi2knr option in configure.ac
echo > Makefile.am # `echo', not `:', for Solaris /bin/sh.
- sed "s|^\\(AM_INIT_AUTOMAKE\\).*|\1([$opt])|" configure.sav >configure.in
- cat configure.in # For debugging.
+ sed "s|^\\(AM_INIT_AUTOMAKE\\).*|\1([$opt])|" configure.sav >configure.ac
+ cat configure.ac # For debugging.
rm -rf autom4te*.cache
AUTOMAKE_fails -Wnone
- grep "^configure\.in:2:.*$warn_rx" stderr
+ grep "^configure\\.ac:2:.*$warn_rx" stderr
done
:
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_PROG_CC
AM_PROG_AR
END
$AUTOMAKE --add-missing 2>stderr || { cat stderr >&2; Exit 1; }
cat stderr >&2
# Make sure ar-lib is installed, and that Automake says so.
-grep '^configure\.in:.*install.*ar-lib' stderr
+grep '^configure\.ac:.*install.*ar-lib' stderr
test -f ar-lib
:
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_PROG_CC
AC_PROG_RANLIB
END
grep 'requires.*AM_PROG_AR' stderr
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AM_PROG_AR
END
required=libtoolize
. ./defs || Exit 1
-cp configure.in X
+cp configure.ac X
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_PROG_CC
AC_PROG_RANLIB
AC_PROG_LIBTOOL
grep 'requires.*AM_PROG_AR' stderr
-cp X configure.in
+cp X configure.ac
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_PROG_CC
AM_PROG_AR
AC_PROG_RANLIB
required=lib
. ./defs || Exit 1
-cat > configure.in << END
+cat > configure.ac << END
AC_INIT([$me], [1.0])
AC_CONFIG_AUX_DIR([auxdir])
AM_INIT_AUTOMAKE
. ./defs || Exit 1
-cat > configure.in << END
+cat > configure.ac << END
AC_INIT([$me], [1.0])
AC_CONFIG_AUX_DIR([auxdir])
AM_INIT_AUTOMAKE
required=libtoolize
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_PROG_CC
AC_PROG_RANLIB
m4_ifdef([LT_INIT], [LT_INIT], [AC_PROG_LIBTOOL])
required=libtoolize
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_PROG_CC
AC_PROG_RANLIB
AC_PROG_LIBTOOL
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AM_PROG_AR
END
$ACLOCAL
AUTOMAKE_fails
-grep '^configure\.in:.*ar-lib.*not found' stderr
+grep '^configure\.ac:.*ar-lib.*not found' stderr
$AUTOMAKE --add-missing
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
-# Make sure that AR, ARFLAGS, and RANLIB can be substituted from configure.in.
+# Make sure that AR, ARFLAGS, and RANLIB can be substituted from configure.ac.
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AM_PROG_AR
AC_SUBST([AR], ['echo it works'])
AC_SUBST([ARFLAGS], ['>'])
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_PROG_CC
AC_PROG_RANLIB
AC_OUTPUT
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_PROG_CC
AM_PROG_AR
AC_PROG_RANLIB
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AM_PROG_AR
END
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AM_PROG_AR([
echo spy > bad-archiver-interface-detected
AC_MSG_CHECKING([for something else])
. ./defs || Exit 1
-mv configure.in configure.stub
+mv configure.ac configure.stub
cat > Makefile.am << 'END'
noinst_PROGRAMS = maude
END
echo '*** Try 1 -- should fail because we need CC and CCAS ***'
-cat configure.stub - > configure.in << 'END'
+cat configure.stub - > configure.ac << 'END'
AC_SUBST([CCASFLAGS])
AC_OUTPUT
END
grep 'define .*CCAS.* add .*AM_PROG_AS' stderr
# On fast machines the autom4te.cache created during the above run of
-# $AUTOMAKE is likely to have the same time stamp as the configure.in
-# created below; thus causing traces for the old configure.in to be
+# $AUTOMAKE is likely to have the same time stamp as the configure.ac
+# created below; thus causing traces for the old configure.ac to be
# used. We could do `$sleep', but it's faster to erase the
# directory. (Erase autom4te*.cache, not autom4te.cache, because some
# bogus installations of Autoconf use a versioned cache.)
rm -rf autom4te*.cache
echo '*** Try 2 -- we still need CCAS ***'
-cat configure.stub - > configure.in << 'END'
+cat configure.stub - > configure.ac << 'END'
AC_PROG_CC
AC_SUBST([CCASFLAGS])
AC_OUTPUT
rm -rf autom4te*.cache
echo '*** Try 3 -- we need CCASFLAGS ***'
-cat configure.stub - > configure.in << 'END'
+cat configure.stub - > configure.ac << 'END'
CCAS='$(CC)'
AC_SUBST([CCAS])
AC_PROG_CC
rm -rf autom4te*.cache
echo '*** Try 4 -- we have everything needed, expect success ***'
-cat configure.stub - > configure.in << 'END'
+cat configure.stub - > configure.ac << 'END'
CCAS='$(CC)'
AC_SUBST([CCAS])
AC_PROG_CC
rm -rf autom4te*.cache
echo '*** Try 5 -- we have everything needed, expect success ***'
-cat configure.stub - > configure.in << 'END'
+cat configure.stub - > configure.ac << 'END'
AM_PROG_AS
AC_OUTPUT
END
. ./defs || Exit 1
-mv configure.in configure.stub
+mv configure.ac configure.stub
cat > Makefile.am << 'END'
noinst_PROGRAMS = maude
END
echo '*** Try 1 -- should fail because we need CC and CCAS ***'
-cat configure.stub - > configure.in << 'END'
+cat configure.stub - > configure.ac << 'END'
AC_SUBST([CCASFLAGS])
AC_OUTPUT
END
grep 'define .*CCAS.* add .*AM_PROG_AS' stderr
# On fast machines the autom4te.cache created during the above run of
-# $AUTOMAKE is likely to have the same time stamp as the configure.in
-# created below; thus causing traces for the old configure.in to be
+# $AUTOMAKE is likely to have the same time stamp as the configure.ac
+# created below; thus causing traces for the old configure.ac to be
# used. We could do `$sleep', but it's faster to erase the
# directory. (Erase autom4te*.cache, not autom4te.cache, because some
# bogus installations of Autoconf use a versioned cache.)
rm -rf autom4te*.cache
echo '*** Try 2 -- we still need CCAS ***'
-cat configure.stub - > configure.in << 'END'
+cat configure.stub - > configure.ac << 'END'
AC_PROG_CC
AC_SUBST([CCASFLAGS])
AC_OUTPUT
rm -rf autom4te*.cache
echo '*** Try 3 -- we need CCASFLAGS ***'
-cat configure.stub - > configure.in << 'END'
+cat configure.stub - > configure.ac << 'END'
CCAS='$(CC)'
AC_SUBST([CCAS])
AC_PROG_CC
rm -rf autom4te*.cache
echo '*** Try 4 -- we need dependency tracking. ***'
-cat configure.stub - > configure.in << 'END'
+cat configure.stub - > configure.ac << 'END'
CCAS='$(CC)'
AC_SUBST([CCAS])
AC_PROG_CC
rm -rf autom4te*.cache
echo '*** Try 5 -- we have everything needed, expect success. ***'
-cat configure.stub - > configure.in << 'END'
+cat configure.stub - > configure.ac << 'END'
CCAS='$(CC)'
AC_SUBST([CCAS])
AC_PROG_CC
rm -rf autom4te*.cache
echo '*** Try 6 -- we have everything needed, expect success. ***'
-cat configure.stub - > configure.in << 'END'
+cat configure.stub - > configure.ac << 'END'
AM_PROG_AS
AC_OUTPUT
END
. ./defs || Exit 1
-mv configure.in configure.stub
+mv configure.ac configure.stub
cat > Makefile.am << 'END'
noinst_PROGRAMS = maude
END
echo '*** Try 1 -- should fail because we need CC and CCAS ***'
-cat configure.stub - > configure.in << 'END'
+cat configure.stub - > configure.ac << 'END'
AC_SUBST([CCASFLAGS])
AC_OUTPUT
END
grep 'define .*CCAS.* add .*AM_PROG_AS' stderr
# On fast machines the autom4te.cache created during the above run of
-# $AUTOMAKE is likely to have the same time stamp as the configure.in
-# created below; thus causing traces for the old configure.in to be
+# $AUTOMAKE is likely to have the same time stamp as the configure.ac
+# created below; thus causing traces for the old configure.ac to be
# used. We could do `$sleep', but it's faster to erase the
# directory. (Erase autom4te*.cache, not autom4te.cache, because some
# bogus installations of Autoconf use a versioned cache.)
rm -rf autom4te*.cache
echo '*** Try 2 -- we still need CCAS ***'
-cat configure.stub - > configure.in << 'END'
+cat configure.stub - > configure.ac << 'END'
AC_PROG_CC
AC_SUBST([CCASFLAGS])
AC_OUTPUT
rm -rf autom4te*.cache
echo '*** Try 3 -- we need CCASFLAGS ***'
-cat configure.stub - > configure.in << 'END'
+cat configure.stub - > configure.ac << 'END'
CCAS='$(CC)'
AC_SUBST([CCAS])
AC_PROG_CC
rm -rf autom4te*.cache
echo '*** Try 4 -- we need dependency tracking. ***'
-cat configure.stub - > configure.in << 'END'
+cat configure.stub - > configure.ac << 'END'
CCAS='$(CC)'
AC_SUBST([CCAS])
AC_PROG_CC
rm -rf autom4te*.cache
echo '*** Try 5 -- we have everything needed, expect success. ***'
-cat configure.stub - > configure.in << 'END'
+cat configure.stub - > configure.ac << 'END'
CCAS='$(CC)'
AC_SUBST([CCAS])
AC_PROG_CC
rm -rf autom4te*.cache
echo '*** Try 6 -- we have everything needed, expect success. ***'
-cat configure.stub - > configure.in << 'END'
+cat configure.stub - > configure.ac << 'END'
AM_PROG_AS
AC_OUTPUT
END
. ./defs || Exit 1
-cat >> configure.in <<END
+cat >> configure.ac <<END
AC_CONFIG_FILES([sub/Makefile])
AC_OUTPUT
END
. ./defs || Exit 1
-cat >> configure.in <<END
+cat >> configure.ac <<END
AC_OUTPUT
END
. ./defs || Exit 1
{ echo 'm4_include([defs.m4])'
- cat configure.in
+ cat configure.ac
echo 'AC_OUTPUT'
} > t
-mv -f t configure.in
+mv -f t configure.ac
cat > Makefile.am <<'END'
.PHONY: test
. ./defs || Exit 1
-cat >> configure.in <<END
+cat >> configure.ac <<END
AC_CONFIG_HEADERS([config.h sub/config.h cfg2.h:conf2.hin])
AC_OUTPUT
END
. ./defs || Exit 1
-cat >> configure.in <<END
+cat >> configure.ac <<END
AC_CONFIG_FILES([sub/Makefile])
AC_OUTPUT
END
required=makeinfo
. ./defs || Exit 1
-cat >> configure.in << END
+cat >> configure.ac << END
AC_OUTPUT
END
. ./defs || Exit 1
-cat >> configure.in <<'END'
+cat >> configure.ac <<'END'
AC_CONFIG_FILES([sub/Makefile])
AC_OUTPUT
END
am_create_testdir=empty
. ./defs || Exit 1
-cat > configure.in <<END
+cat > configure.ac <<END
AC_INIT([$me], [1.0])
AC_CONFIG_AUX_DIR([.])
AM_INIT_AUTOMAKE
. ./defs || Exit 1
-cat >>configure.in <<EOF
+cat >>configure.ac <<EOF
AC_CONFIG_HEADERS([thisfile.h])
EOF
. ./defs || Exit 1
-cat >>configure.in <<EOF
+cat >>configure.ac <<EOF
AM_CONFIG_HEADER([thisfile.h])
EOF
. ./defs || Exit 1
-cat >>configure.in <<EOF
+cat >>configure.ac <<EOF
m4_include([foo.m4])
AC_CONFIG_HEADERS([config.h:config.hin])
AC_OUTPUT
required=cc
. ./defs || Exit 1
-cat >>configure.in <<'EOF'
+cat >>configure.ac <<'EOF'
AC_PROG_CC
AC_SUBST([BOT], [bot])
AC_CONFIG_HEADERS([defs.h config.h:sub1/config.top:sub2/config.${BOT}],,
. ./defs || Exit 1
-cat >>configure.in <<'EOF'
+cat >>configure.ac <<'EOF'
AC_CONFIG_HEADERS([config.h])
AC_OUTPUT
EOF
unset NONESUCH || :
-cat >>configure.in << END
+cat >>configure.ac << END
AM_MISSING_PROG([NONESUCH],[$nil])
AC_OUTPUT
END
echo 'echo %%d0%% $*' > d3/d2/d1/d0/missing
chmod +x d3/d2/d1/d0/missing
-mv configure.in d3/d2/d1/d0/
+mv configure.ac d3/d2/d1/d0/
cd d3/d2/d1/d0
plan_ 3
-cat > configure.in <<END
+cat > configure.ac <<END
AC_INIT([$me], [1.0])
AC_CONFIG_AUX_DIR([\$foo])
AM_INIT_AUTOMAKE
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_CONFIG_AUX_DIR([.]) dnl this will appear after AM_INIT_AUTOMAKE
END
. ./defs || Exit 1
-cat > configure.in <<END
+cat > configure.ac <<END
AC_INIT([$me], [1.0])
AC_CONFIG_AUX_DIR([nonesuch])
AM_INIT_AUTOMAKE
$ACLOCAL
AUTOMAKE_fails
-grep '^configure\.in:2:.*nonesuch.* not exist' stderr
+grep '^configure\.ac:2:.*nonesuch.* not exist' stderr
:
plan_ 4
-cat >configure.in <<END
+cat >configure.ac <<END
AC_INIT([$me], [1.0])
AC_CONFIG_AUX_DIR([aux])
AM_INIT_AUTOMAKE
AUTOMAKE_fails
command_ok_ \
"warn about $details unportable auxdir name" \
- grep '^configure\.in:2:.*aux.*W32' stderr
+ grep '^configure\.ac:2:.*aux.*W32' stderr
}
$ACLOCAL || fatal_ "aclocal failed"
. ./defs || Exit 1
# The "./." is here so we don't have to mess with subdirs.
-cat > configure.in <<END
+cat > configure.ac <<END
AC_INIT([$me], [1.0])
AC_CONFIG_AUX_DIR([./.])
AM_INIT_AUTOMAKE
. ./defs || Exit 1
-cat > configure.in <<END
+cat > configure.ac <<END
AC_INIT([$me], [1.0])
AC_CONFIG_AUX_DIR([auxdir])
AM_INIT_AUTOMAKE
. ./defs || Exit 1
-cat > configure.in <<END
+cat > configure.ac <<END
AC_INIT([$me], [1.0])
AC_CONFIG_AUX_DIR([.])
AM_INIT_AUTOMAKE
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_CONFIG_FILES([subdir/Makefile])
END
# three arguments does AC_DEFINE the symbols PACKAGE and VERSION iff the
# third argument is empty or non-existent.
+am_create_testdir=empty
. ./defs || Exit 1
# A trick to make the test run muuuch faster, by avoiding repeated
$ACLOCAL
rm -rf configure.in autom4te.*
+touch install-sh missing
+
cat > config.h.in <<'END'
#undef PACKAGE
#undef VERSION
# Backward-compatibility test: check what happens when AC_INIT and
# AM_INIT_AUTOMAKE are both given two or more arguments.
+am_create_testdir=empty
. ./defs || Exit 1
empty=''
$ACLOCAL
$AUTOCONF
-$AUTOMAKE
+$AUTOMAKE -a
./configure
'foo:foo1.in:foo2.in:sub/bar.in:foo3.in' \
; do
rm -rf autom4te*.cache aclocal.m4
- unindent >configure.in <<END
+ unindent >configure.ac <<END
AC_INIT([$me], [1.0])
AM_INIT_AUTOMAKE
AC_CONFIG_FILES([$args])
AC_OUTPUT
END
- cat configure.in # For debugging.
+ cat configure.ac # For debugging.
$ACLOCAL
$AUTOMAKE Makefile
mv -f Makefile.in Makefile.acf
rm -rf autom4te*.cache aclocal.m4
- unindent >configure.in <<END
+ unindent >configure.ac <<END
AC_INIT([$me], [1.0])
AM_INIT_AUTOMAKE
AC_OUTPUT([$args])
END
- cat configure.in # For debugging.
+ cat configure.ac # For debugging.
$ACLOCAL
$AUTOMAKE Makefile
mv -f Makefile.in Makefile.aco
# See also the similar test `backcompat6.test'.
am_parallel_tests=no
+am_create_testdir=empty
. ./defs || Exit 1
+makefiles='hacky/Makefile src/Makefile data/Makefile tests/Makefile'
+
# Yuck!
-cat > configure.in <<'END'
+cat > configure.in <<END
dnl: Everything here is *deliberately* underquoted!
AC_INIT(src/foo.input)
AM_INIT_AUTOMAKE(foo, 1.0)
AC_CONFIG_FILES(Makefile:mkfile.in)
-AC_OUTPUT(hacky/Makefile src/Makefile data/Makefile tests/Makefile)
+AC_OUTPUT($makefiles)
END
distdir=foo-1.0
$ACLOCAL
$AUTOCONF
+$AUTOMAKE -a
+test -f install-sh
+for f in $makefiles; do mv -f $f.in $f.sav; done
$AUTOMAKE
+for f in $makefiles; do diff $f.sav $f.in; done
./configure
ls -l . hacky src data tests # For debugging.
# See also the similar test `backcompat5.test'.
required=cc
+am_create_testdir=empty
. ./defs || Exit 1
# Anyone doing something like this in a real-life package probably
END
$ACLOCAL
-$AUTOMAKE
+$AUTOMAKE --add-missing
$AUTOCONF
./configure
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_PROG_CC
END
. ./defs || Exit 1
-echo AC_OUTPUT >>configure.in
+echo AC_OUTPUT >>configure.ac
# Note: trailing whitespace used during the test should not appear as
# trailing whitespace in this file, or it will get stripped by any
. ./defs || Exit 1
-cat > configure.in << END
+cat > configure.ac << END
AC_INIT([$me], [1.0])
AM_INIT_AUTOMAKE
AC_SUBST(TEXINFOS)
$ACLOCAL || Exit 1
AUTOMAKE_fails
-grep 'configure.in:3:.*info_TEXINFOS' stderr
+grep 'configure.ac:3:.*info_TEXINFOS' stderr
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_PROG_CC
END
. ./defs || Exit 1
-echo AC_OUTPUT >>configure.in
+echo AC_OUTPUT >>configure.ac
cat > Makefile.am << 'END'
dist_bin_PROGRAMS = foo
. ./defs || Exit 1
-cat > configure.in <<END
+cat > configure.ac <<END
AC_INIT([$me], [1.0])
AM_INIT_AUTOMAKE
AC_CONFIG_FILES([./gmakefile ./sub/gmakefile])
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_PROG_CC
END
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_PROG_CC
END
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_PROG_CC
AM_PROG_AR
AC_PROG_RANLIB
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_PROG_CC
END
required='libtoolize'
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_PROG_CC
AM_PROG_AR
AC_PROG_LIBTOOL
required='cc libtool libtoolize'
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_PROG_CC
AM_PROG_AR
AC_PROG_RANLIB dnl: for static libraries
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_PROG_CC
END
required=gcc
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_PROG_CC
AM_PROG_CC_C_O
# Make sure that $CC can be used after AM_PROG_CC_C_O.
. ./defs || Exit 1
-cat >>configure.in <<EOF
+cat >>configure.ac <<EOF
AC_PROG_CC
AC_OUTPUT
EOF
required=gcc
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_PROG_CC
AM_PROG_CC_C_O
$CC --version; $CC -v; # For debugging.
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_OUTPUT
END
mkdir BuildDir
cd SrcDir
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_OUTPUT
END
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_OUTPUT
END
required='cc native'
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_PROG_CC
AC_SUBST([script_tests],
['subst-pass-script.test subst-xfail-script.test'])
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_SUBST([script_tests], ['subst-pass-script.sh subst-xfail-script.sh'])
AC_SUBST([xfail_tests], ['xfail-script.test subst-xfail-script.sh'])
AC_OUTPUT
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_OUTPUT
END
am_parallel_tests=no
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_OUTPUT
END
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_OUTPUT
END
required=runtest
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_OUTPUT
END
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_CONFIG_FILES([dir/Makefile])
AC_OUTPUT
END
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_CONFIG_FILES([dir/Makefile])
AC_OUTPUT
END
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_CONFIG_FILES([dir/Makefile])
AC_OUTPUT
END
required='cc native'
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_PROG_CC
AC_OUTPUT
END
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_OUTPUT
END
required=cc
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_PROG_CC
AC_OUTPUT
END
required='cc native'
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_PROG_CC
AM_PROG_CC_C_O
AC_OUTPUT
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AM_MAINTAINER_MODE
AC_CONFIG_FILES([sub/Makefile])
AC_OUTPUT
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_OUTPUT
END
required=GNUmake
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_OUTPUT
END
. ./defs || Exit 1
-cat >> configure.in <<'END'
+cat >> configure.ac <<'END'
AC_CONFIG_FILES([foo.h:foo.hin])
AC_OUTPUT
END
. ./defs || Exit 1
-cat > configure.in <<END
+cat > configure.ac <<END
AC_INIT([$me], [1.0])
AM_INIT_AUTOMAKE
AC_CONFIG_FILES([Makefile:zardoz.in])
. ./defs || Exit 1
-cat > configure.in <<END
+cat > configure.ac <<END
AC_INIT([$me], [1.0])
AM_INIT_AUTOMAKE
AC_CONFIG_FILES([Makefile:zardoz.in:two.in:three.in])
. ./defs || Exit 1
-cat >> configure.in <<END
+cat >> configure.ac <<END
AC_CONFIG_FILES([zardoz:one:two:three])
AC_OUTPUT
END
. ./defs || Exit 1
-cat > configure.in <<END
+cat > configure.ac <<END
AC_INIT([$me], [1.0])
AM_INIT_AUTOMAKE
AC_CONFIG_FILES([Makefile:Makefile.in:Makefile.dep])
. ./defs || Exit 1
-cat > configure.in <<END
+cat > configure.ac <<END
AC_INIT([$me], [1.0])
AM_INIT_AUTOMAKE
# With this, version.good should depend on version.gin, while
. ./defs || Exit 1
-cat > configure.in << 'END'
+cat > configure.ac << 'END'
AC_INIT([colon7], [1.0])
AM_INIT_AUTOMAKE
dnl: Please do not add proper m4 quoting here.
*) skip_ "grep can't parse nonprinting characters";;
esac
-cat >>configure.in <<END
+cat >>configure.ac <<END
AC_OUTPUT
END
# Do the tests.
-cat >>configure.in <<END
+cat >>configure.ac <<END
AC_OUTPUT
END
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_PROG_CC
END
. ./defs || Exit 1
-cat >> configure.in <<'EOF'
+cat >> configure.ac <<'EOF'
AC_OUTPUT
EOF
. ./defs || Exit 1
-cat >> configure.in <<'EOF'
+cat >> configure.ac <<'EOF'
AC_OUTPUT
EOF
. ./defs || Exit 1
-cat >> configure.in <<'EOF'
+cat >> configure.ac <<'EOF'
AC_OUTPUT
EOF
. ./defs || Exit 1
-cat >> configure.in <<'EOF'
+cat >> configure.ac <<'EOF'
AM_CONDITIONAL([COND], [true])
EOF
. ./defs || Exit 1
-cat >> configure.in <<'EOF'
+cat >> configure.ac <<'EOF'
AM_CONDITIONAL([COND1], [true])
AM_CONDITIONAL([COND2], [true])
AC_OUTPUT
. ./defs || Exit 1
-cat >> configure.in <<'END'
+cat >> configure.ac <<'END'
AC_OUTPUT
END
absmainc=`pwd`/main.c
absmainobj=`pwd`/main.obj
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_PROG_CC
AM_PROG_CC_C_O
AM_PROG_AR
chmod +x ./cl
-cat >>configure.in << 'END'
+cat >>configure.ac << 'END'
AC_CANONICAL_HOST
AC_CONFIG_FILES([check_host], [chmod +x check_host])
AC_OUTPUT
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_PROG_CC
AC_PROG_CXX
AC_PROG_FC
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_PROG_CC
AC_PROG_CXX
AC_PROG_F77
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AM_CONDITIONAL([TEST], [true])
AC_OUTPUT
END
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AM_CONDITIONAL([TEST], [true])
AC_OUTPUT
END
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_PROG_CC
AM_CONDITIONAL([USE_A], [test x = y])
AM_CONDITIONAL([USE_B], [test x = z])
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_SUBST([CC], [false])
AM_CONDITIONAL([USE_A], [test -z "$two"])
AC_SUBST([SUBSTVAR], [bar])
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_PROG_CC
AC_PROG_CXX
AM_PROG_AR
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_PROG_CC
AM_CONDITIONAL([COND1], [true])
END
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_PROG_CC
AM_CONDITIONAL([COND1], [true])
AM_CONDITIONAL([COND2], [true])
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AM_CONDITIONAL([COND1], [true])
AC_OUTPUT
END
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_PROG_CC
AC_PROG_CXX
AM_CONDITIONAL([COND1], [true])
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AM_CONDITIONAL([COND1], [true])
AM_CONDITIONAL([COND2], [true])
AC_OUTPUT
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_SUBST([CC], [false])
AC_SUBST([OBJEXT], [o])
AM_CONDITIONAL([COND1], [test "x$CONDITION1" = "xtrue"])
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AM_CONDITIONAL([TEST], [true])
END
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_PROG_CC
AM_CONDITIONAL([COND1], [true])
END
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AM_CONDITIONAL([COND1], [true])
AM_CONDITIONAL([COND2], [true])
AM_CONDITIONAL([COND3], [true])
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
CC=false; AC_SUBST([CC])
OBJEXT=oo; AC_SUBST([OBJEXT])
AM_CONDITIONAL([ONE], [true])
. ./defs || Exit 1
-cat >>configure.in <<EOF
+cat >>configure.ac <<EOF
AM_CONDITIONAL([COND], [true])
AC_OUTPUT
EOF
. ./defs || Exit 1
-cat >>configure.in <<EOF
+cat >>configure.ac <<EOF
AC_SUBST([foo], [bar])
AM_CONDITIONAL([COND], [true])
EOF
$ACLOCAL
AUTOMAKE_fails
grep '^Makefile\.am:3:.* foo was already defined' stderr
-grep '^configure\.in:4:.*foo.* previously defined here' stderr
+grep '^configure\.ac:4:.*foo.* previously defined here' stderr
:
. ./defs || Exit 1
-cat >>configure.in << 'EOF'
+cat >>configure.ac << 'EOF'
AM_CONDITIONAL([USE_FOO], [true])
AC_PROG_CC
EOF
. ./defs || Exit 1
-cat >>configure.in << 'EOF'
+cat >>configure.ac << 'EOF'
AM_CONDITIONAL([USE_FOO], [true])
EOF
. ./defs || Exit 1
-cat >>configure.in << 'EOF'
+cat >>configure.ac << 'EOF'
AM_CONDITIONAL([USE_FOO], [true])
EOF
. ./defs || Exit 1
-cat >>configure.in << 'EOF'
+cat >>configure.ac << 'EOF'
AM_CONDITIONAL([USE_FOO], [true])
EOF
. ./defs || Exit 1
-echo AC_PROG_CC >>configure.in
+echo AC_PROG_CC >>configure.ac
cat >Makefile.am <<EOF
bin_PROGRAMS = a
a04_SOURCES = quux${i}.c
endif C$i
EOF
- echo "AM_CONDITIONAL([C$i], [:])" >>configure.in
+ echo "AM_CONDITIONAL([C$i], [:])" >>configure.ac
done
$ACLOCAL
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_PROG_CC
AM_CONDITIONAL([ONE], [true])
AM_CONDITIONAL([TWO], [false])
. ./defs || Exit 1
-cat >>configure.in <<'EOF'
+cat >>configure.ac <<'EOF'
AM_CONDITIONAL([C1], [test -z "$two"])
AM_CONDITIONAL([C2], [test -n "$two"])
AC_OUTPUT
. ./defs || Exit 1
-cat >>configure.in <<'EOF'
+cat >>configure.ac <<'EOF'
AC_SUBST([CC], [false])
AC_SUBST([OBJEXT], [o])
AM_CONDITIONAL([C1], [test -z "$two"])
. ./defs || Exit 1
-cat >>configure.in <<'EOF'
+cat >>configure.ac <<'EOF'
AM_CONDITIONAL([C1], [test -z "$two"])
AM_CONDITIONAL([C2], [test -n "$two"])
AM_CONDITIONAL([C3], [test -z "$three"])
. ./defs || Exit 1
-cat >>configure.in <<'EOF'
+cat >>configure.ac <<'EOF'
AM_CONDITIONAL([INC], [test -z "$two"])
AC_OUTPUT
EOF
. ./defs || Exit 1
-cat >>configure.in <<'EOF'
+cat >>configure.ac <<'EOF'
AM_CONDITIONAL([TWO], [test -n "$two"])
AC_OUTPUT
EOF
required='cc lex yacc'
. ./defs || Exit 1
-cat >>configure.in <<'EOF'
+cat >>configure.ac <<'EOF'
AM_CONDITIONAL([CASE_A], [test -z "$case_B"])
AC_PROG_CC
AM_PROG_LEX
. ./defs || Exit 1
-cat >>configure.in <<'EOF'
+cat >>configure.ac <<'EOF'
AM_CONDITIONAL([CASE_A], [test -z "$case_B"])
AC_PROG_CC
AM_PROG_LEX
. ./defs || Exit 1
-cat >>configure.in <<'EOF'
+cat >>configure.ac <<'EOF'
AM_CONDITIONAL([CASE_A], [test -n "$case_A"])
AC_OUTPUT
EOF
. ./defs || Exit 1
-cat >>configure.in <<'EOF'
+cat >>configure.ac <<'EOF'
AM_CONDITIONAL([CASE_A], :)
AM_CONDITIONAL([CASE_B], :)
AC_OUTPUT
mkdir sub
-cat >>configure.in <<'END'
+cat >>configure.ac <<'END'
AC_PROG_CC
AM_CONDITIONAL([COND], [test "$COND" = true])
AM_COND_IF([COND], [],
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_SUBST([CC], [false])
AC_SUBST([OBJEXT], [o])
AM_CONDITIONAL([ONE], [test "x$CONDITION1" = "xtrue"])
. ./defs || Exit 1
-cat >>configure.in <<'END'
+cat >>configure.ac <<'END'
AC_DEFUN([FOO],
[AC_CONFIG_FILES([$1])])
. ./defs || Exit 1
-cat >>configure.in <<'END'
+cat >>configure.ac <<'END'
AM_COND_IF([BAD_COND],
[AC_CONFIG_FILES([file1])])
AC_OUTPUT
$ACLOCAL 2>stderr && { cat stderr >&2; Exit 1; }
cat stderr >&2
-grep '^configure\.in:4:.*AM_COND_IF.* no such condition.*BAD_COND' stderr
+grep '^configure\.ac:4:.*AM_COND_IF.* no such condition.*BAD_COND' stderr
:
. ./defs || Exit 1
-cat >>configure.in <<'END'
+cat >>configure.ac <<'END'
AM_CONDITIONAL([COND], [:])
# The next line is needed so that cond-if.m4 is pulled in.
AM_COND_IF([COND])
edit_configure_in ()
{
- sed "$@" < configure.in >configure.int
- mv -f configure.int configure.in
+ sed "$@" < configure.ac >configure.int
+ mv -f configure.int configure.ac
rm -rf autom4te*.cache
}
$ACLOCAL
AUTOMAKE_fails
-grep '^configure\.in:8:.* condition stack' stderr
+grep '^configure\.ac:8:.* condition stack' stderr
edit_configure_in 's/_AM_COND_IF/_AM_COND_ELSE/'
AUTOMAKE_fails
-grep '^configure\.in:7:.* else without if' stderr
+grep '^configure\.ac:7:.* else without if' stderr
edit_configure_in 's/_AM_COND_ELSE/_AM_COND_ENDIF/'
AUTOMAKE_fails
-grep '^configure\.in:7:.* endif without if' stderr
+grep '^configure\.ac:7:.* endif without if' stderr
edit_configure_in 's/\(_AM_COND_ENDIF\).*/_AM_COND_IF\
_AM_COND_ENDIF/'
AUTOMAKE_fails
-grep '^configure\.in:7:.* not enough arguments.* _AM_COND_IF' stderr
-grep '^configure\.in:8:.* not enough arguments.* _AM_COND_ENDIF' stderr
+grep '^configure\.ac:7:.* not enough arguments.* _AM_COND_IF' stderr
+grep '^configure\.ac:8:.* not enough arguments.* _AM_COND_ENDIF' stderr
test 2 = `grep -c 'not enough arguments' stderr`
:
. ./defs || Exit 1
-cat >>configure.in <<'END'
+cat >>configure.ac <<'END'
AM_CONDITIONAL([COND1], [:])
AM_CONDITIONAL([COND2], [:])
AM_COND_IF([COND1],
$ACLOCAL
AUTOMAKE_fails
-$EGREP '^configure\.in:7:.* missing m4 quoting.*macro depth 2( |$)' stderr
+$EGREP '^configure\.ac:7:.* missing m4 quoting.*macro depth 2( |$)' stderr
sed '/.AM_COND_IF/{
s/^/[/
s/$/]/
- }' < configure.in > configure.int
-mv -f configure.int configure.in
+ }' < configure.ac > configure.int
+mv -f configure.int configure.ac
rm -rf autom4te*.cache
$AUTOMAKE
. ./defs || Exit 1
-cat >>configure.in <<EOF
+cat >>configure.ac <<EOF
AM_CONDITIONAL([COND], [true])
AM_SUBST_NOTMAKE([libdir])
AC_OUTPUT
. ./defs || Exit 1
-cat >>configure.in <<EOF
+cat >>configure.ac <<EOF
AC_SUBST([foo], [bar])
AM_SUBST_NOTMAKE([foo])
AM_CONDITIONAL([COND], [true])
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AM_CONDITIONAL([USE_A], [test x = y])
AM_CONDITIONAL([USE_B], [test x = z])
AC_OUTPUT
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_PROG_CC
AM_CONDITIONAL([ONE], [true])
AM_CONDITIONAL([TWO], [false])
. ./defs || Exit 1
-echo 'AM_CONDITIONAL([FOO], [true])' >> configure.in
+echo 'AM_CONDITIONAL([FOO], [true])' >> configure.ac
cat > Makefile.am << 'END'
if FOO
rm -rf autom4te*.cache
-echo AC_OUTPUT >> configure.in
+echo AC_OUTPUT >> configure.ac
touch aclocal.m4 # Avoid unnecessary firing the remake rules.
$AUTOCONF
$AUTOMAKE Makefile
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
compat=yes
AM_CONDITIONAL([Compatible], [test x$compat = xyes])
AC_OUTPUT
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_PROG_CC
AM_CONDITIONAL([X], [test "$x" = yes])
AC_OUTPUT
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AM_CONDITIONAL([WRONG], [test x = y])
AC_OUTPUT
END
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
dnl Define a macro with the same name as the conditional to exhibit
dnl any underquoted bug.
AC_DEFUN([COND1], ["some'meaningless;characters`])
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AM_CONDITIONAL([TEST], [false])
AC_OUTPUT
END
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AM_CONDITIONAL([TEST], [true])
AC_OUTPUT
END
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AM_CONDITIONAL([TOBE], [false])
END
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AM_CONDITIONAL([TOBE], [false])
END
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_PROG_RANLIB
AM_MAINTAINER_MODE
AM_PROG_AR
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AM_CONDITIONAL([COND], [test x"$FOO" = x"true"])
AC_OUTPUT
END
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_CONFIG_FILES([bar/Makefile:bar/Makefile.in:Makefile.bot])
AC_OUTPUT
END
. ./defs || Exit 1
-# We avoid using configure.in stub initialized by ./defs, since we need
+# We avoid using configure.ac stub initialized by ./defs, since we need
# to keep track of line numbers (to grep for error messages).
-cat > configure.in << END
+cat > configure.ac << END
AC_INIT([$me], [1.0])
AM_INIT_AUTOMAKE
AC_CONFIG_FILES ([oops])
$ACLOCAL
AUTOMAKE_fails
-grep 'configure\.in:3:.* arguments .*AC_CONFIG_FILES' stderr
-grep 'configure\.in:4:.* arguments .*AC_CONFIG_HEADERS' stderr
+grep 'configure\.ac:3:.* arguments .*AC_CONFIG_FILES' stderr
+grep 'configure\.ac:4:.* arguments .*AC_CONFIG_HEADERS' stderr
:
required=GNUmake
. ./defs || Exit 1
-cat > configure.in << END
+cat > configure.ac << END
AC_INIT([$me], [1.0])
AM_INIT_AUTOMAKE
AC_CONFIG_FILES([./Makefile])
$ACLOCAL
AUTOMAKE_fails -Wnone -Wunsupported
-grep "^configure\.in:3:.*'\\./Makefile'" stderr
-grep "^configure\.in:3:.* omit leading '\\./'" stderr
-grep "^configure\.in:3:.*remake rules might be subtly broken" stderr
-grep "^configure\.in:4:.*'\\./foo'" stderr
-grep "^configure\.in:4:.* omit leading '\\./'" stderr
-grep "^configure\.in:4:.*remake rules might be subtly broken" stderr
+grep "^configure\.ac:3:.*'\\./Makefile'" stderr
+grep "^configure\.ac:3:.* omit leading '\\./'" stderr
+grep "^configure\.ac:3:.*remake rules might be subtly broken" stderr
+grep "^configure\.ac:4:.*'\\./foo'" stderr
+grep "^configure\.ac:4:.* omit leading '\\./'" stderr
+grep "^configure\.ac:4:.*remake rules might be subtly broken" stderr
# Check that our warning was actually justified.
-sed 's/^AM_INIT_AUTOMAKE/&([-Wall -Wno-unsupported])/' <configure.in >t
-mv -f t configure.in
+sed 's/^AM_INIT_AUTOMAKE/&([-Wall -Wno-unsupported])/' <configure.ac >t
+mv -f t configure.ac
rm -rf autom4te*.cache
$ACLOCAL
$AUTOCONF
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AM_CONFIG_HEADER([include/config.h])
AC_OUTPUT
END
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_CONFIG_FILES([include/Makefile])
AM_CONFIG_HEADER([include/config.h])
AC_PROG_CC
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_SUBST([FOO], [NameToBeGrepped])
AC_CONFIG_FILES([include/config.h.in])
AC_CONFIG_HEADERS([config.h])
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AM_CONFIG_HEADER([subdir/config.h])
AC_OUTPUT
END
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AM_CONFIG_HEADER([config.h two.h])
END
# Try again with more macros.
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_PROG_CC
AC_OUTPUT
END
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AM_CONFIG_HEADER([one.h two.h])
AC_OUTPUT
END
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_PROG_CC
END
: > sdir/src2
mkdir sdir-no-make
-cat >>configure.in << 'EOF'
+cat >>configure.ac << 'EOF'
AC_CONFIG_FILES([sdir/Makefile])
AC_CONFIG_LINKS([dest:src])
AC_CONFIG_LINKS([dest2:src])
mkdir sdir-no-make
: > sdir-no-make/src4
-cat >>configure.in << 'EOF'
+cat >>configure.ac << 'EOF'
AC_CONFIG_FILES([sdir/Makefile])
AC_CONFIG_LINKS([dest:src])
AC_CONFIG_LINKS([sdir/dest2:src2 sdir-no-make/dest3:sdir/src3])
: > sdir/Makefile.am
: > sdir/src3
-cat >>configure.in << 'EOF'
+cat >>configure.ac << 'EOF'
AC_CONFIG_FILES([sdir/Makefile])
my_src_dir=sdir
my_dest=dest
test -f $(distdir)/sdir/mk-subdir/src4
EOF
-cat >>configure.in << 'EOF'
+cat >>configure.ac << 'EOF'
AC_CONFIG_FILES([sdir/Makefile])
AC_CONFIG_LINKS([src:src])
AC_CONFIG_LINKS([sdir/src2:sdir/src2])
. ./defs || Exit 1
-cat > configure.in << 'END'
+cat > configure.ac << 'END'
AC_INIT
AM_INIT_AUTOMAKE(nonesuch, nonesuch)
AM_CONFIG_HEADER(subdir/config.h:subdir/config.hin)
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_SUBST([QBERT])
END
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_SUBST([OTHER_SCRIPTS])
END
is_not_symlink install-sh
# Let's do a couple of more elaborated tests, this time with the auxdir
-# explicitly defined in configure.in.
+# explicitly defined in configure.ac.
mkdir sub
cd sub
-cat > configure.in <<END
+cat > configure.ac <<END
AC_INIT([$me], [1.0])
AC_CONFIG_AUX_DIR([auxdir])
AM_INIT_AUTOMAKE
ocwd=`pwd` || fatal_ "getting top-level directory"
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_CONFIG_FILES([sub/Makefile])
AC_SUBST([CC], [who-cares])
AC_SUBST([CXX], [who-cares])
required=
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_OUTPUT
END
: >Makefile.am
required=cscope
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_CONFIG_FILES([sub/Makefile])
AC_OUTPUT
END
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_PROG_CXX
END
. ./defs || Exit 1
-echo AC_PROG_CC >>configure.in
+echo AC_PROG_CC >>configure.ac
cat >Makefile.am <<'END'
bin_PROGRAMS = hello
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_PROG_CXXCPP
END
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_PROG_CXX
AC_PROG_CC
AC_REPLACE_FUNCS(strdup)
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_PROG_CC
AC_PROG_CXX
END
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_PROG_CXX
END
# Make sure C++ files are rewritten to ".o" and not just "o".
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_PROG_CXX
END
. ./defs || Exit 1
-cat >> configure.in <<'END'
+cat >> configure.ac <<'END'
AM_MAINTAINER_MODE
AC_OUTPUT
END
required=cc
. ./defs || Exit 1
-cat >> configure.in <<'END'
+cat >> configure.ac <<'END'
AM_MAINTAINER_MODE
AC_PROG_CC
AC_OUTPUT
. ./defs || Exit 1
-cat >> configure.in <<'END'
+cat >> configure.ac <<'END'
# This is *required* in cygnus mode
AM_MAINTAINER_MODE
END
$AUTOMAKE -Werror
mv -f Makefile.sav Makefile.am
-# Try again, this time enabling cygnus mode from configure.in.
-cp configure.in configure.sav
-sed 's/^AM_INIT_AUTOMAKE$/&([gnits cygnus])/' configure.sav >configure.in
-cmp configure.in configure.sav && fatal_ 'failed to edit configure.in'
+# Try again, this time enabling cygnus mode from configure.ac.
+cp configure.ac configure.sav
+sed 's/^AM_INIT_AUTOMAKE$/&([gnits cygnus])/' configure.sav >configure.ac
+cmp configure.ac configure.sav && fatal_ 'failed to edit configure.ac'
$ACLOCAL --force
$AUTOMAKE -Werror
-mv -f configure.sav configure.in
+mv -f configure.sav configure.ac
:
. ./defs || Exit 1
-echo AM_MAINTAINER_MODE >> configure.in
-mv -f configure.in configure.stub
+echo AM_MAINTAINER_MODE >> configure.ac
+mv -f configure.ac configure.stub
-cat configure.stub - > configure.in <<'END'
+cat configure.stub - > configure.ac <<'END'
AC_OUTPUT
END
AUTOMAKE_OPTIONS = cygnus -Wall
END
-cat configure.stub - > configure.in <<'END'
+cat configure.stub - > configure.ac <<'END'
AC_CONFIG_FILES([sub1/Makefile sub2/Makefile])
AC_OUTPUT
END
required=makeinfo
. ./defs || Exit 1
-cat >> configure.in <<'END'
+cat >> configure.ac <<'END'
AM_MAINTAINER_MODE
AC_OUTPUT
END
$ACLOCAL
AUTOMAKE_fails --cygnus
-grep '^configure\.in:.*AM_MAINTAINER_MODE.*required.*cygnus' stderr
+grep '^configure\.ac:.*AM_MAINTAINER_MODE.*required.*cygnus' stderr
-cat >> configure.in <<'END'
+cat >> configure.ac <<'END'
AC_CONFIG_FILES([sub/Makefile])
END
rm -rf autom4te.cache
$ACLOCAL
AUTOMAKE_fails
-grep '^configure\.in:.*AM_MAINTAINER_MODE.*required.*cygnus' stderr
+grep '^configure\.ac:.*AM_MAINTAINER_MODE.*required.*cygnus' stderr
-cat >> configure.in <<'END'
+cat >> configure.ac <<'END'
AM_MAINTAINER_MODE
END
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_PROG_CC
END
"$am_scriptdir"/depcomp . \
|| framework_failure_ "fetching common files from $am_scriptdir"
# Build appropriate environment in test directory. E.g., create
- # configure.in, touch all necessary files, etc. Don't use AC_OUTPUT,
+ # configure.ac, touch all necessary files, etc. Don't use AC_OUTPUT,
# but AC_CONFIG_FILES so that appending still produces a valid
- # configure.in. But then, tests running config.status really need
+ # configure.ac. But then, tests running config.status really need
# to append AC_OUTPUT.
{
echo "AC_INIT([$me], [1.0])"
echo "AM_INIT_AUTOMAKE"
fi
echo "AC_CONFIG_FILES([Makefile])"
- } >configure.in || framework_failure_ "creating configure.in skeleton"
+ } >configure.ac || framework_failure_ "creating configure.ac skeleton"
fi
fi
# should use $am_original_AUTOMAKE instead.
AUTOMAKE="$am_original_AUTOMAKE --foreign -Werror -Wall"
-# This is a hack to seamlessly support the infamous "autoconf wrappers",
-# that might dispatch different autoconf versions depending on the name
-# of the input files and/or the command-line options used. See:
-# <http://lists.gnu.org/archive/html/automake/2011-12/msg00039.html>
-# FIXME: in the long run, the better fix will be to convert our testsuite
-# to use `configure.ac' instead of `configure.in' as autoconf input.
-AUTOCONF="$AUTOCONF -B /no/such/dir"
-AUTOM4TE="$AUTOM4TE -B /no/such/dir"
-AUTORECONF="$AUTORECONF -B /no/such/dir"
-
# POSIX no longer requires 'egrep' and 'fgrep',
# but some hosts lack 'grep -E' and 'grep -F'.
EGREP=${AM_TESTSUITE_EGREP-'@EGREP@'}
AC_DEFUN([AM_FUNC_ONE], [AC_REQUIRE([AM_FUNC_TWO])])
END
-cat >>configure.in << 'END'
+cat >>configure.ac << 'END'
AM_FUNC_ONE
END
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
dnl if buggy this will require getloadavg.c
AC_PROG_CC
AC_DEFUN([AC_FUNC_GETLOADAVG])
required=runtest
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_OUTPUT
END
required=runtest
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_OUTPUT
END
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_OUTPUT
END
END
}
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_OUTPUT
END
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_OUTPUT
END
. ./defs || Exit 1
-cat >> configure.in <<'END'
+cat >> configure.ac <<'END'
AC_OUTPUT
END
chmod +x hammer
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_OUTPUT
END
END
chmod +x spanner
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_OUTPUT
END
END
chmod +x $package
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_OUTPUT
END
END
chmod +x faildeja
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_OUTPUT
END
END
chmod +x failtcl
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_OUTPUT
END
. ./defs || Exit 1
-echo AC_OUTPUT >> configure.in
+echo AC_OUTPUT >> configure.ac
echo 'include $(top_srcdir)/foobar.am' > Makefile.am
echo 'include zardoz.am' > foobar.am
. ./defs || Exit 1
-cat >> configure.in <<'END'
+cat >> configure.ac <<'END'
m4_include([foobar.m4])
AC_OUTPUT
END
. ./defs || Exit 1
-echo 'AM_FOO' >> configure.in
+echo 'AM_FOO' >> configure.ac
echo 'AC_DEFUN([AM_FOO], [AC_REQUIRE([AC_HEADER_STDC])])' > AM_FOO.m4
$ACLOCAL -I .
fi
}
-cat > configure.in <<END
+cat > configure.ac <<END
AC_INIT([$me], [1.0])
AC_CONFIG_AUX_DIR([build-aux])
AM_INIT_AUTOMAKE
. ./defs || Exit 1
-cat > configure.in << END
+cat > configure.ac << END
AC_INIT([$me], [1.0])
AM_INIT_AUTOMAKE
AC_CONFIG_FILES([subdir/Makefile subdir2/Makefile])
required=cc
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_CONFIG_FILES([subdir/Makefile])
AC_PROG_CC
AC_OUTPUT
required=cc
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_PROG_CC
#x AM_PROG_CC_C_O
AC_OUTPUT
# Try again with subdir-objects option.
-sed 's/#x //' configure.in >configure.int
-mv -f configure.int configure.in
+sed 's/#x //' configure.ac >configure.int
+mv -f configure.int configure.ac
echo AUTOMAKE_OPTIONS = subdir-objects >> Makefile.am
$ACLOCAL
required='cc libtoolize'
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_PROG_CC
#x AM_PROG_CC_C_O
AM_PROG_AR
# Try again with subdir-objects option.
-sed 's/#x //' configure.in >configure.int
-mv -f configure.int configure.in
+sed 's/#x //' configure.ac >configure.int
+mv -f configure.int configure.ac
echo AUTOMAKE_OPTIONS = subdir-objects >> Makefile.am
$ACLOCAL
required=cc
. ./defs || Exit 1
-rm -f configure.in
+rm -f configure.ac
mkdir config
for i in *; do
fi
done
-cat > configure.in << END
+cat > configure.ac << END
AC_INIT([$me], [1.0])
AC_CONFIG_AUX_DIR([config])
AM_INIT_AUTOMAKE
. ./defs || Exit 1
-echo AC_PROG_CC >> configure.in
+echo AC_PROG_CC >> configure.ac
cat > Makefile.am << 'END'
bin_PROGRAMS = fred
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_PROG_CC
AC_SUBST(DEPS)
END
. ./defs || Exit 1
-echo AC_PROG_CC >> configure.in
+echo AC_PROG_CC >> configure.ac
$ACLOCAL
required=cc
. ./defs || Exit 1
-cat >>configure.in << END
+cat >>configure.ac << END
AC_PROG_CC
AC_OUTPUT
END
. ./defs || Exit 1
-cat >>configure.in << END
+cat >>configure.ac << END
AC_PROG_CC
AC_OUTPUT
END
for ac_init in AC_INIT 'AC_INIT([Makefile.am])'; do
for am_init_automake in AM_INIT_AUTOMAKE 'AM_INIT_AUTOMAKE([1.11])'; do
rm -rf autom4te*.cache aclocal.m4
- unindent > configure.in <<END
+ unindent > configure.ac <<END
$ac_init
$am_init_automake
AC_CONFIG_FILES([Makefile])
END
- cat configure.in # For debugging.
+ cat configure.ac # For debugging.
$ACLOCAL 2>stderr && { cat stderr >&2; Exit 1; }
cat stderr >&2
- grep "^configure\\.in:.* $errmsg" stderr
+ grep "^configure\\.ac:.* $errmsg" stderr
cp aclocal-m4.sav aclocal.m4
$AUTOCONF 2>stderr && { cat stderr >&2; Exit 1; }
cat stderr >&2
- grep "^configure\\.in:.* $errmsg" stderr
+ grep "^configure\\.ac:.* $errmsg" stderr
AUTOMAKE_fails
- grep "^configure\\.in:.* $errmsg" stderr
+ grep "^configure\\.ac:.* $errmsg" stderr
done
done
. ./defs || Exit 1
-cat >> configure.in <<'EOF'
+cat >> configure.ac <<'EOF'
AC_OUTPUT
EOF
cd sub
-cat > configure.in <<EOF
+cat > configure.ac <<EOF
AC_INIT([$me], [1.0])
AM_FOO
EOF
. ./defs || Exit 1
-cat > configure.in <<EOF
+cat > configure.ac <<EOF
AC_INIT
AM_INIT_GUILE_MODULE
EOF
. ./defs || Exit 1
-cat > configure.in <<EOF
+cat > configure.ac <<EOF
AC_INIT
AM_INIT_GUILE_MODULE
AM_FOO_BAR
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_PROG_RANLIB
AM_PROG_AR
AC_PROG_CC
cd T$count.d
distdir=$me-$count
- unindent > configure.in << END
+ unindent > configure.ac << END
AC_INIT([$me], [$count])
AC_CONFIG_AUX_DIR([$auxdir])
AM_INIT_AUTOMAKE([parallel-tests])
for x in $suffixes; do
mkdir sub$x
echo "SUBDIRS += sub$x" >> Makefile.am
- echo "AC_CONFIG_FILES([sub$x/Makefile])" >> configure.in
+ echo "AC_CONFIG_FILES([sub$x/Makefile])" >> configure.ac
cp Makefile.stub sub$x/Makefile.am
echo 'int main (void) { return 0; }' > sub$x/foo.c
touch sub$x/bar.py sub$x/baz.el
done
- echo AC_OUTPUT >> configure.in
+ echo AC_OUTPUT >> configure.ac
$ACLOCAL
$AUTOCONF
am_create_testdir=empty
. ./defs || Exit 1
-cat > configure.in <<END
+cat > configure.ac <<END
AC_INIT([$me], [1.0])
AC_CONFIG_AUX_DIR([sub])
AM_INIT_AUTOMAKE
mkdir T$i.d
cd T$i.d
- unindent > configure.in <<END
+ unindent > configure.ac <<END
AC_INIT([$me], [1.0])
AC_CONFIG_AUX_DIR([${auxdir:-.}])
AM_INIT_AUTOMAKE
$AUTOCONF
AUTOMAKE_fails
- grep "^configure\\.in:4:.* required file.*$auxdir_rx/foo\\.txt" stderr
- grep "^configure\\.in:5:.* required file.*$auxdir_rx/bar\\.sh" stderr
- grep "^configure\\.in:6:.* required file.*$auxdir_rx/zardoz" stderr
+ grep "^configure\\.ac:4:.* required file.*$auxdir_rx/foo\\.txt" stderr
+ grep "^configure\\.ac:5:.* required file.*$auxdir_rx/bar\\.sh" stderr
+ grep "^configure\\.ac:6:.* required file.*$auxdir_rx/zardoz" stderr
touch $auxdir/foo.txt $auxdir/bar.sh $auxdir/zardoz
cp "$am_scriptdir"/missing "$am_scriptdir"/install-sh $auxdir \
am_opts=`echo $am_opts | tr ',' ' '`
mkdir "$name"
cd "$name"
- unindent > configure.in <<END
+ unindent > configure.ac <<END
AC_INIT([$name], [1.0])
AM_INIT_AUTOMAKE([$ac_opts])
AC_CONFIG_FILES([Makefile])
AC_OUTPUT
END
echo "AUTOMAKE_OPTIONS = $am_opts" > Makefile.am
- # It is imperative that aclocal.m4 is copied after configure.in has
+ # It is imperative that aclocal.m4 is copied after configure.ac has
# been created, to avoid a spurious trigger of the automatic remake
# rules for configure & co.
cp "$ocwd"/aclocal.m4 \
end_subtest
start_subtest ac-nogz-only am_opts= ac_opts=no-dist-gzip
-nogzip_automake_failure 'ac' 'configure\.in:2'
+nogzip_automake_failure 'ac' 'configure\.ac:2'
end_subtest
# ------------------------------------------------- #
echo '])' >> am-init.m4
-sed 's/AM_INIT_AUTOMAKE.*/m4_include([am-init.m4])/' configure.in > t
-mv -f t configure.in
+sed 's/AM_INIT_AUTOMAKE.*/m4_include([am-init.m4])/' configure.ac > t
+mv -f t configure.ac
# For debugging.
cat Makefil.am
-cat configure.in
+cat configure.ac
cat am-init.m4
command_ok_ "$desc [aclocal]" $ACLOCAL --force
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_CONFIG_FILES([sub/Makefile])
AC_OUTPUT
END
. ./defs || Exit 1
-echo AC_OUTPUT >> configure.in
+echo AC_OUTPUT >> configure.ac
cat > Makefile.am <<'END'
include $(srcdir)/foobar.am
. ./defs || Exit 1
-cat >> configure.in <<'END'
+cat >> configure.ac <<'END'
m4_include([foobar.m4])
m4_include([zardoz.m4])
AC_OUTPUT
. ./defs || Exit 1
-cat >> configure.in <<'END'
+cat >> configure.ac <<'END'
m4_pattern_forbid([^MY_])
MY_FOOBAR || exit 1
MY_ZARDOZ || exit 1
required=cc
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_PROG_CC
AC_OUTPUT
END
. ./defs || Exit 1
-echo AC_OUTPUT >> configure.in
+echo AC_OUTPUT >> configure.ac
cat > Makefile.am <<'END'
bin_PROGRAMS = foo bar
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_ARG_ENABLE([success], [], [success=$enableval], [success=no])
AS_IF([test $success = yes && test "$sentence" = 'it works :-)'],
[:],
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_CONFIG_SUBDIRS([subpkg])
if test $dc != ok || test $am_dc != ok; then
AC_MSG_ERROR([dc=$dc am_dc=$dc])
mkdir subpkg
-sed <configure.in >subpkg/configure.in \
+sed <configure.ac >subpkg/configure.ac \
-e 's/^AC_INIT.*/AC_INIT([subpkg], [2.0])/' \
-e '/^AC_CONFIG_SUBDIRS/d' \
-cat configure.in
-cat subpkg/configure.in
+cat configure.ac
+cat subpkg/configure.ac
dc=KO am_dc=KO; export dc am_dc
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_ARG_ENABLE([success], [], [success=$enableval], [success=no])
AS_IF([test $success = yes && test "$sentence" = 'it works :-)'],
[:],
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_OUTPUT
END
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_CONFIG_SUBDIRS([subpkg])
AC_OUTPUT
END
mkdir subpkg
-cat > subpkg/configure.in << 'END'
+cat > subpkg/configure.ac << 'END'
AC_INIT([subpkg], [1.0])
AM_INIT_AUTOMAKE
AC_CONFIG_FILES([Makefile])
include $(srcdir)/distcheck-hook-m4.am
END
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
dnl We *deliberately* don't use m4_pattern_forbid here.
AC_OUTPUT
MY_FOO
# We start to use new "third-party" macros from new .m4 files, but forget
# to re-run "aclocal --install" by hand, relying on automatic remake rules.
# Our distcheck-hook should catch this too.
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
MY_QUX
MY_BLA
END
include $(srcdir)/distcheck-hook-m4.am
END
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_OUTPUT
MY_FOO
MY_BAR
# of a pre-existing third-party m4 file, but forget to re-run
# "aclocal --install" by hand, relying on automatic remake
# rules. Our distcheck-hook should catch this too.
-echo MY_ZARDOZ >> configure.in
+echo MY_ZARDOZ >> configure.ac
cat > acdir/baz.m4 << 'END'
# serial 2
# - use ACLOCAL_PATH, and
# - do not add the use of a new macro.
-echo MY_FNORD >> configure.in
+echo MY_FNORD >> configure.ac
mkdir pth
cat > pth/fnord.m4 << 'END'
required='makeinfo tex texi2dvi install-info'
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_OUTPUT
END
sleep '1'
rm -rf foo.d && skip_ 'system is able to remove "in use" directories'
-echo AC_OUTPUT >> configure.in
+echo AC_OUTPUT >> configure.ac
cat > Makefile.am <<END
TESTS = foo.test
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_OUTPUT
END
required=cc
. ./defs || Exit 1
-cat >>configure.in << 'END'
+cat >>configure.ac << 'END'
AC_PROG_CC
AC_OUTPUT
END
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_CONFIG_FILES([subdir/Makefile])
AC_PROG_CC
AC_OUTPUT
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_PROG_CC
AM_PROG_CC_C_O
AC_CONFIG_FILES([subdir/Makefile])
$FGREP ' $(top_srcdir)/depcomp ' subdir/dc.txt
# The `compile' script will be listed in the DIST_COMMON of the top-level
- # Makefile because it's required in configure.in (by AM_PROG_CC_C_O).
+ # Makefile because it's required in configure.ac (by AM_PROG_CC_C_O).
$FGREP ' $(top_srcdir)/compile ' dc.txt || $FGREP ' compile ' dc.txt
done
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_CONFIG_FILES([tests/autoconf:tests/wrapper.in],
[chmod +x tests/autoconf])
AC_CONFIG_FILES([tests/autoheader:tests/wrapper.in],
}' -e '/^DIST_COMMON =/ p' ${1+"$@"}
}
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_CONFIG_FILES([tests/autoconf:tests/wrapper.in],
[chmod +x tests/autoconf])
AC_CONFIG_FILES([tests/autoheader:tests/wrapper.in],
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_OUTPUT
END
ln -s "`pwd`/foo" quux
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_OUTPUT
END
test -h $lnka
test -h $lnkb
-cat >> configure.in <<'END'
+cat >> configure.ac <<'END'
AC_OUTPUT
END
required=cc
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_CONFIG_SRCDIR([a.c])
AC_PROG_CC
AC_OUTPUT
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_CONFIG_HEADERS([config.h])
AM_WITH_DMALLOC
AC_SUBST([LDFLAGS])
${tab}bin_PROGRAMS = foo
END
-echo AC_OUTPUT >> configure.in
+echo AC_OUTPUT >> configure.ac
$ACLOCAL
$AUTOMAKE
required=GNUmake
. ./defs || Exit 1
-echo AC_OUTPUT >> configure.in
+echo AC_OUTPUT >> configure.ac
cat > Makefile.am <<'EOF'
mydir = $(prefix)/my
# This should work with the AM_SILENT_RULES macro.
$sleep
-echo 'AM_SILENT_RULES' >> configure.in
+echo 'AM_SILENT_RULES' >> configure.ac
$ACLOCAL --force
AUTOMAKE_fails -Wportability
foo_CPPFLAGS = -Dwhatever
EOF
-echo AC_PROG_CC >> configure.in
+echo AC_PROG_CC >> configure.ac
$ACLOCAL --force
. ./defs || Exit 1
-echo AC_PROG_CC >> configure.in
+echo AC_PROG_CC >> configure.ac
cat > Makefile.am << 'END'
bin_PROGRAMS = spice nutmeg help sconvert multidec nutmeg
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AM_FUNC_STRTOD
END
. ./defs || Exit 1
-echo 'AM_CONDITIONAL(FOO, true)' >> configure.in
+echo 'AM_CONDITIONAL(FOO, true)' >> configure.ac
cat > Makefile.am << 'END'
# Flag to tell us if apache dir is a source distribution.
. ./defs || Exit 1
-echo AC_OUTPUT >>configure.in
+echo AC_OUTPUT >>configure.ac
echo 'data_DATA =' >Makefile.am
$ACLOCAL
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_PROG_CC
END
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_PROG_CC
END
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_PROG_CC
AC_SUBST(ZOO_OBJ)
END
. ./defs || Exit 1
-cat >>configure.in <<'EOF'
+cat >>configure.ac <<'EOF'
AC_SUBST([pkgdatadir], ["FOO"])
AC_OUTPUT
EOF
required=cc
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_PROG_CC
AM_CONDITIONAL([WANT_MT], [test -z "$revert"])
AM_CONDITIONAL([WANT_RMT], [test -z "$revert"])
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_PROG_CC
END
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_PROG_CC
END
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AM_CONDITIONAL([COND], [test -n "$cond"])
AC_SUBST([programs], ['prg1$(EXEEXT) prg2$(EXEEXT)'])
AC_SUBST([CC], [whocares])
. ./defs || Exit 1
-echo AC_PROG_CC >> configure.in
+echo AC_PROG_CC >> configure.ac
cat > Makefile.am << 'END'
bin_PROGRAMS = www
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_PROG_F77
AC_PROG_FC
AC_PROG_OBJC
. ./defs || Exit 1
-cat >>configure.in <<EOF
+cat >>configure.ac <<EOF
AC_PROG_CXX
EOF
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
END
cat > Makefile.am << 'END'
# We want (almost) complete control over automake options.
AUTOMAKE="$am_original_AUTOMAKE --foreign -Werror"
-cat >>configure.in <<END
+cat >>configure.ac <<END
AC_PROG_CC
AC_PROG_RANLIB
AC_OUTPUT
# We want complete control over automake options.
AUTOMAKE=$am_original_AUTOMAKE
-cat >>configure.in <<END
+cat >>configure.ac <<END
AC_PROG_CC
AC_PROG_RANLIB
AC_OUTPUT
# We want (almost) complete control over automake options.
AUTOMAKE="$am_original_AUTOMAKE --foreign -Werror"
-cat >>configure.in <<END
+cat >>configure.ac <<END
AC_PROG_CC
AC_PROG_RANLIB
AC_OUTPUT
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_CONFIG_FILES([Makefile2 Makefile3])
AC_SUBST([prog])
AC_PROG_CC
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_PROG_CC
END
required=GNUmake
. ./defs || Exit 1
-echo AC_OUTPUT >> configure.in
+echo AC_OUTPUT >> configure.ac
cat > Makefile.am <<'END'
EXTRA_DIST = *.foo
required=GNUmake
. ./defs || Exit 1
-echo AC_OUTPUT >> configure.in
+echo AC_OUTPUT >> configure.ac
cat > Makefile.am <<'END'
AUTOMAKE_OPTIONS = -Wno-portability
required=GNUmake
. ./defs || Exit 1
-echo AC_OUTPUT >> configure.in
+echo AC_OUTPUT >> configure.ac
cat > Makefile.am <<'END'
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_PROG_CC
END
. ./defs || Exit 1
-echo 'AC_SUBST(CODICIL)' >> configure.in
+echo 'AC_SUBST(CODICIL)' >> configure.ac
cat > Makefile.am << 'END'
sysconf_DATA = @CODICIL@
. ./defs || Exit 1
-echo 'AC_SUBST(CODICIL)' >> configure.in
+echo 'AC_SUBST(CODICIL)' >> configure.ac
cat > Makefile.am << 'END'
sysconf_DATA = @CODICIL@
. ./defs || Exit 1
-echo AC_OUTPUT >> configure.in
+echo AC_OUTPUT >> configure.ac
cat > Makefile.am << 'END'
EXTRA_DIST=foo
. ./defs || Exit 1
-echo AC_OUTPUT >> configure.in
+echo AC_OUTPUT >> configure.ac
cat > Makefile.am << 'END'
EXTRA_DIST=foo/bar baz foo2/bar2 baz2
. ./defs || Exit 1
-echo AC_OUTPUT >> configure.in
+echo AC_OUTPUT >> configure.ac
cat > Makefile.am << 'END'
EXTRA_DIST=foo/bar baz
. ./defs || Exit 1
-cat >>configure.in <<'END'
+cat >>configure.ac <<'END'
AC_PROG_CC
AC_OUTPUT
END
. ./defs || Exit 1
-cat >>configure.in <<'END'
+cat >>configure.ac <<'END'
AC_PROG_CC
AM_PROG_AR
AC_PROG_RANLIB
required=cc
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_PROG_CC
AM_PROG_AR
AC_PROG_RANLIB
required='cc libtoolize'
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_PROG_CC
AM_PROG_AR
AC_PROG_LIBTOOL
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_PROG_FC
END
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AM_MAINTAINER_MODE
AC_OUTPUT
END
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_PROG_F77
AC_F77_LIBRARY_LDFLAGS
END
. ./defs || Exit 1
-echo AC_OUTPUT >> configure.in
+echo AC_OUTPUT >> configure.ac
cat >Makefile.am <<'END'
AUTOMAKE_OPTIONS = filename-length-max=99
# The name is so that 99 is exactly hit (including final \0).
subdirname='cnfsubdir'
-cat >>configure.in <<END
+cat >>configure.ac <<END
AC_CONFIG_SUBDIRS([$subdirname])
AC_OUTPUT
END
mkdir $subdirname
-cat >> $subdirname/configure.in <<EOF
+cat >> $subdirname/configure.ac <<EOF
AC_INIT([$subdirname], [1.0])
AM_INIT_AUTOMAKE
AC_CONFIG_FILES([Makefile])
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_PROG_F77
END
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_PROG_F77
END
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_PROG_F77
END
mkdir sub
-cat >>configure.in <<'END'
+cat >>configure.ac <<'END'
AC_PROG_FC
AC_FC_SRCEXT([f90])
AC_FC_SRCEXT([f95])
sed s,foo,bar, foo.f90 > sub/bar.f90
sed s,foo,baz, foo.f90 > sub/baz.f
-cat >>configure.in <<'END'
+cat >>configure.ac <<'END'
AC_PROG_F77
AC_PROG_FC
AC_FC_SRCEXT([f90], [],
sed s,foo,bar, foo.f90 > sub/bar.f90
sed s,foo,baz, foo.f90 > sub/baz.f
-cat >>configure.in <<'END'
+cat >>configure.ac <<'END'
AC_PROG_F77
AC_PROG_FC
AC_FC_SRCEXT([f90], [],
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_CONFIG_SRCDIR([foo.f])
AC_PROG_F77
AC_OUTPUT
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
_AM_DEPENDENCIES([GCJ])
AC_SUBST([GCJ])
END
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
_AM_DEPENDENCIES(GCJ)
AC_SUBST(GCJ)
END
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
_AM_DEPENDENCIES([GCJ])
AC_SUBST([GCJ])
END
required=gcj
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AM_PROG_GCJ
AC_OUTPUT
END
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
_AM_DEPENDENCIES(GCJ)
END
required='gcj'
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AM_PROG_GCJ
AC_OUTPUT
END
fi
# We will need to specify the correct autopoint (or gettextize) version
-# in the AM_GNU_GETTEXT_VERSION call in configure.in if we want autopoint
+# in the AM_GNU_GETTEXT_VERSION call in configure.ac if we want autopoint
# (or gettextize) to setup the correct infrastructure -- in particular,
# for what concerns us, to bring in all the required .m4 files.
autopoint_version=`extract_program_version $am_gettextize_command` \
&& test -n "$autopoint_version" \
|| autopoint_version=0.10.35
-cat > configure.in <<END
+cat > configure.ac <<END
AC_INIT([foo], [1.0])
AC_PROG_CC
# Both required by autopoint.
required='gettext'
. ./defs || Exit 1
-cat >>configure.in <<END
+cat >>configure.ac <<END
AM_GNU_GETTEXT
AM_GNU_GETTEXT_VERSION([0.14.3])
AC_OUTPUT
fi
: >config.rpath
-sed '/AM_GNU_GETTEXT_VERSION/d' configure.in >configure.int
-mv -f configure.int configure.in
+sed '/AM_GNU_GETTEXT_VERSION/d' configure.ac >configure.int
+mv -f configure.int configure.ac
$ACLOCAL
required='gettext'
. ./defs || Exit 1
-cat >>configure.in <<END
+cat >>configure.ac <<END
AM_GNU_GETTEXT([external])
AC_OUTPUT
END
required='gettext'
. ./defs || Exit 1
-cat >>configure.in <<END
+cat >>configure.ac <<END
AM_GNU_GETTEXT([external])
AM_GNU_GETTEXT_INTL_SUBDIR
AC_OUTPUT
. ./defs || Exit 1
-cat > configure.in << END
+cat > configure.ac << END
AC_INIT([$me], [3.5.3.2])
AM_INIT_AUTOMAKE
AC_CONFIG_FILES(Makefile)
$ACLOCAL
AUTOMAKE_fails --gnits
-grep 'configure.in:.*3\.5\.3\.2' stderr
+grep 'configure.ac:.*3\.5\.3\.2' stderr
required='cc native'
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_PROG_CC
AC_OUTPUT
END
required=cc
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_PROG_CC
AC_OUTPUT
END
required=GNUmake
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_CONFIG_FILES([sub/GNUmakefile])
AC_OUTPUT
END
# We need (almost) complete control over automake options.
AUTOMAKE="$am_original_AUTOMAKE -Werror"
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_PROG_CC
AC_OUTPUT
END
. ./defs || Exit 1
-cat > configure.in << 'END'
+cat > configure.ac << 'END'
AC_INIT([gnuwarn2], [1.0])
AM_INIT_AUTOMAKE([no-installman])
AC_CONFIG_FILES([Makefile])
$ACLOCAL
AUTOMAKE_fails
-grep 'configure.in:2:.*no-installman' stderr
+grep 'configure.ac:2:.*no-installman' stderr
. ./defs || Exit 1
-cat >> configure.in <<END
+cat >> configure.ac <<END
AC_OUTPUT
END
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_SUBST([MY_HEADERS])
AC_PROG_CC
END
. ./defs || Exit 1
-cat > configure.in <<END
+cat > configure.ac <<END
AC_INIT([$me], [1.0])
AM_DEP_TRACK
END
. ./defs || Exit 1
-cat > configure.in <<END
+cat > configure.ac <<END
AC_INIT([$me], [1.0])
AM_INIT_AUTOMAKE
AC_PROG_CC
. ./defs || Exit 1
-cat > configure.in <<END
+cat > configure.ac <<END
AC_INIT([$me], [1.0])
AM_WITH_DMALLOC
END
. ./defs || Exit 1
-cat > configure.in <<END
+cat > configure.ac <<END
AC_INIT([$me], [1.0])
AM_INIT_AUTOMAKE
END
. ./defs || Exit 1
-cat > configure.in <<END
+cat > configure.ac <<END
AC_INIT([$me], [1.0])
AM_PATH_LISPDIR
END
. ./defs || Exit 1
-cat > configure.in <<END
+cat > configure.ac <<END
AC_INIT([$me], [1.0])
AM_ENABLE_MULTILIB
END
. ./defs || Exit 1
-cat > configure.in <<END
+cat > configure.ac <<END
AC_INIT([$me], [1.0])
AM_PATH_PYTHON
END
. ./defs || Exit 1
-cat > configure.in <<END
+cat > configure.ac <<END
AC_INIT([$me], [1.0])
AM_SILENT_RULES
END
$ACLOCAL
-mv -f configure.in configure.tmpl
+mv -f configure.ac configure.tmpl
q="[\`'\"]"
for args in '' '([])' '([yes])' '([no])'; do
- sed "s/AM_SILENT_RULES.*/&$args/" configure.tmpl >configure.in
- cat configure.in
+ sed "s/AM_SILENT_RULES.*/&$args/" configure.tmpl >configure.ac
+ cat configure.ac
$AUTOCONF --force
grep_configure_help --enable-silent-rules \
" less verbose build.*\\(undo.*${q}make V=1${q}"
. ./defs || Exit 1
-cat > configure.in <<END
+cat > configure.ac <<END
AC_INIT([$me], [1.0])
AM_PROG_UPC
END
$AUTOMAKE --help
# Sanity checks: aclocal and automake cannot work without configure.ac
-# or configure.in.
+# nor configure.in.
$ACLOCAL 2>stderr && { cat stderr >&2; Exit 1; }
cat stderr >&2
$FGREP configure.ac stderr
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# Make sure --help and --version work, even when the current directory
-# contains a broken configure.in and a broken acinclude.m4.
+# contains a broken configure.ac and a broken acinclude.m4.
. ./defs || Exit 1
# Ensure we run in a new, clean directory.
ACLOCAL=$am_original_ACLOCAL
AUTOMAKE=$am_original_AUTOMAKE
-echo '[' > configure.in
+echo '[' > configure.ac
echo '[' > acinclude.m4
$AUTOMAKE --version
rm -f acinclude.m4
-# Sanity checks: aclocal and automake cannot work with broken configure.in.
+# Sanity checks: aclocal and automake cannot work with broken configure.ac.
$ACLOCAL 2>stderr && { cat stderr >&2; Exit 1; }
cat stderr >&2
-$FGREP configure.in stderr
+$FGREP configure.ac stderr
AUTOMAKE_fails
-$FGREP configure.in stderr
+$FGREP configure.ac stderr
:
ACLOCAL=$am_original_ACLOCAL
AUTOMAKE=$am_original_AUTOMAKE
-cat > configure.in <<END
+cat > configure.ac <<END
AC_INIT([$me], [1.0])
AC_CONFIG_AUX_DIR([.]) dnl prevent automake from looking into '..'
AM_INIT_AUTOMAKE([foreign])
# Report from Peter O'Gorman.
. ./defs || Exit 1
-echo AC_OUTPUT >>configure.in
+echo AC_OUTPUT >>configure.ac
: >CHANGELOG
echo 'EXTRA_DIST = CHANGELOG' >Makefile.am
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_PROG_CC
END
for ac_init_args in '' '([x])'; do
for am_init_args in '' '([1.10])'; do
rm -rf aclocal.m4 autom4te*.cache
- unindent >configure.in <<END
+ unindent >configure.ac <<END
AC_INIT$ac_init_args
AM_INIT_AUTOMAKE$am_init_args
END
- cat configure.in # For debugging.
+ cat configure.ac # For debugging.
# The error message should mention AC_INIT, not AC_PACKAGE_VERSION.
($ACLOCAL && $AUTOCONF) 2>stderr && { cat stderr >&2; Exit 1; }
cat stderr >&2
$FGREP AC_PACKAGE_VERSION stderr && Exit 1
- grep 'configure\.in:.* AC_INIT .*arguments' stderr
+ grep 'configure\.ac:.* AC_INIT .*arguments' stderr
done
done
. ./defs || Exit 1
-cat >configure.in <<END
+cat >configure.ac <<END
AC_INIT([init2], [1.0])
AM_INIT_AUTOMAKE([nosuchoption])
END
. ./defs || Exit 1
-echo AC_OUTPUT >> configure.in
+echo AC_OUTPUT >> configure.ac
cat > Makefile.am << 'END'
pkgdata_DATA =
saved_PATH=$PATH; export saved_PATH
PATH=$cwd/bin$PATH_SEPARATOR$PATH; export PATH
-cat >> configure.in <<'END'
+cat >> configure.ac <<'END'
AC_OUTPUT
END
. ./defs || Exit 1
-cat > configure.in << 'END'
+cat > configure.ac << 'END'
AC_INIT
dnl Prevent automake from looking in .. and ../..
AC_CONFIG_AUX_DIR(.)
. ./defs || Exit 1
-cat >> configure.in <<END
+cat >> configure.ac <<END
AC_SUBST([INSTALL_DATA])
END
required=javac
. ./defs || Exit 1
-cat >>configure.in <<'END'
+cat >>configure.ac <<'END'
AC_OUTPUT
END
required=emacs
. ./defs || Exit 1
-cat >>configure.in <<'END'
+cat >>configure.ac <<'END'
AM_PATH_LISPDIR
AC_OUTPUT
END
required='cc libtoolize'
. ./defs || Exit 1
-cat >>configure.in <<'END'
+cat >>configure.ac <<'END'
AC_PROG_CC
AM_PROG_CC_C_O
AM_PROG_AR
required=cc
. ./defs || Exit 1
-cat >>configure.in <<'END'
+cat >>configure.ac <<'END'
AC_PROG_CC
AM_PROG_CC_C_O
AM_PROG_AR
required=python
. ./defs || Exit 1
-cat >>configure.in <<'END'
+cat >>configure.ac <<'END'
AM_PATH_PYTHON
AC_OUTPUT
END
pdfetex --version || pdftex --version \
|| skip_ "pdeftex and pdftex are both missing"
-cat >>configure.in <<'END'
+cat >>configure.ac <<'END'
AC_OUTPUT
END
. ./defs || Exit 1
-cat >>configure.in <<'END'
+cat >>configure.ac <<'END'
AC_SUBST([foodir], ['${datadir}'/foo])
AC_OUTPUT
END
. ./defs || Exit 1
-cat >>configure.in <<'END'
+cat >>configure.ac <<'END'
AC_SUBST([foodir], ['${datadir}'/foo])
AC_OUTPUT
END
required='makeinfo'
. ./defs || Exit 1
-cat >>configure.in <<END
+cat >>configure.ac <<END
AC_OUTPUT
END
required=javac
. ./defs || Exit 1
-cat >>configure.in <<'END'
+cat >>configure.ac <<'END'
AC_OUTPUT
END
required='cc libtool libtoolize'
. ./defs || Exit 1
-cat >>configure.in <<END
+cat >>configure.ac <<END
AM_PROG_AR
AC_PROG_LIBTOOL
AC_OUTPUT
required=cc
. ./defs || Exit 1
-cat >>configure.in <<END
+cat >>configure.ac <<END
AC_PROG_CC
AM_PROG_AR
AC_PROG_RANLIB
. ./defs || Exit 1
-cat >>configure.in <<'EOF'
+cat >>configure.ac <<'EOF'
AC_PROG_LN_S
AC_OUTPUT
EOF
. ./defs || Exit 1
-echo AC_OUTPUT >> configure.in
+echo AC_OUTPUT >> configure.ac
cat > Makefile.am << 'EOF'
man_MANS = frob.8
chmod +x rm
-cat >>configure.in <<END
+cat >>configure.ac <<END
AC_CONFIG_FILES([myinstall], [chmod +x ./myinstall])
AC_CONFIG_FILES([$subdir/Makefile])
AC_OUTPUT
chmod +x rm
-cat >>configure.in <<END
+cat >>configure.ac <<END
AM_PATH_PYTHON
AC_CONFIG_FILES([myinstall], [chmod +x ./myinstall])
AC_CONFIG_FILES([$subdir/Makefile])
chmod +x rm
-cat >>configure.in <<END
+cat >>configure.ac <<END
AC_CONFIG_FILES([myinstall], [chmod +x ./myinstall])
AC_CONFIG_FILES([$subdir/Makefile])
AC_OUTPUT
# Since the default path includes '../..', we must run this test in
# yet another subdir.
mkdir frob
-mv Makefile.am configure.in frob/
+mv Makefile.am configure.ac frob/
cd frob
$ACLOCAL
{
mkdir sub
- unindent >> configure.in << 'EOF'
+ unindent >> configure.ac << 'EOF'
AC_PROG_CC
AM_PROG_AR
AC_PROG_RANLIB
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_PROG_CC
END
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_PROG_CC
AC_PATH_X
AC_PATH_XTRA
required=javac
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_OUTPUT
END
required=javac
. ./defs || Exit 1
-cat >> configure.in <<'END'
+cat >> configure.ac <<'END'
AC_OUTPUT
END
required=javac
. ./defs || Exit 1
-cat >>configure.in <<'EOF'
+cat >>configure.ac <<'EOF'
AC_OUTPUT
EOF
am_parallel_tests=no
. ./defs || Exit 1
-echo "AC_SUBST([PATH_SEPARATOR], ['$PATH_SEPARATOR'])" >> configure.in
+echo "AC_SUBST([PATH_SEPARATOR], ['$PATH_SEPARATOR'])" >> configure.ac
-cat >> configure.in <<'END'
+cat >> configure.ac <<'END'
AC_SUBST([JAVA], [java])
AC_CONFIG_SRCDIR([PkgLocation.jin])
AC_CONFIG_FILES([PkgLocation.java:PkgLocation.jin])
am_parallel_tests=yes
. ./defs || Exit 1
-echo "AC_SUBST([PATH_SEPARATOR], ['$PATH_SEPARATOR'])" >> configure.in
+echo "AC_SUBST([PATH_SEPARATOR], ['$PATH_SEPARATOR'])" >> configure.ac
-cat >> configure.in <<'END'
+cat >> configure.ac <<'END'
AC_SUBST([JAVA], [java])
AC_CONFIG_SRCDIR([jprog/PkgLocation.jin])
AC_SUBST([jprogdatadir], ['${pkgdatadir}'])
required=javac
. ./defs || Exit 1
-cat >> configure.in <<'END'
+cat >> configure.ac <<'END'
AC_CONFIG_SRCDIR([org/gnu/bug/Library.java])
AC_CONFIG_FILES([
org/Makefile
required=javac
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AM_CONDITIONAL([COND], [test x"$cond" = x"yes"])
AC_OUTPUT
END
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_OUTPUT
END
required=javac
. ./defs || Exit 1
-cat >>configure.in <<'END'
+cat >>configure.ac <<'END'
AC_OUTPUT
END
required=javac
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_OUTPUT
END
required='javac'
. ./defs || Exit 1
-cat >> configure.in <<'END'
+cat >> configure.ac <<'END'
AC_OUTPUT
END
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_OUTPUT
END
required=javac
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_OUTPUT
END
required=javac
. ./defs || Exit 1
-cat >>configure.in <<'EOF'
+cat >>configure.ac <<'EOF'
AC_OUTPUT
EOF
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AM_CONDITIONAL(WITH_JDK, false)
AC_OUTPUT
END
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AM_CONDITIONAL([WHO_CARES], [false])
AC_OUTPUT
END
# with `make -e' below.
unset JAVAC || :
-cat >> configure.in <<'END'
+cat >> configure.ac <<'END'
AC_PROG_CC
# Simulate presence of the java compiler using our fake-javac script.
AC_SUBST([JAVAC], ['$(abs_top_srcdir)'/fake-javac])
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_SUBST([JAVA])
END
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_SUBST([JAVAC])
END
required=libtool
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_PROG_CC
AC_PROG_LIBTOOL
AC_SUBST([LTLIBOBJS], [q.lo])
required=libtool
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_PROG_CC
AM_PROG_AR
AC_PROG_LIBTOOL
set -e
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_PROG_CXX
AC_PROG_LEX
AC_OUTPUT
set -e
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_PROG_CC
AC_PROG_LEX
AC_OUTPUT
set -e
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_PROG_CXX
AM_PROG_LEX
AC_OUTPUT
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_PROG_CC
AC_PROG_CXX
AM_PROG_LEX
set -e
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_PROG_CC
AM_PROG_LEX
AC_OUTPUT
required='cc lex'
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_PROG_CC
AC_PROG_RANLIB
AC_PROG_LEX
required='cc lex'
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_PROG_CC
AM_PROG_AR
AC_PROG_RANLIB
required='cc lex'
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_PROG_CC
AC_PROG_RANLIB
AC_PROG_LEX
set -e
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_CONFIG_FILES([sub/Makefile])
AC_PROG_CC
AM_PROG_CC_C_O
set -e
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_PROG_CC
dnl Sister test 'lex-pr204.test' should use 'AC_PROG_LEX' instead.
AM_PROG_LEX
required='cc flex'
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_PROG_CC
AM_PROG_LEX
AC_OUTPUT
set -e
-cat >> configure.in <<'EOF'
+cat >> configure.ac <<'EOF'
AM_MAINTAINER_MODE
AC_PROG_CC
dnl We use AC_PROG_LEX deliberately.
required='cc lex'
. ./defs || Exit 1
-cat >>configure.in <<\END
+cat >>configure.ac <<\END
AC_PROG_CC
AM_PROG_CC_C_O
AC_PROG_LEX
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_PROG_CC
AM_PROG_LEX
END
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_PROG_CC
END
required='cc lex'
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_PROG_CC
AM_PROG_LEX
AC_OUTPUT
required='cc lex'
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_PROG_CC
AM_PROG_CC_C_O
AM_PROG_LEX
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_PROG_CXX
AC_PROG_LEX
END
LEX_OUTPUT_ROOT='@LEX_OUTPUT_ROOT@'
END
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_CONFIG_FILES([lexoutroot])
AC_PROG_CC
AC_PROG_LEX
# with `make -e' below.
unset LEX || :
-cat >> configure.in <<'END'
+cat >> configure.ac <<'END'
AC_SUBST([CC], [false])
# Simulate presence of Lex using our fake-lex script.
AC_SUBST([LEX], ['$(abs_top_srcdir)'/fake-lex])
# with `make -e' below.
unset LEX || :
-cat >> configure.in <<'END'
+cat >> configure.ac <<'END'
AC_SUBST([CXX], [false])
# Simulate presence of Lex using our fake-lex script.
AC_SUBST([LEX], ['$(abs_top_srcdir)'/fake-lex])
pkglibexec_PROGRAMS = bar
END
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_PROG_CC
AC_OUTPUT
END
required=cc
. ./defs || Exit 1
-mv configure.in configure.proto
+mv configure.ac configure.proto
cat >> configure.proto << 'END'
AC_PROG_CC
AM_PROG_AR
END
# AC_LIBSOURCE should work also if called after AC_OUTPUT.
-cat configure.proto - > configure.in <<END
+cat configure.proto - > configure.ac <<END
AC_LIBSOURCE([maude.c])
END
END
# AC_LIBSOURCES should work also if called after AC_OUTPUT.
-cat configure.proto - > configure.in <<END
+cat configure.proto - > configure.ac <<END
AC_LIBSOURCES([maude.c, liver.c])
END
required=cc
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_PROG_CC
AM_PROG_AR
AC_PROG_RANLIB
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_PROG_CC
AM_PROG_AR
AC_PROG_RANLIB
required='libtoolize'
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_PROG_CC
AM_PROG_AR
AC_PROG_LIBTOOL
. ./defs || Exit 1
-cat >>configure.in <<'EOF'
+cat >>configure.ac <<'EOF'
AC_PROG_CC
AC_LIBSOURCE([bar.c])
AM_CONDITIONAL([CASE], [:])
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_PROG_CC
AM_PROG_AR
AC_PROG_RANLIB
$ACLOCAL
AUTOMAKE_fails
-grep 'configure\.in:.*required file.*foobar\.c.*' stderr
+grep 'configure\.ac:.*required file.*foobar\.c.*' stderr
:
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_PROG_CC
AM_PROG_AR
AC_PROG_RANLIB
$ACLOCAL
AUTOMAKE_fails
-grep 'configure\.in:.*required file.*foobar\.c.*' stderr
+grep 'configure\.ac:.*required file.*foobar\.c.*' stderr
:
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_PROG_CC
AC_PROG_RANLIB
AC_LIBSOURCES([foobar.c, bazquux.c])
$ACLOCAL
AUTOMAKE_fails
-grep 'configure\.in:.*required file.*foobar\.c.*' stderr
-grep 'configure\.in:.*required file.*bazquux\.c.*' stderr
+grep 'configure\.ac:.*required file.*foobar\.c.*' stderr
+grep 'configure\.ac:.*required file.*bazquux\.c.*' stderr
: > foobar.c
AUTOMAKE_fails
-grep 'configure\.in:.*required file.*bazquux\.c.*' stderr
+grep 'configure\.ac:.*required file.*bazquux\.c.*' stderr
grep 'foobar\.c' stderr && Exit 1
:
required=cc
. ./defs || Exit 1
-mv configure.in configure.proto
+mv configure.ac configure.proto
cat >> configure.proto << 'END'
AC_PROG_CC
AM_PROG_AR
s/.*//
i\
AC_LIBOBJ([maude])
-}' configure.proto > configure.in
-cat configure.in # For debugging.
+}' configure.proto > configure.ac
+cat configure.ac # For debugging.
cat > extra-checks.am << 'END'
extra_checks = maude-src maude-dist maude-lib liver-not-dist
AC_LIBOBJ([liver])\
fi\
AC_LIBSOURCES([maude.c, liver.c])
-}' configure.proto > configure.in
-cat configure.in # For debugging.
+}' configure.proto > configure.ac
+cat configure.ac # For debugging.
$ACLOCAL
$AUTOCONF
required=cc
. ./defs || Exit 1
-mv configure.in configure.proto
+mv configure.ac configure.proto
cat >> configure.proto << 'END'
AC_PROG_CC
AC_PROG_RANLIB
s/.*//
i\
AC_LIBOBJ(maude) dnl: do not quote this!
-}' configure.proto > configure.in
-cat configure.in # For debugging.
+}' configure.proto > configure.ac
+cat configure.ac # For debugging.
cat > extra-checks.am << 'END'
extra_checks = maude-src maude-dist maude-lib liver-not-dist
fi\
AC_LIBSOURCE(maude.c) dnl: do not quote this!\
AC_LIBSOURCE(liver.c) dnl: do not quote this!
-}' configure.proto > configure.in
-cat configure.in # For debugging.
+}' configure.proto > configure.ac
+cat configure.ac # For debugging.
$ACLOCAL
$AUTOCONF
required=cc
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_PROG_CC
AC_PROG_RANLIB
AM_PROG_AR
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_PROG_CC
AM_PROG_AR
AC_PROG_RANLIB
$ACLOCAL
AUTOMAKE_fails
-grep 'configure\.in:.*required file.*\$foo\.c.*not found' stderr
-grep 'configure\.in:.*required file.*\$bar\.c.*not found' stderr
-grep 'configure\.in:.*required file.*\$baz\.c.*not found' stderr
+grep 'configure\.ac:.*required file.*\$foo\.c.*not found' stderr
+grep 'configure\.ac:.*required file.*\$bar\.c.*not found' stderr
+grep 'configure\.ac:.*required file.*\$baz\.c.*not found' stderr
:
required=cc
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_CONFIG_LIBOBJ_DIR([libobj-dir])
AC_PROG_CC
AM_PROG_CC_C_O
sed '/^AC_OUTPUT/i\
AC_CONFIG_FILES([sub/Makefile])
-' configure.in > t
-mv -f t configure.in
-cat configure.in # For debugging.
+' configure.ac > t
+mv -f t configure.ac
+cat configure.ac # For debugging.
$ACLOCAL
$AUTOCONF
required=cc
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_CONFIG_FILES([subdir/Makefile])
AC_PROG_CC
AM_PROG_AR
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_CONFIG_LIBOBJ_DIR([libobj-dir])
AC_PROG_CC
AM_PROG_AR
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_CONFIG_LIBOBJ_DIR([libobj-dir])
AC_PROG_CC
AM_PROG_AR
$ACLOCAL
AUTOMAKE_fails
-grep 'configure\.in:.*required directory.*libobj-dir' stderr
+grep 'configure\.ac:.*required directory.*libobj-dir' stderr
mkdir libobj-dir
: > foobar.c # Oops, it should be in libobj-dir!
AUTOMAKE_fails
-grep 'configure\.in:.*required file.*libobj-dir/foobar.c.*' stderr
+grep 'configure\.ac:.*required file.*libobj-dir/foobar.c.*' stderr
rm -f foobar.c
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_CONFIG_LIBOBJ_DIR([libobj-dir])
AC_PROG_CC
AC_PROG_RANLIB
AUTOMAKE="$AUTOMAKE -Wno-extra-portability"
AUTOMAKE_fails
-grep 'configure\.in:.*required directory.*\./libobj-dir' stderr
+grep 'configure\.ac:.*required directory.*\./libobj-dir' stderr
mkdir libobj-dir
: > foobar.c # Oops, it should be in libobj-dir!
AUTOMAKE_fails
-grep 'configure\.in:.*required file.*libobj-dir/foobar.c.*' stderr
+grep 'configure\.ac:.*required file.*libobj-dir/foobar.c.*' stderr
rm -f foobar.c
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# Make sure we complain if @LIBOBJS@ is used without being set in
-# configure.in.
+# configure.ac.
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_PROG_RANLIB
AM_PROG_AR
END
bin_PROGRAMS = foo
END
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_PROG_CC
AC_REPLACE_FUNCS([foo])
END
LDADD = @LIBOBJS@
END
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_PROG_CC
AC_REPLACE_FUNCS(\
foo_bar_quux)
required=cc
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_PROG_CC
AM_PROG_AR
AC_PROG_RANLIB
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_PROG_RANLIB
AM_MAINTAINER_MODE
AC_PROG_CC
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_PROG_CC
END
. ./defs || Exit 1
-cat >>configure.in <<EOF
+cat >>configure.ac <<EOF
AC_PROG_CC
AM_CONDITIONAL([A], [:])
AM_CONDITIONAL([B], [:])
required='cc libtoolize'
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AM_PROG_AR
AC_PROG_LIBTOOL
AC_OUTPUT
required='cc libtoolize'
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_PROG_LIBTOOL
m4_ifdef([LT_OUTPUT], [LT_OUTPUT])
AC_OUTPUT
# available, e.g., by properly setting ACLOCAL_PATH.
rm -rf m4
mkdir m4
- echo AC_PROG_LIBTOOL >> configure.in
+ echo AC_PROG_LIBTOOL >> configure.ac
# See below for an explanation about the use the of `-Wno-syntax'.
if $ACLOCAL -Wno-syntax -I m4 --install && test -f m4/libtool.m4; then
: # Libtool macros already accessible by default.
required=libtool
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_LIBTOOL_DLOPEN
AC_DISABLE_SHARED
AC_PROG_LIBTOOL
required=libtoolize
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_PROG_CC
AM_PROG_AR
AC_PROG_LIBTOOL
required='cc libtoolize'
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_PROG_CC
AM_PROG_AR
AM_PROG_LIBTOOL
. ./defs || Exit 1
-cat >> configure.in <<'END'
+cat >> configure.ac <<'END'
AC_PROG_CC
AM_PROG_AR
END
required='libtoolize'
. ./defs || Exit 1
-cat >>configure.in <<'END'
+cat >>configure.ac <<'END'
AM_CONDITIONAL([COND1], [true])
AM_CONDITIONAL([COND2], [false])
AC_PROG_CC
required='libtoolize'
. ./defs || Exit 1
-cat >>configure.in <<'END'
+cat >>configure.ac <<'END'
AM_CONDITIONAL([COND1], [true])
AM_CONDITIONAL([COND2], [false])
AC_PROG_CC
required='cc libtoolize'
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_PROG_CC
AM_PROG_AR
AC_LIBTOOL_DLOPEN
required='libtoolize'
. ./defs || Exit 1
-cat >>configure.in <<'END'
+cat >>configure.ac <<'END'
AM_CONDITIONAL([COND1], [true])
AM_CONDITIONAL([COND2], [false])
AC_PROG_CC
required='cc libtoolize'
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_PROG_CC
AM_PROG_CC_C_O
AM_PROG_AR
. ./defs || Exit 1
-echo AC_OUTPUT >>configure.in
+echo AC_OUTPUT >>configure.ac
cat >Makefile.am <<\EOF
test1: distdir
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_PROG_CC
AC_PROG_CXX
END
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_PROG_CC
AC_PROG_CXX
END
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_PROG_FC
END
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_PROG_F77
END
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_PROG_CC
AC_PROG_F77
END
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_PROG_CC
AC_PROG_CXX
AC_PROG_F77
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_PROG_CXX
AC_PROG_F77
END
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_PROG_CC
END
CLEANFILES = am-three.el
EOF
-cat >> configure.in << 'EOF'
+cat >> configure.ac << 'EOF'
AM_PATH_LISPDIR
AC_OUTPUT
EOF
find "$(lispdir)" | grep '\.elc$$' && exit 1; :
EOF
-cat >> configure.in << 'EOF'
+cat >> configure.ac << 'EOF'
AM_PATH_LISPDIR
AC_OUTPUT
EOF
find "$(lispdir)" | grep '\.elc$$' && exit 1; :
EOF
-cat >> configure.in << 'EOF'
+cat >> configure.ac << 'EOF'
AM_PATH_LISPDIR
AC_OUTPUT
EOF
test -f $(distdir)/am-three.el
EOF
-cat >> configure.in << 'EOF'
+cat >> configure.ac << 'EOF'
AM_CONDITIONAL([WANT_TWO], [test -n "$want_two"])
AM_PATH_LISPDIR
AC_OUTPUT
dist_lisp_LISP = am-one.el am-two.el am-three.el
EOF
-cat >> configure.in << 'EOF'
+cat >> configure.ac << 'EOF'
AM_PATH_LISPDIR
EMACS=no # Simulate no emacs.
AC_OUTPUT
dist_lisp_LISP = am-one.el am-two.el am-three.el
EOF
-cat >> configure.in << 'EOF'
+cat >> configure.ac << 'EOF'
AM_PATH_LISPDIR
AC_OUTPUT
EOF
dist_lisp_LISP = am-one.el am-two.el am-three.el
EOF
-cat >> configure.in << 'EOF'
+cat >> configure.ac << 'EOF'
AM_PATH_LISPDIR
AC_OUTPUT
EOF
required=libtool
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_SUBST([LTLIBOBJS])
AM_PROG_AR
AC_PROG_LIBTOOL
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AM_CONDITIONAL([COND1], [true])
AM_CONDITIONAL([COND2], [true])
AC_PROG_CC
required='cc libtoolize'
. ./defs || Exit 1
-cat >>configure.in <<'END'
+cat >>configure.ac <<'END'
AM_CONDITIONAL([WANT_LIBFOO], [true])
AM_CONDITIONAL([WANT_LIBBAR], [false])
AC_SUBST([WANTEDLIBS], ['lib1foo.la lib1bar.la'])
required='cc native libtoolize'
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_PROG_CC
AM_PROG_AR
AC_PROG_LIBTOOL
required='cc native libtoolize'
. ./defs || Exit 1
-cat >>configure.in <<'END'
+cat >>configure.ac <<'END'
AC_PROG_CC
AM_PROG_AR
AC_PROG_LIBTOOL
required=libtool
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AM_PROG_AR
AC_PROG_LIBTOOL
AC_PROG_CXX
required='cc libtoolize'
. ./defs || Exit 1
-cat >>configure.in <<'END'
+cat >>configure.ac <<'END'
AC_PROG_CC
AM_PROG_AR
dnl Older libtool versions don't define LT_PREREQ :-(
required='libtoolize'
. ./defs || Exit 1
-cat >>configure.in <<'END'
+cat >>configure.ac <<'END'
AC_PROG_CC
AM_PROG_AR
AC_PROG_LIBTOOL
required=libtool
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_SUBST([LTLIBOBJS])
AM_PROG_AR
AC_PROG_LIBTOOL
required='cc libtool'
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_PROG_CC
AM_PROG_AR
AC_PROG_LIBTOOL
required='cc libtoolize'
. ./defs || Exit 1
-cat >>configure.in <<'END'
+cat >>configure.ac <<'END'
AC_PROG_CC
AM_PROG_AR
AC_PROG_LIBTOOL
AUTOMAKE_fails -Wnone -Wno-error
grep "^Makefile\\.am:1:.*$errmsg" stderr
-cat > configure.in << 'END'
+cat > configure.ac << 'END'
AC_INIT([lzma], [1.0])
AM_INIT_AUTOMAKE([no-dist-gzip dist-lzma])
AC_CONFIG_FILES([Makefile])
rm -rf autom4te*.cache
$ACLOCAL
AUTOMAKE_fails -Wnone -Wno-error
-grep "^configure\\.in:2:.*$errmsg" stderr
+grep "^configure\\.ac:2:.*$errmsg" stderr
:
. ./defs || Exit 1
-cat >> configure.in <<'EOF'
+cat >> configure.ac <<'EOF'
sinclude([doesntexist.m4])
EOF
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_CONFIG_FILES([bar sub/Makefile])
AC_OUTPUT
END
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_CONFIG_FILES([bar sub/Makefile])
AC_OUTPUT
END
set_maintmode ()
{
rm -rf autom4te*.cache # Just to be sure not to use a stale cache.
- echo "AC_INIT([$me], [1.0])" > configure.in
+ echo "AC_INIT([$me], [1.0])" > configure.ac
case $1 in
DEFAULT) echo AM_MAINTAINER_MODE;;
*) echo "AM_MAINTAINER_MODE([$*])";;
- esac >> configure.in
+ esac >> configure.ac
}
check_configure_message_with ()
mkdir sub
-echo AC_OUTPUT >> configure.in
+echo AC_OUTPUT >> configure.ac
cat > Makefile.am <<'END'
all:
required=GNUmake
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AM_MAKE_INCLUDE
AC_OUTPUT
END
MAKE="$save $flag" ./configure
$FGREP 'am__include = include' Makefile
$sleep
- touch configure.in
+ touch configure.ac
$MAKE $flag
$FGREP 'am__include = include' Makefile
rm -f config.cache
required=GNUmake
. ./defs || Exit 1
-cat >configure.in <<END
+cat >configure.ac <<END
m4_include([version.m4])
AC_INIT([$me], [THE_VERSION])
AM_INIT_AUTOMAKE
. ./defs || Exit 1
-cat >>configure.in <<'END'
+cat >>configure.ac <<'END'
AC_OUTPUT
END
mkdir sub
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_CONFIG_FILES([sub/Makefile])
AC_OUTPUT
END
mkdir sub sub2
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_CONFIG_FILES([sub/Makefile sub2/Makefile])
AC_OUTPUT
END
. ./defs || Exit 1
-cat >> configure.in <<'END'
+cat >> configure.ac <<'END'
AC_OUTPUT
END
grep bar "$(mandir)/man1/foo.1"
END
-cat >>configure.in <<'END'
+cat >>configure.ac <<'END'
: ${foo=foo}
AC_SUBST([foo])
AC_CONFIG_FILES([foo.1])
$(HELP2MAN) --output=$(srcdir)/bar.1 $(srcdir)/bar
END
-cat >>configure.in <<'END'
+cat >>configure.ac <<'END'
AM_MISSING_PROG([HELP2MAN], [help2man])
AC_OUTPUT
END
. ./defs || Exit 1
-cat >> configure.in <<'END'
+cat >> configure.ac <<'END'
AC_OUTPUT
END
$(HELP2MAN) --output=$(srcdir)/zardoz.1 $(srcdir)/zardoz
END
-cat >> configure.in <<'END'
+cat >> configure.ac <<'END'
AM_MISSING_PROG([HELP2MAN], [help2man])
AC_OUTPUT
END
MAINTAINERCLEANFILES = $(dist_man_MANS)
END
-cat >> configure.in <<'END'
+cat >> configure.ac <<'END'
AC_OUTPUT
END
: > $(srcdir)/$@
END
-cat >> configure.in <<'END'
+cat >> configure.ac <<'END'
AC_OUTPUT
END
. ./defs || Exit 1
-cat > configure.in << END
+cat > configure.ac << END
AC_INIT([$me], [1.0])
AC_CONFIG_AUX_DIR([foo])
AM_INIT_AUTOMAKE
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_CONFIG_FILES([sub/Makefile])
END
. ./defs || Exit 1
-cat >> configure.in <<END
+cat >> configure.ac <<END
AM_PATH_PYTHON
END
echo SUBDIRS = > Makefile.am
for i in 1 2 3 4 5; do
- echo "AC_CONFIG_FILES([sub$i/Makefile])" >> configure.in
+ echo "AC_CONFIG_FILES([sub$i/Makefile])" >> configure.ac
echo "SUBDIRS += sub$i" >> Makefile.am
mkdir sub$i
echo python_PYTHON = foo.py > sub$i/Makefile.am
. ./defs || Exit 1
-cat >>configure.in <<'EOF'
+cat >>configure.ac <<'EOF'
AC_OUTPUT
EOF
. ./defs || Exit 1
-cat >>configure.in <<'EOF'
+cat >>configure.ac <<'EOF'
m4_include([v.m4])
AC_OUTPUT
EOF
. ./defs || Exit 1
-echo AC_OUTPUT >>configure.in
+echo AC_OUTPUT >>configure.ac
touch Makefile.am
needed_tools='chmod find sed test touch'
needed_tools_csep=`echo $needed_tools | sed 's/ /, /g'`
-cat >configure.in <<EOF
+cat >configure.ac <<EOF
AC_INIT([missing4], [1.0])
m4_foreach([tool], [$needed_tools_csep],
[AC_PATH_PROG(tool, tool, [false])
# Make sure autoconf version checks in aclocal.m4 are robust.
+am_create_testdirs=empty
. ./defs || Exit 1
-{
- echo 'm4_define([AC_AUTOCONF_VERSION], [9999a])'
- echo 'dnl!! m4_define([a], [oops])'
- cat configure.in
- echo AC_OUTPUT
-} >configure.ac
-rm -f configure.in
+cat > configure.ac <<END
+m4_define([AC_AUTOCONF_VERSION], [9999a])
+dnl!! m4_define([a], [oops])
+AC_INIT([$me], [1.0])
+AM_INIT_AUTOMAKE
+AC_CONFIG_FILES([Makefile])
+AC_OUTPUT
+END
-touch Makefile.am
+: > Makefile.am
$ACLOCAL
$AUTOCONF 2>stderr || { cat stderr >&2; Exit 1; }
cat stderr >&2
grep 'You have another version of autoconf' stderr
grep 'aclocal.m4:.*this file was generated for' stderr
-$AUTOMAKE
+$AUTOMAKE -a
./configure
$MAKE
. ./defs || Exit 1
-echo AC_OUTPUT >> configure.in
+echo AC_OUTPUT >> configure.ac
cat > Makefile.am << 'END'
AUTOMAKE_OPTIONS = no-installman
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AM_MAINTAINER_MODE
AC_OUTPUT
END
./configure --enable-maintainer-mode
grep '^MAINT.*#' Makefile && Exit 1
-sed 's/\(AM_MAINTAINER_MODE\).*/\1([disable])/' configure.in > configure.int
-mv -f configure.int configure.in
+sed 's/\(AM_MAINTAINER_MODE\).*/\1([disable])/' configure.ac > configure.int
+mv -f configure.int configure.ac
mv configure configure1
$AUTOCONF --force
diff configure configure1
-sed 's/\(AM_MAINTAINER_MODE\).*/\1([enable])/' configure.in > configure.int
-mv -f configure.int configure.in
+sed 's/\(AM_MAINTAINER_MODE\).*/\1([enable])/' configure.ac > configure.int
+mv -f configure.int configure.ac
$AUTOCONF --force
./configure
./configure --disable-maintainer-mode
grep '^MAINT.*#' Makefile
-sed 's/\(AM_MAINTAINER_MODE\).*/\1([foo])/' configure.in > configure.int
-mv -f configure.int configure.in
+sed 's/\(AM_MAINTAINER_MODE\).*/\1([foo])/' configure.ac > configure.int
+mv -f configure.int configure.ac
$AUTOCONF --force -Werror && Exit 1
:
required=cc
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AM_MAINTAINER_MODE
AC_PROG_CC
AM_PROG_LEX
ACLOCAL_PATH=${ACLOCAL_PATH+"$ACLOCAL_PATH:"}`pwd`/m4
export ACLOCAL_PATH
-cat >configure.in <<'END'
+cat >configure.ac <<'END'
AC_INIT([multlib], [1.0])
AC_CONFIG_SRCDIR(libfoo/foo.c)
AC_CONFIG_AUX_DIR(.)
mkdir libfoo
cp "$mldir"/multilib.am libfoo/
-cat >libfoo/configure.in <<'END'
+cat >libfoo/configure.ac <<'END'
AC_PREREQ(2.57)
AC_INIT(libfoo, 0.1, nobody@localhost)
AC_CONFIG_SRCDIR(foo.c)
mkdir libbar
cp "$mldir"/multilib.am libbar/
-cat >libbar/configure.in <<'END'
+cat >libbar/configure.ac <<'END'
AC_PREREQ(2.57)
AC_INIT(libbar, 0.1, nobody@localhost)
# Apparently it doesn't work to have auxdir=.. when
. ./defs || Exit 1
-echo AC_OUTPUT >> configure.in
+echo AC_OUTPUT >> configure.ac
: > Makefile.am
required='cc libtoolize'
. ./defs || Exit 1
-cat >> configure.in <<'EOF'
+cat >> configure.ac <<'EOF'
AC_PROG_CC
AM_PROG_AR
AC_PROG_LIBTOOL
# Simulate no emacs and no python (it shouldn't be needed in this test).
EMACS="no" PYTHON=":"; export EMCAS PYTHON
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AM_PATH_LISPDIR
AM_PATH_PYTHON([], [], [:])
# Simulate no javac (it shouldn't be needed in this test).
required=python
. ./defs || Exit 1
-cat >>configure.in <<EOF
+cat >>configure.ac <<EOF
AM_PATH_PYTHON
AC_OUTPUT
EOF
required=cc
. ./defs || Exit 1
-cat >> configure.in <<'EOF'
+cat >> configure.ac <<'EOF'
AC_PROG_CC
AM_PROG_AR
AC_PROG_RANLIB
# First, check that PACKAGE and VERSION are output by default.
-cat > configure.in << 'END'
+cat > configure.ac << 'END'
AC_INIT
AM_INIT_AUTOMAKE([UnIqUe_PaCkAgE], [UnIqUe_VeRsIoN])
AC_OUTPUT(output)
# Then, check that PACKAGE and VERSION are not output if requested.
-cat > configure.in << 'END'
+cat > configure.ac << 'END'
AC_INIT
AM_INIT_AUTOMAKE([UnIqUe_PaCkAgE], [UnIqUe_VeRsIoN], [no])
AC_OUTPUT(output)
# First, check that PACKAGE and VERSION are output by default.
-cat > configure.in << 'END'
+cat > configure.ac << 'END'
AC_INIT([UnIqUe_PaCkAgE], [UnIqUe_VeRsIoN])
AM_INIT_AUTOMAKE
AC_OUTPUT(output)
# Then, check that PACKAGE and VERSION are not output if requested.
-cat > configure.in << 'END'
+cat > configure.ac << 'END'
AC_INIT([UnIqUe_PaCkAgE], [UnIqUe_VeRsIoN])
AM_INIT_AUTOMAKE([no-define])
AC_OUTPUT(output Makefile)
zardoz_SOURCES = y.c
END
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_PROG_CC
END
foo_SOURCES = a.c b.cpp c.m d.S e.java f.upc
END
-cat > configure.in << 'END'
+cat > configure.ac << 'END'
AC_INIT([nodep2], [1], [bug-automake@gnu.org])
AM_INIT_AUTOMAKE([no-dependencies])
AC_CONFIG_FILES([Makefile])
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_PROG_CC
END
. ./defs || Exit 1
-cat >> configure.in <<'EOF'
+cat >> configure.ac <<'EOF'
AC_OUTPUT
EOF
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_PROG_CC
END
check_HEADERS = bar.h
END
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_PROG_CC
AM_PROG_AR
AC_PROG_RANLIB
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_PROG_CC
AC_OUTPUT
END
. ./defs || Exit 1
-cat >>configure.in <<'END'
+cat >>configure.ac <<'END'
AC_OUTPUT
END
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_PROG_CC
END
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_PROG_OBJC
END
. ./defs || Exit 1
-echo AC_PROG_CC >>configure.in
+echo AC_PROG_CC >>configure.ac
cat >Makefile.am <<'END'
bin_PROGRAMS = hello
. ./defs || Exit 1
-echo AC_OUTPUT >> configure.in
+echo AC_OUTPUT >> configure.ac
cat > Makefile.am <<'END'
LINK = echo >$@ Linked $@ from
required=$2
. ./defs || Exit 1
-cat > configure.in << 'END'
+cat > configure.ac << 'END'
AC_INIT
END
$PERL -ne '/AU_DEFUN\(\[(\w+)\]/ && print "$1\n"' \
"$am_automake_acdir/obsolete.m4" > obs
-cat obs >> configure.in
+cat obs >> configure.ac
$PERL -ne 'chomp; print "grep $_ output || Exit 1\n"; ' obs > obs.1
-$PERL -ne 'chomp; print "grep $_ configure.in && Exit 1\n"; ' obs > obs.2
+$PERL -ne 'chomp; print "grep $_ configure.ac && Exit 1\n"; ' obs > obs.2
echo : >> obs.1 # Since it will be sourced, it must end with a success.
echo : >> obs.2 # Likewise.
-cat configure.in # For debugging.
+cat configure.ac # For debugging.
cat obs.1 # Likewise.
cat obs.2 # Likewise.
-# Sanity check. Make sure we have added something to configure.in.
-test `wc -l <configure.in` -gt 1
+# Sanity check. Make sure we have added something to configure.ac.
+test `wc -l <configure.ac` -gt 1
$ACLOCAL
$AUTOUPDATE
. ./obs.2
-# Autoconf should be able to grok the updated configure.in.
+# Autoconf should be able to grok the updated configure.ac.
$AUTOCONF
:
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
jm_TEST
FOO
END
. ./defs || Exit 1
-cat >>configure.in <<'END'
+cat >>configure.ac <<'END'
AC_OUTPUT
END
. ./defs || Exit 1
-cat > configure.in <<END
+cat > configure.ac <<END
AC_INIT([$me], [1.0])
AM_INIT_AUTOMAKE
AC_OUTPUT([Makefile frob/zardoz])
. ./defs || Exit 1
-cat >> configure.in << END
+cat >> configure.ac << END
AC_SUBST([FOO], [top])
AC_SUBST([BAR], [bot])
AC_CONFIG_FILES([a/top])
. ./defs || Exit 1
-cat >> configure.in << \END
+cat >> configure.ac << \END
AC_SUBST([FOO], [foo])
file1=this.in
echo @FOO@ >$file1
. ./defs || Exit 1
-cat >> configure.in << \END
+cat >> configure.ac << \END
AC_SUBST([FOO], [foo])
AC_SUBST([file1], [this.in])
echo @FOO@ >$file1
. ./defs || Exit 1
-cat >> configure.in << \END
+cat >> configure.ac << \END
AC_SUBST([FOO], [foo])
if $create; then
AC_CONFIG_FILES([file])
. ./defs || Exit 1
-cat > configure.in <<END
+cat > configure.ac <<END
AC_INIT([$me], [1.0])
AM_INIT_AUTOMAKE
AC_OUTPUT([Makefile intl/intlh.inst po/Makefile.in misc/gettextize])
. ./defs || Exit 1
-cat > configure.in <<END
+cat > configure.ac <<END
AC_INIT([$me], [1.0])
AM_INIT_AUTOMAKE
AC_OUTPUT([Makefile
. ./defs || Exit 1
-cat > configure.in <<END
+cat > configure.ac <<END
AC_INIT([$me], [1.0])
AM_INIT_AUTOMAKE
AC_OUTPUT([tests/Makefile tests/defs])
. ./defs || Exit 1
-cat > configure.in << 'END'
+cat > configure.ac << 'END'
AC_INIT([foo], [bar], [baz])
AM_INIT_AUTOMAKE
AC_OUTPUT
. ./defs || Exit 1
-cat > configure.in << END
+cat > configure.ac << END
AC_INIT([$me], [1.0])
AM_INIT_AUTOMAKE
AC_CONFIG_FILES([foo:a.in:b.in:c.in:d.in])
. ./defs || Exit 1
-cat > configure.in << END
+cat > configure.ac << END
AC_INIT([$me], [1.0])
AM_INIT_AUTOMAKE
AC_CONFIG_FILES([
mkdir testdir
cd testdir
-mv ../configure.in .
-cat >> configure.in << END
+mv ../configure.ac .
+cat >> configure.ac << END
AC_CONFIG_FILES([a/foo.sh:../testdir/a/foo.sh.in])
AC_CONFIG_FILES([a/Makefile])
AC_OUTPUT
. ./defs || Exit 1
-cat >> configure.in << END
+cat >> configure.ac << END
AC_CONFIG_FILES([a/mid.in:a/input.in.in])
AC_CONFIG_FILES([b/out:a/mid.in])
AC_CONFIG_FILES([a/Makefile b/Makefile])
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AM_CONDITIONAL([COND], [test x"$cond" = x"yes"])
AC_OUTPUT
END
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AM_CONDITIONAL([COND], [:])
END
required=perl-threads
. ./defs || Exit 1
-cat > configure.in << 'END'
+cat > configure.ac << 'END'
AC_INIT([parallel-am], [1.0])
AC_CONFIG_AUX_DIR([build-aux])
AM_INIT_AUTOMAKE
list='1 2 3 4 5 6 7 8 9'
for i in $list; do
- echo "AC_CONFIG_FILES([sub$i/Makefile])" >> configure.in
+ echo "AC_CONFIG_FILES([sub$i/Makefile])" >> configure.ac
echo "SUBDIRS += sub$i" >> Makefile.am
mkdir sub$i
echo > sub$i/Makefile.am
list='1 2 3'
for i in $list; do
- echo "AC_CONFIG_FILES([sub$i/Makefile])" >> configure.in
+ echo "AC_CONFIG_FILES([sub$i/Makefile])" >> configure.ac
echo "SUBDIRS += sub$i" >> Makefile.am
mkdir sub$i sub$i/sub
unindent > sub$i/Makefile.am << END
required=perl-threads
. ./defs || Exit 1
-cat > configure.in << 'END'
+cat > configure.ac << 'END'
AC_INIT([parallel-am], [1.0])
AC_CONFIG_AUX_DIR([build-aux])
AM_INIT_AUTOMAKE
list='1 2 3'
for i in $list; do
- echo "AC_CONFIG_FILES([sub$i/Makefile])" >> configure.in
+ echo "AC_CONFIG_FILES([sub$i/Makefile])" >> configure.ac
echo "SUBDIRS += sub$i" >> Makefile.am
mkdir sub$i
unindent > sub$i/Makefile.am <<END
am_parallel_tests=yes
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_OUTPUT
END
am_parallel_tests=yes
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_OUTPUT
END
mkdir am-init-automake
cd am-init-automake
-cat > configure.in <<END
+cat > configure.ac <<END
AC_INIT([$me], [1.0])
AC_CONFIG_AUX_DIR([my_aux_dir])
AM_INIT_AUTOMAKE([parallel-tests])
test ! -r test-driver
test ! -r sub/test-driver
-grep '^configure\.in:3:.*installing.*my_aux_dir/test-driver' stderr
+grep '^configure\.ac:3:.*installing.*my_aux_dir/test-driver' stderr
cd ..
mkdir automake-options
cd automake-options
-cat > configure.in <<END
+cat > configure.ac <<END
AC_INIT([$me], [1.0])
AC_CONFIG_AUX_DIR([build-aux])
AM_INIT_AUTOMAKE
am_parallel_tests=yes
. ./defs || Exit 1
-echo AC_OUTPUT >> configure.in
+echo AC_OUTPUT >> configure.ac
cat > Makefile.am <<'END'
TESTS = foo.test bar.test
am_parallel_tests=yes
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_OUTPUT
END
am_parallel_tests=yes
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_CONFIG_FILES([sub1/Makefile sub2/Makefile])
AC_OUTPUT
END
am_parallel_tests=yes
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
dnl We need to fool the init.m4 internals a little.
AC_DEFUN([_AM_FOO],
[m4_provide([_AM_COMPILER_EXEEXT])
am_parallel_tests=yes
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_OUTPUT
END
am_parallel_tests=yes
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_PROG_CC
AC_OUTPUT
END
am_parallel_tests=yes
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_PROG_CC
# Calls like "write(9, ...)" are unlikely to work for MinGW-compiled
# programs. We must skip this test if this is the case.
am_parallel_tests=yes
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_OUTPUT
END
cond=false
fi
-cat >> configure.in << END
+cat >> configure.ac << END
AM_CONDITIONAL([IS_GNU_MAKE], [$cond])
AC_OUTPUT
END
am_parallel_tests=yes
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_CONFIG_FILES([sub/Makefile])
AC_OUTPUT
END
plan_ 16
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_OUTPUT
END
am_parallel_tests=yes
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_SUBST([acsubst_compiler], [t-compiler])
AC_CONFIG_LINKS([chk-compiler:chk-compiler])
AC_OUTPUT
required='cc native'
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_PROG_CC
AC_OUTPUT
END
required=python
. ./defs || Exit 1
-cat >> configure.in <<END
+cat >> configure.ac <<END
AC_SUBST([PERL], ['$PERL'])
AM_PATH_PYTHON
AC_OUTPUT
am_parallel_tests=yes
. ./defs || Exit 1
-cat >> configure.in <<'END'
+cat >> configure.ac <<'END'
AC_OUTPUT
END
am_parallel_tests=yes
. ./defs || Exit 1
-cat >> configure.in <<'END'
+cat >> configure.ac <<'END'
AC_OUTPUT
END
am_parallel_tests=yes
. ./defs || Exit 1
-cat >> configure.in <<'END'
+cat >> configure.ac <<'END'
AC_OUTPUT
END
set -e
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_OUTPUT
END
TERM=ansi; export TERM
-cat >>configure.in <<END
+cat >>configure.ac <<END
AC_OUTPUT
END
am_parallel_tests=yes
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_OUTPUT
END
am_parallel_tests=yes
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_OUTPUT
END
*) skip_ "$FGREP can't parse nonprinting characters" ;;
esac
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_OUTPUT
END
am_parallel_tests=yes
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_OUTPUT
END
required='cc native'
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_PROG_CC
AC_OUTPUT
END
am_parallel_tests=yes
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_OUTPUT
END
am_parallel_tests=yes
. ./defs || Exit 1
-echo AC_OUTPUT >> configure.in
+echo AC_OUTPUT >> configure.ac
cat > Makefile.am <<'END'
TESTS = foo.test
chmod a-r t && test ! -r t || skip_ "you can still read unreadable files"
rm -f t
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_OUTPUT
END
am_parallel_tests=yes
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_OUTPUT
END
am_parallel_tests=yes
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_OUTPUT
END
cp "$top_testsrcdir"/contrib/check-html.am . \
|| fatal_ "cannot fetch 'check-html.am' from contrib"
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_OUTPUT
END
rm -f one output Makefile
fi
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_OUTPUT
END
required='cc native GNUmake'
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_PROG_CC
AC_OUTPUT
END
am_parallel_tests=yes
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_OUTPUT
END
am_parallel_tests=yes
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_OUTPUT
END
am_parallel_tests=yes
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_OUTPUT
END
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_PROG_CC
END
. ./defs || Exit 1
-cat >>configure.in <<EOF
+cat >>configure.ac <<EOF
AC_PROG_CC
EOF
. ./defs || Exit 1
-cat >>configure.in << 'END'
+cat >>configure.ac << 'END'
AM_CONDITIONAL([A], [true])
AM_CONDITIONAL([B], [false])
AC_OUTPUT
. ./defs || Exit 1
-cat >>configure.in <<'END'
+cat >>configure.ac <<'END'
AC_OUTPUT
END
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AM_CONDITIONAL([CHECK], [true])
END
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AM_CONDITIONAL([CHECK], [true])
END
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_PROG_CC
END
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AM_CONDITIONAL([CHECK], [true])
END
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_SUBST([ZZZ])
END
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_PROG_CC
AC_PROG_RANLIB
END
. ./defs || Exit 1
-cat >>configure.in << 'END'
+cat >>configure.ac << 'END'
AM_CONDITIONAL([COND1], [true])
AM_CONDITIONAL([COND2], [true])
AM_CONDITIONAL([COND3], [true])
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_OUTPUT
END
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_OUTPUT
END
required=cc
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_PROG_CC
AC_PROG_RANLIB
AM_PROG_AR
required=cc
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_PROG_CC
AC_PROG_RANLIB
AM_PROG_AR
required='cc libtool libtoolize'
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_PROG_CC
AM_PROG_AR
AC_PROG_LIBTOOL
required=cc
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_PROG_CC
AC_OUTPUT
END
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_OUTPUT
END
required=cc
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_PROG_CC
AC_OUTPUT
END
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_OUTPUT
END
required=cc
. ./defs || Exit 1
-cat >configure.in <<END
+cat >configure.ac <<END
AC_INIT([$me], [1.0])
AM_INIT_AUTOMAKE
AC_PROG_CC
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_PROG_F77
END
# "make dist" fails for AC_OUTPUT(README.foo:templ/README.foo.in).
#
# == Report ==
-# When my AC_OUTPUT macro in configure.in contains something
+# When my AC_OUTPUT macro in configure.ac contains something
# like the following (among the Makefiles)
# README.foo:templ/README.foo.in
# the generated dist target in the Makefile.in fails,
. ./defs || Exit 1
# Please keep this underquoted and old-style.
-cat > configure.in << 'END'
+cat > configure.ac << 'END'
AC_INIT
AM_INIT_AUTOMAKE(nonesuch, nonesuch)
AC_OUTPUT(README.foo:templ/README.foo.in Makefile)
required=libtoolize
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_PROG_CC
AC_PROG_LIBTOOL
AC_OUTPUT
data_DATA = $(NEVER_DEFINED)
EOF
-cat >> configure.in << 'EOF'
+cat >> configure.ac << 'EOF'
AC_ARG_ENABLE([foo],
[ --enable-foo Enable foo],
[ if test "foo" = "bar" ; then
bar_SOURCES = foo/main.c
EOF
-cat >>configure.in <<'EOF'
+cat >>configure.ac <<'EOF'
AC_PROG_CC
AM_PROG_CC_C_O
AC_OUTPUT
. ./defs || Exit 1
-cat >> configure.in <<EOF
+cat >> configure.ac <<EOF
AC_CYGWIN
EOF
# `Makefile:Makefile.in:tail.mk' in AC_OUTPUT.
#
# == Report ==
-# If configure.in has something like:
+# If configure.ac has something like:
# AC_OUTPUT(Makefile:Makefile.in:tail.mk)
# then config.status cannot parse the Makefile to build the
# dependency files in the .deps directory. This is because
required=cc
. ./defs || Exit 1
-cat > configure.in << END
+cat > configure.ac << END
AC_INIT([$me], [1.0])
AM_INIT_AUTOMAKE
AC_PROG_CC
required=cc
. ./defs || Exit 1
-cat > configure.in << END
+cat > configure.ac << END
AC_INIT([$me], [1.0])
AM_INIT_AUTOMAKE
AC_PROG_CC
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_PROG_CC
AM_CONDITIONAL([FOOTEST], [false])
AC_OUTPUT
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_PROG_CC
AM_CONDITIONAL([FOOTEST], [false])
AC_OUTPUT
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_OUTPUT
END
required=cc
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_PROG_RANLIB
AC_PROG_CC
AC_OUTPUT
required='cc libtoolize'
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_PROG_CC
AC_PROG_LIBTOOL
AC_OUTPUT
required=cc
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_PROG_CC
AC_OUTPUT
END
required='libtoolize gcc'
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_PROG_CC
AC_PROG_LIBTOOL
AC_OUTPUT
}
EOF
-cat >>configure.in << 'EOF'
+cat >>configure.ac << 'EOF'
## These lines are activated for later tests
#: AC_CONFIG_LIBOBJ_DIR([lib])
AC_PROG_CC
# Invocation of AC_CONFIG_LIBOBJ_DIR may be necessary for reasons
# unrelated to Automake or Makefile.am layout.
-sed 's/#: //' configure.in >configure.int
-mv -f configure.int configure.in
+sed 's/#: //' configure.ac >configure.int
+mv -f configure.int configure.ac
$ACLOCAL
$AUTOCONF
## Test using LIBOBJS from a sibling directory. ##
## -------------------------------------------- ##
-sed 's/#x //; s/lib\/Makefile //' configure.in >configure.int
-mv -f configure.int configure.in
+sed 's/#x //; s/lib\/Makefile //' configure.ac >configure.int
+mv -f configure.int configure.ac
cat >Makefile.am <<'EOF'
SUBDIRS = src
## Test using LIBOBJS from parent directory. ##
## ----------------------------------------- ##
-sed 's/^.*src\/Makefile.*$//' configure.in >configure.int
-mv -f configure.int configure.in
+sed 's/^.*src\/Makefile.*$//' configure.ac >configure.int
+mv -f configure.int configure.ac
cat >Makefile.am <<'EOF'
AUTOMAKE_OPTIONS = subdir-objects
}
EOF
-cat >>configure.in << 'EOF'
+cat >>configure.ac << 'EOF'
## These lines are activated for later tests
#: AC_CONFIG_LIBOBJ_DIR([lib])
AC_PROG_CC
# Invocation of AC_CONFIG_LIBOBJ_DIR may be necessary for reasons
# unrelated to Automake or Makefile.am layout.
-sed 's/#: //' configure.in >configure.int
-mv -f configure.int configure.in
+sed 's/#: //' configure.ac >configure.int
+mv -f configure.int configure.ac
$ACLOCAL
$AUTOCONF
## Test using LTLIBOBJS from a sibling directory. ##
## ---------------------------------------------- ##
-sed 's/#x //; s/lib\/Makefile //' configure.in >configure.int
-mv -f configure.int configure.in
+sed 's/#x //; s/lib\/Makefile //' configure.ac >configure.int
+mv -f configure.int configure.ac
cat >Makefile.am <<'EOF'
SUBDIRS = src
## Test using LTLIBOBJS from parent directory. ##
## ------------------------------------------- ##
-sed 's/^.*src\/Makefile.*$//' configure.in >configure.int
-mv -f configure.int configure.in
+sed 's/^.*src\/Makefile.*$//' configure.ac >configure.int
+mv -f configure.int configure.ac
cat >Makefile.am <<'EOF'
AUTOMAKE_OPTIONS = subdir-objects
}
EOF
-cat >>configure.in << 'EOF'
+cat >>configure.ac << 'EOF'
## These lines are activated for later tests.
#: AC_CONFIG_LIBOBJ_DIR([lib])
AC_PROG_CC
# Invocation of AC_CONFIG_LIBOBJ_DIR may be necessary for reasons
# unrelated to Automake or Makefile.am layout.
-sed 's/#: //' configure.in >configure.int
-mv -f configure.int configure.in
+sed 's/#: //' configure.ac >configure.int
+mv -f configure.int configure.ac
$ACLOCAL
$AUTOCONF
## Test using ALLOCA from a sibling directory. ##
## ------------------------------------------- ##
-sed 's/#x //; s/lib\/Makefile //' configure.in >configure.int
-mv -f configure.int configure.in
+sed 's/#x //; s/lib\/Makefile //' configure.ac >configure.int
+mv -f configure.int configure.ac
cat >Makefile.am <<'EOF'
SUBDIRS = src
## Test using ALLOCA from parent directory. ##
## ---------------------------------------- ##
-sed 's/^.*src\/Makefile.*$//' configure.in >configure.int
-mv -f configure.int configure.in
+sed 's/^.*src\/Makefile.*$//' configure.ac >configure.int
+mv -f configure.int configure.ac
cat >Makefile.am <<'EOF'
AUTOMAKE_OPTIONS = subdir-objects
required=libtool
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_PROG_CC
AC_PROG_LIBTOOL
END
# We'll use calls to stat to get debugging information.
if stat /dev/null; then stat=stat; else stat=:; fi
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
FOOBAR=zardoz
AC_OUTPUT
END
# Sanity check.
$EGREP 'FOOBAR|zardoz' Makefile && fatal_ 'unexpected AC_SUBST in Makefile'
-echo 'AC_SUBST([FOOBAR])' >> configure.in
+echo 'AC_SUBST([FOOBAR])' >> configure.ac
# Modified configure dependencies must have the same timestamp of
# config.status and Makefile in order to trigger the bug.
# autoconf manual). Finally, we also sleep before touching, to ensure
# that the (possibly truncated) timestamps of config.status etc. are
# strictly newer than the non-truncated configure timestamp.
-$stat config.status Makefile configure.in
+$stat config.status Makefile configure.ac
$sleep
touch config.status
-touch -r config.status config.status Makefile configure.in
-$stat config.status Makefile configure.in
+touch -r config.status config.status Makefile configure.ac
+$stat config.status Makefile configure.ac
# Also, the race condition is triggered only when aclocal, automake
# and aclocal run fast enough to keep the timestamp of the generated
#!/bin/sh
set -ex
# aclocal shouldn't use our autoconf wrapper when extracting
-# the races from configure.in.
+# the races from configure.ac.
AUTOCONF='$AUTOCONF'; export AUTOCONF
$ACLOCAL "\$@"
touch -r config.status aclocal.m4
#!/bin/sh
set -ex
# automake shouldn't use our autoconf wrapper when extracting
-# the races from configure.in.
+# the races from configure.ac.
AUTOCONF='$AUTOCONF'; export AUTOCONF
$AUTOMAKE "\$@"
touch -r config.status Makefile.in
done
echo "SUBDIRS = $subdirs" > Makefile.am
-cat >configure.in <<EOF
+cat >configure.ac <<EOF
AC_INIT(`echo $subdirs | sed 's|\([a-z][a-z]*\).*|\1/\1.c|'`)
AC_CONFIG_AUX_DIR(.)
AM_INIT_AUTOMAKE($me, 1.0)
. ./defs || Exit 1
-cat > configure.in << END
+cat > configure.ac << END
AC_INIT([$me], [1.0])
AC_CONFIG_AUX_DIR([support])
AM_INIT_AUTOMAKE
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_PROG_CC
END
. ./defs || Exit 1
-cat >> configure.in <<'END'
+cat >> configure.ac <<'END'
AC_PROG_CC
AM_PROG_AR
AC_PROG_RANLIB
required=cc
. ./defs || Exit 1
-cat >> configure.in <<'END'
+cat >> configure.ac <<'END'
AC_PROG_CC
AM_PROG_AR
AC_PROG_RANLIB
: > config.guess
: > config.sub
-cat >> configure.in <<'END'
+cat >> configure.ac <<'END'
AC_PROG_CC
AM_PROG_AR
AC_PROG_RANLIB
. ./defs || Exit 1
-cat >> configure.in <<'END'
+cat >> configure.ac <<'END'
AC_PROG_CC
AM_PROG_AR
AC_PROG_RANLIB
. ./defs || Exit 1
-echo AC_PROG_CC >> configure.in
+echo AC_PROG_CC >> configure.ac
cat > Makefile.am << 'END'
bin_PROGRAMS = @programs@
required=cc
. ./defs || Exit 1
-cat >>configure.in <<EOF
+cat >>configure.ac <<EOF
AC_PROG_CC
AC_OUTPUT
EOF
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_SUBST([FOO], [c])
AC_OUTPUT
END
# This test does not require python.
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AM_PATH_PYTHON([], [:], [:])
AC_OUTPUT
END
pyvars='PYTHON_VERSION PYTHON_PLATFORM PYTHON_PREFIX PYTHON_EXEC_PREFIX
pkgpythondir pkgpyexecdir'
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_CONFIG_FILES([vars-got pythondir pyexecdir])
AM_PATH_PYTHON
AC_OUTPUT
py_site=$VIRTUAL_ENV/lib/python$py_version/site-packages
# We need control over the package name.
-cat > configure.in << END
+cat > configure.ac << END
AC_INIT([am_virtenv], [1.0])
AM_INIT_AUTOMAKE
AC_CONFIG_FILES([Makefile])
. ./defs || Exit 1
-echo 'AM_PATH_PYTHON' >> configure.in
+echo 'AM_PATH_PYTHON' >> configure.ac
cat > Makefile.am << 'END'
python_PYTHON = foo.py
required=python
. ./defs || Exit 1
-cat >>configure.in <<'EOF'
+cat >>configure.ac <<'EOF'
AM_PATH_PYTHON
AM_CONDITIONAL([ONE], [test "x$one" = x1])
AC_OUTPUT
# Python is not required for this test.
. ./defs || Exit 1
-cat >>configure.in <<'EOF'
+cat >>configure.ac <<'EOF'
m4_define([_AM_PYTHON_INTERPRETER_LIST], [IShouldNotExist1 IShouldNotExist2])
AM_PATH_PYTHON
# The following be executed only after the first run, once a
grep 'checking for IShouldNotExist2' stdout
grep 'no suitable Python interpreter found' stderr
-sed 's/AM_PATH_PYTHON/AM_PATH_PYTHON(,,:)/' configure.in >configure.int
-mv -f configure.int configure.in
+sed 's/AM_PATH_PYTHON/AM_PATH_PYTHON(,,:)/' configure.ac >configure.int
+mv -f configure.int configure.ac
$ACLOCAL --force
$AUTOCONF --force
# This one should define PYTHON as ":" and exit successfully.
required=python
. ./defs || Exit 1
-cat >>configure.in <<'EOF'
+cat >>configure.ac <<'EOF'
AM_PATH_PYTHON
AC_OUTPUT
EOF
required=python
. ./defs || Exit 1
-cat >>configure.in <<EOF
+cat >>configure.ac <<EOF
AM_PATH_PYTHON
AC_OUTPUT
EOF
# Python is not required for this test.
. ./defs || Exit 1
-cat >>configure.in <<EOF
+cat >>configure.ac <<EOF
AM_PATH_PYTHON
AC_OUTPUT
EOF
# Python is not required for this test.
. ./defs || Exit 1
-cat >>configure.in <<EOF
+cat >>configure.ac <<EOF
# Hopefully the Python team will never release such a version.
AM_PATH_PYTHON([9999.9])
AC_OUTPUT
required=python
. ./defs || Exit 1
-cat >>configure.in << 'END'
+cat >>configure.ac << 'END'
# Hopefully the Python team will never release such a version.
AM_PATH_PYTHON([9999.9])
AC_OUTPUT
# Python is not required for this test.
. ./defs || Exit 1
-cat >>configure.in <<\EOF
+cat >>configure.ac <<\EOF
AM_PATH_PYTHON(,, [echo "$PYTHON" > py])
AC_OUTPUT
EOF
# Python is not required for this test.
. ./defs || Exit 1
-cat >>configure.in <<\EOF
+cat >>configure.ac <<\EOF
# Hopefully the Python team will never release such a version.
AM_PATH_PYTHON([9999.9], [], [echo "$PYTHON" > py])
AC_OUTPUT
required=python
. ./defs || Exit 1
-cat >>configure.in <<'EOF'
+cat >>configure.ac <<'EOF'
# $PYTHON is supposed to be properly set in ACTION-IF-TRUE.
AM_PATH_PYTHON(, [$PYTHON -V >py-version 2>&1])
AC_OUTPUT
required=python
. ./defs || Exit 1
-cat >>configure.in <<'EOF'
+cat >>configure.ac <<'EOF'
# $PYTHON is supposed to be properly set in ACTION-IF-TRUE.
AM_PATH_PYTHON([0.0], [$PYTHON -c 'print("%u:%u" % (1-1, 2**0))' > py.out])
AC_OUTPUT
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_PROG_CC
AM_CONDITIONAL(ONE, true)
AM_CONDITIONAL(TWO, false)
magic2=__MagicStringTwo__
magic3=%%MagicStringThree%%
-cat > configure.in <<END
+cat > configure.ac <<END
AC_INIT([$me], [1.0])
AM_INIT_AUTOMAKE
AC_CONFIG_FILES([$mkfile sub/$mkfile])
# - either a file in $(am__configure_deps) has been updated ...
$sleep
-echo "AC_SUBST([FOO])" >> configure.in
+echo "AC_SUBST([FOO])" >> configure.ac
$MAKE
$FGREP FOO $mkfile # For debugging.
$FGREP $magic1 $mkfile
magic2=__MagicStringTwo__
magic3=%%MagicStringThree%%
-cat > configure.in <<END
+cat > configure.ac <<END
AC_INIT([$me], [1.0])
AM_INIT_AUTOMAKE
AC_CONFIG_FILES([$mkfile sub/$mkfile])
# - either a file in $(am__configure_deps) has been updated ...
$sleep
-echo "AC_SUBST([FOO])" >> configure.in
+echo "AC_SUBST([FOO])" >> configure.ac
$MAKE -f $mkfile
$FGREP FOO $mkfile # For debugging.
$FGREP $magic1 $mkfile
. ./defs || Exit 1
-cat >> configure.in <<'END'
+cat >> configure.ac <<'END'
AC_OUTPUT
END
cd build
../configure
# He wants to verify that the rules he's written to rebuild a file
-# included by configure.in works also in VPATH builds.
+# included by configure.ac works also in VPATH builds.
rm -f ../foobar.am
$MAKE
grep '= foobar was here =' ../Makefile.in
. ./defs || Exit 1
-echo AC_OUTPUT >> configure.in
+echo AC_OUTPUT >> configure.ac
$ACLOCAL
$AUTOCONF
. ./defs || Exit 1
-cat >> configure.in <<'END'
+cat >> configure.ac <<'END'
AC_CONFIG_FILES([sub1/Makefile sub2/Makefile])
AC_OUTPUT
END
. ./defs || Exit 1
-echo AC_OUTPUT >> configure.in
+echo AC_OUTPUT >> configure.ac
$ACLOCAL
$AUTOCONF
. ./defs || Exit 1
-cat >> configure.in <<'END'
+cat >> configure.ac <<'END'
FOO_MACRO
AC_OUTPUT
END
$sleep
-sed -e "s|FOO_MACRO|$macro_value|" configure.in > t
-mv -f t configure.in
+sed -e "s|FOO_MACRO|$macro_value|" configure.ac > t
+mv -f t configure.ac
rm -f m4/foo.m4
using_gmake || $MAKE Makefile
required=cc
. ./defs || Exit 1
-cat >> configure.in <<'END'
+cat >> configure.ac <<'END'
AC_PROG_CC
MY_MACROS
AC_OUTPUT
required=cc
. ./defs || Exit 1
-cat >> configure.in <<'END'
+cat >> configure.ac <<'END'
AC_CONFIG_HEADERS([config.h])
AC_PROG_CC
MY_MACROS
required=cc
. ./defs || Exit 1
-cat >> configure.in <<'END'
+cat >> configure.ac <<'END'
AC_CONFIG_HEADERS([config.h])
AC_PROG_CC
MY_MACROS
. ./defs || Exit 1
-cat >> configure.in <<'END'
+cat >> configure.ac <<'END'
m4_include([foobar.m4])
AC_OUTPUT
END
cd build
../configure
# He wants to verify that the rules he's written to rebuild a file
-# included by configure.in works also in VPATH builds.
+# included by configure.ac works also in VPATH builds.
rm -f ../foobar.m4
$MAKE
grep ': foobar was here :' ../configure
. ./defs || Exit 1
-cat >> configure.in <<'END'
+cat >> configure.ac <<'END'
MY_MACRO
AC_OUTPUT
END
. ./defs || Exit 1
-echo AC_OUTPUT >> configure.in
+echo AC_OUTPUT >> configure.ac
cat > Makefile.am <<'END'
include foo.am
. ./defs || Exit 1
-cat >> configure.in <<'END'
+cat >> configure.ac <<'END'
MY_MACRO
AC_OUTPUT
END
. ./defs || Exit 1
-cat >> configure.in <<'END'
+cat >> configure.ac <<'END'
MY_MACRO
AC_OUTPUT
END
sed -e 's/BAR_MACRO/QUUX_MACRO/' -e 's/MY_MACRO/A_MACRO/' \
m4/macros.m4 > m4/defs.m4
rm -f m4/macros.m4 m4/bar.m4
-sed -e 's/BAR_MACRO/QUUX_MACRO/' -e 's/MY_MACRO/A_MACRO/' configure.in > t
-mv -f t configure.in
+sed -e 's/BAR_MACRO/QUUX_MACRO/' -e 's/MY_MACRO/A_MACRO/' configure.ac > t
+mv -f t configure.ac
using_gmake || $MAKE Makefile
$MAKE test
$MAKE distdir
. ./defs || Exit 1
-cat >> configure.in <<'END'
+cat >> configure.ac <<'END'
MY_MACRO
AC_OUTPUT
END
$sleep
-for f in m4/macros.m4 configure.in; do
+for f in m4/macros.m4 configure.ac; do
sed -e 's/MY_MACRO/YOUR_MACRO/' $f > t
mv -f t $f
done
. ./defs || Exit 1
-cat >> configure.in <<'END'
+cat >> configure.ac <<'END'
m4_include([subdirs.m4])
AC_SUBST([MAGIC], [magic])
AC_OUTPUT
sub/GNUmakefile.in sub/GNUmakefile
}
-cat > configure.in <<END
+cat > configure.ac <<END
AC_INIT([$me], [1.0])
AM_INIT_AUTOMAKE
AC_CONFIG_FILES([GNUmakefile sub/GNUmakefile])
debug_info
$sleep
-sed "s|magic|$magic1|" configure.in > t
-mv -f t configure.in
+sed "s|magic|$magic1|" configure.ac > t
+mv -f t configure.ac
cd sub
$MAKE
cd ..
. ./defs || Exit 1
-cat > configure.in <<END
+cat > configure.ac <<END
AC_INIT([$me], [1.0])
AM_INIT_AUTOMAKE([foreign -Wall -Werror])
AC_CONFIG_FILES([Makefile sub/Makefile])
ACLOCAL=false AUTOMAKE=false AUTOCONF=false $MAKE -e
$sleep
-sed "s|magic|magic2|" configure.in > t
-mv -f t configure.in
+sed "s|magic|magic2|" configure.ac > t
+mv -f t configure.ac
cd sub
AUTOMAKE="$AUTOMAKE" ACLOCAL="$ACLOCAL" $MAKE -e Makefile
grep -i magic configure Makefile.in Makefile sub/Makefile.in sub/Makefile
}
-cat >> configure.in <<'END'
+cat >> configure.ac <<'END'
AC_CONFIG_FILES([sub/Makefile])
AC_SUBST([MAGIC], [magic])
AC_OUTPUT
debug_info
$sleep
-sed "s|magic|$magic1|" configure.in > t
-mv -f t configure.in
+sed "s|magic|$magic1|" configure.ac > t
+mv -f t configure.ac
cd sub
$remake
cd ..
grep -i magic configure build.in build.mk sub/build.in sub/build.mk
}
-cat > configure.in <<END
+cat > configure.ac <<END
AC_INIT([$me], [1.0])
AM_INIT_AUTOMAKE
AC_CONFIG_FILES([build.mk:build.in])
debug_info
$sleep
-sed "s|magic|$magic1|" configure.in > t
-mv -f t configure.in
+sed "s|magic|$magic1|" configure.ac > t
+mv -f t configure.ac
cd sub
$MAKE -f build.mk build.mk
cd ..
. ./defs || Exit 1
-cat > configure.in <<END
+cat > configure.ac <<END
AC_INIT([$me], [1.0])
AM_INIT_AUTOMAKE
AC_CONFIG_FILES([sub/Makefile])
remake="$MAKE Makefile"
fi
-cat >> configure.in <<END
+cat >> configure.ac <<END
m4_include([foo.m4])
AC_SUBST([FINGERPRINT], [my_fingerprint])
AC_OUTPUT
remake="$MAKE Makefile"
fi
-cat >> configure.in <<'END'
+cat >> configure.ac <<'END'
AC_OUTPUT
END
remake="$MAKE Makefile"
fi
-cat >> configure.in <<END
+cat >> configure.ac <<END
FINGERPRINT='my_fingerprint'
AC_SUBST([FINGERPRINT])
AC_OUTPUT
magic1=::MagicStringOne::
magic2=__MagicStringTwo__
-echo "AC_SUBST([FOO], [$magic1])" >> configure.in
+echo "AC_SUBST([FOO], [$magic1])" >> configure.ac
echo "@FOO@" > bar.in
-echo "AC_CONFIG_FILES([bar])" >> configure.in
+echo "AC_CONFIG_FILES([bar])" >> configure.ac
for i in 0 1 2 3 4 5 6 7 8 9; do
d=${d+"$d/"}sub$i
echo "SUBDIRS = sub$i" > Makefile.am
- echo "AC_CONFIG_FILES([$d/Makefile])" >> "$ocwd"/configure.in
- echo "AC_CONFIG_FILES([$d/bar])" >> "$ocwd"/configure.in
+ echo "AC_CONFIG_FILES([$d/Makefile])" >> "$ocwd"/configure.ac
+ echo "AC_CONFIG_FILES([$d/bar])" >> "$ocwd"/configure.ac
mkdir sub$i
cd sub$i
echo "$d: @FOO@" > bar.in
done
-echo AC_OUTPUT >> "$ocwd"/configure.in
+echo AC_OUTPUT >> "$ocwd"/configure.ac
: > Makefile.am
unset d i
bottom=`pwd`
bar_in_list=`find . -name bar.in | LC_ALL=C sort`
bar_list=`echo "$bar_in_list" | sed 's/\.in$//'`
-cat configure.in # For debugging.
+cat configure.ac # For debugging.
$ACLOCAL
$AUTOMAKE
done
$sleep
-sed "s/$magic1/$magic2/" configure.in >configure.tmp
-mv -f configure.tmp configure.in
+sed "s/$magic1/$magic2/" configure.ac >configure.tmp
+mv -f configure.tmp configure.ac
cd "$bottom"
$MAKE
skip_ "make doesn't support any \"include\" directive"
fi
-cat > configure.in <<END
+cat > configure.ac <<END
AC_INIT([$me], [1.0])
AM_INIT_AUTOMAKE
AC_CONFIG_FILES([zardoz])
$sleep
sed 's/^\(AC_CONFIG_FILES\)(.*/\1([zardoz:top.in:quux.in:bot.in])/' \
- <configure.in >t
-mv -f t configure.in
-cat configure.in # For debugging.
+ <configure.ac >t
+mv -f t configure.ac
+cat configure.ac # For debugging.
sed '/^#H:/d' zardoz.am > quux.am
echo 'FOO = dummy' >> quux.am
echo 'BAR = $(BAZ)' > top.in
fingerprint='=/FiNgErPrInT/='
-cat > configure.in <<END
+cat > configure.ac <<END
AC_INIT([$me], [1.0])
AM_INIT_AUTOMAKE
AC_CONFIG_FILES([sub/Makefile])
. ./defs || Exit 1
-cat > configure.in <<END
+cat > configure.ac <<END
AC_INIT([$me], [1.0])
AM_INIT_AUTOMAKE
AC_CONFIG_FILES([sub/Makefile])
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_CONFIG_FILES([sub/foo])
AC_OUTPUT
END
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_CONFIG_FILES([sub/foo])
AC_OUTPUT
END
. ./defs || Exit 1
-cat >>configure.in <<'EOF'
+cat >>configure.ac <<'EOF'
# Rebuild rule are ok until make dist, but not afterwards.
if test ! -f rebuild_ok; then
ACLOCAL=false
remake="$MAKE Makefile"
fi
-cat >>configure.in <<'EOF'
+cat >>configure.ac <<'EOF'
AM_MAINTAINER_MODE
m4_include([foo.m4])
if test ! -f rebuild_ok; then
# triggered by default. ($MAKE will fail if they are, because the
# tools are set to false.)
$sleep
-touch aclocal.m4 Makefile.am configure.in foo.m4
+touch aclocal.m4 Makefile.am configure.ac foo.m4
$remake
# Make sure the rebuild rule for Makefile is triggered.
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_CONFIG_FILES([sub/Makefile])
AC_OUTPUT
END
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_CONFIG_FILES([sub/Makefile])
AC_OUTPUT
END
. ./defs || Exit 1
-mv -f configure.in configure.stub
+mv -f configure.ac configure.stub
cat > Makefile.am <<'END'
all-local: foo
CLEANFILES = foo
END
-cat configure.stub - > configure.in <<'END'
+cat configure.stub - > configure.ac <<'END'
AC_OUTPUT
END
rm -f bar
-# Modify Makefile.am and configure.in.
+# Modify Makefile.am and configure.ac.
$sleep
test ! -r bar
END
-cat $srcdir/configure.stub - > $srcdir/configure.in <<'END'
+cat $srcdir/configure.stub - > $srcdir/configure.ac <<'END'
AC_CONFIG_FILES([quux])
AC_SUBST([QUUX], [Zardoz])
AC_OUTPUT
$MAKE # This should place aclocal flags in Makefile.
grep '.*-I m4' Makefile # Sanity check.
-# Modify configure.in and aclocal.m4.
+# Modify configure.ac and aclocal.m4.
$sleep
-cat $srcdir/configure.stub - > $srcdir/configure.in <<'END'
+cat $srcdir/configure.stub - > $srcdir/configure.ac <<'END'
AC_CONFIG_FILES([quux])
MY_CUSTOM_MACRO
AC_OUTPUT
# Modify Makefile.am, remove aclocal.m4, and add a new m4 file to
# the directory of extra m4 files considered by aclocal. This new
-# file should now provide a macro required by configure.in and that
+# file should now provide a macro required by configure.ac and that
# was previously provided by aclocal.m4.
$sleep
# Modify Makefile.am, remove all the extra m4 files to considered
# by aclocal, and add an acinclude.m4 file. This last file should
-# now provide a macro required by configure.in, and that was
+# now provide a macro required by configure.ac, and that was
# previously provided by the extra m4 files considered by aclocal.
$sleep
. ./defs || Exit 1
-mv -f configure.in configure.stub
+mv -f configure.ac configure.stub
cat > Makefile.am <<'END'
all-local: foo
CLEANFILES = foo
END
-cat configure.stub - > configure.in <<'END'
+cat configure.stub - > configure.ac <<'END'
AC_OUTPUT
END
rm -f bar
-# Modify Makefile.am and configure.in.
+# Modify Makefile.am and configure.ac.
$sleep
test ! -r bar
END
-cat $srcdir/configure.stub - > $srcdir/configure.in <<'END'
+cat $srcdir/configure.stub - > $srcdir/configure.ac <<'END'
AC_CONFIG_FILES([quux])
AC_SUBST([QUUX], [Zardoz])
AC_OUTPUT
$MAKE # This should place aclocal flags in Makefile.
grep '.*-I m4' Makefile # Sanity check.
-# Modify configure.in and aclocal.m4.
+# Modify configure.ac and aclocal.m4.
$sleep
-cat $srcdir/configure.stub - > $srcdir/configure.in <<'END'
+cat $srcdir/configure.stub - > $srcdir/configure.ac <<'END'
AC_CONFIG_FILES([quux])
MY_CUSTOM_MACRO
AC_OUTPUT
# Modify Makefile.am, remove aclocal.m4, and add a new m4 file to
# the directory of extra m4 files considered by aclocal. This new
-# file should now provide a macro required by configure.in and that
+# file should now provide a macro required by configure.ac and that
# was previously provided by aclocal.m4.
$sleep
# Modify Makefile.am, remove all the extra m4 files to considered
# by aclocal, and add an acinclude.m4 file. This last file should
-# now provide a macro required by configure.in, and that was
+# now provide a macro required by configure.ac, and that was
# previously provided by the extra m4 files considered by aclocal.
$sleep
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
-# Test remake rules when configure.in or its prerequisites change.
+# Test remake rules when configure.ac or its prerequisites change.
# Keep in sync with the other sister tests `remake9*.test'.
. ./defs || Exit 1
remake_() { $MAKE Makefile && $MAKE foo.sh; }
fi
-cat >> configure.in <<END
+cat >> configure.ac <<END
FINGERPRINT=BadBadBad
AC_SUBST([FINGERPRINT])
AC_CONFIG_FILES([foo.sh:foo.in], [chmod a+x foo.sh])
nil:
.PHONY: nil
-$(srcdir)/configure.in: $(srcdir)/tweak-configure-in
+$(srcdir)/configure.ac: $(srcdir)/tweak-configure-in
$(SHELL) $(srcdir)/tweak-configure-in <$@ >$@-t
mv -f $@-t $@
EXTRA_DIST = $(srcdir)/tweak-configure-in
$MAKE # Should be a no-op.
$sleep
- sed "s/^\\(FINGERPRINT\\)=.*/\\1=$magic1/" $srcdir/configure.in >t
- mv -f t $srcdir/configure.in
+ sed "s/^\\(FINGERPRINT\\)=.*/\\1=$magic1/" $srcdir/configure.ac >t
+ mv -f t $srcdir/configure.ac
remake_
$FGREP FINGERPRINT Makefile # For debugging.
$FGREP $magic1 Makefile
$sleep
echo cat > $srcdir/tweak-configure-in # Make it a no-op again.
- sed "s/^\\(FINGERPRINT\\)=.*/\\1=DummyValue/" $srcdir/configure.in >t
- mv -f t $srcdir/configure.in
+ sed "s/^\\(FINGERPRINT\\)=.*/\\1=DummyValue/" $srcdir/configure.ac >t
+ mv -f t $srcdir/configure.ac
using_gmake || remake_
$MAKE distcheck
$FGREP $magic1 Makefile && Exit 1 # Sanity check.
magic1=::MagicStringOne::
magic2=__MagicStringTwo__
-cat >> configure.in <<END
+cat >> configure.ac <<END
AC_OUTPUT
END
remake_() { $MAKE Makefile && $MAKE foo.sh; }
fi
-cat >> configure.in <<END
+cat >> configure.ac <<END
FINGERPRINT='my_fingerprint'
AC_SUBST([FINGERPRINT])
AC_CONFIG_FILES([foo.sh:foo.in], [chmod a+x foo.sh])
remake_() { $MAKE Makefile && $MAKE foo.sh; }
fi
-cat >> configure.in <<END
+cat >> configure.ac <<END
FINGERPRINT='my_fingerprint'
AC_SUBST([FINGERPRINT])
AC_CONFIG_FILES([foo.sh:foo.in], [chmod a+x foo.sh])
required='cc bzip2'
. ./defs || Exit 1
-cat >configure.in <<END
+cat >configure.ac <<END
AC_INIT([$me], [1.0])
AM_INIT_AUTOMAKE([foreign dist-bzip2 no-dist-gzip no-dist-gzip dist-bzip2])
AC_PROG_CC
. ./defs || Exit 1
-cat > configure.in <<EOF
+cat > configure.ac <<EOF
AC_INIT
AM_INIT_GUILE_MODULE
EOF
. ./defs || Exit 1
-cat >> configure.in <<EOF
+cat >> configure.ac <<EOF
AC_CONFIG_FILES([one/Makefile two/Makefile])
AC_OUTPUT
EOF
required='libtoolize'
. ./defs || Exit 1
-cat > configure.in << 'END'
+cat > configure.ac << 'END'
AC_INIT([req2], [1.0])
AC_CONFIG_AUX_DIR([autoconf])
AM_INIT_AUTOMAKE
test -f autoconf/ltmain.sh # Sanity check.
rm -f autoconf/ltmain.sh
AUTOMAKE_fails --add-missing --copy
-grep '^configure\.in:7:.* required file.*autoconf/ltmain\.sh' stderr
+grep '^configure\.ac:7:.* required file.*autoconf/ltmain\.sh' stderr
:
mkdir 'unsafe$'
cd 'unsafe$'
-mv ../configure.in .
+mv ../configure.ac .
mv ../install-sh ../missing .
: > Makefile.am
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
dnl AC_PROG_CC and AC_PROG_CXX missing on purpose
AC_LIBOBJ([fsusage])
AC_LIBOBJ([mountlist])
do_check 'fully pre-populated testdir' \
'unset am_create_testdir' \
'test -f install-sh || Exit 1
- test -f configure.in || Exit 1
+ test -f configure.ac || Exit 1
case `pwd` in '"$cwd"'/_self.dir) : ;; *) Exit 1;; esac'
do_check 'testdir has the expected path' \
. ./defs || Exit 1
-cat >> configure.in <<'EOF'
+cat >> configure.ac <<'EOF'
AM_SILENT_RULES
AC_OUTPUT
EOF
unset enable_silent_rules || :
-: 'No explicit default in configure.in, enable by default in config.site'
+: 'No explicit default in configure.ac, enable by default in config.site'
$ACLOCAL
$AUTOCONF
$MAKE test-nosilent
$MAKE distclean
-: 'Disable by default in configure.in, enable by default in config.site'
+: 'Disable by default in configure.ac, enable by default in config.site'
-sed 's/^AM_SILENT_RULES/&([no])/' configure.in > configure.tmp
-mv -f configure.tmp configure.in
+sed 's/^AM_SILENT_RULES/&([no])/' configure.ac > configure.tmp
+mv -f configure.tmp configure.ac
$ACLOCAL
$AUTOCONF
$AUTOMAKE --add-missing
$MAKE test-nosilent
$MAKE distclean
-: 'Enable by default in configure.in, disable by default in config.site'
+: 'Enable by default in configure.ac, disable by default in config.site'
-sed 's/^AM_SILENT_RULES/&([yes])/' configure.in > configure.tmp
-mv -f configure.tmp configure.in
+sed 's/^AM_SILENT_RULES/&([yes])/' configure.ac > configure.tmp
+mv -f configure.tmp configure.ac
$ACLOCAL
$AUTOCONF
$AUTOMAKE --add-missing
mkdir sub
-cat >>configure.in <<'EOF'
+cat >>configure.ac <<'EOF'
AM_SILENT_RULES
AM_PROG_CC_C_O
AC_PROG_LEX
mkdir sub
-cat >>configure.in <<'EOF'
+cat >>configure.ac <<'EOF'
AM_SILENT_RULES
AM_PROG_CC_C_O
AC_PROG_CXX
mkdir sub
-cat >>configure.in <<'EOF'
+cat >>configure.ac <<'EOF'
AM_SILENT_RULES
AM_PROG_CC_C_O
AC_PROG_F77
. ./defs || Exit 1
-cat >>configure.in <<'EOF'
+cat >>configure.ac <<'EOF'
AM_SILENT_RULES
AC_PROG_CC
AM_PROG_CC_C_O
. ./defs || Exit 1
-cat > configure.in <<END
+cat > configure.ac <<END
AC_INIT([$me], [1.0])
# Yes, we repeat the warnings two times, both before and after
# 'silent-rules'. This is deliberate.
mkdir sub
-cat >>configure.in <<'EOF'
+cat >>configure.ac <<'EOF'
AM_SILENT_RULES
AC_PROG_YACC
AC_PROG_CC
mkdir sub
-cat >>configure.in <<'EOF'
+cat >>configure.ac <<'EOF'
AM_SILENT_RULES
AM_PROG_CC_C_O
AC_PROG_YACC
mkdir sub
-cat >>configure.in <<'EOF'
+cat >>configure.ac <<'EOF'
AM_SILENT_RULES
AC_CONFIG_FILES([sub/Makefile])
AC_PROG_CC
mkdir sub
-cat >>configure.in <<'EOF'
+cat >>configure.ac <<'EOF'
AM_SILENT_RULES
AC_CONFIG_FILES([sub/Makefile])
AC_PROG_CC
mkdir sub
-cat >>configure.in <<'EOF'
+cat >>configure.ac <<'EOF'
AM_SILENT_RULES
AC_CONFIG_FILES([sub/Makefile])
AC_PROG_CC
mkdir sub
-cat >>configure.in <<'EOF'
+cat >>configure.ac <<'EOF'
AM_SILENT_RULES
AC_CONFIG_FILES([sub/Makefile])
AC_PROG_CC
. ./defs || Exit 1
-cat >>configure.in <<'EOF'
+cat >>configure.ac <<'EOF'
AM_SILENT_RULES
AC_OUTPUT
EOF
$sleep
# Things should also work with -Wall in AM_INIT_AUTOMAKE.
-cat > configure.in <<'END'
+cat > configure.ac <<'END'
AC_INIT([silent6], [1.0])
AM_INIT_AUTOMAKE([-Wall])
AC_CONFIG_FILES([Makefile])
# AM_SILENT_RULES should turn off the warning.
$sleep
-echo 'AM_SILENT_RULES' >> configure.in
+echo 'AM_SILENT_RULES' >> configure.ac
$ACLOCAL
$AUTOMAKE
grep 'AM_V_GEN' Makefile.in
# The `silent-rules' option to AM_INIT_AUTOMAKE should work likewise.
$sleep
-cat > configure.in <<'END'
+cat > configure.ac <<'END'
AC_INIT([silent6], [1.0])
AM_INIT_AUTOMAKE([silent-rules])
AC_CONFIG_FILES([Makefile])
. ./defs || Exit 1
-cat >>configure.in <<'EOF'
+cat >>configure.ac <<'EOF'
AM_SILENT_RULES
AC_OUTPUT
EOF
required='makeinfo-html tex texi2dvi-o dvips'
. ./defs || Exit 1
-cat >>configure.in <<'EOF'
+cat >>configure.ac <<'EOF'
AM_SILENT_RULES
AC_OUTPUT
EOF
mkdir sub
-cat >>configure.in <<'EOF'
+cat >>configure.ac <<'EOF'
AM_SILENT_RULES
AC_CONFIG_FILES([sub/Makefile])
AC_PROG_CC
mkdir sub
-cat >>configure.in <<'EOF'
+cat >>configure.ac <<'EOF'
AM_SILENT_RULES
AC_PROG_CXX
AC_CONFIG_FILES([sub/Makefile])
mkdir sub
-cat >>configure.in <<'EOF'
+cat >>configure.ac <<'EOF'
AM_SILENT_RULES
AC_PROG_CXX
AC_CONFIG_FILES([sub/Makefile])
mkdir sub
-cat >>configure.in <<'EOF'
+cat >>configure.ac <<'EOF'
AM_SILENT_RULES
AC_PROG_F77
AC_CONFIG_FILES([sub/Makefile])
mkdir sub
-cat >>configure.in <<'EOF'
+cat >>configure.ac <<'EOF'
AM_SILENT_RULES
AC_PROG_FC
AC_CONFIG_FILES([sub/Makefile])
. ./defs || Exit 1
-echo AC_PROG_CC >> configure.in
+echo AC_PROG_CC >> configure.ac
cat > Makefile.am << 'END'
bin_PROGRAMS = foo
END
: > ltmain.sh
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_PROG_CC
AC_PROG_CXX
AC_PROG_YACC
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_PROG_CC
AM_PROG_CC_C_O
END
required='cc c++'
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_PROG_CC
AC_PROG_CXX
AC_CONFIG_FILES([sub/Makefile sub2/Makefile])
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_PROG_CC
AM_PROG_CC_C_O
AC_PROG_CXX
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_PROG_CC
AM_PROG_CC_C_O
AC_OUTPUT
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_PROG_CC
AM_PROG_CC_C_O
AM_CONDITIONAL([BAR], [true])
required='cc native'
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_PROG_CC
AM_PROG_CC_C_O
AC_OUTPUT
required='cc native'
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_PROG_CC
AM_PROG_CC_C_O
AC_OUTPUT
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_PROG_CC
AM_PROG_CC_C_O
AC_OUTPUT
. ./defs || Exit 1
-echo AC_PROG_CC >> configure.in
+echo AC_PROG_CC >> configure.ac
cat > Makefile.am << 'END'
bin_PROGRAMS = zardoz
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_PROG_CC
END
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_PROG_CC
END
# Make sure stamp-h* files are created where we expect
. ./defs || Exit 1
-cat >> configure.in << END
+cat >> configure.ac << END
AM_CONFIG_HEADER([1.h
2.h:config.hin
3.h:sdir1/config1.hin])
required=cc
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_PROG_CC
AC_CONFIG_HEADERS([sub/config.h])
AC_CONFIG_FILES([sub/bar.h])
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_PROG_CC
AM_PROG_AR
AC_PROG_RANLIB
: > config.guess
: > config.sub
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_PROG_CC
AM_PROG_AR
AC_PROG_LIBTOOL
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# The strictness specified in Makefile.am:AUTOMAKE_OPTIONS should
-# override that specified in configure.in:AM_INIT_AUTOMAKE, and both
+# override that specified in configure.ac:AM_INIT_AUTOMAKE, and both
# should override the strictness specified on the command line.
# NOTE: the current semantics might not be the best one (even if it has
# been in place for quite a long time); see also Automake bug #7673.
rm -rf autom4te*.cache
set_strictness '' Makefile.am
-set_strictness '' configure.in
+set_strictness '' configure.ac
ko --gnu
ko
ok --foreign
rm -rf autom4te*.cache
set_strictness 'gnu' Makefile.am
-set_strictness '' configure.in
+set_strictness '' configure.ac
ko --gnu
ko
ko --foreign
rm -rf autom4te*.cache
set_strictness '' Makefile.am
-set_strictness 'gnu' configure.in
+set_strictness 'gnu' configure.ac
ko --gnu
ko
ko --foreign
rm -rf autom4te*.cache
set_strictness 'foreign' Makefile.am
-set_strictness '' configure.in
+set_strictness '' configure.ac
ok --gnu
ok
ok --foreign
rm -rf autom4te*.cache
set_strictness '' Makefile.am
-set_strictness 'foreign' configure.in
+set_strictness 'foreign' configure.ac
ok --gnu
ok
ok --foreign
rm -rf autom4te*.cache
set_strictness 'gnu' Makefile.am
-set_strictness 'gnu' configure.in
+set_strictness 'gnu' configure.ac
ko --gnu
ko
ko --foreign
rm -rf autom4te*.cache
set_strictness 'foreign' Makefile.am
-set_strictness 'foreign' configure.in
+set_strictness 'foreign' configure.ac
ok --gnu
ok
ok --foreign
rm -rf autom4te*.cache
set_strictness 'foreign' Makefile.am
-set_strictness 'gnu' configure.in
+set_strictness 'gnu' configure.ac
ok --gnu
ok
ok --foreign
rm -rf autom4te*.cache
set_strictness 'gnu' Makefile.am
-set_strictness 'foreign' configure.in
+set_strictness 'foreign' configure.ac
ko --gnu
ko
ko --foreign
ok --gnu --foreign
set_strictness '' Makefile.am
-set_strictness 'gnu foreign' configure.in
+set_strictness 'gnu foreign' configure.ac
rm -rf autom4te*.cache
$ACLOCAL
ok
-set_strictness 'foreign gnu' configure.in
+set_strictness 'foreign gnu' configure.ac
rm -rf autom4te*.cache
$ACLOCAL
ko
-set_strictness '' configure.in
+set_strictness '' configure.ac
rm -rf autom4te*.cache
$ACLOCAL
set_strictness 'gnu foreign' Makefile.am
required=cc
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_PROG_CC
AC_OUTPUT
END
required='cc strip'
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_PROG_CC
AM_PROG_AR
AC_PROG_RANLIB
required='cc libtoolize strip'
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_PROG_CC
AM_PROG_AR
AC_PROG_LIBTOOL
required=gettext
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AM_GNU_GETTEXT
AM_CONDITIONAL(MAUDE, true)
ALL_LINGUAS=
. ./defs || Exit 1
-cat >>configure.in <<'END'
+cat >>configure.ac <<'END'
AM_CONDITIONAL([COND_OPT], [test "$want_opt" = yes])
AC_CONFIG_FILES([src/Makefile opt/Makefile])
AC_OUTPUT
. ./defs || Exit 1
-cat >>configure.in <<'END'
+cat >>configure.ac <<'END'
if test "$want_opt" = yes; then
MAYBE_OPT=opt
else
mkdir zot
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_CONFIG_FILES([zot/Makefile])
AC_OUTPUT
END
mkdir sub
-cat >> configure.in <<'END'
+cat >> configure.ac <<'END'
AC_CONFIG_FILES([sub/Makefile])
AC_OUTPUT
END
mkdir one
mkdir one/two
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_CONFIG_FILES([one/Makefile one/two/Makefile])
AC_OUTPUT
END
widdershins_SOURCES = x/z.c
END
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_PROG_CC
END
mkdir lib src
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_PROG_RANLIB
AC_PROG_CC
AM_PROG_AR
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_OUTPUT
END
# Now add new directories.
-# First we add a new directory by modifying configure.in directly.
-# We update configure.in *before* updating sub/Makefile.am; subdir8.test
+# First we add a new directory by modifying configure.ac directly.
+# We update configure.ac *before* updating sub/Makefile.am; subdir8.test
# does it in the other way: it updates confiles.m4 (which is m4_included
-# by configure.in there) after Makefile.am.
+# by configure.ac there) after Makefile.am.
# Modified configure dependencies must be newer than config.status.
$sleep
-sed <configure.in >configure.tmp -e '/^AC_OUTPUT$/i\
+sed <configure.ac >configure.tmp -e '/^AC_OUTPUT$/i\
AC_CONFIG_FILES([maude/Makefile])\
m4_include([confile.m4])\
' # Last newline required by older OpenBSD sed.
-mv -f configure.tmp configure.in
+mv -f configure.tmp configure.ac
-cat configure.in # For debugging.
+cat configure.ac # For debugging.
: > confile.m4
test -f maude/Makefile
# Then we add a new directory by modifying a file included (through
-# `m4_include') by configure.in.
+# `m4_include') by configure.ac.
mkdir maude2
# Modified configure dependencies must be newer than config.status.
$sleep
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AM_CONFIG_HEADER([sub/config.h:sub/config.hin])
AC_OUTPUT
END
mkdir obj
-cat >>configure.in << 'END'
+cat >>configure.ac << 'END'
AC_CONFIG_FILES([obj/Makefile])
AC_OUTPUT
END
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
m4_include([confiles.m4])
MORE_DEFS
AC_OUTPUT
# Now add new directories.
# The first step users typically do when adding a new subdir is
-# editing configure.in. That is already tested by subdir5.test,
+# editing configure.ac. That is already tested by subdir5.test,
# though, so here we try to just edit a file that is included by
-# configure.in, without touching configure.in itself.
+# configure.ac, without touching configure.ac itself.
mkdir sub/maude
cat > sub/maude/Makefile.am << 'END'
: > maude/Makefile.am
# Update confiles.m4 *after* updating sub/Makefile.am; subdir5.test do
-# it in the other way: it updates configure.in before Makefile.am.
+# it in the other way: it updates configure.ac before Makefile.am.
# We sleep here because modified configure dependencies must be newer
# than config.status.
$sleep
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_CONFIG_FILES([src/subdir/Makefile src/subdir2/Makefile])
AC_OUTPUT
END
mkdir lib
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_CONFIG_FILES([lib/Makefile])
AC_PROG_RANLIB
AC_PROG_CC
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_PROG_CC
AM_PROG_CC_C_O
END
required=gcc
. ./defs || Exit 1
-cat > configure.in << END
+cat > configure.ac << END
AC_INIT([$me], [1.0])
AM_INIT_AUTOMAKE([subdir-objects])
required=cc
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_PROG_CC
AM_PROG_CC_C_O
AC_OUTPUT
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_PROG_CC
AM_PROG_CC_C_O
END
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_PROG_CC
AM_PROG_CC_C_O
END
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_PROG_CXX
END
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_PROG_CC
AM_PROG_CC_C_O
AC_PROG_CXX
required=cc
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_CONFIG_FILES([generic/Makefile])
AC_PROG_CC
AM_PROG_CC_C_O
required=cc
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AM_PROG_CC_C_O
AC_OUTPUT
END
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_PROG_CC
AM_PROG_CC_C_O
AC_OUTPUT
. ./defs || Exit 1
-cat > configure.in << END
+cat > configure.ac << END
AC_INIT([$me], [1.0])
AC_CONFIG_AUX_DIR([tools])
AM_INIT_AUTOMAKE
required='c++ libtoolize'
. ./defs || Exit 1
-cat > configure.in << END
+cat > configure.ac << END
AC_INIT([$me], [1.0])
AM_INIT_AUTOMAKE([subdir-objects])
AC_PROG_CXX
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_PROG_CC
AM_CONDITIONAL([FOO1], [some test])
AM_CONDITIONAL([FOO2], [some test])
required='cc yacc'
. ./defs || Exit 1
-cat >>configure.in <<'END'
+cat >>configure.ac <<'END'
AC_PROG_CC
AC_CONFIG_SUBDIRS([lib])
AC_OUTPUT
])
EOF
-cat >>configure.in <<'END'
+cat >>configure.ac <<'END'
AC_CONFIG_SUBDIRS([lib])
FOO
END
])
EOF
-cat >>configure.in <<'END'
+cat >>configure.ac <<'END'
AC_CONFIG_SUBDIRS([sub])
AC_OUTPUT
END
EXTRA_DIST = subpkg/foobar
END
-cat >>configure.in <<'END'
+cat >>configure.ac <<'END'
AC_CONFIG_SUBDIRS([subpkg])
AC_OUTPUT
END
echo SUBDIRS = >subpkg/Makefile.am
-cat >subpkg/configure.in <<'END'
+cat >subpkg/configure.ac <<'END'
AC_INIT([subpkg], [1.0])
AM_INIT_AUTOMAKE
AC_CONFIG_FILES([Makefile])
fi
END
-cat >>configure.in <<'END'
+cat >>configure.ac <<'END'
AC_CONFIG_SUBDIRS([subpkg])
AC_OUTPUT
END
EXTRA_DIST = foobar dir
END
-cat >subpkg/configure.in <<'END'
+cat >subpkg/configure.ac <<'END'
AC_INIT([subpkg], [1.0])
AM_INIT_AUTOMAKE
AC_CONFIG_FILES([Makefile])
# Literal backslash for use by grep.
bs='\\'
-cat >> configure.in <<END
+cat >> configure.ac <<END
AC_SUBST([A], [''])
AC_SUBST([$v1], [''])
AC_SUBST([$v2], [''])
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
dnl This test used to have the following lines, which cannot have
dnl worked sensibly with Autoconf for years, however:
dnl AC_SUBST($1)
required=cc
. ./defs || Exit 1
-cat >> configure.in <<'EOF'
+cat >> configure.ac <<'EOF'
AC_PROG_CC
AM_PROG_AR
AC_PROG_RANLIB
. ./defs || Exit 1
-cat >> configure.in <<'EOF'
+cat >> configure.ac <<'EOF'
myrule="\
foo: bar
echo making \$@ from bar
. ./defs || Exit 1
-cat >>configure.in <<'END'
+cat >>configure.ac <<'END'
AC_PROG_CC
AC_SUBST([substed1])
AC_SUBST([substed2])
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_SUBST([CC], [whocares])
AC_OUTPUT
END
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_SUBST([CC], [whocares])
AC_OUTPUT
END
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_CONFIG_SOURCE([fakelib.c])
AC_PROG_CC
AM_PROG_AR
plan_ 8
-cat >> configure.in <<'END'
+cat >> configure.ac <<'END'
AC_PROG_CC
AC_OUTPUT
END
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_PROG_CC
AC_PROG_RANLIB
END
if $use_arlib; then
am_warns=
- echo AM_PROG_AR >> configure.in
+ echo AM_PROG_AR >> configure.ac
: > ar-lib
else
am_warns=-Wno-extra-portability
plan_ 7
-cat >>configure.in <<EOF
+cat >>configure.ac <<EOF
AC_PROG_CC
AC_PROG_YACC
AM_PROG_AR
plan_ 10
-cat >>configure.in <<EOF
+cat >>configure.ac <<EOF
AC_PROG_CC
AC_OUTPUT
EOF
required=cc
. ./defs || Exit 1
-cat >>configure.in <<EOF
+cat >>configure.ac <<EOF
AC_PROG_CC
AC_OUTPUT
EOF
required=cc
. ./defs || Exit 1
-cat >>configure.in <<EOF
+cat >>configure.ac <<EOF
AC_PROG_CC
AM_PROG_CC_C_O
AC_OUTPUT
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_PROG_CC
AM_PROG_AR
AC_PROG_LIBTOOL
plan_ 10
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_PROG_CXX
AC_OUTPUT
END
required='cc libtool'
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_SUBST([LINK], [:])
AM_PROG_AR
AC_PROG_LIBTOOL
required=GNUmake # Other makes might not grok dot-less suffix rules.
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
# $(LINK) is not defined automatically by Automake, since the *_SOURCES
# variables don't contain any known extension (.c, .cc, .f, ...).
# So we need this hack -- but since such an hack can also serve as a
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
# $(LINK) is not defined automatically by Automake, since the *_SOURCES
# variables don't contain any known extension (.c, .cc, .f ...),
# So we need this hack -- but since such an hack can also serve as a
plan_ 10
-cat >>configure.in <<'END'
+cat >>configure.ac <<'END'
AM_PROG_AR
AM_PROG_LIBTOOL
AC_OUTPUT
. ./defs || Exit 1
-cat >>configure.in << 'END'
+cat >>configure.ac << 'END'
AC_PROG_CC
END
: > Makefile.am
-cat > configure.in << 'END'
+cat > configure.ac << 'END'
AC_INIT([symlink], [1.0])
AC_CONFIG_AUX_DIR([subdir])
AM_INIT_AUTOMAKE
$ACLOCAL
AUTOMAKE_fails --add-missing
-grep '^configure\.in:3: .*missing.*error while making link' stderr
-grep '^configure\.in:3: .*install-sh.*error while making link' stderr
+grep '^configure\.ac:3: .*missing.*error while making link' stderr
+grep '^configure\.ac:3: .*install-sh.*error while making link' stderr
test `$FGREP -c 'error while making link' stderr` -eq 2
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_PROG_CC
AC_OUTPUT
END
required=etags
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_CONFIG_FILES([sub/Makefile])
AC_OUTPUT
END
plan_ 6
-cat >> configure.in <<END
+cat >> configure.ac <<END
AC_OUTPUT
END
fetch_tap_driver
-cat >> configure.in <<END
+cat >> configure.ac <<END
AC_OUTPUT
END
am_parallel_tests=yes
. ./defs || Exit 1
-cat >> configure.in << END
+cat >> configure.ac << END
AC_OUTPUT
END
fetch_tap_driver
-cat >> configure.in <<END
+cat >> configure.ac <<END
AC_OUTPUT
END
fetch_tap_driver
-cat >> configure.in <<END
+cat >> configure.ac <<END
AC_PROG_CC
AC_OUTPUT
END
fetch_tap_driver
-cat >> configure.in <<END
+cat >> configure.ac <<END
AC_SUBST([AM_TEST_LOG_DRIVER_FLAGS], ['--comments'])
AC_OUTPUT
END
fetch_tap_driver
-cat >> configure.in <<END
+cat >> configure.ac <<END
AC_PROG_CC
AC_OUTPUT
END
fetch_tap_driver
-cat >> configure.in <<END
+cat >> configure.ac <<END
AC_OUTPUT
END
plan_ 10
-cat >> configure.in <<END
+cat >> configure.ac <<END
AC_OUTPUT
END
fetch_tap_driver
-cat > configure.in <<END
+cat > configure.ac <<END
AC_INIT([GNU AutoTAP], [5.12], [bug-automake@gnu.org])
AM_INIT_AUTOMAKE([parallel-tests])
AC_CONFIG_FILES([Makefile])
cwd=`pwd` || fatal_ "couldn't get current working directory"
-echo AC_OUTPUT >> configure.in
+echo AC_OUTPUT >> configure.ac
cat > am--tar <<'END'
#!/bin/sh
. ./defs || Exit 1
-cat > configure.in << 'END'
+cat > configure.ac << 'END'
AC_INIT([tar], [1.0])
AM_INIT_AUTOMAKE([tar-ustar])
AC_CONFIG_FILES([Makefile])
. ./defs || Exit 1
-cat > configure.in << 'END'
+cat > configure.ac << 'END'
AC_INIT([tar2], [1.0])
AM_INIT_AUTOMAKE([tar-pax])
AC_CONFIG_FILES([Makefile])
. ./defs || Exit 1
-cat > configure.in << 'END'
+cat > configure.ac << 'END'
AC_INIT([tar2], [1.0])
AM_INIT_AUTOMAKE([tar-pax tar-v7])
AC_CONFIG_FILES([Makefile])
$ACLOCAL
AUTOMAKE_fails
-grep 'configure.in:2:.*mutually exclusive' stderr
+grep 'configure.ac:2:.*mutually exclusive' stderr
rm -rf autom4te.cache
-cat > configure.in << 'END'
+cat > configure.ac << 'END'
AC_INIT([tar2], [1.0])
AM_INIT_AUTOMAKE
AC_CONFIG_FILES([Makefile])
required=cc
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_PROG_CC
AM_PROG_CC_C_O
AC_OUTPUT
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_PROG_CC
END
cp "$am_scriptdir"/test-driver test-drivers/dflt \
|| fatal_ "failed to fetch auxiliary script test-driver"
-cat >> configure.in <<'END'
+cat >> configure.ac <<'END'
AC_SUBST([LOG_DRIVER], ['${SHELL} test-drivers/triv'])
AC_SUBST([TEST_LOG_DRIVER], ['${SHELL} test-drivers/dflt'])
AC_SUBST([SH_LOG_DRIVER], ['${my_drv}'])
cp "$am_scriptdir"/tap-driver.pl . \
|| fatal_ "failed to fetch auxiliary script tap-driver.pl"
-cat >> configure.in << END
+cat >> configure.ac << END
AM_CONDITIONAL([COND1], [:])
AM_CONDITIONAL([COND2], [false])
AM_CONDITIONAL([COND3], [false])
am_parallel_tests=yes
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_OUTPUT
END
cp "$testsrcdir"/trivial-test-driver . \
|| fatal_ "failed to fetch auxiliary script trivial-test-driver"
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_OUTPUT
END
cp "$testsrcdir"/trivial-test-driver . \
|| fatal_ "failed to fetch auxiliary script trivial-test-driver"
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_OUTPUT
END
cp "$testsrcdir"/trivial-test-driver . \
|| fatal_ "failed to fetch auxiliary script trivial-test-driver"
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_OUTPUT
END
am_parallel_tests=yes
. ./defs || Exit 1
-cat >> configure.in <<'END'
+cat >> configure.ac <<'END'
AC_PROG_CC
AC_CONFIG_FILES([sub1/Makefile sub2/Makefile])
AC_SUBST([X_LOG_DRIVER], [none])
am_parallel_tests=yes
. ./defs || Exit 1
-cat >> configure.in <<'END'
+cat >> configure.ac <<'END'
AC_SUBST([nihil], [])
AC_SUBST([ac_xfail_tests], ['x5.test x6$(test_suffix)'])
AC_CONFIG_FILES([sub1/Makefile sub2/Makefile])
am_parallel_tests=yes
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_OUTPUT
END
am_parallel_tests=yes
. ./defs || Exit 1
-cat >> configure.in <<'END'
+cat >> configure.ac <<'END'
AC_OUTPUT
END
mkdir $whereopts
cd $whereopts
mkdir tests
- unindent > configure.in << END
+ unindent > configure.ac << END
AC_INIT([$me], [1.0])
AC_CONFIG_AUX_DIR([$auxdir])
AM_INIT_AUTOMAKE([$ac_opts])
ocwd=`pwd` || fatal_ "cannot get current working directory"
mkdir src build
-mv install-sh missing configure.in src
+mv install-sh missing configure.ac src
rm -f depcomp
cd src
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_OUTPUT
END
am_parallel_tests=yes
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AM_CONDITIONAL([COND], [:])
AM_CONDITIONAL([COND2], [:])
END
am_parallel_tests=yes
. ./defs || Exit 1
-cat >> configure.in <<'END'
+cat >> configure.ac <<'END'
AC_OUTPUT
END
am_parallel_tests=yes
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_OUTPUT
END
am_parallel_tests=yes
. ./defs || Exit 1
-cat >> configure.in <<END
+cat >> configure.ac <<END
AC_OUTPUT
END
am_parallel_tests=yes
. ./defs || Exit 1
-cat >> configure.in <<END
+cat >> configure.ac <<END
AC_OUTPUT
END
am_parallel_tests=yes
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_OUTPUT
END
am_parallel_tests=yes
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_OUTPUT
END
am_parallel_tests=yes
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_OUTPUT
END
am_parallel_tests=yes
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_OUTPUT
END
am_parallel_tests=yes
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_OUTPUT
END
am_parallel_tests=yes
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_OUTPUT
END
am_parallel_tests=yes
. ./defs || Exit 1
-cat >> configure.in <<END
+cat >> configure.ac <<END
AC_OUTPUT
END
am_parallel_tests=yes
. ./defs || Exit 1
-cat >> configure.in <<END
+cat >> configure.ac <<END
AC_OUTPUT
END
am_parallel_tests=yes
. ./defs || Exit 1
-cat >> configure.in <<END
+cat >> configure.ac <<END
AC_OUTPUT
END
am_parallel_tests=yes
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_OUTPUT
END
am_parallel_tests=no
. ./defs || Exit 1
-cat >> configure.in <<END
+cat >> configure.ac <<END
AC_SUBST([PERL], ['$PERL'])
AC_OUTPUT
END
am_parallel_tests=yes
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_OUTPUT
END
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_OUTPUT
END
fatal_ "invalid use_colors='$use_colors'";;
esac
-cat > configure.in <<END
+cat > configure.ac <<END
AC_INIT([GNU AutoFoo], [7.1], [bug-automake@gnu.org])
AM_INIT_AUTOMAKE([$am_opts])
AC_CONFIG_FILES([Makefile])
See ./test-suite.log
${br}"
-echo AC_OUTPUT >> configure.in
+echo AC_OUTPUT >> configure.ac
cat > Makefile.am << 'END'
TEST_LOG_DRIVER = $(SHELL) $(srcdir)/trivial-test-driver
am_parallel_tests=yes
. ./defs || Exit 1
-mv configure.in configure.stub
+mv configure.ac configure.stub
cat > fail << 'END'
#!/bin/sh
END
chmod a+x fail
-cat configure.stub - > configure.in <<'END'
+cat configure.stub - > configure.ac <<'END'
AC_OUTPUT
END
echo TESTS = fail > sub/Makefile.am
mv fail sub
-cat configure.stub - > configure.in <<'END'
+cat configure.stub - > configure.ac <<'END'
AC_CONFIG_FILES([sub/Makefile])
AC_OUTPUT
END
required=cc
. ./defs || Exit 1
-cat >>configure.in <<'END'
+cat >>configure.ac <<'END'
AC_PROG_CC
AC_OUTPUT
END
required=cc
. ./defs || Exit 1
-cat >>configure.in <<'END'
+cat >>configure.ac <<'END'
AC_PROG_CC
AC_OUTPUT
END
required=makeinfo
. ./defs || Exit 1
-cat >> configure.in <<'END'
+cat >> configure.ac <<'END'
AC_OUTPUT
END
required='makeinfo tex texi2dvi-o'
. ./defs || Exit 1
-echo AC_OUTPUT >> configure.in
+echo AC_OUTPUT >> configure.ac
cat > Makefile.am << 'END'
info_TEXINFOS = subdir/main.texi
required='makeinfo tex texi2dvi'
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_OUTPUT
END
required='makeinfo tex texi2dvi'
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_OUTPUT
END
required='makeinfo tex'
. ./defs || Exit 1
-echo AC_OUTPUT >> configure.in
+echo AC_OUTPUT >> configure.ac
cat > Makefile.am << 'END'
info_TEXINFOS = main.texi
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_OUTPUT
END
required=makeinfo
. ./defs || Exit 1
-echo AC_OUTPUT >> configure.in
+echo AC_OUTPUT >> configure.ac
cat > Makefile.am << 'END'
info_TEXINFOS = main.texi sub/main.texi
required='makeinfo-html tex texi2dvi'
. ./defs || Exit 1
-cat >>configure.in <<\EOF
+cat >>configure.ac <<\EOF
AC_CONFIG_FILES([rec/Makefile])
# At the time of writing, Autoconf does not supplies any of these
required='makeinfo tex texi2dvi'
. ./defs || Exit 1
-cat > configure.in << END
+cat > configure.ac << END
AC_INIT([$me], [1.0])
AC_CONFIG_AUX_DIR([aux1])
AM_INIT_AUTOMAKE
required='makeinfo tex texi2dvi-o'
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_OUTPUT
END
required='makeinfo tex texi2dvi-o'
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_OUTPUT
END
required='makeinfo tex texi2dvi-o'
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_OUTPUT
END
required='makeinfo'
. ./defs || Exit 1
-echo AC_OUTPUT >> configure.in
+echo AC_OUTPUT >> configure.ac
cat > Makefile.am << 'END'
info_TEXINFOS = main.texi
required='makeinfo'
. ./defs || Exit 1
-echo AC_OUTPUT >> configure.in
+echo AC_OUTPUT >> configure.ac
cat > Makefile.am << 'END'
info_TEXINFOS = main.texi
TIME_STYLE="+%Y-%m-%d %H:%M:%S"
export TIME_STYLE
-echo AC_OUTPUT >> configure.in
+echo AC_OUTPUT >> configure.ac
cat > Makefile.am << 'END'
MA = ma
cat > Makefile.am << 'END'
info_TEXINFOS = bar.texi
END
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_SUBST([INFO_DEPS])
END
-rm -rf autom4te.cache # Make sure autoconf sees the configure.in update.
+rm -rf autom4te.cache # Make sure autoconf sees the configure.ac update.
AUTOMAKE_fails
-grep '^configure\.in:4:.*user variable.*INFO_DEPS' stderr
+grep '^configure\.ac:4:.*user variable.*INFO_DEPS' stderr
grep 'overrides Automake variable.*INFO_DEPS' stderr
$AUTOMAKE -Wno-override
required='makeinfo tex texi2dvi'
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_OUTPUT
END
@setfilename bar.info
EOF
-echo AC_OUTPUT >>configure.in
+echo AC_OUTPUT >>configure.ac
cat >makeinfo <<\EOF
#!/bin/sh
. ./defs || Exit 1
mkdir sub
-cat >>configure.in <<'END'
+cat >>configure.ac <<'END'
AC_CONFIG_FILES([sub/Makefile])
AC_OUTPUT
END
mkdir sub
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_OUTPUT
END
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AM_MAINTAINER_MODE
END
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AM_MAINTAINER_MODE
END
. ./defs || Exit 1
-cat > configure.in << END
+cat > configure.ac << END
AC_INIT([$me], [1.0])
AC_CONFIG_AUX_DIR([auxdir])
AM_INIT_AUTOMAKE
rm_f_is_silent_on_error=yes
fi
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_OUTPUT
END
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_OUTPUT
END
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
MACRO_1
MACRO_1_2
MACRO_1_2_3
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AM_PROG_UPC
AC_OUTPUT
END
. ./defs || Exit 1
-echo AC_PROG_CC >>configure.in
+echo AC_PROG_CC >>configure.ac
cat >Makefile.am <<'END'
bin_PROGRAMS = hello
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_PROG_CC
AM_PROG_UPC
AC_OUTPUT
required='valac cc GNUmake'
. ./defs || Exit 1
-cat >> configure.in <<'END'
+cat >> configure.ac <<'END'
AC_PROG_CC
AM_PROG_CC_C_O
AM_PROG_VALAC
required="valac GNUmake"
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_CONFIG_SRCDIR([hello.vala])
AC_PROG_CC
AM_PROG_VALAC([0.7])
[AC_SUBST([LIBTOOL], [:])])
END
-cat >> 'configure.in' << 'END'
+cat >> 'configure.ac' << 'END'
AC_PROG_CC
AC_PROG_CXX
AC_PROG_LIBTOOL
required="libtool"
. ./defs || Exit 1
-cat >> 'configure.in' << 'END'
+cat >> 'configure.ac' << 'END'
AC_PROG_CC
AM_PROG_AR
AC_PROG_LIBTOOL
mkdir src
-cat >> 'configure.in' << 'END'
+cat >> 'configure.ac' << 'END'
AC_PROG_CC
AM_PROG_CC_C_O
AC_PROG_LIBTOOL
mkdir src
-cat >> 'configure.in' << 'END'
+cat >> 'configure.ac' << 'END'
AC_PROG_CC
AM_PROG_CC_C_O
AC_PROG_LIBTOOL
required=libtoolize
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_PROG_CC
AC_PROG_LIBTOOL
AM_PROG_VALAC([0.0.1])
$AUTOCONF
./configure "VALAC=$cwd/valac" || Exit $?
-sed 's/AM_PROG_VALAC.*/AM_PROG_VALAC([9999.9])/' < configure.in >t
-mv -f t configure.in
+sed 's/AM_PROG_VALAC.*/AM_PROG_VALAC([9999.9])/' < configure.ac >t
+mv -f t configure.ac
$AUTOCONF --force
./configure "VALAC=$cwd/valac" && Exit 1
-sed 's/AM_PROG_VALAC.*/AM_PROG_VALAC([1.2.3])/' < configure.in >t
-mv -f t configure.in
+sed 's/AM_PROG_VALAC.*/AM_PROG_VALAC([1.2.3])/' < configure.ac >t
+mv -f t configure.ac
$AUTOCONF --force
./configure "VALAC=$cwd/valac" || Exit $?
mkdir src
-cat >> configure.in <<'END'
+cat >> configure.ac <<'END'
AC_PROG_CC
AM_PROG_CC_C_O
AM_PROG_VALAC([0.7.0])
required=libtoolize
. ./defs || Exit 1
-cat >>configure.in <<'END'
+cat >>configure.ac <<'END'
AM_PROG_AR
AC_PROG_LIBTOOL
AC_OUTPUT
. ./defs || Exit 1
-cat >>configure.in <<'END'
+cat >>configure.ac <<'END'
AC_PROG_RANLIB
AC_OUTPUT
END
. ./defs || Exit 1
-cat > configure.in << 'END'
+cat > configure.ac << 'END'
AC_INIT
AM_INIT_AUTOMAKE([sh-utils], [1.12o])
AC_CONFIG_FILES([Makefile])
. ./defs || Exit 1
-cat > configure.in << 'END'
+cat > configure.ac << 'END'
AC_INIT
AM_INIT_AUTOMAKE([sh-utils], [1.12o], [no])
AC_CONFIG_FILES([Makefile])
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# Test for a special setup where the package's version isn't defined
-# in configure.in. We want GNU Make for this test (part of the test
+# in configure.ac. We want GNU Make for this test (part of the test
# is to make sure Makefile.ins get rebuilt when a m4_included file
# changes -- we don't support this feature on non-GNU Makes).
required='makeinfo tex texi2dvi'
. ./defs || Exit 1
-cat >configure.in <<END
+cat >configure.ac <<END
m4_include([version.m4])
AC_INIT([$me], [THE_VERSION])
AM_INIT_AUTOMAKE
. ./defs || Exit 1
-echo 'AM_AUTOMAKE_VERSION([1.9])' >>configure.in
+echo 'AM_AUTOMAKE_VERSION([1.9])' >>configure.ac
$ACLOCAL 2>stderr && { cat stderr >&2; Exit 0; }
cat stderr >&2
$FGREP 'AM_INIT_AUTOMAKE([1.9])' stderr
TEX=false TEXI2DVI=false MAKEINFO=false
export TEX TEXI2DVI MAKEINFO
-cat > configure.in << END
+cat > configure.ac << END
AC_INIT([$me], [7.45.3a])
AM_INIT_AUTOMAKE
AC_CONFIG_FILES([Makefile])
(echo '\ex\a' | grep x) \
|| skip_ "grep doesn't work on input that is not pure text"
-cat > configure.in << END
+cat > configure.ac << END
AC_INIT([$me], [123.456])
AM_INIT_AUTOMAKE
AC_CONFIG_FILES([Makefile])
# Files required in gnu and/or gnits strictness.
touch README INSTALL NEWS AUTHORS ChangeLog COPYING THANKS
-cat > configure.in << END
+cat > configure.ac << END
AC_INIT([$me], [1.0])
m4_include([am-init-automake.m4])
AC_PROG_CC
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# The warnings specified in Makefile.am:AUTOMAKE_OPTIONS should override
-# those specified in configure.in:AM_INIT_AUTOMAKE, and both should
+# those specified in configure.ac:AM_INIT_AUTOMAKE, and both should
# override the warnings specified on the command line.
# NOTE: the current semantics might not be the best one (even if it has
# been in place for quite a long time); see also Automake bug #7673.
rm -rf autom4te*.cache
set_warnings '-Wno-portability' Makefile.am
-set_warnings '' configure.in
+set_warnings '' configure.ac
ok -Wportability
ok
rm -rf autom4te*.cache
set_warnings '' Makefile.am
-set_warnings '-Wno-portability' configure.in
+set_warnings '-Wno-portability' configure.ac
ok -Wportability
ok
rm -rf autom4te*.cache
set_warnings '-Wno-portability' Makefile.am
-set_warnings '-Wno-portability' configure.in
+set_warnings '-Wno-portability' configure.ac
ok -Wportability
rm -rf autom4te*.cache
set_warnings '-Wportability' Makefile.am
-set_warnings '' configure.in
+set_warnings '' configure.ac
ko
ko -Wno-portability
rm -rf autom4te*.cache
set_warnings '' Makefile.am
-set_warnings '-Wportability' configure.in
+set_warnings '-Wportability' configure.ac
ko
ko -Wno-portability
rm -rf autom4te*.cache
set_warnings '-Wportability' Makefile.am
-set_warnings '-Wportability' configure.in
+set_warnings '-Wportability' configure.ac
ko -Wno-portability
rm -rf autom4te*.cache
set_warnings '-Wno-portability' Makefile.am
-set_warnings '-Wportability' configure.in
+set_warnings '-Wportability' configure.ac
ok
ok -Wportability
rm -rf autom4te*.cache
set_warnings '-Wportability' Makefile.am
-set_warnings '-Wno-portability' configure.in
+set_warnings '-Wno-portability' configure.ac
ko
ko -Wno-portability
ko -Wno-portability -Wportability
set_warnings '' Makefile.am
-set_warnings '-Wportability -Wno-portability' configure.in
+set_warnings '-Wportability -Wno-portability' configure.ac
rm -rf autom4te*.cache
$ACLOCAL
ok
-set_warnings '-Wno-portability -Wportability' configure.in
+set_warnings '-Wno-portability -Wportability' configure.ac
rm -rf autom4te*.cache
$ACLOCAL
ko
-set_warnings '' configure.in
+set_warnings '' configure.ac
rm -rf autom4te*.cache
$ACLOCAL
set_warnings '-Wportability -Wno-portability' Makefile.am
cat $2
}
-set_am_opts '-Wportability' configure.in
+set_am_opts '-Wportability' configure.ac
set_am_opts 'foreign' Makefile.am
$ACLOCAL
# Files required in gnu strictness.
touch README INSTALL NEWS AUTHORS ChangeLog COPYING
-set_am_opts '-Wno-portability' configure.in
+set_am_opts '-Wno-portability' configure.ac
set_am_opts 'gnu' Makefile.am
AUTOMAKE_fails
# We want (almost) complete control over automake options.
AUTOMAKE="$am_original_AUTOMAKE --foreign -Werror"
-cat > configure.in <<END
+cat > configure.ac <<END
AC_INIT([$me], [1.0])
AM_INIT_AUTOMAKE([-Wno-zardoz])
AC_CONFIG_FILES([Makefile])
sed "s/^automake:/automake-$APIVERSION:/" stderr > t
mv -f t stderr
cat stderr >&2
-grep '^configure\.in:2:.* unknown warning category.*zardoz' stderr
+grep '^configure\.ac:2:.* unknown warning category.*zardoz' stderr
grep '^Makefile\.am:1:.* unknown warning category.*foobar' stderr
grep "^automake-$APIVERSION:.* unknown warning category.*bazquux" stderr
set_am_opts '' Makefile.am
rm -rf autom4te*.cache
-set_am_opts 'foreign -Wportability' configure.in
+set_am_opts 'foreign -Wportability' configure.ac
ko
rm -rf autom4te*.cache
-set_am_opts '-Wportability foreign' configure.in
+set_am_opts '-Wportability foreign' configure.ac
ko
rm -rf autom4te*.cache
-set_am_opts 'gnu -Wno-portability' configure.in
+set_am_opts 'gnu -Wno-portability' configure.ac
ok
rm -rf autom4te*.cache
-set_am_opts '-Wno-portability gnu' configure.in
+set_am_opts '-Wno-portability gnu' configure.ac
ok
rm -rf autom4te*.cache
-set_am_opts '' configure.in
+set_am_opts '' configure.ac
set_am_opts 'foreign -Wportability' Makefile.am
ko
. ./defs || Exit 1
-cat >>configure.in <<END
+cat >>configure.ac <<END
AC_CONFIG_FILES([sub/Makefile])
AC_OUTPUT
END
test `grep -v 'warnings are treated as errors' stderr | wc -l` = 3
# On fast machines the autom4te.cache created during the above run of
-# $AUTOMAKE is likely to have the same time stamp as the configure.in
-# created below; thus causing traces for the old configure.in to be
+# $AUTOMAKE is likely to have the same time stamp as the configure.ac
+# created below; thus causing traces for the old configure.ac to be
# used. We could do `$sleep', but it's faster to erase the
# directory. (Erase autom4te*.cache, not autom4te.cache, because some
# bogus installations of Autoconf use a versioned cache).
rm -rf autom4te*.cache
# If we add a global -Wnone, all warnings should disappear.
-cat >configure.in <<END
+cat >configure.ac <<END
AC_INIT([warnopts], [1.0])
AM_INIT_AUTOMAKE([-Wnone])
AC_CONFIG_FILES([Makefile sub/Makefile])
. ./defs || Exit 1
-echo AC_OUTPUT>>configure.in
+echo AC_OUTPUT>>configure.ac
: > Makefile.am
. ./defs || Exit 1
-cat >>configure.in <<\END
+cat >>configure.ac <<\END
AC_CONFIG_FILES([sub/Makefile])
AC_OUTPUT
END
. ./defs || Exit 1
-cat >>configure.in <<\END
+cat >>configure.ac <<\END
AC_CONFIG_FILES([sub/Makefile])
AC_OUTPUT
END
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
WHO_AM_I=17
END
zardoz_SOURCES = z.c x/z.c
END
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_PROG_CC
END
mkdir aux1 sub
-cat > configure.in << END
+cat > configure.ac << END
AC_INIT([$me], [1.0])
# 'aux' is not an acceptable file/directory name on Windows systems
AC_CONFIG_AUX_DIR([aux1])
required='cc yacc'
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_PROG_CC
AC_PROG_YACC
AC_OUTPUT
set -e
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_PROG_CXX
AC_PROG_YACC
AC_OUTPUT
set -e
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_PROG_CC
AC_PROG_YACC
AC_OUTPUT
set -e
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_PROG_CXX
AC_PROG_YACC
AC_CONFIG_FILES([sub1/Makefile sub2/Makefile])
required='cc yacc'
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_PROG_CC
AC_PROG_YACC
AC_CONFIG_FILES([sub1/Makefile sub2/Makefile])
set -e
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_PROG_CXX
AC_PROG_YACC
AC_OUTPUT
required='cc yacc'
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_PROG_CC
AC_PROG_YACC
AC_CONFIG_FILES([foo/Makefile bar/Makefile baz/Makefile])
END
}
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_PROG_CXX
AC_PROG_YACC
AC_CONFIG_FILES([foo/Makefile bar/Makefile baz/Makefile qux/Makefile])
required='cc yacc'
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_PROG_CC
AC_PROG_YACC
AC_OUTPUT
set -e
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_PROG_CC
AC_PROG_YACC
AC_OUTPUT
set -e
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_PROG_CC
AC_PROG_YACC
AC_OUTPUT
set -e
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_PROG_CC
AC_PROG_YACC
AC_OUTPUT
# triggers automake bug#7884.
useless_vpath_rebuild && skip_ "would trip on automake bug#7884"
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_PROG_CC
AM_PROG_CC_C_O
AC_PROG_YACC
required='cc yacc'
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_PROG_CC
AC_PROG_YACC
AC_OUTPUT
set -e
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_CONFIG_FILES([sub/Makefile])
AC_PROG_CC
AM_PROG_CC_C_O
set -e
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_PROG_CC
AC_PROG_CXX
AC_PROG_YACC
required='cc yacc'
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_PROG_CC
AC_PROG_YACC
AC_CONFIG_FILES([sub1/Makefile sub2/Makefile])
required='cc yacc'
. ./defs || Exit 1
-cat >> configure.in <<'EOF'
+cat >> configure.ac <<'EOF'
AM_MAINTAINER_MODE
AC_PROG_CC
AC_PROG_YACC
set -e
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_PROG_CC
AC_PROG_CXX
AC_PROG_YACC
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_PROG_CC
AC_PROG_YACC
END
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_PROG_CC
AC_PROG_YACC
END
# Run it here once and for all, since we are not going to modify
-# configure.in anymore.
+# configure.ac anymore.
$ACLOCAL
cat > Makefile.am <<'END'
required='cc yacc'
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_PROG_CC
AC_PROG_YACC
AC_OUTPUT
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_PROG_CC
AM_PROG_CC_C_O
AC_PROG_YACC
required='cc yacc'
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_PROG_CC
AC_PROG_YACC
AC_OUTPUT
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_PROG_CC
AM_PROG_CC_C_O
AC_PROG_YACC
required='cc yacc'
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_PROG_CC
AC_PROG_YACC
AC_OUTPUT
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_PROG_CXX
AC_PROG_YACC
END
required='cc yacc'
. ./defs || Exit 1
-cat >> configure.in << 'END'
+cat >> configure.ac << 'END'
AC_PROG_CC
AC_PROG_YACC
AC_OUTPUT
unset YFLAGS || :
-cat >> configure.in <<'END'
+cat >> configure.ac <<'END'
AC_PROG_CC
AC_PROG_YACC
AC_OUTPUT
. ./defs || Exit 1
-cat >> configure.in <<'END'
+cat >> configure.ac <<'END'
AC_PROG_CC
# `YFLAGS' is AC_SUBST'd by AC_PROG_YACC by default, but we
. ./defs || Exit 1
-cat >> configure.in <<'END'
+cat >> configure.ac <<'END'
AC_PROG_CC
AC_PROG_YACC
END
. ./defs || Exit 1
-cat >> configure.in <<'END'
+cat >> configure.ac <<'END'
AC_SUBST([CC], [false])
AC_PROG_YACC
AM_CONDITIONAL([COND], [test x"$cond" = x"yes"])
required='cc yacc'
. ./defs || Exit 1
-cat >> configure.in <<'END'
+cat >> configure.ac <<'END'
AC_PROG_CC
AC_PROG_YACC
AC_OUTPUT
. ./defs || Exit 1
-cat >> configure.in <<'END'
+cat >> configure.ac <<'END'
AC_PROG_CC
AC_PROG_YACC
END
# with `make -e' below.
unset YACC || :
-cat >> configure.in <<'END'
+cat >> configure.ac <<'END'
AC_SUBST([CC], [false])
# Simulate presence of Yacc using our fake-yacc script.
AC_SUBST([YACC], ['$(abs_top_srcdir)'/fake-yacc])
# with `make -e' below.
unset YACC || :
-cat >> configure.in <<'END'
+cat >> configure.ac <<'END'
AC_SUBST([CXX], [false])
# Simulate presence of Yacc using our fake-yacc script.
AC_SUBST([YACC], ['$(abs_top_srcdir)'/fake-yacc])