From db52a594cc6c84faea6fba1cad6049e3caf2c6e7 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Wed, 21 Sep 2016 12:32:12 -0500 Subject: Fix FTBFS on Ubuntu Lucid --- ConfigureChecks.cmake | 3 +++ 1 file changed, 3 insertions(+) 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" ) -- cgit v1.2.3