diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2007-11-19 10:03:32 +0000 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2007-11-19 10:03:32 +0000 |
commit | 4ddd2037c8b4f963fa6c32e9e569c449fd0c4bb7 (patch) | |
tree | 6f72296a5330b10a7bde56ba7af4943355b827e2 /configure.ac | |
parent | 87c1125e74fd9ac40def2166d4c393afc5ae9a37 (diff) | |
download | rsyslog-4ddd2037c8b4f963fa6c32e9e569c449fd0c4bb7.tar.gz rsyslog-4ddd2037c8b4f963fa6c32e9e569c449fd0c4bb7.tar.xz rsyslog-4ddd2037c8b4f963fa6c32e9e569c449fd0c4bb7.zip |
applied gssapi patch from varmojfekoj - gss-api is now supported
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index e542591a..f146259d 100644 --- a/configure.ac +++ b/configure.ac @@ -123,6 +123,27 @@ if test "$enable_zlib" = "yes"; then fi fi +#gssapi +AC_ARG_ENABLE(gssapi_krb5, + [AS_HELP_STRING([--enable-gssapi-krb5],[Enable GSSAPI Kerberos 5 support @<:@default=no@:>@])], + [case "${enableval}" in + yes) want_gssapi_krb5="yes" ;; + no) want_gssapi_krb5="no" ;; + *) AC_MSG_ERROR(bad value ${enableval} for --enable-gssapi-krb5) ;; + esac], + [want_gssapi_krb5=no] +) +if test $want_gssapi_krb5 = yes; then + AC_CHECK_LIB(gssapi_krb5, gss_acquire_cred, [ + AC_CHECK_HEADER(gssapi/gssapi.h, [ + AC_DEFINE(USE_GSSAPI,, + Define if you want to use GSSAPI) + gss_libs="-lgssapi_krb5" + AC_SUBST(gss_libs) + ]) + ]) +fi + # multithreading via pthreads AC_ARG_ENABLE(pthreads, [AS_HELP_STRING([--enable-pthreads],[Enable multithreading via pthreads @<:@default=yes@:>@])], @@ -292,5 +313,6 @@ echo "Zlib compression support enabled: $enable_zlib" echo "MySql support enabled: $enable_mysql" echo "Large file support enabled: $enable_largefile" echo "Networking support enabled: $enable_inet" +echo "Enable GSSAPI Kerberos 5 support: $want_gssapi_krb5" echo "Debug mode enabled: $enable_debug" |