ax_lib_xerces
=============

Synopsis
********

     AX_LIB_XERCES([MINIMUM-VERSION])

Description
***********

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

Source Code
***********

Download the latest version of ax_lib_xerces.m4 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_lib_xerces.m4) or browse the macro's revision history (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_lib_xerces.m4).

License
*******

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. This file is offered as-is, without any warranty.