summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorGlenn Strauss <gstrauss@gluelogic.com>2017-03-10 02:42:35 -0500
committerGlenn Strauss <gstrauss@gluelogic.com>2017-03-10 02:42:35 -0500
commitf94d666d15e412a31d7d17e1d49c5a0bc1632bbc (patch)
tree4e23542c4443439ff4cb9866cdbed9e5f0540e15 /configure.ac
parentbd77abe0f81f196006dbd46d7be61e7cc36911be (diff)
downloadlighttpd1.4-f94d666d15e412a31d7d17e1d49c5a0bc1632bbc.tar.gz
lighttpd1.4-f94d666d15e412a31d7d17e1d49c5a0bc1632bbc.zip
[mod_authn_gssapi] needs -lcom_err under cygwin
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac4
1 files changed, 4 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 442edd0d..b8b3eb17 100644
--- a/configure.ac
+++ b/configure.ac
@@ -446,6 +446,10 @@ if test "x$use_krb5" = "xyes"; then
if test "x$KRB5_LIB" = x; then
AC_MSG_ERROR([gssapi_krb5 headers and/or libs where not found, install them or build with --without-krb5])
fi
+ case $host_os in
+ *cygwin* ) KRB5_LIB="$KRB5_LIB -lcom_err";;
+ * ) ;;
+ esac
fi
AC_SUBST(KRB5_LIB)