diff options
author | John Wiegley <johnw@newartisans.com> | 2004-08-24 19:23:32 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2004-08-24 19:23:32 -0400 |
commit | 2943af2761e6ac5064db077046e230fa1c2b06dd (patch) | |
tree | 55cc5039d11ed77dc3bcf6c096735a99f282f4d2 | |
parent | d4e39c488ddeabfc240e0f782b6d3263d7f400a0 (diff) | |
download | fork-ledger-2943af2761e6ac5064db077046e230fa1c2b06dd.tar.gz fork-ledger-2943af2761e6ac5064db077046e230fa1c2b06dd.tar.bz2 fork-ledger-2943af2761e6ac5064db077046e230fa1c2b06dd.zip |
misc maintenance changes
-rwxr-xr-x | acprep (renamed from scripts/acprep) | 5 | ||||
-rw-r--r-- | configure.ac | 4 | ||||
-rw-r--r-- | ledger.cc | 3 |
3 files changed, 8 insertions, 4 deletions
@@ -11,7 +11,10 @@ fi autoheader autoconf -if [ "$1" = "--gen" ]; then +if [ "$1" = "--debug" ]; then ./configure CPPFLAGS="-I/sw/include -I/usr/include/httpd/xml" \ LDFLAGS=-L/sw/lib CXXFLAGS="-g" --enable-debug +elif [ "$1" = "--opt" ]; then + ./configure CPPFLAGS="-I/sw/include -I/usr/include/httpd/xml" \ + LDFLAGS=-L/sw/lib CXXFLAGS="-O3 -fomit-frame-pointer" fi diff --git a/configure.ac b/configure.ac index 6ce08aeb..682cd261 100644 --- a/configure.ac +++ b/configure.ac @@ -2,8 +2,8 @@ # Process this file with autoconf to produce a configure script. AC_PREREQ(2.59) -AC_INIT(ledger, 2.0, johnw@netartisans.com) -AM_INIT_AUTOMAKE(ledger, 2.0) +AC_INIT(ledger, 2.0b, johnw@netartisans.com) +AM_INIT_AUTOMAKE(ledger, 2.0b) AC_CONFIG_SRCDIR([main.cc]) AC_CONFIG_HEADER([acconf.h]) @@ -1,12 +1,13 @@ #include "ledger.h" #include "valexpr.h" #include "datetime.h" +#include "acconf.h" #include <fstream> namespace ledger { -const std::string version = "2.0b"; +const std::string version = PACKAGE_VERSION; bool transaction_t::valid() const { |