aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-09-23 22:38:46 +0200
committerMax Kellermann <max@duempel.org>2008-09-23 22:38:46 +0200
commit9899ab5ac2d572fbfa430b59f8bf6f917477b6f1 (patch)
tree3aa008a52411e322508e5bda1af56424fb2ffe3b
parentef359260830b1b4cc6a386bd5697f1a198704a4c (diff)
downloadmpd-9899ab5ac2d572fbfa430b59f8bf6f917477b6f1.tar.gz
mpd-9899ab5ac2d572fbfa430b59f8bf6f917477b6f1.tar.xz
mpd-9899ab5ac2d572fbfa430b59f8bf6f917477b6f1.zip
properly configure the M4 macro directory
Add information about the M4 macro dir ./m4/ to both configure.ac and Makefile.am.
-rw-r--r--Makefile.am1
-rw-r--r--configure.ac1
2 files changed, 2 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index 004fae3c7..559b216d0 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,3 +1,4 @@
+ACLOCAL_AMFLAGS = -I m4
AUTOMAKE_OPTIONS = foreign 1.6
SUBDIRS = src doc
diff --git a/configure.ac b/configure.ac
index d98eb6486..278cf36bf 100644
--- a/configure.ac
+++ b/configure.ac
@@ -4,6 +4,7 @@ dnl AM_INIT_AUTOMAKE(mpd, 0.14.0)
AC_PREREQ(2.60)
AC_INIT(mpd, 0.14.0, musicpd-dev-team@lists.sourceforge.net)
AM_INIT_AUTOMAKE($PACKAGE_NAME, $PACKAGE_VERSION)
+AC_CONFIG_MACRO_DIR([m4])
AC_SUBST(MPD_LIBS)
AC_SUBST(MPD_CFLAGS)