Macros by Category | Revision History |
AX_LIB_EXPAT([MINIMUM-VERSION])
This macro provides tests of availability of Expat XML Parser of particular version or newer. This macro checks for Expat XML Parser headers and libraries and defines compilation flags
Macro supports following options and their values:
1) Single-option usage:
--with-expat -- yes, no, or path to Expat XML Parser installation prefix
2) Three-options usage (all options are required):
--with-expat=yes --with-expat-inc -- path to base directory with Expat headers --with-expat-lib -- linker flags for Expat
This macro calls:
AC_SUBST(EXPAT_CFLAGS) AC_SUBST(EXPAT_LDFLAGS) AC_SUBST(EXPAT_VERSION) -- only if version requirement is used
And sets:
HAVE_EXPAT
http://autoconf-archive.cryp.to/ax_lib_expat.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.