aboutsummaryrefslogtreecommitdiffstats
path: root/packages/gstreamer/gst-plugins/lame-autoconf.patch
diff options
context:
space:
mode:
Diffstat (limited to 'packages/gstreamer/gst-plugins/lame-autoconf.patch')
-rw-r--r--packages/gstreamer/gst-plugins/lame-autoconf.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/packages/gstreamer/gst-plugins/lame-autoconf.patch b/packages/gstreamer/gst-plugins/lame-autoconf.patch
new file mode 100644
index 0000000000..3fb85e7d88
--- /dev/null
+++ b/packages/gstreamer/gst-plugins/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)
+