1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-09 08:58:35 +03:00

Print an error if trying a merged build without a system kerberos lib

Signed-off-by: Stefan Metzmacher <metze@samba.org>
This commit is contained in:
Volker Lendecke 2009-04-01 15:29:25 +02:00 committed by Stefan Metzmacher
parent 6edaf6188c
commit ffdc2a3fe8

View File

@ -3921,6 +3921,10 @@ if test x"$with_ads_support" != x"no"; then
LIBS="$ac_save_LIBS"
fi
if test x"$use_ads" != xyes; then
merged_build_possible=no
fi
AC_CHECK_LIB_EXT(nscd, NSCD_LIBS, nscd_flush_cache)
PASSDB_LIBS="$PASSDB_LIBS $NSCD_LIBS"
@ -6361,6 +6365,11 @@ AC_ARG_ENABLE(merged-build,
[AS_HELP_STRING([--enable-merged-build], [Build Samba 4 as well])],
[ enable_merged_build=$enableval ], [ enable_merged_build=auto ])
if test x"$enable_merged_build" = x"yes" -a \
x"$merged_build_possible" = x"no" ; then
AC_MSG_ERROR(Merged build required but not possible)
fi
m4_include(../lib/zlib/zlib.m4)
if test x$enable_merged_build = xauto; then