Skip to content

Commit

Permalink
BUILD: Removed KtoBlzCheck, Prep
Browse files Browse the repository at this point in the history
Checking national account number/bank code combinations is no longer
needed in times of SEPA.
  • Loading branch information
Martin Preuss committed Feb 10, 2019
1 parent 693cbfe commit 7f603a2
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 53 deletions.
17 changes: 2 additions & 15 deletions README
Expand Up @@ -90,20 +90,11 @@ Currently there are plugins for the following formats:
1.3. Bank/Account Information
-----------------------------

AqBanking supports plugins which allow lookup and verification of
bank code/ account id pair validity. For Germany the library
KtoBlzCheck is used for validation, but the bank information is
shipped with aqbanking.
AqBanking supports plugins which allow lookup of
bank code/ account id pair validity.

Currently AqBanking provides informations about:
- ca 25,000 US banks
- ca 20,000 German banks
- ca 3,600 Swiss banks
- ca 2,300 Austrian banks

AqBanking also provides information about countries: Country name, ISO-3166
country code (both numeric and alpha) and currency information (ISO 4217
currency codes).



Expand Down Expand Up @@ -189,10 +180,6 @@ http://gwenhywfar.sf.net/, is absolutely required
- "GMP", the GNU MP Bignum Library available from
http://gmplib.org/index.html is required for calculations

- "KtoBlzCheck" >= 1.0 from http://sf.net/projects/ktoblzcheck is
required for the German bank account number checking, otherwise
the account number checking will not be compiled.

- The python module "ctypes" http://sf.net/projects/ctypes is
required for the python wrappers of aqbanking. The python wrappers
are installed by default (to disable it, use --disable-python),
Expand Down
2 changes: 0 additions & 2 deletions aqbanking.spec.in
Expand Up @@ -74,9 +74,7 @@ Packager: Martin Preuss <martin@aquamaniac.de>
URL: http://sourceforge.net/projects/aqbanking
BuildRoot: %{_tmppath}/%{name}-%{version}-root
Requires: gwenhywfar >= %{_gwenhywfar_version}
Requires: ktoblzcheck
BuildRequires: gwenhywfar-devel >= %{_gwenhywfar_version}
BuildRequires: ktoblzcheck
#BuildRequires: python-ctypes
BuildRequires: python >= 2.3
BuildRequires: pyxml
Expand Down
40 changes: 4 additions & 36 deletions configure.ac
Expand Up @@ -184,6 +184,8 @@ AC_CHECK_TOOL([RC], [windres], [no])
AC_CHECK_PROG(USE_DOT,dot,YES,NO)
AC_CHECK_PROG(SED,sed,sed)

PKG_PROG_PKG_CONFIG

# Checks for libraries.

###-------------------------------------------------------------------------
Expand Down Expand Up @@ -424,39 +426,14 @@ AC_SUBST(aqbanking_plugins_bankinfo_libs)



###-------------------------------------------------------------------------
#
# KtoBlzCheck
#

pkg_modules="ktoblzcheck >= 1.10"
PKG_CHECK_MODULES(ktoblzcheck, [$pkg_modules], [have_ktoblzcheck="yes"], [have_ktoblzcheck="no"])
if test "$have_ktoblzcheck" = "yes"; then
AC_DEFINE(HAVE_KTOBLZCHECK, 1, [if KTOBLZCHECK is available])
ktoblzcheck_includes="$ktoblzcheck_CFLAGS"
ktoblzcheck_libs="$ktoblzcheck_LIBS"
else
AC_MSG_WARN([
*** ktoblzcheck is missing.
*** Account number checking will not be available.
*** We strongly suggest installing ktoblzcheck and its devel
*** package.])
fi

AM_CONDITIONAL(WITH_KTOBLZCHECK, [test "$have_ktoblzcheck" = "yes"])
AC_SUBST(ktoblzcheck_libs)
AC_SUBST(ktoblzcheck_includes)



###-------------------------------------------------------------------------
#
# Check for Gwen
#

# Variable used in aqbanking-config.cmake
AC_SUBST(GWENHYWFAR_MINIMUM_VERSION, "4.99.8.0")
AC_GWENHYWFAR(4,99,8,0)
AC_SUBST(GWENHYWFAR_MINIMUM_VERSION, "4.99.9.0")
AC_GWENHYWFAR(4,99,9,0)

all_includes="$all_includes $gwenhywfar_includes"

Expand Down Expand Up @@ -1370,7 +1347,6 @@ echo "Data Search Folder : $aqbanking_data_searchdir"
echo "Locale Search Folder : $aqbanking_locale_searchdir"
echo "Plugin Search Folder : $aqbanking_plugin_searchdir"
echo "Symbol Visibility : $visibility_supported"
echo "Use KtoBlzCheck : $have_ktoblzcheck"
echo "Build AqBanking-CLI : $enable_cli"
echo "CLI Version String : $AQBANKING_CLI_VERSION_STRING"
echo
Expand All @@ -1384,14 +1360,6 @@ echo " Parsers : $aqbanking_parsers"
echo " Bank Infos : $aqbanking_bankinfos"
echo

echo "Additional Information"
echo "----------------------------------------------------"
if test "$have_ktoblzcheck" != "yes"; then
echo " - you really should consider installing ktoblzcheck "
echo " in order to enable account number validation!"
fi
echo

echo "----------------------------------------------------"
echo "You can now run \"make\" (or gmake on FreeBSD) to compile."

Expand Down

0 comments on commit 7f603a2

Please sign in to comment.