version 1.1.1.1, 2012/02/21 23:00:54
|
version 1.1.1.2, 2014/06/15 16:09:42
|
Line 10 dnl under the terms of the License (based on the MIT
|
Line 10 dnl under the terms of the License (based on the MIT
|
dnl in the file COPYING that comes with this distribution. |
dnl in the file COPYING that comes with this distribution. |
dnl |
dnl |
|
|
dnl Ensure that Expat is configured with autoconf 2.52 or newer | dnl Ensure that Expat is configured with autoconf 2.58 or newer |
AC_PREREQ(2.52) | AC_PREREQ(2.58) |
|
|
dnl Get the version number of Expat, using m4's esyscmd() command to run |
dnl Get the version number of Expat, using m4's esyscmd() command to run |
dnl the command at m4-generation time. This allows us to create an m4 |
dnl the command at m4-generation time. This allows us to create an m4 |
Line 25 dnl test. I believe this test will work, but I don't h
|
Line 25 dnl test. I believe this test will work, but I don't h
|
dnl GNU M4 to test it right now. |
dnl GNU M4 to test it right now. |
define([expat_version], ifdef([__gnu__], |
define([expat_version], ifdef([__gnu__], |
[esyscmd(conftools/get-version.sh lib/expat.h)], |
[esyscmd(conftools/get-version.sh lib/expat.h)], |
[2.0.x])) | [2.1.x])) |
AC_INIT(expat, expat_version, expat-bugs@libexpat.org) |
AC_INIT(expat, expat_version, expat-bugs@libexpat.org) |
undefine([expat_version]) |
undefine([expat_version]) |
|
|
AC_CONFIG_SRCDIR(Makefile.in) |
AC_CONFIG_SRCDIR(Makefile.in) |
AC_CONFIG_AUX_DIR(conftools) |
AC_CONFIG_AUX_DIR(conftools) |
|
AC_CONFIG_MACRO_DIR([m4]) |
|
|
|
|
dnl |
dnl |
Line 44 dnl
|
Line 45 dnl
|
dnl If the API changes incompatibly set LIBAGE back to 0 |
dnl If the API changes incompatibly set LIBAGE back to 0 |
dnl |
dnl |
|
|
LIBCURRENT=6 | LIBCURRENT=7 |
LIBREVISION=2 | LIBREVISION=0 |
LIBAGE=5 | LIBAGE=6 |
|
|
AC_CONFIG_HEADER(expat_config.h) |
AC_CONFIG_HEADER(expat_config.h) |
|
|
sinclude(conftools/libtool.m4) |
|
sinclude(conftools/ac_c_bigendian_cross.m4) |
sinclude(conftools/ac_c_bigendian_cross.m4) |
|
|
AC_LIBTOOL_WIN32_DLL |
AC_LIBTOOL_WIN32_DLL |
Line 62 AC_SUBST(LIBAGE)
|
Line 62 AC_SUBST(LIBAGE)
|
|
|
dnl Checks for programs. |
dnl Checks for programs. |
AC_PROG_CC |
AC_PROG_CC |
|
AC_PROG_CXX |
AC_PROG_INSTALL |
AC_PROG_INSTALL |
|
|
if test "$GCC" = yes ; then |
if test "$GCC" = yes ; then |
Line 144 AC_DEFINE([XML_DTD], 1,
|
Line 145 AC_DEFINE([XML_DTD], 1,
|
AC_DEFINE([XML_CONTEXT_BYTES], 1024, |
AC_DEFINE([XML_CONTEXT_BYTES], 1024, |
[Define to specify how much context to retain around the current parse point.]) |
[Define to specify how much context to retain around the current parse point.]) |
|
|
AC_CONFIG_FILES(Makefile) | AC_CONFIG_FILES([Makefile expat.pc]) |
AC_OUTPUT |
AC_OUTPUT |
|
|
abs_srcdir="`cd $srcdir && pwd`" |
abs_srcdir="`cd $srcdir && pwd`" |