build: move automake "foreign" option to AM_INIT_AUTOMAKE

This works towards allowing using autoreconf(1) later.
This commit is contained in:
Jan Engelhardt 2012-10-27 17:42:40 +02:00 committed by Berke Viktor
parent a46df34a2a
commit e9c9bd4ebe
2 changed files with 2 additions and 2 deletions

View File

@ -90,7 +90,7 @@ if test "$?" != "0"; then
exit 4
fi
echo running $AUTOMAKE...
$AUTOMAKE -a --foreign
$AUTOMAKE -a
if test "$?" != "0"; then
echo automake failed, stopping.
exit 5

View File

@ -9,7 +9,7 @@ AC_CONFIG_HEADERS([config.h])
AC_CONFIG_SRCDIR([configure.ac])
AC_CONFIG_MACRO_DIR([m4])
AM_INIT_AUTOMAKE([1.9 dist-bzip2 subdir-objects no-define])
AM_INIT_AUTOMAKE([1.9 dist-bzip2 subdir-objects no-define foreign])
AC_USE_SYSTEM_EXTENSIONS
AM_MAINTAINER_MODE