Skip to content

Commit

Permalink
Add to temporary includes path to find src/video/windx5/directx.h if …
Browse files Browse the repository at this point in the history
…we build SDL in a different directory
  • Loading branch information
pmandin committed Jan 7, 2004
1 parent a59dff7 commit 0de5325
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions configure.in
Expand Up @@ -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

Expand Down

0 comments on commit 0de5325

Please sign in to comment.