From 8fdef92d21dbc77bfaf9887c9103d2edf2143b39 Mon Sep 17 00:00:00 2001 From: Zaheer Abbas Merali Date: Fri, 20 Aug 2004 10:43:18 +0000 Subject: [PATCH] configure.ac: Clean up the test for lame presets Original commit message from CVS: 2004-08-20 Zaheer Abbas Merali * configure.ac: Clean up the test for lame presets --- ChangeLog | 5 +++++ configure.ac | 5 +---- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index d934ee0..76b6b18 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2004-08-20 Zaheer Abbas Merali + + * configure.ac: + Clean up the test for lame presets + 2004-08-19 Zaheer Abbas Merali * configure.ac: diff --git a/configure.ac b/configure.ac index e491469..0bea10d 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) -- 2.7.4