aboutsummaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorArne Morten Kvarving <spiff@xbmc.org>2012-10-01 10:17:18 -0700
committerArne Morten Kvarving <spiff@xbmc.org>2012-10-01 10:17:18 -0700
commitb510c539e2641e61d4a5025ce52cc70431991e36 (patch)
tree04be184956494ccb2bda664611a44243def29360 /configure.in
parentb2ce2e78f0b22deed725615071ed79d34e7a30ad (diff)
parentced6980164184f67e9cc224ef61458c5a5facfb1 (diff)
Merge pull request #1518 from Fneufneu/swig2.0
look for swig2.0 binary
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in6
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"