Improve aqbanking version check add maximum version to avoid confusion.

The very latest aqbanking series 3.x.x is not source compatible to 2.x.x.
GnuCash is not yet ported to that new series. Hence, we check that we
really have only those versions that are really supported.
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16816 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Christian Stimming
2008-01-05 21:39:27 +00:00
parent 81b907d836
commit f5159c4103

View File

@@ -846,15 +846,10 @@ AC_ARG_ENABLE( hbci,
if test x${HBCI_DIR} = xhbci ;
then
# Check for Aqbanking library
# aqbanking-1.6.0 was released on 2005-09-22
PKG_CHECK_MODULES(HBCI, aqbanking >= "1.6.0" gwenhywfar, [], [
AC_AQBANKING(1,6,0)
if test x${have_aqbanking} != xyes;
then
AC_MSG_ERROR([Could not find aqbanking. If you use --enable-hbci, you *have* to enable aqbanking.])
fi
HBCI_LIBS="${aqbanking_libs}"
HBCI_CFLAGS="${aqbanking_includes}"
# aqbanking-1.6.1 was released on 2005-11-04; aqbanking ships with
# a pkg-config file since 1.6.1.
PKG_CHECK_MODULES(HBCI, aqbanking >= 1.6.1 aqbanking < 2.9.0 gwenhywfar, [], [
AC_MSG_ERROR([Could not find aqbanking > 1.6.0 and < 2.9.0. If you use --enable-hbci, you *have* to have aqbanking installed. Note that gnucash requires aqbanking2 and not (yet) aqbanking3!])
])
# also check for ktoblzcheck