summaryrefslogtreecommitdiff
path: root/m4/directx.m4
diff options
context:
space:
mode:
Diffstat (limited to 'm4/directx.m4')
-rw-r--r--m4/directx.m44
1 files changed, 2 insertions, 2 deletions
diff --git a/m4/directx.m4 b/m4/directx.m4
index 743403c72..d64c13fc4 100644
--- a/m4/directx.m4
+++ b/m4/directx.m4
@@ -28,7 +28,7 @@ ac_save_CPPFLAGS="$CPPFLAGS"
ac_save_LIBS="$LIBS"
CPPFLAGS="$CPPFLAGS $DIRECTX_CPPFLAGS"
LIBS="$LIBS $DIRECTX_VIDEO_LIBS $DIRECTX_AUDIO_LIBS"
-AC_COMPILE_IFELSE(
+AC_COMPILE_IFELSE([AC_LANG_SOURCE(
[
#include <stddef.h>
@@ -42,7 +42,7 @@ int main() {
return 0;
}
- ],
+ ])],
[have_directx=yes
AC_DEFINE(HAVE_DIRECTX,1,[Define this if you have DirectX])],,)
CPPFLAGS=$ac_save_CPPFLAGS