summaryrefslogtreecommitdiff
path: root/packages/gstreamer/gst-plugins/lame-autoconf.patch
diff options
context:
space:
mode:
authorJohn Bowler <jbowler@nslu2-linux.org>2005-08-14 04:17:58 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2005-08-14 04:17:58 +0000
commitcc49ea85bdc9b42f77b3c01f950b179e56bf8f2f (patch)
tree52286fceb404b1c8bc781e4ec1f9df234ea5efb3 /packages/gstreamer/gst-plugins/lame-autoconf.patch
parent5ebbd520b6362b15c2ea019476668fa94ca01e7b (diff)
parent1acc9a0b4bbdc4eb9f7f2b7e9ab456eab3f9adcb (diff)
propagate from branch 'org.openembedded.dev' (head ff70c4efdf949524471cddabffb7d724440d81d2)
to branch 'org.openembedded.nslu2-linux' (head 7305e5331bf9bfa1cfc3616899548b90034a3ae3)
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)
+