From 33641df09c8b4bd36ee1eff7c6e9651ece877848 Mon Sep 17 00:00:00 2001 From: Avuton Olrich Date: Fri, 16 Apr 2010 20:09:29 -0700 Subject: configure.ac: Move OSS to Audio Output Plugins (nonstreaming), add header. --- configure.ac | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/configure.ac b/configure.ac index 4355149e3..e1e6a06c6 100644 --- a/configure.ac +++ b/configure.ac @@ -928,6 +928,16 @@ fi AM_CONDITIONAL(HAVE_OPENAL, test x$enable_openal = xyes) +dnl ---------------------------- Open Sound System ---------------------------- +if test x$enable_oss = xyes; then + AC_CHECK_HEADER(sys/soundcard.h, + [enable_oss=yes;AC_DEFINE(HAVE_OSS,1,[Define to enable OSS])], + [AC_MSG_WARN(Soundcard headers not found -- disabling OSS support); + enable_oss=no]) +fi + +AM_CONDITIONAL(HAVE_OSS, test x$enable_oss = xyes) + if test x$enable_pipe_output = xyes; then AC_DEFINE([ENABLE_PIPE_OUTPUT], 1, [Define to enable support for writing audio to a pipe]) @@ -975,14 +985,7 @@ esac AM_CONDITIONAL(ENABLE_SOLARIS_OUTPUT, test x$enable_solaris_output = xyes) -if test x$enable_oss = xyes; then - AC_CHECK_HEADER(sys/soundcard.h, - [enable_oss=yes;AC_DEFINE(HAVE_OSS,1,[Define to enable OSS])], - [AC_MSG_WARN(Soundcard headers not found -- disabling OSS support); - enable_oss=no]) -fi -AM_CONDITIONAL(HAVE_OSS, test x$enable_oss = xyes) -- cgit v1.2.3