Skip to content

Commit

Permalink
configure: Allow older swig version for just C
Browse files Browse the repository at this point in the history
Signed-off-by: Corey Minyard <[email protected]>
  • Loading branch information
cminyard committed Jan 3, 2024
1 parent 203a1a3 commit effda1e
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -1968,6 +1968,13 @@ if test "x$tryswig" = "xyes"; then
SWIG_CPP_DIR=swig
], [
AC_MSG_WARN([SWIG version >= 4.1.0 is required for C++ swig.])
AX_PKG_SWIG(4.0.0,
[
AC_DEFINE([HAVE_SWIG], [], [Have swig installed])
SWIG_DIR=swig
], [
AC_MSG_WARN([SWIG version >= 4.0.0 is required for C swig.])
])
])
fi
AC_SUBST(SWIG_DIR)
Expand Down

0 comments on commit effda1e

Please sign in to comment.