Lines 79-88
Link Here
|
79 |
|
79 |
|
80 |
AC_SUBST(NET_LIBS, "${SOCKET_LIBS} ${NSL_LIBS}") |
80 |
AC_SUBST(NET_LIBS, "${SOCKET_LIBS} ${NSL_LIBS}") |
81 |
|
81 |
|
82 |
AX_WITH_CURSES |
82 |
PKG_CHECK_MODULES([CURSES],[ncursesw],[ |
83 |
if test "x$ax_cv_curses" != xyes; then |
83 |
AC_DEFINE(HAVE_NCURSESW_CURSES_H, 1) |
84 |
AC_MSG_ERROR([requires an X/Open-compatible Curses library]) |
84 |
], |
85 |
fi |
85 |
[PKG_CHECK_MODULES([CURSES],[ncurses],[ |
|
|
86 |
AC_DEFINE(HAVE_NCURSES_H, 1) |
87 |
], |
88 |
[AX_WITH_CURSES() |
89 |
if test "x$ax_cv_ncursesw" != xyes && test "x$ax_cv_ncurses" != xyes; then |
90 |
AC_MSG_ERROR([requires either NcursesW or Ncurses library]) |
91 |
fi]) |
92 |
]) |
86 |
|
93 |
|
87 |
# XXX: This _may_ be for OS/X |
94 |
# XXX: This _may_ be for OS/X |
88 |
AC_CHECK_LIBM |
95 |
AC_CHECK_LIBM |
Lines 307-313
Link Here
|
307 |
LIBS="${LIBS} ${RT_LIBS}" |
314 |
LIBS="${LIBS} ${RT_LIBS}" |
308 |
AC_CHECK_FUNCS([clock_gettime]) |
315 |
AC_CHECK_FUNCS([clock_gettime]) |
309 |
AC_CHECK_FUNCS([gethrtime]) |
316 |
AC_CHECK_FUNCS([gethrtime]) |
310 |
LIBS="${save_LIBS}" |
317 |
LIBS="${save_LIBS} $CURSES_LIB $CURSES_LIBS" |
311 |
|
318 |
|
312 |
# --enable-kqueue |
319 |
# --enable-kqueue |
313 |
AC_ARG_ENABLE(kqueue, |
320 |
AC_ARG_ENABLE(kqueue, |