mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-04 21:42:25 +00:00
configure.ac: update courtesy of autoupdate
This commit is contained in:
parent
884d14a2c7
commit
56002b3fba
1 changed files with 7 additions and 13 deletions
20
configure.ac
20
configure.ac
|
@ -1,13 +1,11 @@
|
||||||
AC_PREREQ(2.62)
|
AC_PREREQ([2.68])
|
||||||
|
|
||||||
dnl please read gstreamer/docs/random/autotools before changing this file
|
dnl please read gstreamer/docs/random/autotools before changing this file
|
||||||
|
|
||||||
dnl initialize autoconf
|
dnl initialize autoconf
|
||||||
dnl releases only do -Wall, cvs and prerelease does -Werror too
|
dnl releases only do -Wall, cvs and prerelease does -Werror too
|
||||||
dnl use a three digit version number for releases, and four for cvs/prerelease
|
dnl use a three digit version number for releases, and four for cvs/prerelease
|
||||||
AC_INIT(GStreamer Ugly Plug-ins, 1.1.0.1,
|
AC_INIT([GStreamer Ugly Plug-ins],[1.1.0.1],[http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer],[gst-plugins-ugly])
|
||||||
http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer,
|
|
||||||
gst-plugins-ugly)
|
|
||||||
|
|
||||||
AG_GST_INIT
|
AG_GST_INIT
|
||||||
|
|
||||||
|
@ -292,16 +290,12 @@ AG_GST_CHECK_FEATURE(LAME, [lame mp3 encoder library], lame, [
|
||||||
LAME_LIBS="-lmp3lame $LIBM"
|
LAME_LIBS="-lmp3lame $LIBM"
|
||||||
dnl is lame presets available
|
dnl is lame presets available
|
||||||
LAME_CFLAGS=""
|
LAME_CFLAGS=""
|
||||||
AC_TRY_COMPILE([#include <lame/lame.h>], [ int preset = MEDIUM ],
|
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <lame/lame.h>]], [[ int preset = MEDIUM ]])],[LAME_CFLAGS="-DGSTLAME_PRESET"],[LAME_CFLAGS=""
|
||||||
[LAME_CFLAGS="-DGSTLAME_PRESET"],
|
])
|
||||||
[LAME_CFLAGS=""]
|
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <lame/lame.h>]], [[
|
||||||
)
|
|
||||||
AC_TRY_COMPILE([#include <lame/lame.h>], [
|
|
||||||
void *ptr = &lame_set_VBR_quality
|
void *ptr = &lame_set_VBR_quality
|
||||||
],
|
]])],[LAME_CFLAGS="$LAME_CFLAGS -DHAVE_LAME_SET_VBR_QUALITY"],[LAME_CFLAGS="$LAME_CFLAGS"
|
||||||
[LAME_CFLAGS="$LAME_CFLAGS -DHAVE_LAME_SET_VBR_QUALITY"],
|
])
|
||||||
[LAME_CFLAGS="$LAME_CFLAGS"]
|
|
||||||
)
|
|
||||||
AC_SUBST(LAME_CFLAGS)
|
AC_SUBST(LAME_CFLAGS)
|
||||||
AC_SUBST(LAME_LIBS)
|
AC_SUBST(LAME_LIBS)
|
||||||
])
|
])
|
||||||
|
|
Loading…
Reference in a new issue