mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-22 16:26:39 +00:00
configure.ac: Put additional LAME check inside the conditional. Fixes #152339
Original commit message from CVS: * configure.ac: Put additional LAME check inside the conditional. Fixes #152339
This commit is contained in:
parent
ee1d3ef0d9
commit
4bb6fd2180
2 changed files with 20 additions and 8 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2004-12-23 Thomas Vander Stichele <thomas at apestaart dot org>
|
||||||
|
|
||||||
|
* configure.ac:
|
||||||
|
Put additional LAME check inside the conditional. Fixes #152339
|
||||||
|
|
||||||
2004-12-23 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
|
2004-12-23 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
|
||||||
|
|
||||||
* gst/avi/gstavidemux.c: (gst_avi_demux_stream_index),
|
* gst/avi/gstavidemux.c: (gst_avi_demux_stream_index),
|
||||||
|
|
13
configure.ac
13
configure.ac
|
@ -1188,8 +1188,10 @@ GST_CHECK_FEATURE(LADSPA, [ladspa], ladspa, [
|
||||||
dnl *** lame ***
|
dnl *** lame ***
|
||||||
translit(dnm, m, l) AM_CONDITIONAL(USE_LAME, true)
|
translit(dnm, m, l) AM_CONDITIONAL(USE_LAME, true)
|
||||||
GST_CHECK_FEATURE(LAME, [lame mp3 encoder library], lame, [
|
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
|
||||||
LAME_CFLAGS=""
|
LAME_CFLAGS=""
|
||||||
AC_TRY_RUN([
|
AC_TRY_RUN([
|
||||||
|
@ -1199,9 +1201,14 @@ int main (int argc, char *argv[])
|
||||||
printf("%d\n", MEDIUM);
|
printf("%d\n", MEDIUM);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
],[LAME_CFLAGS="-DGSTLAME_PRESET"],[LAME_CFLAGS=""])
|
],
|
||||||
|
[LAME_CFLAGS="-DGSTLAME_PRESET"],
|
||||||
|
[LAME_CFLAGS=""]
|
||||||
|
)
|
||||||
AC_SUBST(LAME_CFLAGS)
|
AC_SUBST(LAME_CFLAGS)
|
||||||
AC_SUBST(LAME_LIBS)
|
AC_SUBST(LAME_LIBS)
|
||||||
|
])
|
||||||
|
])
|
||||||
|
|
||||||
dnl *** MAS (TODO) ***
|
dnl *** MAS (TODO) ***
|
||||||
dnl translit(dnm, m, l) AM_CONDITIONAL(USE_MAS, true)
|
dnl translit(dnm, m, l) AM_CONDITIONAL(USE_MAS, true)
|
||||||
|
|
Loading…
Reference in a new issue