Fix logic error in saving and restoring CPPFLAGS for the DirectInput

2007-02-23  Tor Lillqvist  <tml@novell.com>

	* configure.in: Fix logic error in saving and restoring CPPFLAGS
	for the DirectInput checks.


svn path=/trunk/; revision=21974
This commit is contained in:
Tor Lillqvist 2007-02-22 22:16:10 +00:00 committed by Tor Lillqvist
parent acdabd3923
commit cc3879beca
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2007-02-23 Tor Lillqvist <tml@novell.com>
* configure.in: Fix logic error in saving and restoring CPPFLAGS
for the DirectInput checks.
2007-02-22 Sven Neumann <sven@gimp.org> 2007-02-22 Sven Neumann <sven@gimp.org>
* plug-ins/pygimp/plug-ins/Makefile.am * plug-ins/pygimp/plug-ins/Makefile.am

View File

@ -1415,10 +1415,10 @@ if test x"$os_win32" = xyes; then
with_directx_sdk=;; with_directx_sdk=;;
esac esac
dinput_save_CPPFLAGS="$CPPFLAGS"
dinput_save_LDFLAGS="$CPPFLAGS"
if test "x$with_directx_sdk" != x; then if test "x$with_directx_sdk" != x; then
dinput_save_CPPFLAGS="$CPPFLAGS"
CPPFLAGS="-I $with_directx_sdk/Include $CPPFLAGS" CPPFLAGS="-I $with_directx_sdk/Include $CPPFLAGS"
dinput_save_LDFLAGS="$CPPFLAGS"
LDFLAGS="-L $with_directx_sdk/Lib/x86 $LDFLAGS" LDFLAGS="-L $with_directx_sdk/Lib/x86 $LDFLAGS"
AC_CHECK_HEADER(dinput.h, AC_CHECK_HEADER(dinput.h,
[AC_CHECK_LIB(dxguid, GUID_XAxis, have_dx_dinput=yes)]) [AC_CHECK_LIB(dxguid, GUID_XAxis, have_dx_dinput=yes)])