X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=configure.ac;h=04f23d1e1b44db4f6ade5b1682d6f05bc99d82cc;hp=f55a9824476aaa8ae4930a878830280c99db7c22;hb=264f6e648f566f8efaa0188fb6a9e4908329d6d6;hpb=54c43692649e392a42bb9559ea12cdaff056b965 diff --git a/configure.ac b/configure.ac index f55a982..04f23d1 100644 --- a/configure.ac +++ b/configure.ac @@ -394,6 +394,12 @@ for lib in $termcap_curses_order; do AC_CHECK_LIB(${lib}, tgetent, [TERMLIB="-l$lib"; break]) done AC_SUBST(TERMLIB)dnl +if test "x$TERMLIB" = "x"; then + echo 'Could not find tgetent() in any library.' + echo 'Is there a ncurses-devel package that you can install?' + exit 1 +fi + dnl --------------- dnl CHECK FOR ICONV @@ -533,6 +539,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