diff options
author | Stefan Metzmacher <metze@samba.org> | 2006-10-11 13:59:03 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:15:25 -0500 |
commit | 976b97ecbf9bde400a6f92cad9d9709d56e73058 (patch) | |
tree | ff47eee1419e6b07d0c92aa1c677a1672bcf6c4e /source/configure.in | |
parent | eb1f0b49cf0e84385a62f9dfcb2167fea2e8fd8b (diff) | |
download | samba-976b97ecbf9bde400a6f92cad9d9709d56e73058.tar.gz |
r19246: merge from samba4 rev 18207 and 18208:
readline fixes for mac os 10
metze
Diffstat (limited to 'source/configure.in')
-rw-r--r-- | source/configure.in | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/source/configure.in b/source/configure.in index 9bc71058fcd..314582c4496 100644 --- a/source/configure.in +++ b/source/configure.in @@ -1183,6 +1183,13 @@ AC_CHECK_LIB(readline, rl_completion_matches, [], [$TERMLIBS]) +# not all readline libs have rl_event_hook or history_list +AC_CHECK_DECLS(rl_event_hook, [], [], [#include <readline/readline.h>]) +AC_CHECK_LIB(readline, history_list, + [AC_DEFINE(HAVE_HISTORY_LIST, 1, [Do we have history_list?])], + [], + [$TERMLIBS]) + # The following test taken from the cvs sources # If we can't find connect, try looking in -lsocket, -lnsl, and -linet. # The Irix 5 libc.so has connect and gethostbyname, but Irix 5 also has |