summaryrefslogtreecommitdiff
path: root/source3/configure.in
diff options
context:
space:
mode:
Diffstat (limited to 'source3/configure.in')
-rw-r--r--source3/configure.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/configure.in b/source3/configure.in
index 77bcabc716..621c43be12 100644
--- a/source3/configure.in
+++ b/source3/configure.in
@@ -1631,8 +1631,8 @@ fi
##################################################################
# we might need the k5crypto and com_err libraries on some systems
-AC_CHECK_LIB(k5crypto, krb5_encrypt_data)
-AC_CHECK_LIB(com_err, _et_list)
+AC_CHECK_LIB(com_err, _et_list, [LIBS="$LIBS -lcom_err"])
+AC_CHECK_LIB(k5crypto, krb5_encrypt_data, [LIBS="$LIBS -lk5crypto"])
#################################################
# check for automount support