a few fixes
This commit is contained in:
parent
e0c9534b06
commit
876f5b84ab
3 changed files with 5 additions and 3 deletions
|
|
@ -21,7 +21,8 @@ AC_CHECK_LIB([xmlparse], [XML_ParserCreate],
|
||||||
[AC_DEFINE([READ_GNUCASH], [1], [Support reading gnucash files])
|
[AC_DEFINE([READ_GNUCASH], [1], [Support reading gnucash files])
|
||||||
AM_CONDITIONAL(READ_GNUCASH, true)
|
AM_CONDITIONAL(READ_GNUCASH, true)
|
||||||
AC_SUBST(LIBS, "-lxmlparse -lxmltok $LIBS")],
|
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])
|
[-lxmltok])
|
||||||
|
|
||||||
# Check for options
|
# Check for options
|
||||||
|
|
|
||||||
2
debug.h
2
debug.h
|
|
@ -11,7 +11,7 @@
|
||||||
#define DEBUG_LEVEL RELEASE
|
#define DEBUG_LEVEL RELEASE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if DEBUG_LEVEL >= BETA
|
#if DEBUG_LEVEL >= RELEASE
|
||||||
#include <cassert>
|
#include <cassert>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,10 +1,11 @@
|
||||||
#include "option.h"
|
#include "option.h"
|
||||||
#include "debug.h"
|
#include "debug.h"
|
||||||
#include "util.h"
|
|
||||||
|
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
#include <cstdarg>
|
#include <cstdarg>
|
||||||
|
|
||||||
|
#include "util.h"
|
||||||
|
|
||||||
option_handler::option_handler(const std::string& label,
|
option_handler::option_handler(const std::string& label,
|
||||||
const std::string& opt_chars)
|
const std::string& opt_chars)
|
||||||
: handled(false)
|
: handled(false)
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue