From: baalberith Date: Thu, 16 Apr 2009 17:26:02 +0000 (+0000) Subject: ticket [2421120], added krb5-config command locating X-Git-Tag: gssweb-apache-2014-09-08~39 X-Git-Url: http://www.project-moonshot.org/gitweb/?p=mod_auth_kerb.git;a=commitdiff_plain;h=764f757bcc070ca87ed2e7dc8f53bc512cf80337 ticket [2421120], added krb5-config command locating --- diff --git a/configure.in b/configure.in index 1997eec..b00c43c 100644 --- a/configure.in +++ b/configure.in @@ -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"