summaryrefslogtreecommitdiff
path: root/source3/configure.in
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2001-03-18 13:24:57 +0000
committerAndrew Tridgell <tridge@samba.org>2001-03-18 13:24:57 +0000
commit9c4927d3624c594ea6647d946540ce286a948805 (patch)
tree26f8e58db0ff576c04b5867c2481b6d89ee69861 /source3/configure.in
parentabb183317342fbfdc75a6858d427e550f8f7123d (diff)
downloadsamba-9c4927d3624c594ea6647d946540ce286a948805.tar.gz
samba-9c4927d3624c594ea6647d946540ce286a948805.tar.bz2
samba-9c4927d3624c594ea6647d946540ce286a948805.zip
much better readline support from Simo Sorce, with some mods from me
to make it a bit simpler (This used to be commit e1487eb2c4626dbe0cc3b17606eda702cedef28b)
Diffstat (limited to 'source3/configure.in')
-rw-r--r--source3/configure.in4
1 files changed, 3 insertions, 1 deletions
diff --git a/source3/configure.in b/source3/configure.in
index b6e36de02a..5bbcf6e1af 100644
--- a/source3/configure.in
+++ b/source3/configure.in
@@ -356,7 +356,9 @@ fi
# test for where we get readline() from
if test "$ac_cv_header_readline_h" = "yes" ||
test "$ac_cv_header_readline_readline_h" = "yes"; then
- AC_CHECK_LIB(readline,readline)
+ # we need to also pull in termcap for some systems to use readline
+ AC_CHECK_LIB(termcap,tgetent)
+ AC_CHECK_LIB(readline,rl_callback_handler_install)
fi