dnl Process this file with autoconf to produce a configure script.
-AC_INIT(xp.c)
-AM_INIT_AUTOMAKE(xmldoc, 0.7)
+
+AC_PREREQ([2.59])
+AC_INIT([xmldoc], [0.7], [arjen@andromeda.nl])
+AM_INIT_AUTOMAKE([-Wall -Werror foreign])
dnl Checks for programs.
AC_PROG_CC
dnl Checks for library functions.
-AC_OUTPUT([Makefile doc/Makefile])
+AC_CONFIG_FILES([Makefile doc/Makefile])
+
+AC_OUTPUT