Detect SPEEX_LIBS and SPEEX_CFLAGS in configure, and use them here
authorDavid Schleef <ds@schleef.org>
Thu, 17 Jul 2003 04:29:33 +0000 (04:29 +0000)
committerDavid Schleef <ds@schleef.org>
Thu, 17 Jul 2003 04:29:33 +0000 (04:29 +0000)
Original commit message from CVS:
Detect SPEEX_LIBS and SPEEX_CFLAGS in configure, and use them here

ext/speex/Makefile.am

index 7d0a65f..86d4c08 100644 (file)
@@ -3,8 +3,8 @@ plugindir = $(libdir)/gst
 plugin_LTLIBRARIES = libgstspeex.la
 
 libgstspeex_la_SOURCES = gstspeex.c gstspeexdec.c gstspeexenc.c
-libgstspeex_la_CFLAGS = $(GST_CFLAGS)
-libgstspeex_la_LIBADD = -lspeex
+libgstspeex_la_CFLAGS = $(GST_CFLAGS) $(SPEEX_CFLAGS)
+libgstspeex_la_LIBADD = $(SPEEX_LIBS)
 libgstspeex_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
 
 noinst_HEADERS = gstspeexenc.h gstspeexdec.h