configure.ac: move autoconf/automake helpers to build/

This commit is contained in:
Max Kellermann 2014-01-27 09:01:02 +01:00
parent 0ab66db7b9
commit 544c69c61c
4 changed files with 7 additions and 7 deletions

8
.gitignore vendored
View File

@ -12,26 +12,20 @@ Makefile
Makefile.in
aclocal.m4
autom4te.cache
compile
config.guess
config.h
config.h.in
config.log
config.mk
config.status
config.sub
config_detected.h
config_detected.mk
configure
configure.lineno
depcomp
depmode
install-sh
libtool
ltmain.sh
missing
mkinstalldirs
/test-driver
/build
/src/mpd
/systemd/mpd.service
stamp-h1

View File

@ -1213,6 +1213,8 @@ sparse-check:
# Test programs
#
TEST_SUITE_LOG = build/test-suite.log
if ENABLE_TEST
C_TESTS = \

View File

@ -119,6 +119,9 @@ for i in $ac_local_paths; do
fi
done
rm -rf config.cache build
mkdir build
echo " $ACLOCAL $ACLOCAL_FLAGS"
$ACLOCAL $ACLOCAL_FLAGS || exit 1

View File

@ -8,6 +8,7 @@ VERSION_REVISION=0
VERSION_EXTRA=0
AC_CONFIG_SRCDIR([src/Main.cxx])
AC_CONFIG_AUX_DIR(build)
AM_INIT_AUTOMAKE([foreign 1.11 dist-xz subdir-objects])
AM_SILENT_RULES
AC_CONFIG_HEADERS(config.h)