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 - NormalStatus: Done
Assigned to: Peter Simons <simons>Originator Email: -unavailable-
Open/Closed: Closed

Add a New Comment (Rich MarkupRich 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!

Mat

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 <http://www.gnu.org/software/autoconf-archive/ax_lib_libkml.html>. Please let us know if there's any trouble.

Take care,
Peter

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 (http://code.google.com/p/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=yes
--with-libkml-inc - path to base directory with headers
--with-libkml-lib - linker flags for

The macro calls:

AC_SUBST(LIBKML_CFLAGS)
AC_SUBST(LIBKML_LDFLAGS)
AC_SUBST(LIBKML_VERSION) - only if version requirement is used

The macro sets:

HAVE_LIBKML

Example of use the macro:

LIBKML_REQ_VERSION="1.2.0"
AX_LIB_LIBKML($LIBKML_REQ_VERSION)

if test "$HAVE_LIBKML" = "yes"; then
# libkml found
LIBS="$LIBKML_LDFLAGS $LIBS"
CFLAGS="$LIBKML_CFLAGS $CFLAGS"
fi

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
http://mateusz.loskot.net

Anonymous

 

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

Attach File(s):
   
   
Comment:
   

Attached Files
file #19845:  ax_lib_libkml.m4 added by None (9kB - 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
  • -unavailable- added by mloskot (Posted a comment)
  • -unavailable- added by simons (Posted a comment)
  • -unavailable- added by None (Submitted the item)
  •  

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 5 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Fri 04 Jun 2010 12:11:20 PM UTCsimonsStatusReady For Test=>Done
      Open/ClosedOpen=>Closed
    Wed 10 Mar 2010 07:03:51 PM UTCsimonsStatusNone=>Ready For Test
      Assigned toNone=>simons
    Wed 03 Mar 2010 11:32:08 PM UTCNoneAttached File-=>Added ax_lib_libkml.m4, #19845

    Back to the top


    Powered by Savane 3.1-cleanup