Skip to content

Commit 375ba1c

Browse files
committedMay 21, 2015
Fix automake warning.
Newer versions prefer AM_CPPFLAGS to INCLUDES. Tell libtool about our m4 directory.
1 parent 4729a15 commit 375ba1c

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed
 

‎configure.ac

+1
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ AM_MAINTAINER_MODE
1616

1717
dnl Add parameters for aclocal
1818
AC_SUBST(ACLOCAL_AMFLAGS, "-I m4")
19+
AC_CONFIG_MACRO_DIRS([m4])
1920

2021
dnl Library versioning
2122
dnl - library source changed -> increment REVISION

‎examples/Makefile.am

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@
22

33
AUTOMAKE_OPTIONS = foreign
44

5-
INCLUDES = -I$(top_srcdir)/include @OGG_CFLAGS@
6-
75
noinst_PROGRAMS = decoder_example encoder_example chaining_example\
86
vorbisfile_example seeking_example
97

108
EXTRA_DIST = frameview.pl
119

10+
AM_CPPFLAGS = -I$(top_srcdir)/include @OGG_CFLAGS@
11+
1212
# uncomment to build static executables from the example code
1313
#LDFLAGS = -all-static
1414

‎lib/Makefile.am

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
SUBDIRS = modes books
44

5-
INCLUDES = -I$(top_srcdir)/include @OGG_CFLAGS@
5+
AM_CPPFLAGS = -I$(top_srcdir)/include @OGG_CFLAGS@
66

77
lib_LTLIBRARIES = libvorbis.la libvorbisfile.la libvorbisenc.la
88

‎test/Makefile.am

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@
22

33
AUTOMAKE_OPTIONS = foreign
44

5-
INCLUDES = -I$(top_srcdir)/include @OGG_CFLAGS@
6-
75
check_PROGRAMS = test
86

97
check: $(check_PROGRAMS)
108
./test$(EXEEXT)
119

10+
AM_CPPFLAGS = -I$(top_srcdir)/include @OGG_CFLAGS@
11+
1212
test_SOURCES = util.c util.h write_read.c write_read.h test.c
1313
test_LDADD = ../lib/libvorbisenc.la ../lib/libvorbis.la @OGG_LIBS@ @VORBIS_LIBS@
1414

‎vq/Makefile.am

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
## Process this file with automake to produce Makefile.in
22

3-
INCLUDES = -I../lib -I$(top_srcdir)/include @OGG_CFLAGS@
4-
53
EXTRA_PROGRAMS = latticebuild latticetune huffbuild distribution
64
CLEANFILES = $(EXTRA_PROGRAMS)
75

6+
AM_CPPFLAGS = -I../lib -I$(top_srcdir)/include @OGG_CFLAGS@
87
AM_LDFLAGS = -static
98
LDADD = ../lib/libvorbis.la
109

0 commit comments

Comments
 (0)
Please sign in to comment.