]> pilppa.org Git - familiar-h63xx-build.git/blob - org.handhelds.familiar/packages/gstreamer/gst-plugins/lame-autoconf.patch
OE tree imported from monotone branch org.openembedded.oz354fam083 at revision 8b12e3...
[familiar-h63xx-build.git] / org.handhelds.familiar / packages / gstreamer / gst-plugins / lame-autoconf.patch
1 --- gst-plugins-0.8.6.orig/configure.ac 2004-11-25 16:41:47.000000000 +0100
2 +++ gst-plugins-0.8.6/configure.ac      2005-02-22 19:02:58.000000000 +0100
3 @@ -1135,8 +1135,9 @@
4    GST_CHECK_LIBHEADER(LAME, mp3lame, lame_init, -lm, lame/lame.h, HAVE_LAME="yes" LAME_LIBS="-lmp3lame -lm")
5  ])
6  dnl is lame presets available
7 +if test "x$HAVE_LAME" = "xyes"; then
8  LAME_CFLAGS=""
9 -AC_TRY_RUN([
10 +AC_TRY_COMPILE([
11  #include <lame/lame.h>
12  int main (int argc, char *argv[])
13  {
14 @@ -1144,6 +1145,7 @@
15    return 0;
16  }
17  ],[LAME_CFLAGS="-DGSTLAME_PRESET"],[LAME_CFLAGS=""])
18 +fi
19  AC_SUBST(LAME_CFLAGS)
20  AC_SUBST(LAME_LIBS)
21