Thoughts on a mapserver-config script...
Steve Lime
Steve.Lime at DNR.STATE.MN.US
Thu Jun 7 14:53:55 EDT 2007
Whoops, looks like I wrote it but forgot to commit... Will remedy asap.
Steve
>>> On 6/7/2007 at 1:42 AM, in message
<75b4b93e0706062342m2c6bce18pc12fb3046163fa1c at mail.gmail.com>, Umberto
Nicoletti <umberto.nicoletti at GMAIL.COM> wrote:
> On 6/7/07, Steve Lime <Steve.Lime at dnr.state.mn.us> wrote:
>> It does now via mapserver-config --defines
>
> Sorry, but I can't find it.
> Am I missing something obvious here?
>
> Umberto
>
>>
>> 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