summaryrefslogtreecommitdiff
path: root/source3/configure.in
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2002-02-20 05:33:47 +0000
committerAndrew Tridgell <tridge@samba.org>2002-02-20 05:33:47 +0000
commit287d8da0a013e6cb0f30ccf1b3ff5f8b0301698e (patch)
tree4478d37d15eb241d97a833b22e1f014a30ddb1c7 /source3/configure.in
parentefa1571b8bdc178a981dc37a2c4d1add67b9c0bd (diff)
downloadsamba-287d8da0a013e6cb0f30ccf1b3ff5f8b0301698e.tar.gz
samba-287d8da0a013e6cb0f30ccf1b3ff5f8b0301698e.tar.bz2
samba-287d8da0a013e6cb0f30ccf1b3ff5f8b0301698e.zip
fixed the gssapi lib configure test to not do the test twice
(This used to be commit 1ce762e96b8d4c39488b59fa73456fe6f2012567)
Diffstat (limited to 'source3/configure.in')
-rw-r--r--source3/configure.in6
1 files changed, 2 insertions, 4 deletions
diff --git a/source3/configure.in b/source3/configure.in
index ec440aaa72..6c2aae1872 100644
--- a/source3/configure.in
+++ b/source3/configure.in
@@ -1755,8 +1755,6 @@ AC_CHECK_HEADERS(gssapi/gssapi_generic.h gssapi/gssapi.h)
# we might need the k5crypto and com_err libraries on some systems
AC_CHECK_LIB(com_err, _et_list, [LIBS="$LIBS -lcom_err"])
AC_CHECK_LIB(k5crypto, krb5_encrypt_data, [LIBS="$LIBS -lk5crypto"])
-AC_CHECK_LIB(gssapi_krb5, gss_display_status, [LIBS="$LIBS -lgssapi_krb5"])
-
########################################################
# now see if we can find the krb5 libs in standard paths
@@ -1766,8 +1764,8 @@ AC_CHECK_LIB(krb5, krb5_mk_req_extended, [LIBS="$LIBS -lkrb5";
########################################################
# now see if we can find the gssapi libs in standard paths
-AC_CHECK_LIB(gssapi_krb5, gss_display_status, [AC_DEFINE(HAVE_GSSAPI)])
-
+AC_CHECK_LIB(gssapi_krb5, gss_display_status, [LIBS="$LIBS -lgssapi_krb5";
+ AC_DEFINE(HAVE_GSSAPI)])
##################################################################
# we might need the lber lib on some systems. To avoid link errors