From 8454e2352970463f65f3aebef32f6352198e62b0 Mon Sep 17 00:00:00 2001 From: Alistair Leslie-Hughes Date: Thu, 19 Nov 2015 17:47:59 +1100 Subject: [PATCH] configure: Correctly detect OpenAL. Older OpenAL alext.h doesn't include al.h/alc.h. Signed-off-by: Alistair Leslie-Hughes Signed-off-by: Alexandre Julliard --- configure | 2 ++ configure.ac | 4 +++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/configure b/configure index a35d96cf1bb..291966b5e89 100755 --- a/configure +++ b/configure @@ -13694,6 +13694,8 @@ if ${ac_cv_have_openalsoft+:} false; then : else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ +#include +#include #include LPALCRENDERSAMPLESSOFT x; int diff --git a/configure.ac b/configure.ac index cd97d622a6c..bd3db262868 100644 --- a/configure.ac +++ b/configure.ac @@ -1650,7 +1650,9 @@ if test "x$ac_cv_lib_openal" = xyes then AC_CACHE_CHECK([for openal-soft], ac_cv_have_openalsoft, AC_COMPILE_IFELSE([AC_LANG_PROGRAM( - [[#include + [[#include +#include +#include LPALCRENDERSAMPLESSOFT x;]])],[ac_cv_have_openalsoft=yes],[ac_cv_have_openalsoft=no])) fi if test "x$ac_cv_have_openalsoft" != xyes -- 2.11.4.GIT