From 4f848ac25536eb1f3475b58e36faf42d0555192d Mon Sep 17 00:00:00 2001 From: Fridrich Štrba Date: Wed, 31 Mar 2010 18:19:44 +0200 Subject: [win32] Test for eventsys.h and sensevts.h properly --- configure.ac | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 0cb40c00eb..3a1cd0d231 100644 --- a/configure.ac +++ b/configure.ac @@ -1160,6 +1160,18 @@ AC_MSG_CHECKING([if Windows SENS support is enabled]) AC_MSG_RESULT([$enable_sens]) if test "$enable_sens" = yes; then SENS_LIBS="-lole32 -loleaut32 -luuid -lrpcrt4" + AC_CHECK_HEADER([eventsys.h], + [AC_DEFINE([HAVE_EVENTSYS_H], 1, [Have ])],, + [[ #if HAVE_EVENTSYS_H + #include + #endif + ]]) + AC_CHECK_HEADER([sensevts.h], + [AC_DEFINE([HAVE_SENSEVTS_H], 1, [Have ])],, + [[ #if HAVE_SENSEVTS_H + #include + #endif + ]]) AC_SUBST(HAVE_SENS) AC_SUBST(SENS_LIBS) fi -- cgit