summaryrefslogtreecommitdiffstats
path: root/tdeioslave
diff options
context:
space:
mode:
authorFrançois Andriot <francois.andriot@free.fr>2014-10-18 13:47:41 +0200
committerSlávek Banko <slavek.banko@axis.cz>2014-10-18 13:47:41 +0200
commitb4c4c46639fd5008d9f0fa9632ded82ac96985d5 (patch)
tree0f895c9d1e4f730641b241fe095c4e3d91a4a67c /tdeioslave
parentcad7d53f6519224b1c03cebcb65d1fcf7d345133 (diff)
downloadtdebase-b4c4c46639fd5008d9f0fa9632ded82ac96985d5.tar.gz
tdebase-b4c4c46639fd5008d9f0fa9632ded82ac96985d5.zip
Fix detection of some headers on openbsd
Many headers requires additional include stdlib.h Signed-off-by: François Andriot <francois.andriot@free.fr>"
Diffstat (limited to 'tdeioslave')
-rw-r--r--tdeioslave/ConfigureChecks.cmake6
1 files changed, 6 insertions, 0 deletions
diff --git a/tdeioslave/ConfigureChecks.cmake b/tdeioslave/ConfigureChecks.cmake
index 8f0783133..eed370833 100644
--- a/tdeioslave/ConfigureChecks.cmake
+++ b/tdeioslave/ConfigureChecks.cmake
@@ -11,6 +11,12 @@
if( WITH_SASL )
check_include_file( "sasl/sasl.h" HAVE_SASL_SASL_H )
+ if( NOT HAVE_SASL_SASL_H )
+ find_path( SASL_H_PATH "sasl/sasl.h" )
+ if( SASL_H_PATH )
+ set( HAVE_SASL_SASL_H "1" )
+ endif( )
+ endif( )
check_library_exists( sasl2 sasl_client_init "" HAVE_LIBSASL2 )
if( HAVE_SASL_SASL_H AND HAVE_LIBSASL2 )
set( SASL_LIBRARIES sasl2 )