libvisual-plugins/libvisual-plugins-0.4.0-automagic.patch

51 lines
1.4 KiB
Diff
Raw Normal View History

--- 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],