diff options
author | Fridrich Štrba <fridrich.strba@bluewin.ch> | 2010-04-01 00:19:44 +0800 |
---|---|---|
committer | Fridrich Štrba <fridrich.strba@bluewin.ch> | 2010-04-01 00:21:10 +0800 |
commit | 4f848ac25536eb1f3475b58e36faf42d0555192d (patch) | |
tree | 5503ebbdca7d3f58cf800ca13d2b3351ef957003 /configure.ac | |
parent | 5fca82f0b00fbecf8e7045ea5ba99016e03605fb (diff) | |
download | gsoc2013-evolution-4f848ac25536eb1f3475b58e36faf42d0555192d.tar.gz gsoc2013-evolution-4f848ac25536eb1f3475b58e36faf42d0555192d.tar.zst gsoc2013-evolution-4f848ac25536eb1f3475b58e36faf42d0555192d.zip |
[win32] Test for eventsys.h and sensevts.h properly
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 12 |
1 files changed, 12 insertions, 0 deletions
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 <eventsys.h>])],, + [[ #if HAVE_EVENTSYS_H + #include <eventsys.h> + #endif + ]]) + AC_CHECK_HEADER([sensevts.h], + [AC_DEFINE([HAVE_SENSEVTS_H], 1, [Have <sensevts.h>])],, + [[ #if HAVE_SENSEVTS_H + #include <sensevts.h> + #endif + ]]) AC_SUBST(HAVE_SENS) AC_SUBST(SENS_LIBS) fi |