You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 lines
795 B

  1. --- a/libcli/smbreadline/wscript_configure
  2. +++ b/libcli/smbreadline/wscript_configure
  3. @@ -1,11 +1,13 @@
  4. #!/usr/bin/env python
  5. -conf.CHECK_HEADERS('readline.h history.h readline/readline.h readline/history.h')
  6. -for termlib in ['ncurses', 'curses', 'termcap', 'terminfo', 'termlib', 'tinfo']:
  7. - if conf.CHECK_FUNCS_IN('tgetent', termlib):
  8. - conf.env['READLINE_TERMLIB'] = termlib
  9. - break
  10. +#conf.CHECK_HEADERS('readline.h history.h readline/readline.h readline/history.h')
  11. +#for termlib in ['ncurses', 'curses', 'termcap', 'terminfo', 'termlib', 'tinfo']:
  12. +# if conf.CHECK_FUNCS_IN('tgetent', termlib):
  13. +# conf.env['READLINE_TERMLIB'] = termlib
  14. +# break
  15. +
  16. +conf.undefine('HAVE_READLINE_READLINE_H')
  17. #
  18. # Check if we need to work around readline/readline.h