summaryrefslogtreecommitdiff
path: root/debian/patches/03-ac_config_macro_dir.patch
blob: 91868cd219db2a4807984e834b6890dadd33aa15 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
Description: Add correctly the local macro directory
Author: Thanh Tung Nguyen <thngtong@gmail.com>
Last-Updated: 2013-11-02

--- a/configure.ac
+++ b/configure.ac
@@ -16,7 +16,7 @@
 ASSEMBLY_SHORTNAME="appindicator3"
 ASSEMBLY_TITLE="AppIndicator3#"
 ASSEMBLY_VERSION="12.10.0"
-AC_SUBST([ACLOCAL_AMFLAGS], ["-I m4 \${ACLOCAL_FLAGS}"])
+AC_CONFIG_MACRO_DIR([m4])
 
 AC_SUBST(ASSEMBLY_NAME)
 AC_SUBST(ASSEMBLY_VERSION)
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,3 +1,5 @@
+ACLOCAL_AMFLAGS = -I m4
+
 SUBDIRS = sources sources/glue doc
 
 pkgconfigdir = $(libdir)/pkgconfig