mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Require swig 2.0.10 when building from svn/git
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23747 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
9337a9be66
commit
2cb9764459
23
configure.ac
23
configure.ac
@ -476,27 +476,20 @@ AM_CONDITIONAL(GNC_HAVE_GUILE_WWW, test "${gnc_have_guile_www}" = yes)
|
|||||||
### --------------------------------------------------------------------------
|
### --------------------------------------------------------------------------
|
||||||
### SWIG version checks (only when building from SCM)
|
### SWIG version checks (only when building from SCM)
|
||||||
#
|
#
|
||||||
# We need at least version 1.3.31 of SWIG because
|
# We need at least version 2.0.10 of SWIG because that's the first version
|
||||||
# that's when SWIG doesn't barf on the "inline" keyword in C headers anymore
|
# that supports guile 2
|
||||||
# In addition, guile 2 support only landed in SWIG 2.0.10
|
# For a guile 1.8 build we could have gotten away with an older version
|
||||||
|
# but we need to apply a patch to the swig generated files that needs to
|
||||||
|
# go into the release tarball. At that point we don't know yet which
|
||||||
|
# version of guile will be used together with that tarball so we have
|
||||||
|
# to prepare the tarball for guile 2 compatibility.
|
||||||
if test "${BUILDING_FROM_SCM}" = yes
|
if test "${BUILDING_FROM_SCM}" = yes
|
||||||
then
|
|
||||||
if test "${gnc_have_guile_2}" = yes
|
|
||||||
then
|
then
|
||||||
AX_PKG_SWIG(2.0.10, [],
|
AX_PKG_SWIG(2.0.10, [],
|
||||||
[AC_MSG_ERROR([
|
[AC_MSG_ERROR([
|
||||||
You are building from ${SCM_TYPE} but swig was not found or too old.
|
You are building from ${SCM_TYPE} but swig was not found or too old.
|
||||||
To build gnucash with guile 2 you need at least swig version 2.0.10.
|
To build gnucash you need at least swig version 2.0.10.
|
||||||
If that version is not available for your platform, you can try to
|
|
||||||
build against guile 1.8, which also works with older versions of swig.
|
|
||||||
])])
|
])])
|
||||||
else
|
|
||||||
AX_PKG_SWIG(1.3.31, [],
|
|
||||||
[AC_MSG_ERROR([
|
|
||||||
You are building from ${SCM_TYPE} but swig was not found or too old.
|
|
||||||
To build gnucash with guile 1.8 you need at least swig version 1.3.31.
|
|
||||||
])])
|
|
||||||
fi
|
|
||||||
fi
|
fi
|
||||||
### --------------------------------------------------------------------------
|
### --------------------------------------------------------------------------
|
||||||
### LIBXML -- GNOME_XML_LIB is defined by GNOME_XML_CHECK
|
### LIBXML -- GNOME_XML_LIB is defined by GNOME_XML_CHECK
|
||||||
|
Loading…
Reference in New Issue
Block a user