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 Makefile.in
aclocal.m4 aclocal.m4
autom4te.cache autom4te.cache
compile
config.guess
config.h config.h
config.h.in config.h.in
config.log config.log
config.mk config.mk
config.status config.status
config.sub
config_detected.h config_detected.h
config_detected.mk config_detected.mk
configure configure
configure.lineno configure.lineno
depcomp
depmode depmode
install-sh
libtool libtool
ltmain.sh ltmain.sh
missing
mkinstalldirs mkinstalldirs
/test-driver /build
/src/mpd /src/mpd
/systemd/mpd.service /systemd/mpd.service
stamp-h1 stamp-h1

View File

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

View File

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

View File

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