2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-31 06:25:31 +00:00

4494. [bug] Look for <editline/readline.h>. [RT #43429]

This commit is contained in:
Mark Andrews
2016-10-27 15:48:51 +11:00
parent c910fc24ce
commit 6fbb2b51d8
6 changed files with 74 additions and 0 deletions

View File

@@ -36,9 +36,15 @@
#include <dig/dig.h>
#if defined(HAVE_READLINE)
#if defined(HAVE_EDITLINE_READLINE_H)
#include <editline/readline.h>
#elif defined(HAVE_READLINE_READLINE_H)
#include <readline/readline.h>
#if defined (HAVE_READLINE_HISTORY_H)
#include <readline/history.h>
#endif
#endif
#endif
static isc_boolean_t short_form = ISC_TRUE,
tcpmode = ISC_FALSE,