From 3115f532f420fe3e60432a8145118055233b3caa Mon Sep 17 00:00:00 2001 From: Thomas Vander Stichele Date: Tue, 4 Jun 2002 15:54:58 +0000 Subject: doing the proper ladspa thing Original commit message from CVS: doing the proper ladspa thing --- configure.ac | 8 +++++++- ext/Makefile.am | 4 ++++ 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 5a932f4d..64e3664b 100644 --- a/configure.ac +++ b/configure.ac @@ -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) diff --git a/ext/Makefile.am b/ext/Makefile.am index 4c8f3ea8..72afc287 100644 --- a/ext/Makefile.am +++ b/ext/Makefile.am @@ -118,7 +118,11 @@ else JPEG_DIR= endif +if USE_LADSPA LADSPA_DIR=ladspa +else +LADPSA_DIR= +endif if USE_LAME LAME_DIR=lame -- cgit v1.2.1