From 9bc63f42d03ef071132142c2462b03b992b95f3b Mon Sep 17 00:00:00 2001 From: Piotr Pawlow Date: Thu, 13 Mar 2014 21:52:10 +0100 Subject: - make OSS backend optional --- configure.in | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'configure.in') diff --git a/configure.in b/configure.in index e872756..8d3ae94 100644 --- a/configure.in +++ b/configure.in @@ -69,6 +69,22 @@ if test "x$usejack" = "xyes"; then CFLAGS="$CFLAGS -DJACK" fi +useoss=yes + +AC_ARG_ENABLE( + oss, + AC_HELP_STRING([--enable-oss], [use OSS @<:@default=yes@:>@]), + [ + if test "x$enableval" = "xno"; then + useoss=no + fi + ]) + +AM_CONDITIONAL(HAVE_OSS, test "x$useoss" = "xyes") + +if test "x$useoss" = "xyes"; then + CFLAGS="$CFLAGS -DOSS" +fi PKG_CHECK_MODULES([GLADE], [libglade-2.0]) AC_SUBST(GLADE_CFLAGS) -- cgit v1.2.3