doing the proper ladspa thing
authorThomas Vander Stichele <thomas@apestaart.org>
Tue, 4 Jun 2002 15:54:58 +0000 (15:54 +0000)
committerThomas Vander Stichele <thomas@apestaart.org>
Tue, 4 Jun 2002 15:54:58 +0000 (15:54 +0000)
Original commit message from CVS:
doing the proper ladspa thing

configure.ac
ext/Makefile.am

index 5a932f4..64e3664 100644 (file)
@@ -472,10 +472,16 @@ GST_CHECK_FEATURE(JPEG, [jpeg], jpegenc jpegdec, [
   AC_SUBST(JPEG_LIBS)
 ])
 
+dnl *** ladspa ***
+translit(dnm, m, l) AM_CONDITIONAL(USE_LADSPA, true)
+GST_CHECK_FEATURE(LADSPA, [ladspa], ladspa, [
+  AC_CHECK_HEADER(ladspa.h, HAVE_LADSPA="yes", HAVE_LADSPA="no")
+])
+
 dnl *** lame ***
 translit(dnm, m, l) AM_CONDITIONAL(USE_LAME, true)
 GST_CHECK_FEATURE(LAME, [lame mp3 encoder library], lame, [
-GST_CHECK_LIBHEADER(LAME, mp3lame, lame_init, -lm, lame/lame.h, HAVE_LAME="yes" LAME_LIBS="-lmp3lame")
+  GST_CHECK_LIBHEADER(LAME, mp3lame, lame_init, -lm, lame/lame.h, HAVE_LAME="yes" LAME_LIBS="-lmp3lame")
 ])
 AC_SUBST(LAME_LIBS)
 
index 4c8f3ea..72afc28 100644 (file)
@@ -118,7 +118,11 @@ else
 JPEG_DIR=
 endif
 
+if USE_LADSPA
 LADSPA_DIR=ladspa
+else
+LADPSA_DIR=
+endif
 
 if USE_LAME
 LAME_DIR=lame