Next: ax_lib_metis, Previous: ax_lib_id3, Up: The Macros
AX_LIB_LIBKML([MINIMUM-VERSION])
This macro tests whether Google’s libkml library <http://code.google.com/p/libkml/> is available in particular version or newer. The generated configure script will support the following options:
1) Single-option usage:
--with-libkml - yes, no or path to Google libkml installation prefix
2) Three-options usage (all options are required):
--with-libkml=yes --with-libkml-inc - path to base directory with headers --with-libkml-lib - linker flags for
This macro calls:
AC_SUBST(LIBKML_CFLAGS) AC_SUBST(LIBKML_LDFLAGS) AC_SUBST(LIBKML_VERSION) - only if version requirement is used
And sets:
HAVE_LIBKML
Download the latest version of ax_lib_libkml.m4 or browse the macro’s revision history.
Copyright © 2010 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.