[geos-devel] geos-config

Ferdinando Villa ferdinando.villa at uvm.edu
Fri Jun 25 09:16:08 EDT 2004


Yes - --cflags should produce the -I line, --includes should just list
the path. The current script is buggy - strk can you fix it? 

The procedure to use the geos.m4 macro is as follows:

put GEOS_INIT(1.0.0) in configure.int

run aclocal -I macros instead of aclocal 
the rest is the same

your CXXFLAGS will include the geos path automatically and your LIBS
will link geos in.

ferdinando

On Fri, 2004-06-25 at 04:40, strk wrote:
> I don't like this also.
> I think it should produce just the path without the -I switch.
> Anyway, you should find a geos.m4 file in the GEOS distribution
> handy for application's configure scripts.
> 
> --strk;
> 
> On Thu, Jun 24, 2004 at 11:38:23PM -0500, Stephen Lime wrote:
> > Hi folks: Trying to integrate geos into a configure script based on the 
> > output from geos-config. I'm curious if the --includes and --cflags 
> > options should be producing the same output (they do). I expected one 
> > of them to produce "-I/usr/local/include/geos". I can work around this 
> > using the --prefix but was wondering if the behavior is as intended.
> > 
> > Steve
> > 
> > _______________________________________________
> > geos-devel mailing list
> > geos-devel at geos.refractions.net
> > http://geos.refractions.net/mailman/listinfo/geos-devel
> _______________________________________________
> geos-devel mailing list
> geos-devel at geos.refractions.net
> http://geos.refractions.net/mailman/listinfo/geos-devel
-- 




More information about the geos-devel mailing list