From ae3cc4f1b7530da66ff1f65d4416451446da36a9 Mon Sep 17 00:00:00 2001 From: Sergei Golubchik Date: Tue, 9 Sep 2014 19:03:05 +0200 Subject: MDEV-6561 libedit detection is broken fix readline/libedit detection: * search in readline/, editline/ and edit/readline/ * fix typos CMAKE_REQUIRES_LIBRARIES -> CMAKE_REQUIRED_LIBRARIES * use correct libedit API * use different cmake variables for libedit and readline --- client/mysql.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'client') diff --git a/client/mysql.cc b/client/mysql.cc index 052f0264511..792830fb79c 100644 --- a/client/mysql.cc +++ b/client/mysql.cc @@ -89,7 +89,7 @@ extern "C" { #if defined(__WIN__) #include #else -#include +#include #define HAVE_READLINE #define USE_POPEN #endif -- cgit v1.2.1