319.1.1
by Grant Limberg
renamed all instances of MYSQL_ to DRIZZLE_ |
1 |
AC_DEFUN([DRIZZLE_CHECK_READLINE_DECLARES_HIST_ENTRY], [ |
779.2.4
by Monty Taylor
Updated some more build stuff. |
2 |
AC_CACHE_CHECK([HIST_ENTRY is declared in readline/readline.h], |
3 |
mysql_cv_hist_entry_declared, |
|
4 |
AC_TRY_COMPILE( |
|
5 |
[ |
|
6 |
#include <stdio.h>
|
|
7 |
#include <readline/readline.h>
|
|
8 |
], |
|
9 |
[ |
|
10 |
HIST_ENTRY entry;
|
|
11 |
], |
|
12 |
[ |
|
13 |
mysql_cv_hist_entry_declared=yes
|
|
14 |
AC_DEFINE_UNQUOTED(HAVE_HIST_ENTRY, [1], |
|
15 |
[HIST_ENTRY is defined in the outer libeditreadline]) |
|
16 |
], |
|
17 |
[mysql_cv_libedit_interface=no] |
|
1
by brian
clean slate |
18 |
) |
779.2.4
by Monty Taylor
Updated some more build stuff. |
19 |
) |
1
by brian
clean slate |
20 |
]) |
21 |
||
319.1.1
by Grant Limberg
renamed all instances of MYSQL_ to DRIZZLE_ |
22 |
AC_DEFUN([DRIZZLE_CHECK_NEW_RL_INTERFACE], [ |
1
by brian
clean slate |
23 |
AC_CACHE_CHECK([defined rl_compentry_func_t and rl_completion_func_t], mysql_cv_new_rl_interface, |
24 |
AC_TRY_COMPILE( |
|
25 |
[ |
|
26 |
#include "stdio.h"
|
|
27 |
#include "readline/readline.h"
|
|
28 |
], |
|
29 |
[ |
|
30 |
rl_completion_func_t *func1= (rl_completion_func_t*)0;
|
|
31 |
rl_compentry_func_t *func2= (rl_compentry_func_t*)0;
|
|
32 |
], |
|
33 |
[ |
|
34 |
mysql_cv_new_rl_interface=yes
|
|
35 |
], |
|
36 |
[mysql_cv_new_rl_interface=no] |
|
37 |
) |
|
38 |
) |
|
635.1.1
by Elan Ruusamäe
- do not let ac_cache hide definition of USE_NEW_READLINE_INTERFACE |
39 |
if test "$mysql_cv_new_rl_interface" = "yes"; then |
40 |
AC_DEFINE_UNQUOTED([USE_NEW_READLINE_INTERFACE], [1], |
|
41 |
[used new readline interface (are rl_completion_func_t and rl_compentry_func_t defined)]) |
|
42 |
fi |
|
1
by brian
clean slate |
43 |
]) |
44 |