14 |
dnl When curses is supported, use AC_SEARCH_LIBS(wbkgdset, ncurses curses,,...) |
dnl When curses is supported, use AC_SEARCH_LIBS(wbkgdset, ncurses curses,,...) |
15 |
dnl TODO: On SuSE there are no ncurses (it's named curses) |
dnl TODO: On SuSE there are no ncurses (it's named curses) |
16 |
AC_CHECK_LIB(ncurses, wbkgdset,,echo "*** The ncurses library is required!";exit 1) |
AC_CHECK_LIB(ncurses, wbkgdset,,echo "*** The ncurses library is required!";exit 1) |
17 |
|
AC_CHECK_HEADERS([ncurses.h ncurses/ncurses.h ncurses/curses.h curses.h]) |
18 |
|
|
19 |
# Checks for header files. |
# Checks for header files. |
20 |
AC_HEADER_STDC |
AC_HEADER_STDC |
40 |
dnl If 'volatile' not supported, define it to be empty. |
dnl If 'volatile' not supported, define it to be empty. |
41 |
AC_C_VOLATILE |
AC_C_VOLATILE |
42 |
|
|
43 |
|
dnl See if we can get the uptime from sysinfo(). |
44 |
|
AC_CHECK_MEMBERS([struct sysinfo.uptime],,[echo "*** Warning: Changing system time will affect internal timers."],[#include <sys/sysinfo.h>]) |
45 |
|
|
46 |
# Checks for library functions. |
# Checks for library functions. |
47 |
|
|
48 |
dnl Needed only if malloc(0) is to be called (replacement function needed too) |
dnl Needed only if malloc(0) is to be called (replacement function needed too) |
54 |
dnl TODO: Needs replacement |
dnl TODO: Needs replacement |
55 |
AC_FUNC_MKTIME |
AC_FUNC_MKTIME |
56 |
|
|
57 |
dnl TODO: Needs replacement |
dnl Needed only if realloc(0,0) is to be called (replacement function needed) |
58 |
AC_FUNC_REALLOC |
dnl AC_FUNC_REALLOC |
59 |
|
|
60 |
dnl Too much paranoic, or not? |
dnl Too much paranoic, or not? |
61 |
dnl AC_FUNC_SELECT_ARGTYPES |
dnl AC_FUNC_SELECT_ARGTYPES |