Skip to content

Commit

Permalink
Fix excessive library dependencies (continued)
Browse files Browse the repository at this point in the history
Make sure we only link with kerberos llibraries if kerberos features
are enabled. Otherwise we produce a binaruy that requires unused
libraries, which is a liability when we try to use it on a system
where they are not installed.

Previous changed failed to update configure. Here is that fixed.

From upstream PADL#5
  • Loading branch information
manu0401 committed Jul 17, 2023
1 parent 7058cda commit 4870a1a
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions configure
Original file line number Diff line number Diff line change
Expand Up @@ -13394,7 +13394,9 @@ if test $ac_cv_lib_dl_dlopen = yes; then
LIBS="-ldl $LIBS"
fi
if test "x$enable_configurable_krb5_ccname_env" = "xyes" -o \
"x$enable_configurable_krb5_ccname_gssapi" = "xyes" -o \
"x$enable_configurable_krb5_keytab" = "xyes" ; then
{ echo "$as_me:$LINENO: checking for gss_krb5_ccache_name in -lgssapi" >&5
echo $ECHO_N "checking for gss_krb5_ccache_name in -lgssapi... $ECHO_C" >&6; }
if test "${ac_cv_lib_gssapi_gss_krb5_ccache_name+set}" = set; then
Expand Down Expand Up @@ -13645,7 +13647,7 @@ echo "${ECHO_T}$ac_cv_lib_krb5_main" >&6; }
if test $ac_cv_lib_krb5_main = yes; then
LIBS="-lkrb5 $LIBS"
fi
fi
{ echo "$as_me:$LINENO: checking for sasl_client_init in -lsasl2" >&5
echo $ECHO_N "checking for sasl_client_init in -lsasl2... $ECHO_C" >&6; }
Expand Down

0 comments on commit 4870a1a

Please sign in to comment.