From e38026a52c34008bcf9126f61ee63b58168facf9 Mon Sep 17 00:00:00 2001 From: Erik de Castro Lopo Date: Mon, 13 Feb 2012 19:55:46 +1100 Subject: [PATCH] Fix for autoreconf failures. Fixes "undefined macro: AM_PATH_XMMS" and similar errors which cause autoreconf to fail. From Sebastian Andrzej Siewior via Debian. --- Makefile.am | 2 ++ configure.ac | 1 + 2 files changed, 3 insertions(+) diff --git a/Makefile.am b/Makefile.am index d106d9f..0a65206 100644 --- a/Makefile.am +++ b/Makefile.am @@ -30,6 +30,8 @@ AUTOMAKE_OPTIONS = foreign 1.7 +ACLOCAL_AMFLAGS = -I m4 + SUBDIRS = doc include m4 man src examples test build obj DISTCLEANFILES = libtool-disable-static diff --git a/configure.ac b/configure.ac index 63a0984..f56c188 100644 --- a/configure.ac +++ b/configure.ac @@ -33,6 +33,7 @@ sed -e 's/^build_old_libs=yes/build_old_libs=no/' libtool > libtool-disable-stat chmod +x libtool-disable-static AC_SUBST(ACLOCAL_AMFLAGS, "-I m4") +AC_CONFIG_MACRO_DIR([m4]) AM_PROG_AS AC_PROG_CXX -- 2.7.4