pombreda / libkml

Automatically exported from code.google.com/p/libkml
Other
0 stars 0 forks source link

configure.ac does not respect SWIG command line value #35

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. ./configure SWIG=/my/special/swig
2.
3.

What is the expected output? What do you see instead?

I'd expect that configure tries the /my/special/swig, instead it tests the
first swig in PATH. The same error occurs if SWIG is set as shell variable
before running configure.

What version of the product are you using? On what operating system?
libkml-0.5.0, OSX 10.5.2

Did you run the unit test suite that comes with the project? Did all tests
pass?
n/a

Please provide any additional information below.

The problem is cause by line 74 in configure.ac which should be changed

FROM:
SWIG_VERSION=`swig -version 2>&1|grep Version|cut -d" " -f3`

TO:
SWIG_VERSION=`$SWIG -version 2>&1|grep Version|cut -d" " -f3`

Original issue reported on code.google.com by heples...@gmail.com on 9 Nov 2008 at 9:27