summaryrefslogtreecommitdiff
path: root/extra/libvisual-plugins/050_all_automagic.patch
blob: 9c25fac720d30c152c82a867bf23c321a16396fa (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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
--- configure.ac.old	2007-02-24 23:09:08.000000000 +0100
+++ configure.ac	2007-02-24 23:13:15.000000000 +0100
@@ -89,7 +89,18 @@
 
 dnl Libraries
 
+dnl List of plugins to build
+build_input_plugins=""
+build_actor_plugins=""
+build_morph_plugins=""
+
 dnl EsounD
+AC_ARG_ENABLE([esd], AS_HELP_STRING([--disable-esd],
+	[Do not build esound input plugin @<:@default=enabled@:>@]),
+	[ENABLE_INPUT_ESD=$enableval],
+	[ENABLE_INPUT_ESD=yes])
+
+if test "$ENABLE_INPUT_ESD" = "yes"; then
 PKG_CHECK_MODULES([LIBESD], [esound >= esound_required_version],
   [HAVE_ESD="yes"], [HAVE_ESD="no"])
 
@@ -98,8 +109,15 @@
 else
   AC_MSG_WARN([*** EsounD not found or too old. The EsounD input plugin won't be built])
 fi
+fi
 
 dnl JACK
+AC_ARG_ENABLE([jack], AS_HELP_STRING([--disable-jack],
+	[Do not build jack input plugin @<:@default=enabled@:>@]),
+        [ENABLE_INPUT_JACK=$enableval],
+	[ENABLE_INPUT_JACK=yes])
+
+if test "$ENABLE_INPUT_JACK" = "yes"; then
 PKG_CHECK_MODULES([LIBJACK], [jack >= jack_required_version], [HAVE_JACK="yes"], [HAVE_JACK="no"])
 if test "$HAVE_JACK" = "yes"; then
   build_input_plugins="$build_input_plugins jack"
@@ -107,11 +125,7 @@
   AC_MSG_WARN([*** libjack is too old. You can download a newer version at
              http://jackit.sf.net/. The jackit input plugin won't be built])
 fi
-
-dnl List of plugins to build
-build_input_plugins=""
-build_actor_plugins=""
-build_morph_plugins=""
+fi
 
 dnl GdkPixbuf
 AC_ARG_ENABLE([gdkpixbuf-plugin],