On 18 October 2011 18:14, Alessandro Candini wrote:
> I see.
>
> But gdal have a nice executable called gdal-config, similar to pkg-config:
> user@host ~ $ gdal-config --cflags
> -I/usr/include/gdal
> user@host ~ $ gdal-config --libs
> -L/usr/lib -lgdal1.7.0
>
> Is there a way to use it like I do
I see.
But gdal have a nice executable called gdal-config, similar to pkg-config:
user@host ~ $ gdal-config --cflags
-I/usr/include/gdal
user@host ~ $ gdal-config --libs
-L/usr/lib -lgdal1.7.0
Is there a way to use it like I do with PKG_CHECK_MODULES?
In this way I could avoid the user to inser
On 10/18/2011 04:26 PM, Alessandro Candini wrote:
Before upgrading my Ubuntu linux to 11.10 version, I had gdal.h under
/usr/local/include: configure and make succeed without errors.
Now I have it under /usr/include/gdal and I get that gdal.h cannot be
found (in my source files there is a simple
I have this configure.ac file:
AC_PREREQ([2.67])
AC_INIT([myapp], [0.2], [cand...@meeo.it])
AM_INIT_AUTOMAKE([-Wall -Werror foreign])
LT_PREREQ([2.2])
LT_INIT([dlopen])
AC_CONFIG_SRCDIR([src/ESM.cpp])
AC_CONFIG_HEADERS([config.h])
AC_DEFINE([ESM_VERSION], ["1.3.2"], [Soil Mapper version])
AC_DEFI