Increase version requirement for swig and add swig 3.0 detection

Change bindings test scripts to executable
pull/224/head
Michael Black W9MDB 2020-03-04 09:41:43 -06:00
rodzic 4cdebac333
commit 8884e0d1f1
4 zmienionych plików z 3 dodań i 3 usunięć

0
bindings/luatest.lua 100644 → 100755
Wyświetl plik

0
bindings/pytest.py 100644 → 100755
Wyświetl plik

Wyświetl plik

@ -616,7 +616,7 @@ AM_CONDITIONAL([ENABLE_LUA], [test x"${cf_with_lua_binding}" = "xyes"])
dnl Only search for Swig if one or more bindings are enabled.
AS_IF([test "x${BINDING_ALL}" != "x"],
[# macros/ax_pkg_swig.m4
AX_PKG_SWIG([1.3.22],
AX_PKG_SWIG([3.0.12],
[BINDINGS="${BINDINGS} bindings"
cf_with_bindings="yes"],
[AC_MSG_ERROR([SWIG is required to build bindings...])

Wyświetl plik

@ -66,8 +66,8 @@
#serial 11
AC_DEFUN([AX_PKG_SWIG],[
# Ubuntu has swig 2.0 as /usr/bin/swig2.0
AC_PATH_PROGS([SWIG],[swig swig2.0])
# Ubuntu has swig 3.0 as /usr/bin/swig3.0
AC_PATH_PROGS([SWIG],[swig swig3.0])
if test -z "$SWIG" ; then
m4_ifval([$3],[$3],[:])
elif test -n "$1" ; then