summaryrefslogtreecommitdiff
blob: 8f0c938f36ca97af02695d76c4e5bd143325fa91 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--- mysql-5.6-5.6.9-rc+dfsg.orig/cmake/readline.cmake
+++ mysql-5.6-5.6.9-rc+dfsg/cmake/readline.cmake
@@ -192,9 +192,9 @@ MACRO (MYSQL_CHECK_READLINE)
     IF(WITH_LIBEDIT) 
      MYSQL_USE_BUNDLED_LIBEDIT()
     ELSE()
-      FIND_SYSTEM_LIBEDIT(edit)
-      IF(NOT_LIBEDIT_FOUND)
-        MESSAGE(FATAL_ERROR "Cannot find system libedit libraries.Use WITH_LIBEDIT") 
+      FIND_SYSTEM_LIBEDIT(readline)
+      IF(NOT_LIBREADLINE_FOUND)
+        MESSAGE(FATAL_ERROR "Cannot find system libreadline libraries.Use WITH_LIBREADLINE") 
       ENDIF()
     ENDIF()
   ENDIF(NOT WIN32)