# HG changeset patch # User Patrice Mandin # Date 1073499846 0 # Node ID 7da6da0cb7cf7f182b5ae416b9dade5a1bf0cc09 # Parent 68c8da837fc0fcd4f04c9a7d48fc14e97dd8ed34 Add to temporary includes path to find src/video/windx5/directx.h if we build SDL in a different directory diff -r 68c8da837fc0 -r 7da6da0cb7cf configure.in --- a/configure.in Wed Jan 07 15:01:51 2004 +0000 +++ b/configure.in Wed Jan 07 18:24:06 2004 +0000 @@ -1423,12 +1423,15 @@ 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