strk at keybit.net
Fri Jun 25 10:29:18 EDT 2004
On Fri, Jun 25, 2004 at 09:16:08AM -0400, Ferdinando Villa wrote:
> Yes - --cflags should produce the -I line, --includes should just list
> the path. The current script is buggy - strk can you fix it?
The fix is in current CVS.
Ferdinando, do you think includes should be
.../includes or .../includes/geos ?
I'd like application to use #include "geos/geom.h" or
similar (which would work with current geos-config output)
but then geom.h includes platform.h (and not geos/platform.h)
and it should not work then....
What do you think should be done about this ?
> 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.
> 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
> geos-devel mailing list
> geos-devel at geos.refractions.net
More information about the geos-devel