summaryrefslogtreecommitdiffstats
path: root/gentoo/trinity-base/kopete/files/kopete-3.5.13.1-patches/0008-98c9c87-add-missing-file-from-previous-commit-10026753.patch
blob: a23146a01fb8726b8d9996ea8ef6ee09668eed53 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
diff --git a/kopete/plugins/nowlistening/ConfigureChecks.cmake b/kopete/plugins/nowlistening/ConfigureChecks.cmake
new file mode 100644
index 0000000..0780035
--- /dev/null
+++ b/kopete/plugins/nowlistening/ConfigureChecks.cmake
@@ -0,0 +1,22 @@
+#################################################
+#
+#  (C) 2012 Slavek Banko
+#  slavek (DOT) banko (AT) axis.cz
+#
+#  Improvements and feedback are welcome
+#
+#  This file is released under GPL >= 2
+#
+#################################################
+
+# xmms
+if( WITH_XMMS )
+  find_program( XMMS_CONFIG xmms-config )
+  if( XMMS_CONFIG )
+    set( HAVE_XMMS 1 )
+    EXEC_PROCESS( COMMAND ${XMMS_CONFIG} --cflags OUTPUT_VARIABLE XMMS_INCLUDES )
+    EXEC_PROCESS( COMMAND ${XMMS_CONFIG} --libs OUTPUT_VARIABLE XMMS_LIBS )
+  else( )
+    tde_message_fatal( "xmms is required, but was not found on your system" )
+  endif( )
+endif( )