diff options
author | Tim Landscheidt <tim@tim-landscheidt.de> | 2019-01-12 19:59:21 +0000 |
---|---|---|
committer | Tim Landscheidt <tim@tim-landscheidt.de> | 2019-01-12 19:59:42 +0000 |
commit | ccb7019c8b014b907d88bbcfb802b7f1458383b6 (patch) | |
tree | 2e1ea7f883752d8971a6dcbfed88141fee515632 /src/system.hh.in | |
parent | 40f84faa52396633dfc6756f04d89443bfa4debb (diff) | |
download | fork-ledger-ccb7019c8b014b907d88bbcfb802b7f1458383b6.tar.gz fork-ledger-ccb7019c8b014b907d88bbcfb802b7f1458383b6.tar.bz2 fork-ledger-ccb7019c8b014b907d88bbcfb802b7f1458383b6.zip |
Use HAVE_EDIT only in main.cc
Diffstat (limited to 'src/system.hh.in')
-rw-r--r-- | src/system.hh.in | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/system.hh.in b/src/system.hh.in index 38ac1e63..3c1187d9 100644 --- a/src/system.hh.in +++ b/src/system.hh.in @@ -1,5 +1,5 @@ /* - * Copyright (c) 2003-2018, John Wiegley. All rights reserved. + * Copyright (c) 2003-2019, John Wiegley. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are @@ -57,10 +57,10 @@ #define Ledger_VERSION_PRERELEASE "@Ledger_VERSION_PRERELEASE@" #define Ledger_VERSION_DATE @Ledger_VERSION_DATE@ -#define HAVE_EDIT @HAVE_EDIT@ #define HAVE_GETTEXT @HAVE_GETTEXT@ #cmakedefine HAVE_ACCESS +#cmakedefine HAVE_EDIT #cmakedefine HAVE_REALPATH #cmakedefine HAVE_GETPWUID #cmakedefine HAVE_GETPWNAM @@ -167,10 +167,6 @@ typedef std::ostream::pos_type ostream_pos_type; #include <mpfr.h> #include "utf8.h" -#if HAVE_EDIT -#include <editline/readline.h> -#endif - #include <boost/algorithm/string.hpp> #include <boost/any.hpp> #include <boost/bind.hpp> |