comparison configure.in @ 2648:6d705ec89fb6 gsoc2008_force_feedback

* Fixed autotools never properly detecting directinput.
author Edgar Simo <bobbens@gmail.com>
date Mon, 25 Aug 2008 09:51:02 +0000
parents 91fd5d3cb90e
children 380d926cc5a7
comparison
equal deleted inserted replaced
2647:e871cff1e3d2 2648:6d705ec89fb6
1864 AC_HELP_STRING([--enable-directx], [use DirectX for Win32 audio/video [[default=yes]]]), 1864 AC_HELP_STRING([--enable-directx], [use DirectX for Win32 audio/video [[default=yes]]]),
1865 , enable_directx=yes) 1865 , enable_directx=yes)
1866 if test x$enable_directx = xyes; then 1866 if test x$enable_directx = xyes; then
1867 AC_CHECK_HEADER(d3d9.h, have_d3d=yes) 1867 AC_CHECK_HEADER(d3d9.h, have_d3d=yes)
1868 AC_CHECK_HEADER(dsound.h, have_dsound=yes) 1868 AC_CHECK_HEADER(dsound.h, have_dsound=yes)
1869 AC_CHECK_HEADER(dinput.h, use_dinput=yes) 1869 AC_CHECK_HEADER(dinput.h, have_dinput=yes)
1870 fi 1870 fi
1871 } 1871 }
1872 1872
1873 dnl Check for the dlfcn.h interface for dynamically loading objects 1873 dnl Check for the dlfcn.h interface for dynamically loading objects
1874 CheckDLOPEN() 1874 CheckDLOPEN()