I'm starting to look at the OFX support in ledger. I installed the
libofx-dev package on Ubuntu, but when I run ledger's configure script
(v2.6.1 from git), it tells me that libofx is not available.
config.log tells me that libofx.h is not found. It is located in /usr/
include/libofx/libofx.h on Ubuntu, so I had to change configure.in. I
don't know if this is a Ubuntu-specifc thing or not, but thought I'd
mention it.
---
configure.in | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/configure.in b/configure.in
index 59a006b..97f86aa 100644
--- a/configure.in
+++ b/configure.in
@@ -191,7 +191,7 @@ if [test x$ofx = xtrue ]; then
LIBS="-lofx $LIBS"
AC_LANG_PUSH(C++)
AC_TRY_LINK(
- [#include <libofx.h>],
+ [#include <libofx/libofx.h>],
[ LibofxContextPtr libofx_context = libofx_get_new_context
();],
[libofx_avail_cv_=true],
[libofx_avail_cv_=false])
--
1.5.6.3