autoconf-archive-maintainers | |
[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:1.9.1.8) Gecko/20100214 Ubuntu/9.10 (karmic) Firefox/3.5.8 |
URL:
<http://savannah.gnu.org/patch/?7109>
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
_______________________________________________________
Details:
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
_______________________________________________________
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
<http://savannah.gnu.org/patch/download.php?file_id=19845>
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/patch/?7109>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [patch #7109] Submission of AX_LIB_LIBKML macro,
anonymous <=