Macros by Category | Revision History |
AX_LIB_XERCES([MINIMUM-VERSION])
This macro provides tests of availability of Apache Xerces C++ Parser of particular version or newer. This macros checks for Apache Xerces C++ Parser headers and libraries and defines compilation flags
Macro supports following options and their values:
1) Single-option usage:
--with-xerces - yes, no or path to Xerces installation prefix
2) Three-options usage (all options are required):
--with-xerces=yes --with-xerces-inc - path to base directory with Xerces headers --with-xerces-lib - linker flags for Xerces
This macro calls:
AC_SUBST(XERCES_CFLAGS) AC_SUBST(XERCES_LDFLAGS) AC_SUBST(XERCES_VERSION) - only if version requirement is used
And sets:
HAVE_XERCES
http://autoconf-archive.cryp.to/ax_lib_xerces.m4
Copyright © 2008 Mateusz Loskot <mateusz@loskot.net>
Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright notice and this notice are preserved.