AC_MSG_RESULT([using JACK])
AC_CHECK_LIB(jack, jack_client_open, , AC_MSG_ERROR([JACK support requires the jack library!]))
api="$api -D__UNIX_JACK__"
+ req="$req jack"
])
AC_MSG_RESULT([using ASIO])
api="$api -D__WINDOWS_ASIO__"
use_asio=yes
+ CPPFLAGS="-I$srcdir/include $CPPFLAGS"
])
# Look for DirectSound flag
AS_IF([test "x$with_ds" = "xyes" ], [
AC_MSG_RESULT([using WASAPI])
api="$api -D__WINDOWS_WASAPI__"
LIBS="-lwinmm -luuid -lksuser $LIBS"
+ CPPFLAGS="-I$srcdir/include $CPPFLAGS"
])
# If no audio api flags specified, use DS
AS_IF([test "x$api" = "x" ], [