Correction of namespeaces
[xmldoc.git] / configure.ac
index f06d7a5..9966c56 100644 (file)
@@ -1,6 +1,8 @@
 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.8], [arjen@andromeda.nl])
+AM_INIT_AUTOMAKE([-Wall -Werror foreign])
 
 dnl Checks for programs.
 AC_PROG_CC
@@ -25,7 +27,7 @@ AC_CHECK_LIB(exslt, main)
 dnl Replace `main' with a function in -lxml2:
 AC_CHECK_LIB(xml2, xmlParseFile)
 dnl Replace `main' with a function in -lxslt:
-AC_CHECK_LIB(xslt, main)
+AC_CHECK_LIB(xslt, xsltProcess)
 
 dnl Checks for header files.
 AC_HEADER_STDC
@@ -36,4 +38,6 @@ AC_C_CONST
 
 dnl Checks for library functions.
 
-AC_OUTPUT(Makefile)
+AC_CONFIG_FILES([Makefile doc/Makefile])
+
+AC_OUTPUT