Revision 8a39e0da
Von aquamaniac vor fast 20 Jahren hinzugefügt
configure.ac | ||
---|---|---|
AC_ENABLE_SHARED(yes)
|
||
|
||
|
||
|
||
###-------------------------------------------------------------------------
|
||
#
|
||
# Enable some GNU extensions if using the GNU C library
|
||
#
|
||
|
||
AC_GNU_SOURCE
|
||
|
||
|
||
|
||
###-------------------------------------------------------------------------
|
||
#
|
||
# Checks for programs.
|
||
... | ... | |
AC_CHECK_HEADERS([libofx/libofx.h], [], [HAVE_OFX="no"])
|
||
if test "$HAVE_OFX" != "yes"; then
|
||
AC_MSG_WARN([
|
||
*** LibOFX >=0.7 not found, the OFX plugin will not be compiled.
|
||
*** LibOFX >=0.8.0 not found, the OFX plugin will not be compiled.
|
||
*** Please get LibOFX from http://libofx.sf.net/.
|
||
*** Make sure that the libofx-devel packages are also installed.])
|
||
else
|
||
AC_CHECK_LIB(ofx, libofx_request_statement, [HAVE_OFX_WITH_CONNECT="yes"])
|
||
AC_CHECK_MEMBERS([struct OfxAccountInfo.brokerid],
|
||
[HAVE_OFX_WITH_CONNECT="yes"], [],
|
||
[#include <libofx/libofx.h>])
|
||
if test "$HAVE_OFX_WITH_CONNECT" = "yes"; then
|
||
AC_DEFINE_UNQUOTED(HAVE_OFX_WITH_CONNECT, 1, [whether direct connect is available])
|
||
fi
|
||
... | ... | |
case "$backend" in
|
||
aqofxconnect)
|
||
if test "x$HAVE_OFX_WITH_CONNECT" != "xyes"; then
|
||
AC_MSG_NOTICE([*** LibOFX>0.7.0 is required for backend "aqofxconnect". Specify --with-backends="aqhbci aqdtaus aqgeldkarte" to build aqbanking without that backend.])
|
||
AC_MSG_NOTICE([*** LibOFX>=0.8.0 is required for backend "aqofxconnect". Specify --with-backends="aqhbci aqdtaus aqgeldkarte" to build aqbanking without that backend.])
|
||
dependencies_ok="no"
|
||
fi
|
||
;;
|
Auch abrufbar als: Unified diff
adapted libofx detection macros
git-svn-id: https://devel.aqbanking.de/svn/aqbanking/trunk@448 5c42a225-8b10-0410-9873-89b7810ad06e