patchGNU Autoconf Archive - Patches: patch #7109, Submission of AX_LIB_LIBKML macro


patch #7109: Submission of AX_LIB_LIBKML macro

Submitted by:  None
Submitted on:  Wed 03 Mar 2010 11:32:08 PM UTC  
Priority:  5 - Normal Status:  Done
Assigned to:  Peter Simons <simons> Originator Email:  -email is unavailable-
Open/Closed:  Closed

Add a New Comment (Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


Thu 11 Mar 2010 10:45:28 PM UTC, comment #2: 

Hi Peter,

Absolutely no trouble. Feel free to apply any improvements you wish. Thank you!


Mateusz Loskot <mloskot>
Wed 10 Mar 2010 07:03:51 PM UTC, comment #1: 

Hi Mateusz,

thank you very much for making the result of your efforts available as free software. I have taken the liberty of editing your submission slightly for cosmetic consistency with the other entries. You'll find the final version on-line at <>. Please let us know if there's any trouble.

Take care,

Peter Simons <simons>
Project AdministratorIn charge of this item.
Wed 03 Mar 2010 11:32:08 PM UTC, original submission:  

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



(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

Attached Files
file #19845:  ax_lib_libkml.m4 added by None (9KiB - application/octet-stream - ax_lib_libkml.m4 file with AX_LIB_LIBKML macro definition)


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by mloskot (Posted a comment)
  • -email is unavailable- added by simons (Posted a comment)
  • -email is unavailable- added by None (Submitted the item)



    Follow 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2010-06-04 simons StatusReady For Test => Done
        Open/ClosedOpen => Closed
    2010-03-10 simons StatusNone => Ready For Test
        Assigned toNone => simons
    2010-03-03 None Attached File- => Added ax_lib_libkml.m4, #19845

    Back to the top

    Powered by Savane 3.6