# HG changeset patch # User Ethan Blanton # Date 1181183314 0 # Node ID 89adae2f1a6e516d13198befa0445f20235435f2 # Parent 35de9a54008edefa2c46383cb2125d275e22fd54 This patch from QuLogic fixes autoconf such that gstreamer will not be linked if present but compiled with --disable-gstreamer. Thanks to Tester for reporting this, and QuLogic for fixing it! Fixes # 1306 diff -r 35de9a54008e -r 89adae2f1a6e configure.ac --- a/configure.ac Wed Jun 06 20:21:15 2007 +0000 +++ b/configure.ac Thu Jun 07 02:28:34 2007 +0000 @@ -569,14 +569,15 @@ AC_ARG_ENABLE(gstreamer, [AC_HELP_STRING([--disable-gstreamer], [compile without GStreamer audio support])], enable_gst="$enableval", enable_gst="yes") -PKG_CHECK_MODULES(GSTREAMER, [gstreamer-0.10], , [ - AC_MSG_RESULT(no) - enable_gst="no" -]) if test "x$enable_gst" != "xno"; then - AC_DEFINE(USE_GSTREAMER, 1, [Use GStreamer for playing sounds]) - AC_SUBST(GSTREAMER_CFLAGS) - AC_SUBST(GSTREAMER_LIBS) + PKG_CHECK_MODULES(GSTREAMER, [gstreamer-0.10], [ + AC_DEFINE(USE_GSTREAMER, 1, [Use GStreamer for playing sounds]) + AC_SUBST(GSTREAMER_CFLAGS) + AC_SUBST(GSTREAMER_LIBS) + ], [ + AC_MSG_RESULT(no) + enable_gst="no" + ]) fi dnl #######################################################################