summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ConfigureChecks.cmake4
-rw-r--r--config.h.cmake1
2 files changed, 5 insertions, 0 deletions
diff --git a/ConfigureChecks.cmake b/ConfigureChecks.cmake
index 659ed0f92..09fc71fff 100644
--- a/ConfigureChecks.cmake
+++ b/ConfigureChecks.cmake
@@ -59,6 +59,10 @@ if( WITH_GNOKII AND (BUILD_KADDRESSBOOK OR BUILD_KMOBILE) )
pkg_search_module( GNOKII gnokii )
if( NOT GNOKII_FOUND )
tde_message_fatal( "gnokii are requested, but was not found on your system" )
+ else( )
+ tde_save_and_set( CMAKE_REQUIRED_INCLUDES "${GNOKII_INCLUDE_DIRS}" )
+ check_include_file( "gnokii.h" HAVE_GNOKII_H )
+ tde_restore( CMAKE_REQUIRED_INCLUDES )
endif( )
endif( )
diff --git a/config.h.cmake b/config.h.cmake
index 6a53137bf..302fc42d0 100644
--- a/config.h.cmake
+++ b/config.h.cmake
@@ -43,6 +43,7 @@
#cmakedefine STD_NAMESPACE_PREFIX @STD_NAMESPACE_PREFIX@
// kaddressbook
+#cmakedefine HAVE_GNOKII_H 1
#cmakedefine TDEPIM_NEW_DISTRLISTS 1
// karm