[PATCH 6/7] configure.ac (HAVE_SWIG_1_3_39): New conditional.

--- ChangeLog | 4 ++++ configure.ac | 5 +++++ 2 files changed, 9 insertions(+), 0 deletions(-) diff --git a/ChangeLog b/ChangeLog index 69be6ad..422190c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ 2009-06-08 Roland Levillain <roland@lrde.epita.fr> + * configure.ac (HAVE_SWIG_1_3_39): New conditional. + +2009-06-08 Roland Levillain <roland@lrde.epita.fr> + Require SWIG >= 1.3.36 for Swilena. * m4/with-swilena.m4 (_OLN_WITH_SWIG): Here. diff --git a/configure.ac b/configure.ac index 7bcd9bb..d00b0e6 100644 --- a/configure.ac +++ b/configure.ac @@ -169,6 +169,11 @@ AC_CONFIG_SUBDIRS([external/trimesh]) OLN_WITH_SWILENA([enable_swilena=yes], []) AM_CONDITIONAL([ENABLE_SWILENA], [test x$enable_swilena = xyes]) +AS_VERSION_COMPARE([$swig_version], [1.3.39], + [have_swig_1_3_39=false], + [have_swig_1_3_39=true], + [have_swig_1_3_39=true]) +AM_CONDITIONAL([HAVE_SWIG_1_3_39], [$have_swig_1_3_39]) AC_CONFIG_FILES([swilena/Makefile swilena/python/Makefile]) -- 1.6.2.4
participants (1)
-
Roland Levillain