Thoughts on a mapserver-config script...

Frank Warmerdam warmerdam at POBOX.COM
Wed Jun 6 11:21:50 EDT 2007


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