diff options
-rw-r--r-- | Makefile.am | 7 | ||||
-rw-r--r-- | option.cc | 1 | ||||
-rw-r--r-- | option.h | 2 |
3 files changed, 6 insertions, 4 deletions
diff --git a/Makefile.am b/Makefile.am index 63f53e5c..fcb2ffa2 100644 --- a/Makefile.am +++ b/Makefile.am @@ -32,14 +32,15 @@ libledger_la_SOURCES = \ startup.cc \ textual.cc \ valexpr.cc \ - walk.cc + walk.cc \ + xml.cc if HAVE_EXPAT libledger_la_CXXFLAGS += -DHAVE_EXPAT=1 -libledger_la_SOURCES += gnucash.cc xml.cc +libledger_la_SOURCES += gnucash.cc endif if HAVE_XMLPARSE libledger_la_CXXFLAGS += -DHAVE_XMLPARSE=1 -libledger_la_SOURCES += gnucash.cc xml.cc +libledger_la_SOURCES += gnucash.cc endif if HAVE_LIBOFX libledger_la_CXXFLAGS += -DHAVE_LIBOFX=1 @@ -976,6 +976,7 @@ option_t config_options[CONFIG_OPTIONS_SIZE] = { { "code-as-payee", '\0', false, opt_code_as_payee, false }, { "collapse", 'n', false, opt_collapse, false }, { "comm-as-payee", 'x', false, opt_comm_as_payee, false }, + { "cost", '\0', false, opt_basis, false }, { "csv-register-format", '\0', true, opt_csv_register_format, false }, { "current", 'c', false, opt_current, false }, { "daily", '\0', false, opt_daily, false }, @@ -38,7 +38,7 @@ class report_t; extern config_t * config; extern report_t * report; -#define CONFIG_OPTIONS_SIZE 97 +#define CONFIG_OPTIONS_SIZE 98 extern option_t config_options[CONFIG_OPTIONS_SIZE]; void option_help(std::ostream& out); |