summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2006-04-05 02:35:48 +0000
committerJohn Wiegley <johnw@newartisans.com>2008-04-13 02:41:32 -0400
commit2982e637c2e13dd1c94730aad09cea85df80649a (patch)
tree61ffcd99144064bcdc8d57878e54f8cda0c5d3d8
parentf9b874e1cbbbf8f64699379009e70d849da1fcf1 (diff)
downloadfork-ledger-2982e637c2e13dd1c94730aad09cea85df80649a.tar.gz
fork-ledger-2982e637c2e13dd1c94730aad09cea85df80649a.tar.bz2
fork-ledger-2982e637c2e13dd1c94730aad09cea85df80649a.zip
*** empty log message ***
-rw-r--r--Makefile.am7
-rw-r--r--option.cc1
-rw-r--r--option.h2
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);