Mercurial > sdl-ios-xcode
changeset 780:7da6da0cb7cf
Add to temporary includes path to find src/video/windx5/directx.h if we build SDL in a different directory
author | Patrice Mandin <patmandin@gmail.com> |
---|---|
date | Wed, 07 Jan 2004 18:24:06 +0000 |
parents | 68c8da837fc0 |
children | 67176351a1b8 |
files | configure.in |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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