aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support/open-vcdiff/files/aclocal-amflags-fix.patch
blob: cd1efd7b15a25e738240a9ccb3a5731b1a3b2eb7 (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
Fix this error:

| aclocal: error: non-option arguments are not accepted: '\'.

Starting from commit v1.11-662-g52246cc, when given non-option arguments, aclocal rejects them, instead of silently ignoring them.

Declare ACLOCAL_AMFLAGS as a single line because autoreconf can't handle multiline.

Notice that ACLOCAL_AMFLAGS is deprecated.
In configure.ac, AC_CONFIG_MACRO_DIRS should be used (instead of AC_CONFIG_MACRO_DIR) but requires automake 1.13+.

Signed-off-by: Matthieu Crapet <Matthieu.Crapet@ingenico.com>
---
 Makefile.am | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/Makefile.am b/Makefile.am
index 5c765c7..f4295a6 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,8 +1,7 @@
 ## Process this file with automake to produce Makefile.in
 
 # Make sure that when we re-make ./configure, we get the macros we need
-ACLOCAL_AMFLAGS = -I m4 \
-                  -I gflags/m4
+ACLOCAL_AMFLAGS = -I m4 -I gflags/m4
 
 # This is so we can #include <google/vcencoder.h> or <gtest/gtest.h>
 AM_CPPFLAGS = -I$(top_srcdir)/src \
-- 
1.8.5.4