aboutsummaryrefslogtreecommitdiffstats
path: root/configure.in
diff options
context:
space:
mode:
authorDaniel Veillard <veillard@src.gnome.org>1999-02-16 16:29:17 +0000
committerDaniel Veillard <veillard@src.gnome.org>1999-02-16 16:29:17 +0000
commit1164e752e6cdb62e27ff2eb74be070959b279931 (patch)
tree8b138108ef9bfcd06646f36a628780dddc987bb5 /configure.in
parent03d04781b29ba070a8c22b2cc990624694a95f05 (diff)
downloadandroid_external_libxml2-1164e752e6cdb62e27ff2eb74be070959b279931.tar.gz
android_external_libxml2-1164e752e6cdb62e27ff2eb74be070959b279931.tar.bz2
android_external_libxml2-1164e752e6cdb62e27ff2eb74be070959b279931.zip
Upgrade to 0.99.8 cleanup of spec and makefiles to include doc, Daniel.
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in14
1 files changed, 13 insertions, 1 deletions
diff --git a/configure.in b/configure.in
index 7608694d..fb6b5131 100644
--- a/configure.in
+++ b/configure.in
@@ -2,7 +2,9 @@ dnl Process this file with autoconf to produce a configure script.
AC_PREREQ(2.2)
AC_INIT(entities.h)
AM_CONFIG_HEADER(config.h)
-AM_INIT_AUTOMAKE(libxml, 0.99.5)
+AM_INIT_AUTOMAKE(libxml, 0.99.8)
+
+AC_ARG_WITH(html-dir, [ --with-html-dir=PATH path to installed docs ])
dnl Checks for programs.
AC_PROG_CC
@@ -28,6 +30,15 @@ AC_HEADER_STDC
AC_CHECK_HEADERS(fcntl.h unistd.h ctype.h dirent.h errno.h malloc.h)
AC_CHECK_HEADERS(stdarg.h sys/stat.h sys/types.h time.h zlib.h)
+dnl Specific dir for HTML output ?
+if test "x$with_html_dir" = "x" ; then
+ HTML_DIR='${datadir}/gtk-doc/html'
+else
+ HTML_DIR=$with_html_dir
+fi
+
+AC_SUBST(HTML_DIR)
+
XML_LIBDIR='-L${libdir}'
XML_INCLUDEDIR='-I${includedir}'
XML_LIBS="-lxml $Z_LIBS"
@@ -35,6 +46,7 @@ XML_LIBS="-lxml $Z_LIBS"
AC_SUBST(XML_LIBDIR)
AC_SUBST(XML_LIBS)
AC_SUBST(XML_INCLUDEDIR)
+AC_SUBST(HTML_DIR)
AC_ARG_ENABLE(corba, [ --enable-corba Add Corba support (default)])