X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;ds=sidebyside;f=configure.ac;h=2595cff0b222f53212d086acda97615da2ca66f9;hb=6195a89359453dc49064c8f7a28c02165d2cb972;hp=51a4d1af4615a6c7c32017335fcb239fbe311260;hpb=403bc56ffdf4679f5159d926c5774ad042c55ac9;p=mmh diff --git a/configure.ac b/configure.ac index 51a4d1a..2595cff 100644 --- a/configure.ac +++ b/configure.ac @@ -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,6 +533,11 @@ dnl ---------------- dnl CHECK STRUCTURES dnl ---------------- +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 dnl Where is located? Needed as input for signames.awk