summaryrefslogtreecommitdiffstats
path: root/tdeioslave/ConfigureChecks.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'tdeioslave/ConfigureChecks.cmake')
-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 )