summaryrefslogtreecommitdiffstats
path: root/ConfigureChecks.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'ConfigureChecks.cmake')
-rw-r--r--ConfigureChecks.cmake3
1 files changed, 3 insertions, 0 deletions
diff --git a/ConfigureChecks.cmake b/ConfigureChecks.cmake
index fc57f0803..adf578d1f 100644
--- a/ConfigureChecks.cmake
+++ b/ConfigureChecks.cmake
@@ -437,7 +437,10 @@ endif( )
if( WITH_KRB5 )
pkg_search_module( KRB5 krb5 )
if( NOT KRB5_FOUND )
+ check_include_file( kadm5/admin.h HAVE_KRB_KADM_H )
+ if( NOT HAVE_KRB_KADM_H )
message(FATAL_ERROR "\nKerberos support was requested, but krb5 was not found on your system" )
+ endif( NOT HAVE_KRB_KADM_H )
endif( NOT KRB5_FOUND )
set( HAVE_KRB5 1 )
set( LIBTDELDAP_LIBRARIES "tdeldap" )