diff options
author | John Wiegley <johnw@newartisans.com> | 2004-08-24 02:40:23 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2004-08-24 02:40:23 -0400 |
commit | 876f5b84ab7114039f0a50806c2e395f32f98cfe (patch) | |
tree | 077e75ff5156ba1d387f3235e6ffc6ec44638af9 | |
parent | e0c9534b066e4e49d3be2001eee255b6e2fb2595 (diff) | |
download | fork-ledger-876f5b84ab7114039f0a50806c2e395f32f98cfe.tar.gz fork-ledger-876f5b84ab7114039f0a50806c2e395f32f98cfe.tar.bz2 fork-ledger-876f5b84ab7114039f0a50806c2e395f32f98cfe.zip |
a few fixes
-rw-r--r-- | configure.ac | 3 | ||||
-rw-r--r-- | debug.h | 2 | ||||
-rw-r--r-- | option.cc | 3 |
3 files changed, 5 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac index c88d8ead..418b6d49 100644 --- a/configure.ac +++ b/configure.ac @@ -21,7 +21,8 @@ AC_CHECK_LIB([xmlparse], [XML_ParserCreate], [AC_DEFINE([READ_GNUCASH], [1], [Support reading gnucash files]) AM_CONDITIONAL(READ_GNUCASH, true) AC_SUBST(LIBS, "-lxmlparse -lxmltok $LIBS")], - AC_MSG_NOTICE([Could not find xmlparse library; gnucash support disabled]), + [AC_MSG_NOTICE([Could not find xmlparse library; gnucash support disabled]) + AM_CONDITIONAL(READ_GNUCASH, false)], [-lxmltok]) # Check for options @@ -11,7 +11,7 @@ #define DEBUG_LEVEL RELEASE #endif -#if DEBUG_LEVEL >= BETA +#if DEBUG_LEVEL >= RELEASE #include <cassert> #endif @@ -1,10 +1,11 @@ #include "option.h" #include "debug.h" -#include "util.h" #include <iostream> #include <cstdarg> +#include "util.h" + option_handler::option_handler(const std::string& label, const std::string& opt_chars) : handled(false) |