Thu, 07 Jun 2007 02:28:34 +0000
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
| configure.ac | file | annotate | diff | comparison | revisions |
--- 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 #######################################################################