Follow-up Comment #2, bug #42595 (project simulavr): Here's a patch with a better workaround:
git diff |sed 's/^/ /' diff --git a/configure.ac b/configure.ac index 0401762..0089e8b 100644 --- a/configure.ac +++ b/configure.ac @@ -58,11 +58,17 @@ if test ${CXX_PROG} = no ; then # AC_PROG_CXX sets g++, if nothing is found, but if not found make will fail AC_MSG_ERROR([C++ compiler ${CXX} not found],1) fi -AC_PROG_SWIG(2.0.0) + +AC_PROG_SWIG(3.0.0) if test "x$SWIG_LIB" = "x"; then - # fall back to SWIG version 1.3.x in case of SWIG 2.0.x not found! - AC_MSG_NOTICE([Don't worry, we can try to find SWIG 1.3.x!]) - AC_PROG_SWIG(1.3.18) + # fall back to SWIG version 2.0.x in case of SWIG 3.0.x not found! + AC_MSG_NOTICE([Don't worry, we can try to find SWIG 2.0.x!]) + AC_PROG_SWIG(2.0.0) + if test "x$SWIG_LIB" = "x"; then + # fall back to SWIG version 1.3.x in case of SWIG 2.0.x not found! + AC_MSG_NOTICE([Don't worry, we can try to find SWIG 1.3.x!]) + AC_PROG_SWIG(1.3.18) + fi fi SWIG_ENABLE_CXX SWIG_MULTI_MODULE_SUPPORT _______________________________________________________ Reply to this item at: <http://savannah.nongnu.org/bugs/?42595> _______________________________________________ Message sent via/by Savannah http://savannah.nongnu.org/ _______________________________________________ Simulavr-devel mailing list Simulavr-devel@nongnu.org https://lists.nongnu.org/mailman/listinfo/simulavr-devel