[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[patch #7109] Submission of AX_LIB_LIBKML macro

From: anonymous
Subject: [patch #7109] Submission of AX_LIB_LIBKML macro
Date: Wed, 03 Mar 2010 23:32:09 +0000
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-GB; rv: Gecko/20100214 Ubuntu/9.10 (karmic) Firefox/3.5.8


                 Summary: Submission of AX_LIB_LIBKML macro
                 Project: GNU Autoconf Archive
            Submitted by: None
            Submitted on: Wed Mar  3 23:32:08 2010
                Priority: 5 - Normal
                  Status: None
             Assigned to: None
        Originator Email: address@hidden
             Open/Closed: Open
         Discussion Lock: Any



I'd like to submit AX_LIB_LIBKML macro which provides tests of availability
of Google libkml ( library of particular
version or newer.

This macros checks for Google libkml headers and libraries and defines
compilation flags.

The macro supports following options and their values:

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-inc - path to base directory with  headers
--with-libkml-lib - linker flags for 

The macro calls:
  AC_SUBST(LIBKML_VERSION) - only if version requirement is used

The macro sets:


Example of use the macro:


if test "$HAVE_LIBKML" = "yes"; then
    # libkml found

LICENSE: AllPermissive
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.

Mateusz Loskot, mateusz-at-loskot-dot-net


File Attachments:

Date: Wed Mar  3 23:32:08 2010  Name: ax_lib_libkml.m4  Size: 9kB   By: None
ax_lib_libkml.m4 file with AX_LIB_LIBKML macro definition


Reply to this item at:


  Message sent via/by Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]