AUDIT: r16816 - gnucash/trunk - Improve aqbanking version check add maximum version to avoid confusion.

Christian Stimming cstim at cvs.gnucash.org
Sat Jan 5 16:39:27 EST 2008


Author: cstim
Date: 2008-01-05 16:39:27 -0500 (Sat, 05 Jan 2008)
New Revision: 16816
Trac: http://svn.gnucash.org/trac/changeset/16816

Modified:
   gnucash/trunk/configure.in
Log:
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


Modified: gnucash/trunk/configure.in
===================================================================
--- gnucash/trunk/configure.in	2008-01-05 21:06:25 UTC (rev 16815)
+++ gnucash/trunk/configure.in	2008-01-05 21:39:27 UTC (rev 16816)
@@ -846,15 +846,10 @@
 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



More information about the gnucash-changes mailing list