Thoughts on a mapserver-config script...

Steve Lime Steve.Lime at DNR.STATE.MN.US
Thu Jun 7 00:05:26 EDT 2007


It does now via mapserver-config --defines

Steve

>>> Umberto Nicoletti <umberto.nicoletti at GMAIL.COM> 06/06/07 11:03 AM >>>
It would also be very cool if the script could spit out only the
-DXXXX params for usage with swig.

Umberto

On 6/6/07, Frank Warmerdam <warmerdam at pobox.com> wrote:
> Steve Lime wrote:
> > I checked on how GDAL did this and copied that process over to mapserver in
> > the main branch. Doing a 'make' will create a mapserver-config script now
> > although it likely needs tweaking...
>
> Steve,
>
> This looks promising on a preliminary review.
>
> I notice that "mapserver-config --libs" does not include -lmap.  Shouldn't it?
> I also think the value of this is somewhat limited yet since we don't have
> a concept of installing mapserver yet.  So we can't actually point things
> at the installed location of the mapserver library (or include files).
>
> Also, I think a config switch that reports the full version string like
> the following would be nice.  Though I can't see exactly how this would
> be accomplished without some substantial changes since this is normally
> constructed based on macros in maperror.c.
>
>   OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP OUTPUT=SVG SUPPORTS=PROJ
> SUPPORTS=FREETYPE SUPPORTS=WMS_SERVER SUPPORTS=WFS_SERVER SUPPORTS=WCS_SERVER
> INPUT=EPPL7 INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE DEBUG=MSDEBUG
>
> Best regards,
> --
> ---------------------------------------+--------------------------------------
> I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
> light and sound - activate the windows | http://pobox.com/~warmerdam
> and watch the world go round - Rush    | President OSGeo, http://osgeo.org
>



More information about the mapserver-dev mailing list