[libxml2] Upgrade some of the configure and autogen



commit 3157e51508574577a9381a09a85235aa909f3762
Author: Daniel Veillard <veillard redhat com>
Date:   Tue Mar 9 11:32:46 2010 +0100

    Upgrade some of the configure and autogen
    
    Based on Roumen Petrov suggestions

 Makefile.am  |    2 ++
 autogen.sh   |    2 +-
 configure.in |    1 +
 3 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/Makefile.am b/Makefile.am
index 807e21d..c7f140c 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,5 +1,7 @@
 ## Process this file with automake to produce Makefile.in
 
+ACLOCAL_AMFLAGS = -I m4
+
 SUBDIRS = include . doc example xstc @PYTHON_SUBDIR@
 
 DIST_SUBDIRS = include . doc example python xstc
diff --git a/autogen.sh b/autogen.sh
index db6ece2..9dc7c33 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -48,7 +48,7 @@ fi
 
 libtoolize --copy --force
 aclocal $ACLOCAL_FLAGS
-automake --add-missing
+automake --force-missing --add-missing --copy --foreign
 autoconf
 
 cd $THEDIR
diff --git a/configure.in b/configure.in
index 237846f..3e4a601 100644
--- a/configure.in
+++ b/configure.in
@@ -1,6 +1,7 @@
 dnl Process this file with autoconf to produce a configure script.
 AC_INIT(entities.c)
 AM_CONFIG_HEADER(config.h)
+AC_CONFIG_MACRO_DIR([m4])
 AC_CANONICAL_HOST
 
 LIBXML_MAJOR_VERSION=2



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]