Bug #638689: Require libaqbanking >= 4.0.0 because earlier versions are not supported correctly by our code anymore.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20105 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Christian Stimming 2011-01-15 09:52:41 +00:00
parent eae03c2003
commit cdb4014700

View File

@ -744,19 +744,18 @@ AC_ARG_ENABLE( aqbanking,
want_aqbanking=yes
fi)
AC_ARG_ENABLE( hbci,
[AS_HELP_STRING([--enable-hbci],[an alias for --enable-aqbanking])],
[AS_HELP_STRING([--enable-hbci],[obsolete, replaced by --enable-aqbanking])],
if test "x$enableval" != "xno" ; then
want_aqbanking=yes
AC_MSG_ERROR([--enable-hbci is obsolete -- the option has been renamed into --enable-aqbanking])
fi)
if test x${want_aqbanking} = xyes ;
then
# Check for Aqbanking library
# aqbanking-1.6.1 was released on 2005-11-04; aqbanking ships with
# a pkg-config file since 1.6.1.
PKG_CHECK_MODULES(AQBANKING, aqbanking >= 3.0.0 gwenhywfar, [AQBANKING_DIR=aqbanking], [
PKG_CHECK_MODULES(AQBANKING, aqbanking >= 1.6.1 aqbanking < 2.9.0 gwenhywfar, [AQBANKING_DIR=hbci], [
AC_MSG_ERROR([Could not find aqbanking > 1.6.0. If you use --enable-aqbanking or --enable-hbci, you *have* to have aqbanking installed!])
])
# We require aqbanking-4.0.0 because our implementation doesn't run
# with earlier version anymore. (libaqbanking ships with a pkgconfig
# file since its version 1.6.1.)
PKG_CHECK_MODULES(AQBANKING, aqbanking >= 4.0.0 gwenhywfar, [AQBANKING_DIR=aqbanking], [
AC_MSG_ERROR([Could not find aqbanking >= 4.0.0. If you use --enable-aqbanking, you *have* to have aqbanking installed!])
])
# For libgwenhywfar > 3.99.20, look for its library gwengui-gtk2.
PKG_CHECK_MODULES([GWENGUI_GTK2], [gwengui-gtk2 gwenhywfar], [has_gwengui_gtk2=1], [has_gwengui_gtk2=0])