readline: fixed the test for history_list()
authorAndrew Tridgell <tridge@samba.org>
Sat, 16 Oct 2010 08:54:05 +0000 (19:54 +1100)
committerAndrew Tridgell <tridge@samba.org>
Tue, 19 Oct 2010 00:22:35 +0000 (11:22 +1100)
libcli/smbreadline/wscript_configure

index cec652689837901215f47ee7ca4d30b666e01dd7..b4d1be2b43477405bf0cd99eaa9d4594d0f2a48a 100644 (file)
@@ -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)