X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=configure.ac;h=2595cff0b222f53212d086acda97615da2ca66f9;hb=6195a89359453dc49064c8f7a28c02165d2cb972;hp=0387a189b8116f10e9ea9d1303188661db56b73b;hpb=0e4bc6fa7fa8ad74a1c3e855411bdc0e63bc6a2e;p=mmh diff --git a/configure.ac b/configure.ac index 0387a18..2595cff 100644 --- a/configure.ac +++ b/configure.ac @@ -359,7 +359,7 @@ AC_CHECK_HEADER([sys/ptem.h], AC_DEFINE(WINSIZE_IN_PTEM,1, dnl --------------- dnl CHECK FUNCTIONS dnl --------------- -AC_CHECK_FUNCS(lstat getutent nl_langinfo mbtowc wcwidth) +AC_CHECK_FUNCS(lstat nl_langinfo mbtowc wcwidth) dnl Look for the initgroups() declaration. On AIX 4.[13], Solaris 4.1.3, and dnl ULTRIX 4.2A the function is defined in libc but there's no declaration in @@ -387,7 +387,7 @@ dnl Check location of modf AC_CHECK_FUNC(modf, , AC_CHECK_LIB(m, modf)) dnl Checks for network libraries (nsl, socket) -AC_CHECK_NETLIBS +NMH_CHECK_NETLIBS termcap_curses_order="termcap curses ncurses" for lib in $termcap_curses_order; do @@ -533,7 +533,10 @@ dnl ---------------- dnl CHECK STRUCTURES dnl ---------------- -AC_CHECK_MEMBERS(struct utmp.ut_type,,,[#include ]) +dnl For platforms such as FreeBSD that have tm_gmtoff in struct tm. +dnl (FreeBSD has a timezone() function but not a timezone global +dnl variable that is visible). +AC_CHECK_MEMBERS([struct tm.tm_gmtoff],,,[#include ]) AC_STRUCT_DIRENT_D_TYPE