Replaced configure.in with configure.ac
[xmldoc.git] / configure.in
diff --git a/configure.in b/configure.in
deleted file mode 100644 (file)
index 1b71926..0000000
+++ /dev/null
@@ -1,39 +0,0 @@
-dnl Process this file with autoconf to produce a configure script.
-AC_INIT(xp.c)
-AM_INIT_AUTOMAKE(XMLDoc, 0.6)
-
-dnl Checks for programs.
-AC_PROG_CC
-
-AC_PATH_PROG(XSLT_CONFIG,xslt-config,no)
-
-if test $XSLT_CONFIG = "no" 
-then
-   echo "XSLT library not found (see http://xmlsoft.org/)."
-   exit 1;
-fi
-
-dnl Checks for libraries.
-
-XSLT_CFLAGS=`$XSLT_CONFIG --cflags`
-XSLT_LFLAGS=`$XSLT_CONFIG --libs`
-CFLAGS="$CFLAGS $XSLT_CFLAGS"
-LDFLAGS="$LDFLAGS $XSLT_LFLAGS"
-
-dnl Replace `main' with a function in -lexslt:
-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)
-
-dnl Checks for header files.
-AC_HEADER_STDC
-AC_CHECK_HEADERS(unistd.h)
-
-dnl Checks for typedefs, structures, and compiler characteristics.
-AC_C_CONST
-
-dnl Checks for library functions.
-
-AC_OUTPUT(Makefile)