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