Commit c6904964 authored by Roland Levillain's avatar Roland Levillain
Browse files

Have AC_PROG_SWIG be more flexible w.r.t. major/minor version numbers.

	* m4/swig.m4: Here.
parent 565a8acd
2010-06-29 Roland Levillain <roland@lrde.epita.fr>
Have AC_PROG_SWIG be more flexible w.r.t. major/minor version numbers.
* m4/swig.m4: Here.
2010-06-24 Roland Levillain <roland@lrde.epita.fr>
Add `mesh-segm-skel' to the branches to be uploaded (as snapshot).
......
......@@ -61,9 +61,12 @@ AC_DEFUN([AC_PROG_SWIG],[
if test -z "$available_patch" ; then
[available_patch=0]
fi
if test $available_major -ne $required_major \
-o $available_minor -ne $required_minor \
-o $available_patch -lt $required_patch ; then
if test \
$available_major -lt $required_major \
-o \( $available_major -eq $required_major \
-a \( $available_minor -lt $required_minor \
-o \( $available_minor -eq $required_minor \
-a $available_patch -lt $required_patch \) \) \) ; then
AC_MSG_WARN([SWIG version >= $1 is required. You have $swig_version. You should look at http://www.swig.org])
SWIG='echo "Error: SWIG version >= $1 is required. You have '"$swig_version"'. You should look at http://www.swig.org" ; false'
else
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment