summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorZaheer Abbas Merali <zaheerabbas@merali.org>2004-08-20 10:43:18 +0000
committerZaheer Abbas Merali <zaheerabbas@merali.org>2004-08-20 10:43:18 +0000
commit78504dd78fc6ddcb5c67ed79802824ba7806a8fb (patch)
tree4dd69398bd37e0c37b80f59d23b030b4248e0c3c /configure.ac
parentf7a78b466ca3c4ba13ad6eda3cbbf074c83d9efb (diff)
downloadgst-plugins-bad-78504dd78fc6ddcb5c67ed79802824ba7806a8fb.tar.gz
gst-plugins-bad-78504dd78fc6ddcb5c67ed79802824ba7806a8fb.tar.bz2
gst-plugins-bad-78504dd78fc6ddcb5c67ed79802824ba7806a8fb.zip
configure.ac: Clean up the test for lame presets
Original commit message from CVS: 2004-08-20 Zaheer Abbas Merali <zaheerabbas at merali dot org> * configure.ac: Clean up the test for lame presets
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac5
1 files changed, 1 insertions, 4 deletions
diff --git a/configure.ac b/configure.ac
index e491469b..0bea10d8 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1196,11 +1196,8 @@ 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 -lm")
])
dnl is lame presets available
-ac_save_LIBS="$LIBS"
-LIBS="$LAME_LIBS"
LAME_CFLAGS=""
-AC_CHECK_FUNC(lame_set_preset, LAME_CFLAGS="-DGSTLAME_PRESET",)
-LIBS="$ac_save_LIBS"
+GST_CHECK_LIBHEADER(GSTLAME_PRESET, mp3lame, lame_set_preset, -lm, lame/lame.h, LAME_CFLAGS="-DGSTLAME_PRESET", LAME_CFLAGS="")
AC_SUBST(LAME_CFLAGS)
AC_SUBST(LAME_LIBS)