This patch from QuLogic fixes autoconf such that gstreamer will not be

Thu, 07 Jun 2007 02:28:34 +0000

author
Ethan Blanton <elb@pidgin.im>
date
Thu, 07 Jun 2007 02:28:34 +0000
changeset 17638
16ff20de7f03
parent 17637
269ecd9226f9
child 17639
6806f13652c0
child 18125
eea59bddef90
child 18128
92b75ad1ddf7

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

mercurial