diff options
-rw-r--r-- | Makefile.am | 11 | ||||
-rw-r--r-- | src/format.cc | 3 | ||||
-rw-r--r-- | src/journal.cc | 5 | ||||
-rw-r--r-- | src/main.cc | 4 |
4 files changed, 4 insertions, 19 deletions
diff --git a/Makefile.am b/Makefile.am index e8680946..63bfae38 100644 --- a/Makefile.am +++ b/Makefile.am @@ -75,10 +75,6 @@ endif if DEBUG libledger_la_CPPFLAGS += -DDEBUG_MODE endif -if HAVE_BOOST_PYTHON -libledger_la_CPPFLAGS += -DUSE_BOOST_PYTHON=1 -libledger_la_SOURCES += src/pyinterp.cc -endif if USE_PCH nodist_libledger_la_SOURCES = system.hh.gch @@ -96,9 +92,10 @@ endif libpyledger_la_CPPFLAGS = $(libledger_la_CPPFLAGS) libpyledger_la_LDFLAGS = -release $(PACKAGE_VERSION) -libpyledger_la_SOURCES = \ - src/py_utils.cc \ - src/py_times.cc \ +libpyledger_la_SOURCES = \ + src/pyinterp.cc \ + src/py_utils.cc \ + src/py_times.cc \ src/py_commodity.cc \ src/py_amount.cc diff --git a/src/format.cc b/src/format.cc index 8c5f6c55..1e89328c 100644 --- a/src/format.cc +++ b/src/format.cc @@ -30,9 +30,6 @@ */ #include "format.h" -#if 0 -#include "pyinterp.h" -#endif namespace ledger { diff --git a/src/journal.cc b/src/journal.cc index dcf9dd9d..7a6f3354 100644 --- a/src/journal.cc +++ b/src/journal.cc @@ -32,11 +32,6 @@ #include "journal.h" #include "xpath.h" #include "mask.h" -#if 0 -#ifdef USE_BOOST_PYTHON -#include "pyinterp.h" -#endif -#endif namespace ledger { diff --git a/src/main.cc b/src/main.cc index a9f3f607..12f614e5 100644 --- a/src/main.cc +++ b/src/main.cc @@ -37,11 +37,7 @@ #include "qif.h" #include "ofx.h" -#if defined(USE_BOOST_PYTHON) -#include <pyledger.h> -#else #include <ledger.h> -#endif #ifdef HAVE_UNIX_PIPES #include <sys/types.h> |