--- 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 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)