summaryrefslogtreecommitdiff
path: root/src/system.hh.in
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2019-01-14 17:30:09 -0800
committerGitHub <noreply@github.com>2019-01-14 17:30:09 -0800
commitbec7d3e82c52fd331d73bc9b2006e0ec86a23af9 (patch)
tree7d0c769098f5b69dd80b24c8a831d7255d70a71c /src/system.hh.in
parent88fd3a38b9456998c59dd49bb225504156274c83 (diff)
parentb29d07ac62a9e7df427ab71a789cfcc96de9f4db (diff)
downloadledger-bec7d3e82c52fd331d73bc9b2006e0ec86a23af9.tar.gz
ledger-bec7d3e82c52fd331d73bc9b2006e0ec86a23af9.tar.bz2
ledger-bec7d3e82c52fd331d73bc9b2006e0ec86a23af9.zip
Merge pull request #1705 from scfc/move-have-edit
Use HAVE_EDIT only in main.cc
Diffstat (limited to 'src/system.hh.in')
-rw-r--r--src/system.hh.in6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/system.hh.in b/src/system.hh.in
index 625de6ad..c093e334 100644
--- a/src/system.hh.in
+++ b/src/system.hh.in
@@ -57,9 +57,9 @@
#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_EDIT
#cmakedefine HAVE_GETPWUID
#cmakedefine HAVE_GETPWNAM
#cmakedefine HAVE_IOCTL
@@ -164,10 +164,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>