Next: , Previous: , Up: The Macros  


ax_lib_libkml

Synopsis

AX_LIB_LIBKML([MINIMUM-VERSION])

Description

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

Source Code

Download the latest version of ax_lib_libkml.m4 or browse the macro’s revision history.

License

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.