mirror of https://github.com/GNOME/gimp.git
Add check for DirectX DirectInput header and library. To disable, pass
2007-02-20 Tor Lillqvist <tml@novell.com> * configure.in: Add check for DirectX DirectInput header and library. To disable, pass --without-directinput. To find the DirectInput headers and libraries, one needs to set CPPFLAGS and LDFLAGS env vars appropriately for now. It should really add a --with-dx-sdk switch instead. Set HAVE_DX_DINPUT config.h macro and HAVE_DX_DINPUT Automake conditional. svn path=/trunk/; revision=21957
This commit is contained in:
parent
63e7ba1bfc
commit
49f4a63ea7
|
@ -1,3 +1,12 @@
|
|||
2007-02-20 Tor Lillqvist <tml@novell.com>
|
||||
|
||||
* configure.in: Add check for DirectX DirectInput header and
|
||||
library. To disable, pass --without-directinput. To find the
|
||||
DirectInput headers and libraries, one needs to set CPPFLAGS and
|
||||
LDFLAGS env vars appropriately for now. It should really add a
|
||||
--with-dx-sdk switch instead. Set HAVE_DX_DINPUT config.h macro
|
||||
and HAVE_DX_DINPUT Automake conditional.
|
||||
|
||||
2007-02-20 Sven Neumann <sven@gimp.org>
|
||||
|
||||
* app/dialogs/Makefile.am: let authors.h depend on authors.xsl.
|
||||
|
|
19
configure.in
19
configure.in
|
@ -1400,6 +1400,25 @@ fi
|
|||
AM_CONDITIONAL(HAVE_LINUX_INPUT, test $have_linux_input = yes)
|
||||
|
||||
|
||||
###############################
|
||||
# Check for DirectX DirectInput
|
||||
###############################
|
||||
|
||||
AC_ARG_WITH(directinput, [ --without-directinput don't build DirectX DirectInput event controller module])
|
||||
|
||||
have_dx_dinput=no
|
||||
if test "x$with_directinput" != "xno"; then
|
||||
AC_CHECK_HEADER(dinput.h,
|
||||
[AC_CHECK_LIB(dxguid, GUID_XAxis, have_dx_dinput=yes)])
|
||||
fi
|
||||
|
||||
if test "x$have_dx_dinput" = xyes; then
|
||||
AC_DEFINE(HAVE_DX_DINPUT, 1, [Define to 1 if you have DirectX DirectInput headers and libraries])
|
||||
fi
|
||||
|
||||
AM_CONDITIONAL(HAVE_DX_DINPUT, test $have_dx_dinput = yes)
|
||||
|
||||
|
||||
###############################
|
||||
# Check for D-Bus GLib bindings
|
||||
###############################
|
||||
|
|
Loading…
Reference in New Issue