Add missing Kerberos checks

pull/2/head
Timothy Pearson 8 years ago
parent 0a874e41b6
commit 769e8885c2

@ -433,6 +433,16 @@ if( WITH_HAL AND (BUILD_KSMSERVER OR BUILD_KICKER OR BUILD_TDEIOSLAVES) )
endif( ) endif( )
# check for krb5
if( WITH_KRB5 )
pkg_search_module( KRB5 krb5 )
if( NOT KRB5_FOUND )
message(FATAL_ERROR "\nKerberos support was requested, but krb5 was not found on your system" )
endif( NOT KRB5_FOUND )
set( HAVE_KRB5 1 )
set( LIBTDELDAP_LIBRARIES "tdeldap" )
endif( )
# check for libr # check for libr
if( WITH_ELFICON ) if( WITH_ELFICON )
pkg_search_module( LIBR libr ) pkg_search_module( LIBR libr )

@ -36,6 +36,9 @@
// libr // libr
#cmakedefine HAVE_ELFICON 1 #cmakedefine HAVE_ELFICON 1
// krb5
#cmakedefine HAVE_KRB5 1
// libconfig // libconfig
#cmakedefine HAVE_LIBCONFIG 1 #cmakedefine HAVE_LIBCONFIG 1
#cmakedefine HAVE_LIBCONFIG_OLD_API 1 #cmakedefine HAVE_LIBCONFIG_OLD_API 1

Loading…
Cancel
Save