[polypaudio-commits] r485 - /trunk/configure.ac
svnmailer-noreply at 0pointer.de
svnmailer-noreply at 0pointer.de
Wed Feb 15 17:16:40 PST 2006
Author: lennart
Date: Thu Feb 16 02:16:39 2006
New Revision: 485
URL: http://0pointer.de/cgi-bin/viewcvs.cgi?rev=485&root=polypaudio&view=rev
Log:
Add HAVE_ALSA and HAVE_OSS defines
Modified:
trunk/configure.ac
Modified: trunk/configure.ac
URL: http://0pointer.de/cgi-bin/viewcvs.cgi/trunk/configure.ac?rev=485&root=polypaudio&r1=484&r2=485&view=diff
==============================================================================
--- trunk/configure.ac (original)
+++ trunk/configure.ac Thu Feb 16 02:16:39 2006
@@ -288,13 +288,20 @@
#### OSS support (optional) ####
-AC_CHECK_HEADERS([sys/soundcard.h], [HAVE_OSS=1], [HAVE_OSS=0])
+AC_CHECK_HEADERS([sys/soundcard.h], [
+HAVE_OSS=1
+AC_DEFINE([HAVE_OSS], 1, [Have OSS?])
+], [HAVE_OSS=0])
AC_SUBST(HAVE_OSS)
AM_CONDITIONAL([HAVE_OSS], [test "x$HAVE_OSS" = x1])
+
#### ALSA support (optional) ####
-PKG_CHECK_MODULES(ASOUNDLIB, [ alsa >= 1.0.0 ], [HAVE_ALSA=1], [HAVE_ALSA=0])
+PKG_CHECK_MODULES(ASOUNDLIB, [ alsa >= 1.0.0 ], [
+HAVE_ALSA=1
+AC_DEFINE([HAVE_ALSA], 1, [Have ALSA?])
+], [HAVE_ALSA=0])
AC_SUBST(ASOUNDLIB_CFLAGS)
AC_SUBST(ASOUNDLIB_LIBS)
AC_SUBST(HAVE_ALSA)
More information about the pulseaudio-commits
mailing list