Commit 1735c1e4 authored by Phillip Mienk's avatar Phillip Mienk

Add --with-libgssapi_krb5 to match libsodium and pgm.

parent 9b2700ca
......@@ -282,8 +282,6 @@ esac
AC_CHECK_LIB([pthread], [pthread_create])
AC_CHECK_LIB([rt], [clock_gettime])
AC_CHECK_LIB([gssapi_krb5], [gss_init_sec_context],,AC_MSG_WARN(libgssapi_krb5 is needed for GSSAPI security))
#
# Check if the compiler supports -fvisibility=hidden flag. MinGW32 uses __declspec
#
......@@ -379,6 +377,18 @@ AC_HEADER_TIME
AC_TYPE_UINT32_T
AC_C_VOLATILE
# build using libgssapi_krb5
AC_ARG_WITH([libgssapi_krb5], [AS_HELP_STRING([--with-libgssapi_krb5],
[require libzmq build with libgssapi_krb5 [default=no]])],
[require_libgssapi_krb5_ext=$withval],
[require_libgssapi_krb5_ext=no])
# conditionally require libgssapi_krb5
if test "x$require_libgssapi_krb5_ext" != "xno"; then
AC_CHECK_LIB([gssapi_krb5], [gss_init_sec_context],,
AC_MSG_ERROR(libgssapi_krb5 is needed for GSSAPI security))
fi
# build using libsodium
have_sodium_library="no"
......@@ -387,7 +397,7 @@ AC_ARG_WITH([libsodium], [AS_HELP_STRING([--with-libsodium],
[require_libsodium_ext=$withval],
[require_libsodium_ext=no])
#conditionally require libsodium package
# conditionally require libsodium package
if test "x$require_libsodium_ext" != "xno"; then
PKG_CHECK_MODULES([sodium], [libsodium], [have_sodium_library="yes"])
fi
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment