- remove unused private include from rpmhandler.h (RH bugzilla #157734)
[apt.git] / configure.in
index d6cd508..f5ec712 100644 (file)
@@ -1,12 +1,12 @@
 dnl Process this file with autoconf to produce a configure script.
 
-AC_PREREQ(2.54)
-AC_INIT([apt],[0.5.15cnc7])
+AC_PREREQ(2.59)
+AC_INIT([apt],[0.5.15lorg3])
 dnl Check the archs, we want the target type.
 AC_CONFIG_AUX_DIR([buildlib])
 AC_CANONICAL_HOST
 AC_CONFIG_SRCDIR([configure.in])
-AM_INIT_AUTOMAKE([foreign subdir-objects dist-bzip2 1.7])
+AM_INIT_AUTOMAKE([foreign subdir-objects dist-bzip2 1.9.5])
 AM_MAINTAINER_MODE
 
 AC_CONFIG_HEADER([include/config.h:buildlib/config.h.in])
@@ -92,6 +92,12 @@ else
    AC_SUBST(RPMLIBS)
 fi
 
+dnl repomd support needs libxml2, not sure about the minimal version - I've
+dnl only tested it with 2.6.20
+PKG_CHECK_MODULES([LIBXML2],[libxml-2.0 >= 2.4])
+RPMLIBS="$LIBXML2_LIBS $RPMLIBS"
+CPPFLAGS="$LIBXML2_CFLAGS $CPPFLAGS"
+
 dnl Can we use g++ hash_map?
 AH_TEMPLATE(WITH_GNU_HASH_MAP,
            [Define to 1 if you want to use the g++ hash_map extension.])
@@ -248,7 +254,7 @@ AC_CONFIG_COMMANDS([fixintl],[
        mv -f intl/Makefile{.tmp,}
 ])
 
-AC_OUTPUT([
+AC_CONFIG_FILES([
          Makefile
          buildlib/Makefile
          intl/Makefile 
@@ -258,6 +264,6 @@ AC_OUTPUT([
          cmdline/Makefile
          tools/Makefile
          doc/Makefile
-         m4/Makefile 
          po/Makefile.in
          ])
+AC_OUTPUT