diff options
Diffstat (limited to 'source4/lib/smbreadline/readline.m4')
-rw-r--r-- | source4/lib/smbreadline/readline.m4 | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source4/lib/smbreadline/readline.m4 b/source4/lib/smbreadline/readline.m4 index e19f0a1744..4eebd13b5a 100644 --- a/source4/lib/smbreadline/readline.m4 +++ b/source4/lib/smbreadline/readline.m4 @@ -68,6 +68,9 @@ AC_CHECK_LIB(readline, rl_completion_matches, [], [$TERMLIBS]) +# not all readline libs have rl_event_hook +AC_CHECK_DECLS(rl_event_hook, [], [], [#include <readline/readline.h>]) + AC_MSG_CHECKING(whether to use extern readline) if test x"$EXTERNAL_READLINE" = x"yes"; then AC_MSG_RESULT(yes) |