projects
/
mod_auth_kerb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added check for Heimdal
[mod_auth_kerb.git]
/
configure.in
diff --git
a/configure.in
b/configure.in
index
b2e0c93
..
cea911f
100644
(file)
--- a/
configure.in
+++ b/
configure.in
@@
-21,7
+21,7
@@
AC_CHECK_HEADERS([limits.h netdb.h stddef.h stdlib.h string.h unistd.h])
# Checks for typedefs, structures, and compiler characteristics.
#AC_C_CONST
# Checks for typedefs, structures, and compiler characteristics.
#AC_C_CONST
-
#
AC_TYPE_SIZE_T
+AC_TYPE_SIZE_T
AC_STRUCT_TM
# Checks for library functions.
AC_STRUCT_TM
# Checks for library functions.
@@
-71,8
+71,13
@@
if test "x$with_krb5" != "xno" ; then
# check if krb5_cc_gen_new() is implemented by the krb5 library
AC_CHECK_FUNC(krb5_cc_gen_new, [AC_DEFINE(HAVE_KRB5_CC_GEN_NEW)])
# check if krb5_cc_gen_new() is implemented by the krb5 library
AC_CHECK_FUNC(krb5_cc_gen_new, [AC_DEFINE(HAVE_KRB5_CC_GEN_NEW)])
- # check if you're using Heimdal
- # ...
+ # check for Heimdal
+ AC_MSG_CHECKING(whether we are using Heimdal)
+ AC_TRY_COMPILE([#include <krb5.h>],
+ [ char *tmp = heimdal_version; ],
+ [ AC_MSG_RESULT(yes)
+ AC_DEFINE(HEIMDAL) ],
+ [ AC_MSG_RESULT(no) ])
fi
CFLAGS=$ac_save_CFLAGS
fi
CFLAGS=$ac_save_CFLAGS