[PATCH] Correctly detect OpenAL
Alistair Leslie-Hughes
leslie_alistair at hotmail.com
Thu Nov 19 00:47:59 CST 2015
Older OpenAL alext.h doesn't include al.h/alc.h.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair at hotmail.com>
---
configure.ac | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/configure.ac b/configure.ac
index 7d2449f..2968b66 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 <AL/alext.h>
+ [[#include <AL/al.h>
+#include <AL/alc.h>
+#include <AL/alext.h>
LPALCRENDERSAMPLESSOFT x;]])],[ac_cv_have_openalsoft=yes],[ac_cv_have_openalsoft=no]))
fi
if test "x$ac_cv_have_openalsoft" != xyes
--
1.9.1
More information about the wine-patches
mailing list