mirror of
https://github.com/Gnucash/gnucash.git
synced 2024-11-27 03:10:23 -06:00
Properly check for SWIG version 2.0.0 and later.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19287 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
0b87e05c53
commit
53c6330c12
@ -67,9 +67,11 @@ AC_DEFUN([AC_PROG_SWIG],[
|
|||||||
if test -z "$available_patch" ; then
|
if test -z "$available_patch" ; then
|
||||||
[available_patch=0]
|
[available_patch=0]
|
||||||
fi
|
fi
|
||||||
if test $available_major -ne $required_major \
|
if test $available_major -lt $required_major \
|
||||||
-o $available_minor -ne $required_minor \
|
-o \( $available_major -eq $required_major \
|
||||||
-o $available_patch -lt $required_patch ; then
|
-a \( $available_minor -lt $required_minor \
|
||||||
|
-o \( $available_minor -eq $required_minor \
|
||||||
|
-a $available_patch -lt $required_patch \) \) \) ; then
|
||||||
AC_MSG_ERROR([SWIG version >= $1 is required. You have $swig_version. You should look at http://www.swig.org])
|
AC_MSG_ERROR([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'
|
SWIG='echo "Error: SWIG version >= $1 is required. You have '"$swig_version"'. You should look at http://www.swig.org" ; false'
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user