mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-28 11:55:39 +00:00
configure.ac: Use AC_TRY_COMPILE instead of AC_TRY_RUN to check for a define in the lame headers. This has the advan...
Original commit message from CVS: * configure.ac: Use AC_TRY_COMPILE instead of AC_TRY_RUN to check for a define in the lame headers. This has the advantage that it should still work when we're cross-compiling (#452025).
This commit is contained in:
parent
cf06fbf1b7
commit
f15a03e711
3 changed files with 9 additions and 9 deletions
|
@ -1,3 +1,10 @@
|
|||
2007-09-08 Tim-Philipp Müller <tim at centricular dot net>
|
||||
|
||||
* configure.ac:
|
||||
Use AC_TRY_COMPILE instead of AC_TRY_RUN to check for a
|
||||
define in the lame headers. This has the advantage that
|
||||
it should still work when we're cross-compiling (#452025).
|
||||
|
||||
2007-08-24 Jan Schmidt <thaytan@mad.scientist.com>
|
||||
|
||||
* gst/dvdlpcmdec/gstdvdlpcmdec.c:
|
||||
|
|
2
common
2
common
|
@ -1 +1 @@
|
|||
Subproject commit cd25ca736bc2446800de2180ad71fc1da858d324
|
||||
Subproject commit 76752780462a3c4da712d56d54c45402144b3d0f
|
|
@ -308,14 +308,7 @@ AG_GST_CHECK_FEATURE(LAME, [lame mp3 encoder library], lame, [
|
|||
LAME_LIBS="-lmp3lame -lm"
|
||||
dnl is lame presets available
|
||||
LAME_CFLAGS=""
|
||||
AC_TRY_RUN([
|
||||
#include <lame/lame.h>
|
||||
int main (int argc, char *argv[])
|
||||
{
|
||||
printf("%d\n", MEDIUM);
|
||||
return 0;
|
||||
}
|
||||
],
|
||||
AC_TRY_COMPILE([#include <lame/lame.h>], [ int preset = MEDIUM ],
|
||||
[LAME_CFLAGS="-DGSTLAME_PRESET"],
|
||||
[LAME_CFLAGS=""]
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue