mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-19 06:46:38 +00:00
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
This commit is contained in:
parent
77c6457871
commit
4153653391
2 changed files with 6 additions and 4 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2004-08-20 Zaheer Abbas Merali <zaheerabbas at merali dot org>
|
||||||
|
|
||||||
|
* configure.ac:
|
||||||
|
Clean up the test for lame presets
|
||||||
|
|
||||||
2004-08-19 Zaheer Abbas Merali <zaheerabbas at merali dot org>
|
2004-08-19 Zaheer Abbas Merali <zaheerabbas at merali dot org>
|
||||||
|
|
||||||
* configure.ac:
|
* 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")
|
GST_CHECK_LIBHEADER(LAME, mp3lame, lame_init, -lm, lame/lame.h, HAVE_LAME="yes" LAME_LIBS="-lmp3lame -lm")
|
||||||
])
|
])
|
||||||
dnl is lame presets available
|
dnl is lame presets available
|
||||||
ac_save_LIBS="$LIBS"
|
|
||||||
LIBS="$LAME_LIBS"
|
|
||||||
LAME_CFLAGS=""
|
LAME_CFLAGS=""
|
||||||
AC_CHECK_FUNC(lame_set_preset, LAME_CFLAGS="-DGSTLAME_PRESET",)
|
GST_CHECK_LIBHEADER(GSTLAME_PRESET, mp3lame, lame_set_preset, -lm, lame/lame.h, LAME_CFLAGS="-DGSTLAME_PRESET", LAME_CFLAGS="")
|
||||||
LIBS="$ac_save_LIBS"
|
|
||||||
AC_SUBST(LAME_CFLAGS)
|
AC_SUBST(LAME_CFLAGS)
|
||||||
AC_SUBST(LAME_LIBS)
|
AC_SUBST(LAME_LIBS)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue