X-Git-Url: http://www.project-moonshot.org/gitweb/?a=blobdiff_plain;f=configure.in;h=b00c43c12f050c2a1bee81e6b205763ffcb9578a;hb=refs%2Fheads%2Forigin;hp=2029216676d0b596793130642265fd08526a0eaa;hpb=2aeb449fb46064638d040c8054c6c649971c391a;p=mod_auth_kerb.cvs%2F.git diff --git a/configure.in b/configure.in index 2029216..b00c43c 100644 --- a/configure.in +++ b/configure.in @@ -1,7 +1,7 @@ # Process this file with autoconf to produce a configure script. AC_REVISION($Revision$) AC_PREREQ(2.57) -AC_INIT(mod_auth_kerb, 5.3, modauthkerb-developers@lists.sourceforge.net) +AC_INIT(mod_auth_kerb, 5.4, modauthkerb-developers@lists.sourceforge.net) AC_CONFIG_SRCDIR([src/mod_auth_kerb.c]) AC_CONFIG_HEADER([config.h]) @@ -32,7 +32,6 @@ AC_STRUCT_TM # # kerberos5 enviroment # -krb5_config_command=krb5-config SPNEGO_SRCS="" AC_ARG_WITH(krb5, @@ -44,6 +43,12 @@ if test "x$with_krb5" = "xyes" ; then fi if test "x$with_krb5" != "xno" ; then + + AC_PATH_PROG(krb5_config_command,krb5-config,:,[$PATH:/usr/kerberos/bin:/usr/krb5/bin]) + if test $krb5_config_command = : ; then + AC_MSG_ERROR(krb5-config not found) + fi + ac_save_CPPFLAGS="$CPPFLAGS" ac_save_LDFLAGS="$LDFLAGS" ac_save_LIBS="$LIBS"