]>
Commit | Line | Data |
---|---|---|
96b6cbc2 AO |
1 | --- Percona-Server-5.6.15-rel63.0/cmake/readline.cmake.orig 2013-12-18 10:52:13.000000000 +0100 |
2 | +++ Percona-Server-5.6.15-rel63.0/cmake/readline.cmake 2014-02-09 06:17:56.079619159 +0100 | |
3 | @@ -131,23 +131,23 @@ | |
4 | ||
5 | MACRO (FIND_SYSTEM_EDITLINE) | |
6 | FIND_PATH(FOUND_EDITLINE_READLINE | |
7 | - NAMES editline/readline.h | |
8 | + NAMES readline/readline.h | |
9 | ) | |
10 | IF(FOUND_EDITLINE_READLINE) | |
11 | - SET(EDITLINE_INCLUDE_DIR "${FOUND_EDITLINE_READLINE}/editline") | |
12 | + SET(EDITLINE_INCLUDE_DIR "${FOUND_EDITLINE_READLINE}/readline") | |
13 | ELSE() | |
14 | # Different path on FreeBSD | |
15 | FIND_PATH(FOUND_EDIT_READLINE_READLINE | |
16 | NAMES edit/readline/readline.h | |
17 | ) | |
18 | IF(FOUND_EDIT_READLINE_READLINE) | |
19 | - SET(EDITLINE_INCLUDE_DIR "${FOUND_EDIT_READLINE_READLINE}/edit/readline") | |
20 | + SET(EDITLINE_INCLUDE_DIR "${FOUND_EDIT_READLINE_READLINE}/readline") | |
21 | ENDIF() | |
22 | ENDIF() | |
23 | ||
24 | FIND_LIBRARY(EDITLINE_LIBRARY | |
25 | NAMES | |
26 | - edit | |
27 | + readline | |
28 | ) | |
29 | MARK_AS_ADVANCED(EDITLINE_INCLUDE_DIR EDITLINE_LIBRARY) | |
30 | ||
31 | @@ -160,7 +160,7 @@ | |
32 | SET(CMAKE_REQUIRED_LIBRARIES ${EDITLINE_LIBRARY}) | |
33 | CHECK_CXX_SOURCE_COMPILES(" | |
34 | #include <stdio.h> | |
35 | - #include <readline.h> | |
36 | + #include <readline/history.h> | |
37 | int main(int argc, char **argv) | |
38 | { | |
39 | HIST_ENTRY entry; | |
7eed3192 | 40 | @@ -179,7 +179,7 @@ |
96b6cbc2 AO |
41 | |
42 | CHECK_CXX_SOURCE_COMPILES(" | |
43 | #include <stdio.h> | |
44 | - #include <readline.h> | |
45 | + #include <readline/readline.h> | |
46 | int main(int argc, char **argv) | |
47 | { | |
7eed3192 AM |
48 | typedef int MYFunction(const char*, int); |
49 | @@ -192,7 +192,7 @@ | |
96b6cbc2 | 50 | |
7eed3192 AM |
51 | CHECK_CXX_SOURCE_COMPILES(" |
52 | #include <stdio.h> | |
53 | - #include <readline.h> | |
54 | + #include <readline/readline.h> | |
55 | int main(int argc, char **argv) | |
56 | { | |
57 | typedef char* MYFunction(const char*, int); | |
58 |