From 7d2b2e371c6017321a51394c655ae5d9be2c86ff Mon Sep 17 00:00:00 2001 From: Avuton Olrich Date: Fri, 16 Apr 2010 20:04:50 -0700 Subject: configure.ac: Move FIFO to Audio Output Plugins (nonstreaming), add subheader. --- configure.ac | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/configure.ac b/configure.ac index 20ae3ed19..26652075b 100644 --- a/configure.ac +++ b/configure.ac @@ -868,6 +868,15 @@ fi AM_CONDITIONAL(HAVE_ALSA, test x$enable_alsa = xyes) +dnl ----------------------------------- FIFO ---------------------------------- +if test x$enable_fifo = xyes; then + AC_CHECK_FUNC([mkfifo], + [enable_fifo=yes;AC_DEFINE([HAVE_FIFO], 1, + [Define to enable support for writing audio to a FIFO])], + [enable_fifo=no;AC_MSG_WARN([mkfifo not found -- disabling support for writing audio to a FIFO])]) +fi + +AM_CONDITIONAL(HAVE_FIFO, test x$enable_fifo = xyes) @@ -972,14 +981,7 @@ fi AM_CONDITIONAL(HAVE_OPENAL, test x$enable_openal = xyes) -if test x$enable_fifo = xyes; then - AC_CHECK_FUNC([mkfifo], - [enable_fifo=yes;AC_DEFINE([HAVE_FIFO], 1, - [Define to enable support for writing audio to a FIFO])], - [enable_fifo=no;AC_MSG_WARN([mkfifo not found -- disabling support for writing audio to a FIFO])]) -fi -AM_CONDITIONAL(HAVE_FIFO, test x$enable_fifo = xyes) if test x$enable_mvp = xyes; then AC_DEFINE(HAVE_MVP,1,[Define to enable Hauppauge Media MVP support]) -- cgit v1.2.3