Enlightenment CVS committal

Author  : barbieri
Project : e17
Module  : apps/e

Dir     : e17/apps/e


Modified Files:
        configure.in 


Log Message:
Add mixer module.

This is the mixer modules as in:

      git://staff.get-e.org/users/barbieri/e_module-mixer.git

it's being used with ALSA backend for some time without problems and
it's ready for inclusion. We still lack OSS4 engine.



===================================================================
RCS file: /cvs/e/e17/apps/e/configure.in,v
retrieving revision 1.208
retrieving revision 1.209
diff -u -3 -r1.208 -r1.209
--- configure.in        19 May 2008 04:37:34 -0000      1.208
+++ configure.in        1 Aug 2008 03:08:16 -0000       1.209
@@ -262,6 +262,35 @@
 AC_DEFINE(E_INTERNAL, 1, "This define can be used to wrap internal E stuff, as 
config.h isn't exported")
 
 
+dnl Check for Alsa
+AC_ARG_ENABLE(alsa, AS_HELP_STRING([--enable-alsa],
+                   [enable support for alsa(default=autodetect)]),
+                   [ enable_alsa=$enableval ], [ enable_alsa=default ])
+
+AM_CONDITIONAL(HAVE_ALSA, false)
+if test "x$enable_alsa" = "xdefault" || test "x$enable_alsa" = "xyes"; then
+   PKG_CHECK_MODULES(ALSA, [alsa >= 1.0.8],
+   [ SOUND_CFLAGS="$ALSA_CFLAGS -DHAVE_ALSA $SOUND_CFLAGS"
+     SOUND_LDFLAGS="$ALSA_LIBS $SOUND_LDFLAGS"
+     AM_CONDITIONAL(HAVE_ALSA, true)
+     have_alsa=yes ],
+     [ if test "x$enable_alsa" = "xyes"; then
+          AC_MSG_ERROR([alsa library >= 1.0.8 not found])
+       fi
+     ])
+else
+  have_alsa=no
+fi
+
+if test "$have_alsa" = "yes"; then
+    AC_DEFINE(HAVE_ALSA, 1, [Define if the ALSA output plugin should be built])
+else
+    have_alsa=no
+fi
+
+AC_SUBST(SOUND_CFLAGS)
+AC_SUBST(SOUND_LDFLAGS)
+
 AC_OUTPUT([
 Makefile
 enlightenment.spec
@@ -375,6 +404,8 @@
 src/modules/conf_interaction/module.desktop
 src/modules/gadman/Makefile
 src/modules/gadman/module.desktop
+src/modules/mixer/Makefile
+src/modules/mixer/module.desktop
 src/preload/Makefile
 data/Makefile
 data/fonts/Makefile



-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to