summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2016-09-21 12:32:12 -0500
committerTimothy Pearson <[email protected]>2016-09-21 12:32:12 -0500
commitdb52a594cc6c84faea6fba1cad6049e3caf2c6e7 (patch)
treed079aa1d677b7c728a335d5bec3ed2b264eff394
parent769e8885c220b902b5cf074d18a8cefa2f52e8ec (diff)
downloadtdebase-db52a594cc6c84faea6fba1cad6049e3caf2c6e7.tar.gz
tdebase-db52a594cc6c84faea6fba1cad6049e3caf2c6e7.zip
Fix FTBFS on Ubuntu Lucid
-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" )