summaryrefslogtreecommitdiff
path: root/community/ffmpegsource/autoconf.patch
blob: e15e4522cd5825bfdab3bd7a73ac01abdbb61f09 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
--- a/Makefile.am
+++ b/Makefile.am
@@ -6,7 +6,7 @@ pkgconfig_DATA = ffms2.pc
 
 dist_doc_DATA = doc/ffms2-api.html doc/ffms2-changelog.html doc/style.css
 
-INCLUDES = -I. -I$(top_srcdir)/include -I$(top_srcdir)/src/config @LIBAV_CFLAGS@ @ZLIB_CPPFLAGS@ -include config.h
+AM_CPPFLAGS = -I. -I$(top_srcdir)/include -I$(top_srcdir)/src/config @LIBAV_CFLAGS@ @ZLIB_CPPFLAGS@ -include config.h
 
 lib_LTLIBRARIES = src/core/libffms2.la
 src_core_libffms2_la_LIBADD = @LIBAV_LIBS@ @ZLIB_LDFLAGS@ -lz @LTUNDEF@
--- a/configure.ac
+++ b/configure.ac
@@ -30,7 +30,7 @@ if test -z "$CXXFLAGS"; then
     CXXFLAGS="$OPT_FLAGS"
 fi
 
-AM_CONFIG_HEADER([src/config/config.h])
+AC_CONFIG_HEADERS([src/config/config.h])
 AC_PROG_CC
 AC_PROG_CXX
 LT_INIT([static disable-shared])