doing the proper ladspa thing

Original commit message from CVS:
doing the proper ladspa thing
This commit is contained in:
Thomas Vander Stichele 2002-06-04 15:54:58 +00:00
parent 7523a7139a
commit 3115f532f4
2 changed files with 11 additions and 1 deletions

View 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)

View 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