Support for detection of SWIG and MONO during configuration

Sean Gillies sgillies at FRII.COM
Tue Mar 21 10:03:50 EST 2006


At the very least, this could banish forever the mapscriptvars file  
hack.

Sean

On Mar 21, 2006, at 7:58 AM, Howard Butler wrote:

> I also think it would be nice to detect SWIG and the SWIG MapScript
> variants within configure for the next MapServer release.  We already
> allow the specification of PHP in configure.  Some complications
> might be that certain MapScripts may have specific minimum SWIG
> requirements, and some MapScripts are not built with a normal
> GNUMakefile (Python uses distutils, for example).  Doing this might
> also make packager's lives easier.
>
> A bug with the specifics for the detection and building of each
> MapScript would be a good place to start.  I can help with the Python
> side.
>
> Howard
>
> At 3:46 AM -0600 3/21/06, Tamas Szekeres wrote:
>> Daniel,
>>
>> According to the IRC conversation I've posted this message to  
>> review it more
>> publicly.
>>
>> The UNIX build would be more uniform if we could make support for  
>> detecting
>> SWIG and MONO at the ./configure phase.
>> I would suppose to have optional features should be given as a  
>> parameter like
>>
>> ./configure --with-swig --with-csharp
>>
>> by allowing to add the path to the swig and the csharp compiler  
>> executables.
>> I think for swig /usr/local/bin/swig and /usr/bin/swig
>> for mono
>> /usr/local/bin/mcs and /usr/bin/mcs should be searched for by  
>> deafault
>>
>> The other languages may have other requirements.
>>
>> Any other suggestions would be appreciated.
>>
>> Thanks,
>>
>> Tamas



More information about the mapserver-dev mailing list