AC_PREREQ([2.60])
-AC_INIT([OpenAFS], m4_esyscmd([build-tools/git-version .]))
+AC_INIT([OpenAFS],
+ m4_esyscmd([build-tools/git-version .]),
+ [openafs-bugs@openafs.org],,
+ [http://www.openafs.org/])
AC_CONFIG_AUX_DIR([build-tools])
+AC_CONFIG_MACRO_DIR([src/cf])
AC_CONFIG_SRCDIR([src/config/stds.h])
-AM_INIT_AUTOMAKE
+AM_INIT_AUTOMAKE([foreign])
AC_CONFIG_HEADER(src/config/afsconfig.h)
MACOS_VERSION=1.5.76
AC_USE_SYSTEM_EXTENSIONS
+LT_INIT
+
AC_PROG_CC
+AC_PROG_LIBTOOL
AC_PATH_PROGS([PATH_CPP], [cpp], [${CC-cc} -E], [$PATH:/lib:/usr/ccs/lib])
AC_SUBST([PATH_CPP])
AC_CHECK_HEADERS([kerberosV/heim_err.h])
AC_CHECK_MEMBERS([krb5_creds.keyblock, krb5_creds.keyblock.enctype, krb5_creds.session,
krb5_prompt.type], , , [#include <krb5.h>])
+dnl If we have krb5_creds.session, we are using heimdal
+dnl If we're using heimdal, aklog needs libasn1 for encode_EncTicketPart and a
+dnl few other functions. But just aklog; not any of the other stuff that uses
+dnl krb5.
+ AS_IF([test x"$ac_cv_member_krb5_creds_session" = xyes],
+ [AC_CHECK_LIB([asn1], [encode_EncTicketPart],
+ [AKLOG_KRB5_LIBS="-lasn1"])])
RRA_LIB_KRB5_RESTORE])
AC_SUBST([BUILD_KRB5])
AC_SUBST([MAKE_KRB5])
+AC_SUBST([AKLOG_KRB5_LIBS])
dnl Probe for GSSAPI
RRA_LIB_GSSAPI
src/comerr/test/Makefile \
src/config/Makefile \
src/config/Makefile.config \
+src/config/Makefile.libtool \
src/config/Makefile.lwp \
+src/config/Makefile.lwptool \
src/config/Makefile.pthread \
src/config/Makefile.shared \
src/config/Makefile.version-CML \
src/rxstat/Makefile \
src/scout/Makefile \
src/sgistuff/Makefile \
-src/shlibafsauthent/Makefile \
-src/shlibafsrpc/Makefile \
src/sys/Makefile \
src/tbutc/Makefile \
src/tests/Makefile \