From bf4817a8f69bc96a62e2c916011c2f4fab89fee8 Mon Sep 17 00:00:00 2001 From: Martin Ebourne Date: Wed, 4 Jan 2006 00:31:49 +0000 Subject: Rewrite configure check for readline lib to match libraries to headers and be more selective. Also changes --enable-gnu-readline which intentionally used to prefer editline over readline even when specified (for licence goodness), to now prefer readline if requested. This is probably less confusing to a user. --- bin/bbackupquery/bbackupquery.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'bin') diff --git a/bin/bbackupquery/bbackupquery.cpp b/bin/bbackupquery/bbackupquery.cpp index d76664fb..629f0eeb 100644 --- a/bin/bbackupquery/bbackupquery.cpp +++ b/bin/bbackupquery/bbackupquery.cpp @@ -15,6 +15,8 @@ #ifdef HAVE_LIBREADLINE #ifdef HAVE_READLINE_READLINE_H #include + #elif defined(HAVE_EDITLINE_READLINE_H) + #include #elif defined(HAVE_READLINE_H) #include #endif -- cgit v1.2.3