[GRASS5] Add libgdal to configure?

Hello all

I was just thinking that we should add a check for libgdal to configure
and provide a --with-gdal=DIR option. What do people think? I don't know
exactly how this would work or whether there would have to be changes
made to r.in.gdal, but it seems that configure is where we should
determine if libgdal is installed. Is this feasible?

--
Sincerely,

Jazzman (a.k.a. Justin Hickey) e-mail: jhickey@hpcc.nectec.or.th
High Performance Computing Center
National Electronics and Computer Technology Center (NECTEC)
Bangkok, Thailand

People who think they know everything are very irritating to those
of us who do. ---Anonymous

Jazz and Trek Rule!!!

----------------------------------------
If you want to unsubscribe from GRASS Development Team mailing list write to:
minordomo@geog.uni-hannover.de with
subject 'unsubscribe grass5'

On Fri, Mar 23, 2001 at 02:37:34PM +0700, Justin Hickey wrote:

Hello all

I was just thinking that we should add a check for libgdal to configure
and provide a --with-gdal=DIR option. What do people think? I don't know
exactly how this would work or whether there would have to be changes
made to r.in.gdal, but it seems that configure is where we should
determine if libgdal is installed. Is this feasible?

It's probably a good idea. It requires a little hackery to get the
build system to turn things on/off though.

--
Eric G. Miller <egm2@jps.net>

----------------------------------------
If you want to unsubscribe from GRASS Development Team mailing list write to:
minordomo@geog.uni-hannover.de with
subject 'unsubscribe grass5'

"Eric G. Miller" wrote:

On Fri, Mar 23, 2001 at 02:37:34PM +0700, Justin Hickey wrote:
> Hello all
>
> I was just thinking that we should add a check for libgdal to configure
> and provide a --with-gdal=DIR option. What do people think? I don't know
> exactly how this would work or whether there would have to be changes
> made to r.in.gdal, but it seems that configure is where we should
> determine if libgdal is installed. Is this feasible?

It's probably a good idea. It requires a little hackery to get the
build system to turn things on/off though.

Justin / Eric,

I can try to incorporate this if you like. I already have some configure
script for this from MapServer. Also, full GDAL installs include a
gdal-config script (in the spirit of things like gtk-config) which should
make it fairly easy to check for GDAL.

However, if a pre-installed libgdal includes libgrass support, there may
be conflicts trying to use that libgdal in r.in.gdal.

Best regards,

---------------------------------------+--------------------------------------
I set the clouds in motion - turn up | Frank Warmerdam, warmerdam@pobox.com
light and sound - activate the windows | http://pobox.com/~warmerda
and watch the world go round - Rush | Geospatial Programmer for Rent

----------------------------------------
If you want to unsubscribe from GRASS Development Team mailing list write to:
minordomo@geog.uni-hannover.de with
subject 'unsubscribe grass5'

Hi Frank

Frank Warmerdam wrote:

> On Fri, Mar 23, 2001 at 02:37:34PM +0700, Justin Hickey wrote:
> > I was just thinking that we should add a check for libgdal to
> > configure and provide a --with-gdal=DIR option. What do people
> > think? I don't know exactly how this would work or whether there
> > would have to be changes made to r.in.gdal, but it seems that
> > configure is where we should determine if libgdal is installed.
> > Is this feasible?
I can try to incorporate this if you like. I already have some
configure script for this from MapServer.

Yes that would be great since now there is no standard place for
libgdal.

--
Sincerely,

Jazzman (a.k.a. Justin Hickey) e-mail: jhickey@hpcc.nectec.or.th
High Performance Computing Center
National Electronics and Computer Technology Center (NECTEC)
Bangkok, Thailand

People who think they know everything are very irritating to those
of us who do. ---Anonymous

Jazz and Trek Rule!!!

----------------------------------------
If you want to unsubscribe from GRASS Development Team mailing list write to:
minordomo@geog.uni-hannover.de with
subject 'unsubscribe grass5'