diff options
author | James Peach <jpeach@samba.org> | 2010-03-18 21:25:17 -0700 |
---|---|---|
committer | James Peach <jpeach@apple.com> | 2010-06-21 08:58:10 -0700 |
commit | 12e15b0ac800a84d553ff82c4c61ccc8da9fd5fd (patch) | |
tree | 32859a0e30a471d26f2117439385d2c69f0168f8 /source4/lib | |
parent | 6f96293406bfaff35e7588d0624842de145ff249 (diff) | |
download | samba-12e15b0ac800a84d553ff82c4c61ccc8da9fd5fd.tar.gz samba-12e15b0ac800a84d553ff82c4c61ccc8da9fd5fd.tar.bz2 samba-12e15b0ac800a84d553ff82c4c61ccc8da9fd5fd.zip |
smbtorture: Add history support to shell mode.
Diffstat (limited to 'source4/lib')
-rw-r--r-- | source4/lib/smbreadline/readline.m4 | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/source4/lib/smbreadline/readline.m4 b/source4/lib/smbreadline/readline.m4 index df154409ad..06d60caae1 100644 --- a/source4/lib/smbreadline/readline.m4 +++ b/source4/lib/smbreadline/readline.m4 @@ -78,6 +78,11 @@ AC_CHECK_LIB(readline, history_list, [], [$TERMLIBS]) +AC_CHECK_LIB(readline, add_history, + [AC_DEFINE(HAVE_ADD_HISTORY, 1, [Do we have add_history?])], + [], + [$TERMLIBS]) + AC_MSG_CHECKING(whether to use extern readline) if test x"$EXTERNAL_READLINE" = x"yes"; then AC_MSG_RESULT(yes) |