diff options
author | Arne Morten Kvarving <spiff@xbmc.org> | 2012-10-01 10:17:18 -0700 |
---|---|---|
committer | Arne Morten Kvarving <spiff@xbmc.org> | 2012-10-01 10:17:18 -0700 |
commit | b510c539e2641e61d4a5025ce52cc70431991e36 (patch) | |
tree | 04be184956494ccb2bda664611a44243def29360 /configure.in | |
parent | b2ce2e78f0b22deed725615071ed79d34e7a30ad (diff) | |
parent | ced6980164184f67e9cc224ef61458c5a5facfb1 (diff) |
Merge pull request #1518 from Fneufneu/swig2.0
look for swig2.0 binary
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/configure.in b/configure.in index 513366210e..16a5f0e9e5 100644 --- a/configure.in +++ b/configure.in @@ -1586,6 +1586,12 @@ fi echo "Checking for SWIG installation" AC_PATH_PROG(SWIG_EXE, swig, "none") if test "$SWIG_EXE" = "none"; then + AC_CHECK_PROG(SWIG20_EXE, swig2.0, , "none") + if test "$SWIG20_EXE" != "none" ; then + SWIG_EXE=$SWIG20_EXE + fi +fi +if test "$SWIG_EXE" = "none"; then AC_MSG_ERROR($missing_program) fi final_message="$final_message\n SWIG Available:\tYes" |