[xiph-commits] r3897 - libfishsound/trunk/src/examples

conrad at svn.annodex.net conrad at svn.annodex.net
Fri Mar 27 19:39:53 PDT 2009


Author: conrad
Date: 2009-03-27 19:39:53 -0700 (Fri, 27 Mar 2009)
New Revision: 3897

Modified:
   libfishsound/trunk/src/examples/Makefile.am
Log:
add SNDFILE_CFLAGS to includes for examples.
Patch by Matthew Gregan:
This is required when libsndfile is in a non-standard location,
e.g. /opt/local/{include,libs} on OS X with MacPorts.  configure sets
SNDFILE_CFLAGS correctly (since pkg-config is in the path),
but the examples weren't using this value when building.

Modified: libfishsound/trunk/src/examples/Makefile.am
===================================================================
--- libfishsound/trunk/src/examples/Makefile.am	2009-03-28 02:39:43 UTC (rev 3896)
+++ libfishsound/trunk/src/examples/Makefile.am	2009-03-28 02:39:53 UTC (rev 3897)
@@ -4,7 +4,7 @@
 
 INCLUDES = -I$(top_builddir) \
            -I$(top_srcdir)/include -I$(top_srcdir)/src/libfishsound \
-           $(VORBIS_CFLAGS) $(SPEEX_CFLAGS) $(FLAC_CFLAGS) $(OGGZ_CFLAGS)
+           $(SNDFILE_CFLAGS) $(VORBIS_CFLAGS) $(SPEEX_CFLAGS) $(FLAC_CFLAGS) $(OGGZ_CFLAGS)
 
 FISHSOUNDDIR = ../libfishsound
 FISHSOUND_LIBS = $(FISHSOUNDDIR)/libfishsound.la \



More information about the commits mailing list