Original commit message from CVS:
fixes #151232
This commit is contained in:
Thomas Vander Stichele 2004-08-30 10:03:18 +00:00
parent beda391579
commit 22e8e61f2a
2 changed files with 13 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2004-08-30 Thomas Vander Stichele <thomas at apestaart dot org>
* configure.ac:
check to define LAMEPRESET. Fixes #151232.
2004-08-29 Ronald S. Bultje <Ronald S. Bultje <rbultje@ronald.bitfreak.net>> 2004-08-29 Ronald S. Bultje <Ronald S. Bultje <rbultje@ronald.bitfreak.net>>
* ext/alsa/gstalsamixer.c: (gst_alsa_mixer_build_list): * ext/alsa/gstalsamixer.c: (gst_alsa_mixer_build_list):

View file

@ -1197,7 +1197,14 @@ GST_CHECK_FEATURE(LAME, [lame mp3 encoder library], lame, [
]) ])
dnl is lame presets available dnl is lame presets available
LAME_CFLAGS="" LAME_CFLAGS=""
GST_CHECK_LIBHEADER(GSTLAME_PRESET, mp3lame, lame_set_preset, -lm, lame/lame.h, LAME_CFLAGS="-DGSTLAME_PRESET", LAME_CFLAGS="") AC_TRY_RUN([
#include <lame/lame.h>
int main (int argc, char *argv[])
{
printf("%d\n", MEDIUM);
return 0;
}
],[LAME_CFLAGS="-DGSTLAME_PRESET"],[LAME_CFLAGS=""])
AC_SUBST(LAME_CFLAGS) AC_SUBST(LAME_CFLAGS)
AC_SUBST(LAME_LIBS) AC_SUBST(LAME_LIBS)