where OSS isn't supported.
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/ossman@365
fefdeb5f-60dc-0310-8127-
8f9354f1896f
AC_SUBST(LIBSNDFILE_CFLAGS)
AC_SUBST(LIBSNDFILE_LIBS)
+#### OSS support (optional) ####
+
+AC_CHECK_HEADERS([sys/soundcard.h], [HAVE_OSS=1], [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])
libx11prop.la
endif
-if !OS_IS_WIN32
+if HAVE_OSS
modlib_LTLIBRARIES += \
liboss-util.la
endif
module-x11-publish.la
endif
-if !OS_IS_WIN32
+if HAVE_OSS
modlib_LTLIBRARIES += \
module-oss.la \
module-oss-mmap.la