From 0de53253693f1605c1cf44113acb009129f05237 Mon Sep 17 00:00:00 2001 From: Patrice Mandin Date: Wed, 7 Jan 2004 18:24:06 +0000 Subject: [PATCH] Add to temporary includes path to find src/video/windx5/directx.h if we build SDL in a different directory --- configure.in | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configure.in b/configure.in index 80be778af..8430c7731 100644 --- a/configure.in +++ b/configure.in @@ -1423,12 +1423,15 @@ CheckDIRECTX() if test x$enable_directx = xyes; then AC_MSG_CHECKING(for DirectX headers and libraries) use_directx=no + tmp_cflags=$CFLAGS + CFLAGS="$CFLAGS -I$srcdir" AC_TRY_COMPILE([ #include "src/video/windx5/directx.h" ],[ ],[ use_directx=yes ]) + CFLAGS=$tmp_cflags AC_MSG_RESULT($use_directx) fi