Tag
Hash :
71f8b2cb
Author :
Date :
2002-04-23T16:59:58
* m4/depout.m4 (_AM_OUTPUT_DEPENDENCY_COMMANDS): Grep the whole file for 'generated by automake', not only the first line. This accounts for post-processed Makefile.in's. * tests/postproc.test: New file. * tests/Makefile.am (TESTS): Add postproc.test.
#! /bin/sh
# Check to make sure we recognize a Makefile.in, even if post-processed
# and renamed.
. $srcdir/defs || exit 1
cat >configure.in <<'END'
AC_INIT([mumble], [0.1])
AM_INIT_AUTOMAKE
AC_PROG_CC
AC_CONFIG_FILES([myMakefile])
AC_OUTPUT
END
cat > myMakefile.am << 'END'
bin_PROGRAMS = fred
fred_SOURCES = fred.c
END
$ACLOCAL || exit 1
$AUTOCONF || exit 1
$AUTOMAKE myMakefile || exit 1
mv myMakefile.in myMakefile.old
echo '# Post-processed by post-processor 3.14.' > myMakefile.in
cat myMakefile.old >> myMakefile.in
./configure || exit 1
test -f .deps/fred.Po || test -f _deps/fred.Po || exit 1
: