mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
2003-02-02 Christian Stimming <stimming@tuhh.de>
* configure.in: Fix libofx test. git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7919 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
2003-02-02 Christian Stimming <stimming@tuhh.de>
|
||||
|
||||
* configure.in: Fix libofx test.
|
||||
|
||||
* src/import-export/hbci/gnc-hbci-utils.c, po/de.po: Recognize
|
||||
even more error codes from OpenHBCI. Yes, I know this breaks
|
||||
string freeze -- but these strings *really* *only* apply to German
|
||||
|
||||
15
configure.in
15
configure.in
@@ -505,15 +505,16 @@ then
|
||||
save_LIBS="${LIBS}"
|
||||
LIBS="${LIBS} ${LIBOFX_LIBS}"
|
||||
AC_TRY_LINK( [
|
||||
void ofx_proc_security_cb(void) {}
|
||||
void ofx_proc_transaction_cb(void) {}
|
||||
void ofx_proc_statement_cb(void) {}
|
||||
void ofx_proc_status_cb(void) {}
|
||||
void ofx_proc_account_cb(void) {}
|
||||
#include <libofx/libofx.h>
|
||||
int ofx_proc_status_cb(const struct OfxStatusData data) { return 0; }
|
||||
int ofx_proc_account_cb(const struct OfxAccountData data) { return 0; }
|
||||
int ofx_proc_security_cb(const struct OfxSecurityData data) { return 0; }
|
||||
int ofx_proc_transaction_cb(const struct OfxTransactionData data) { return 0; }
|
||||
int ofx_proc_statement_cb(const struct OfxStatementData data) { return 0; }
|
||||
], [
|
||||
ofx_proc_file();
|
||||
ofx_proc_file(0, NULL);
|
||||
], AC_MSG_RESULT(yes),
|
||||
[ AC_MSG_ERROR([cannot find libofx library, needed for OFX support.]) ] )
|
||||
[ AC_MSG_ERROR([*** Cannot compile test program for libofx library. Please check config.log for the exact error.]) ] )
|
||||
|
||||
LIBS="${save_LIBS}"
|
||||
CPPFLAGS="${save_CPPFLAGS}"
|
||||
|
||||
Reference in New Issue
Block a user