patchGNU Autoconf Archive - Patches: patch #7639, Submission of AX_LIB_GDAL macro

 
 

patch #7639: Submission of AX_LIB_GDAL macro

Submitter:  Mateusz Loskot <mloskot>
Submitted:  Sat 22 Oct 2011 01:00:18 AM UTC
   
 
Priority:  5 - Normal Status:  Done
Assigned to:  simons Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Sat 22 Oct 2011 08:56:37 PM UTC, comment #1: 

Your macro has been pushed to the repository in commit 8c8faf2f41d81f9acdd09d659f57f392afeb0c2b. I have edited the comment section to conform to the usual formatting in the archive. Thank you very much for the submission.

Peter Simons <simons>
Group administrator
Sat 22 Oct 2011 01:00:18 AM UTC, original submission:  

I'd like to submit AX_LIB_GDAL macro which provides tests of availability of GDAL/OGR library (http://www.gdal.org) of particular version or newer. This macros checks for GDAL/OGR headers and library and defines compilation flags.

Synopsis AX_LIB_GDAL([MINIMUM-VERSION])

AX_LIB_GDAL macro takes only one argument which is optional. If there is no required version passed, then macro does not run version test. The --with-gdal option takes complete path to gdal-config script.

This macro calls AC_SUBST for:
   GDAL_VERSION
   GDAL_CFLAGS
   GDAL_LDFLAGS
   GDAL_DEP_LDFLAGS
   GDAL_OGR_ENABLED

and AC_DEFINE for:

   HAVE_GDAL
   HAVE_GDAL_OGR

Authors:
Mateusz Loskot <mateusz@loskot.net>
Alessandro Candini <candini@meeo.it>

License: AllPermissive

Latest version of the macro can be found in Git repository at
https://github.com/mloskot/autotools-modules/

Mateusz Loskot <mloskot>

 

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

Attach Files:
   
   
Comment:
   

Attached Files
file #24181:  ax_lib_gdal.m4 added by mloskot (5KiB - application/x-m4 - m4 source code with AX_LIB_GDAL 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 simons (Posted a comment)
  • -email is unavailable- added by mloskot (Submitted the item)
  • -email is unavailable- added by mloskot (Alessandro Candini)
  •  

    Follow 6 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2011-11-21 simons StatusReady For Test Done
        Open/ClosedOpen Closed
    2011-10-22 simons StatusNone Ready For Test
        Assigned toNone simons
    2011-10-22 mloskot Attached File- Added ax_lib_gdal.m4, #24181
        Carbon-Copy- Added -email is unavailable-

    Back to the top

    Powered by Savane 3.13-3230.
    Corresponding source code