AC_INIT([ashd], [0.13])
AC_CONFIG_SRCDIR(src/htparser.c)
AM_INIT_AUTOMAKE
-AM_CONFIG_HEADER(config.h)
+AC_CONFIG_HEADERS(config.h)
AC_USE_SYSTEM_EXTENSIONS
AC_PROG_CC
AC_PROG_INSTALL
AC_PROG_RANLIB
-dnl Add for libtool:
-dnl AM_PROG_LIBTOOL
-
-AC_HEADER_STDC
-
HAS_MAGIC=yes
AC_CHECK_LIB(magic, magic_open, [:], [HAS_MAGIC=no])
AC_CHECK_HEADER(magic.h, [], [HAS_MAGIC=no])
AC_SUBST(GNUTLS_CPPFLAGS)
AC_SUBST(GNUTLS_LIBS)
-AC_OUTPUT([
+AC_CONFIG_FILES([
Makefile
src/Makefile
src/dirplex/Makefile
lib/Makefile
doc/Makefile
])
+AC_OUTPUT