summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libcli/smbreadline/wscript_configure2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcli/smbreadline/wscript_configure b/libcli/smbreadline/wscript_configure
index cec6526898..b4d1be2b43 100644
--- a/libcli/smbreadline/wscript_configure
+++ b/libcli/smbreadline/wscript_configure
@@ -48,5 +48,5 @@ msg='Checking for CPPFunction')
if conf.CHECK_FUNCS_IN('rl_completion_matches', 'readline'):
conf.DEFINE('HAVE_NEW_LIBREADLINE', 1)
-if conf.CHECK_FUNCS_IN('rl_event_hook', 'readline'):
+if conf.CHECK_FUNCS_IN('history_list', 'readline'):
conf.DEFINE('HAVE_HISTORY_LIST', 1)