X-Git-Url: https://git.stderr.nl/gitweb?a=blobdiff_plain;f=configure.ac;h=646c9097c0f5659f03c576189c17f9b7f97b96bc;hb=ca7d2c46ded9c992b652a490532c6334b7eed207;hp=18e630a32b9f5662bbed6a78493f6a01405047dc;hpb=40cf50b43f824311d7f14893ed1193bb5642741a;p=projects%2Fchimara%2Fchimara.git diff --git a/configure.ac b/configure.ac index 18e630a..646c909 100644 --- a/configure.ac +++ b/configure.ac @@ -5,7 +5,7 @@ # Initialize Autoconf # Args: (human-readable package name, package version, bug report address, # tarballname) -AC_INIT([chimara], [0.1]) +AC_INIT([chimara], [0.9]) # Sanity check to make sure we are running Autoconf from the right directory AC_CONFIG_SRCDIR(libchimara/chimara-glk.c) # Put m4 macros in their own directory @@ -25,6 +25,8 @@ LT_VERSION_INFO="$CHIMARA_CURRENT:$CHIMARA_REVISION:$CHIMARA_AGE" AC_SUBST(LT_VERSION_INFO) ### REQUIREMENTS ############################################################## +# Recommended GTK version: at least 2.12 +# Recommended Glib version: at least 2.16 GTK_REQUIRED_VERSION=2.6 GLIB_REQUIRED_VERSION=2.6 GTK_DOC_REQUIRED_VERSION=1.9 @@ -103,6 +105,17 @@ AC_ARG_ENABLE([rpm], ) AM_CONDITIONAL([BUILDING_RPM], [$TEST "x$rpm" = xtrue]) +### SOUND LIBRARY TO USE ###################################################### + +AC_ARG_WITH([gstreamer], + [AS_HELP_STRING([--without-gstreamer], [Disable GStreamer sound])], + [], + [with_gstreamer=yes]) +SOUND_MODULE= +AS_IF([$TEST "x$with_gstreamer" != xno], + [AC_DEFINE([GSTREAMER_SOUND], [1], [Define to enable sound support with GStreamer]) + SOUND_MODULE=gstreamer-0.10]) + ### CHECK FOR LIBRARIES ####################################################### # Libraries needed to build Chimara library @@ -112,6 +125,7 @@ PKG_CHECK_MODULES([CHIMARA], [ gthread-2.0 gmodule-2.0 pango + $SOUND_MODULE ]) CHIMARA_LIBS="$CHIMARA_LIBS -lm" AC_SUBST(CHIMARA_LIBS)