summaryrefslogtreecommitdiff
blob: 9c0bdda9e2066474416d3c0d21ccd24cca8ea877 (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
Use CFLAGS from environment and make sure we install the .m4 into the
correct place regardless of whether `aclocal` is installed on the host.

--- configure
+++ configure
@@ -21459,8 +21459,9 @@
     ;;
 esac
 
-CFLAGS="-O3 -Wall -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE $CFLAGS"
-DEBUG_CFLAGS="-g -DDEBUG $CFLAGS"
+CFLAGS="$CFLAGS -Wall"
+CPPFLAGS="$CPPFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE"
+DEBUG_CFLAGS="$CFLAGS -g -DDEBUG"
 
 
 
--- m4/Makefile.in
+++ m4/Makefile.in
@@ -116,8 +116,7 @@
 
 EXTRA_DIST = dvdnav.m4
 
-@INSTALL_M4_TRUE@m4datadir = @ACLOCAL_DIR@
-@INSTALL_M4_FALSE@m4datadir = $(datadir)/aclocal
+m4datadir = $(datadir)/aclocal
 
 m4data_DATA = dvdnav.m4
 subdir = m4