On Thu, 2007-08-30 at 00:55 -0600, Charlie Savage wrote:

> That would be great - thanks for looking.  If you have the 
> time/inclination to look at the other Python automake error I'm seeing 
> (see other email) I would be grateful.

Actually... am I right in thinking that SWIG is only needed if
--enable-python or --enable-ruby is specified? In which case perhaps the
following would be better:


If Python Or Ruby Enabled Then
        If Detect SWIG Then
                If Python Enabled Then
                        Check For Python
                        If Python is found Then
                                use_python = true
                        Else
                                use_python = false
                        End If
                Else
                        use_python = false
                End If

                If Ruby Enabled Then
                        Check For Ruby
                        If Ruby is found Then
                                use_ruby = true
                        Else
                                use_ruby = false
                        End If
                Else
                        use_ruby = false
                End If
        Else
                use_python = false
                use_ruby = false
        End If
Else
        use_python = false
        use_ruby = false
End If


And then we could just ignore the --enable/disable-swig switch
completely. This strikes me as being a much better solution since the
SWIG detection is handled automatically.


ATB,

Mark.

-- 
ILande - Open Source Consultancy
http://www.ilande.co.uk


_______________________________________________
geos-devel mailing list
geos-devel@geos.refractions.net
http://geos.refractions.net/mailman/listinfo/geos-devel

Reply via email to