Skip to content
Browse files

Merge pull request #1518 from Fneufneu/swig2.0

look for swig2.0 binary
  • Loading branch information...
2 parents b2ce2e7 + ced6980 commit b510c539e2641e61d4a5025ce52cc70431991e36 Arne Morten Kvarving committed Oct 1, 2012
Showing with 6 additions and 0 deletions.
  1. +6 −0 configure.in
View
6 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"

0 comments on commit b510c53

Please sign in to comment.
Something went wrong with that request. Please try again.