diff options
author | Fridrich Strba <fridrich.strba@bluewin.ch> | 2010-03-24 01:54:37 +0800 |
---|---|---|
committer | Fridrich Strba <fridrich.strba@bluewin.ch> | 2010-03-24 01:54:37 +0800 |
commit | 8a8e79622eadb6c2577e77f5a3d7655e743dd219 (patch) | |
tree | da04e983c4819d63310cf89a54e829dc5e3f0f86 /configure.ac | |
parent | af5bfa98a8c7a11a345e2b7403b792ed970d5cef (diff) | |
download | gsoc2013-evolution-8a8e79622eadb6c2577e77f5a3d7655e743dd219.tar.gz gsoc2013-evolution-8a8e79622eadb6c2577e77f5a3d7655e743dd219.tar.zst gsoc2013-evolution-8a8e79622eadb6c2577e77f5a3d7655e743dd219.zip |
[win32] Implement network status detection
The implementation is done using System Event Notification Service
by implementing ConnectionMade ConnectionMadeNoQOCInfo and
ConnectionLost methods of ISensNetwork interface.
Introduces C++ dependency for Windows port only
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index fc9ef87738..6a2ee14bec 100644 --- a/configure.ac +++ b/configure.ac @@ -1143,6 +1143,27 @@ fi AM_CONDITIONAL([ENABLE_NETWORK_MANAGER], [test "$enable_nm" = yes]) dnl ****************************** +dnl Check for Windows SENS API +dnl ****************************** +AC_ARG_ENABLE([sens], + [AS_HELP_STRING([--enable-sens], + [enable Windows SENS support (default=yes)])], + [enable_sens=$enableval],[enable_sens=yes]) +AC_MSG_CHECKING([if Windows SENS support is enabled]) +AC_MSG_RESULT([$enable_sens]) +if test "$enable_sens" = yes; then + AC_PROG_CXX + AC_CHECK_HEADERS([eventsys.h sensevts.h],[ enable_sens="yes" ],[ enable_sens="no" ]) +fi +if test "$enable_sens" = yes; then + SENS_LIBS="-lole32 -loleaut32 -luuid" + AC_SUBST(HAVE_SENS) + AC_SUBST(SENS_LIBS) +fi + +AM_CONDITIONAL([ENABLE_WINDOWS_SENS], [test "$enable_sens" = yes]) + +dnl ****************************** dnl Camel Flags dnl ****************************** EVO_SET_COMPILE_FLAGS(CAMEL, camel-provider-1.2, $MANUAL_NSS_CFLAGS, $MOXILLA_NSS_CFLAGS) @@ -1693,6 +1714,7 @@ modules/network-manager/Makefile modules/plugin-lib/Makefile modules/plugin-mono/Makefile modules/plugin-python/Makefile +modules/windows-sens/Makefile plugins/Makefile plugins/addressbook-file/Makefile plugins/attachment-reminder/Makefile |