Hi, > Right, but you can't break compilation. At a minimum, we > need a configure test so we don't try to build the dsound > backend unless the compile environment supports it.
Can you try whenever the attached patch works for you? thanks, Gerd
>From a3964a1c6f46ddb5631b7d397c7a7a628ad5c8cd Mon Sep 17 00:00:00 2001 From: Gerd Hoffmann <kra...@redhat.com> Date: Wed, 10 Jun 2015 09:07:35 +0200 Subject: [PATCH] only enable dsound in case the header file is present Signed-off-by: Gerd Hoffmann <kra...@redhat.com> --- configure | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/configure b/configure index ccf8dc7..222694f 100755 --- a/configure +++ b/configure @@ -435,6 +435,14 @@ EOF compile_object } +check_include() { +cat > $TMPC <<EOF +#include <$1> +int main(void) { return 0; } +EOF + compile_object +} + write_c_skeleton() { cat > $TMPC <<EOF int main(void) { return 0; } @@ -568,7 +576,11 @@ CYGWIN*) MINGW32*) mingw32="yes" audio_possible_drivers="dsound sdl" - audio_drv_list="dsound" + if check_include dsound.h; then + audio_drv_list="dsound" + else + audio_drv_list="" + fi ;; GNU/kFreeBSD) bsd="yes" -- 1.8.3.1