# Process this file with autoconf to produce a configure script.
AC_REVISION($Revision$)
AC_PREREQ(2.53)
-AC_INIT(mod_auth_kerb, 0.5-rc2, modauthkerb-developers@lists.sourceforge.net)
+AC_INIT(mod_auth_kerb, 0.5-rc3, modauthkerb-developers@lists.sourceforge.net)
AC_CONFIG_SRCDIR([src/mod_auth_kerb.c])
AC_CONFIG_HEADER([config.h])
# 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.
# 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