>From a3964a1c6f46ddb5631b7d397c7a7a628ad5c8cd Mon Sep 17 00:00:00 2001 From: Gerd Hoffmann 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 --- 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 < +int main(void) { return 0; } +EOF + compile_object +} + write_c_skeleton() { cat > $TMPC <