From 2982e637c2e13dd1c94730aad09cea85df80649a Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Wed, 5 Apr 2006 02:35:48 +0000 Subject: *** empty log message *** --- Makefile.am | 7 ++++--- option.cc | 1 + 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 diff --git a/option.cc b/option.cc index 13ac4a4c..266e6b08 100644 --- a/option.cc +++ b/option.cc @@ -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 }, diff --git a/option.h b/option.h index 91838b99..b812fb09 100644 --- a/option.h +++ b/option.h @@ -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); -- cgit v1.2.3