AC_NETATALK_SHELL_CHECK
dnl Check for optional sysv initscript install
-AC_NETATALK_SYSV_STYLE
+AC_NETATALK_INIT_STYLE
dnl Path where UAM modules shall be installed
AC_ARG_WITH(uams-path, [ --with-uams-path=PATH path to UAMs [[$libdir/netatalk/]]], [uams_path="$withval/"], [uams_path="$libdir/netatalk/"])
dnl Check for building Kerberos V UAM module
AC_NETATALK_KRB5_UAM
+dnl Check for Kerberos 5 support
+AC_NETATALK_KERBEROS
+
dnl Check for overwrite the config files or not
AC_NETATALK_OVERWRITE_CONFIG
dnl FHS stuff has to be done last because it overrides other defaults
AC_NETATALK_FHS
-LIBS="$LIBS -L\$(top_srcdir)/libatalk"
CFLAGS="-I\$(top_srcdir)/include -I\$(top_srcdir)/sys $CFLAGS"
UAMS_PATH="${uams_path}"
AM_CONDITIONAL(USE_BDB, test x$bdb_required = xyes)
AM_CONDITIONAL(HAVE_ATFUNCS, test x"$ac_neta_haveatfuncs" = x"yes")
-dnl --------------------- generate files
+dnl --------------------- configure subpackages
+AC_CONFIG_SUBDIRS([libevent])
+dnl --------------------- generate files
AC_OUTPUT([Makefile
bin/Makefile
bin/ad/Makefile
etc/Makefile
etc/afpd/Makefile
etc/cnid_dbd/Makefile
+ etc/netatalk/Makefile
etc/uams/Makefile
include/Makefile
include/atalk/Makefile