Blob Blame History Raw
diff -up xmp-3.5.0/configure.aud-3.4 xmp-3.5.0/configure
--- xmp-3.5.0/configure.aud-3.4	2012-01-27 18:05:33.000000000 +0100
+++ xmp-3.5.0/configure	2013-04-28 15:09:51.840868312 +0200
@@ -3847,10 +3847,9 @@ fi
 
 if test "${enable_audacious_plugin}" = "yes"; then
     $as_echo_n "checking for Audacious flags... "
-    audacious_cflags="`pkg-config --cflags audacious 2>/dev/null`"
-    if test ! -z "${audacious_cflags}"; then
+    audacious_version="`pkg-config --modversion audacious 2>/dev/null`"
+    if test ! -z "${audacious_version}"; then
         $as_echo "found"
-        audacious_version="`pkg-config --modversion audacious 2>/dev/null`"
         audacious_version_maj="`echo ${audacious_version}|cut -f1 -d.`"
         audacious_version_min="`echo ${audacious_version}|cut -f2 -d.`"
         $as_echo "checking for Audacious version... ${audacious_version_maj}.${audacious_version_min}"