1 --- configure.ac.orig 2019-01-02 14:28:47.000000000 +0000
2 +++ configure.ac 2020-11-07 20:34:03.896580896 +0000
6 # Checks for libraries.
7 +AC_SEARCH_LIBS([gethostbyname], [nsl])
8 +AC_SEARCH_LIBS([socket, connect], [socket])
9 AC_SEARCH_LIBS([tgetent], [termcap curses ncurses], , AC_MSG_ERROR([terminal handling library missing]))
10 AC_SEARCH_LIBS([basename], [gen])
11 if test "x$with_pcre" != "xno"; then
15 # Checks for header files.
16 +AC_CHECK_HEADERS([netdb.h])
17 +AC_CHECK_HEADERS([sys/socket.h])
18 AC_CHECK_HEADERS([libgen.h paths.h termcap.h curses.h term.h sys/loadavg.h])
19 if test "x$with_pcre" != "xno"; then
20 AC_CHECK_HEADERS([pcre.h])