summaryrefslogtreecommitdiff
path: root/src/test_grabbag
diff options
context:
space:
mode:
authorCristian Rodríguez <crrodriguez@opensuse.org>2012-04-07 19:24:21 -0300
committerErik de Castro Lopo <erikd@mega-nerd.com>2012-04-08 09:03:03 +1000
commit9b7cb22f84bcdfaea83457efcb1ad0b144e9708b (patch)
treead9941cb1a6d8ff5b66791890dd89874ceeb09fe /src/test_grabbag
parent8340ab3bc8f5bb35bb0ecf95ac4fb86ab576de62 (diff)
downloadflac-9b7cb22f84bcdfaea83457efcb1ad0b144e9708b.tar.gz
Update and improve autotools build
- INCLUDES is deprecated, and CPPFLAGS is an user-defined variable, use the proper AM_CPPFLAGS instead - Remove FLAC__INLINE definition, providing proper replacement for MSVC compilers. - Detect if we have C99 's lround and provide a replacement for windows...
Diffstat (limited to 'src/test_grabbag')
-rw-r--r--src/test_grabbag/cuesheet/Makefile.am1
-rw-r--r--src/test_grabbag/picture/Makefile.am2
2 files changed, 2 insertions, 1 deletions
diff --git a/src/test_grabbag/cuesheet/Makefile.am b/src/test_grabbag/cuesheet/Makefile.am
index 533a8610..98f83249 100644
--- a/src/test_grabbag/cuesheet/Makefile.am
+++ b/src/test_grabbag/cuesheet/Makefile.am
@@ -20,6 +20,7 @@ EXTRA_DIST = \
test_cuesheet.dsp \
test_cuesheet.vcproj
+AM_CPPFLAGS = -I$(top_builddir) -I$(srcdir)/include -I$(top_srcdir)/include
noinst_PROGRAMS = test_cuesheet
test_cuesheet_SOURCES = \
main.c
diff --git a/src/test_grabbag/picture/Makefile.am b/src/test_grabbag/picture/Makefile.am
index cce0cdf0..8e86be63 100644
--- a/src/test_grabbag/picture/Makefile.am
+++ b/src/test_grabbag/picture/Makefile.am
@@ -19,7 +19,7 @@ EXTRA_DIST = \
Makefile.lite \
test_picture.dsp \
test_picture.vcproj
-
+AM_CPPFLAGS = -I$(top_builddir) -I$(srcdir)/include -I$(top_srcdir)/include
noinst_PROGRAMS = test_picture
test_picture_SOURCES = \
main.c