summaryrefslogtreecommitdiff
path: root/packages/gstreamer/files/lame-autoconf.patch
diff options
context:
space:
mode:
Diffstat (limited to 'packages/gstreamer/files/lame-autoconf.patch')
-rw-r--r--packages/gstreamer/files/lame-autoconf.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/packages/gstreamer/files/lame-autoconf.patch b/packages/gstreamer/files/lame-autoconf.patch
index e69de29bb2..3fb85e7d88 100644
--- a/packages/gstreamer/files/lame-autoconf.patch
+++ b/packages/gstreamer/files/lame-autoconf.patch
@@ -0,0 +1,21 @@
+--- gst-plugins-0.8.6.orig/configure.ac 2004-11-25 16:41:47.000000000 +0100
++++ gst-plugins-0.8.6/configure.ac 2005-02-22 19:02:58.000000000 +0100
+@@ -1135,8 +1135,9 @@
+ GST_CHECK_LIBHEADER(LAME, mp3lame, lame_init, -lm, lame/lame.h, HAVE_LAME="yes" LAME_LIBS="-lmp3lame -lm")
+ ])
+ dnl is lame presets available
++if test "x$HAVE_LAME" = "xyes"; then
+ LAME_CFLAGS=""
+-AC_TRY_RUN([
++AC_TRY_COMPILE([
+ #include <lame/lame.h>
+ int main (int argc, char *argv[])
+ {
+@@ -1144,6 +1145,7 @@
+ return 0;
+ }
+ ],[LAME_CFLAGS="-DGSTLAME_PRESET"],[LAME_CFLAGS=""])
++fi
+ AC_SUBST(LAME_CFLAGS)
+ AC_SUBST(LAME_LIBS)
+