blob: 3a0493194d4cfc6ce5aaebafca84c7884d597907 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
From: Erik de Castro Lopo <erikd@mega-nerd.com>
Date: Mon, 13 Feb 2012 08:55:46 +0000 (+1100)
Subject: Fix for autoreconf failures.
X-Git-Url: https://git.xiph.org/?p=flac.git;a=commitdiff_plain;h=e38026a52c34008bcf9126f61ee63b58168facf9
Fix for autoreconf failures.
Fixes "undefined macro: AM_PATH_XMMS" and similar errors which cause
autoreconf to fail.
From Sebastian Andrzej Siewior <bigeasy@linutronix.de> via Debian.
---
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.in b/configure.in
index 63a0984..f56c188 100644
--- a/configure.in
+++ b/configure.in
@@ -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
|