X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=configure.ac;h=04f23d1e1b44db4f6ade5b1682d6f05bc99d82cc;hb=6cdade9983a7ebd5a5bb8296daa49d5475f07af8;hp=2595cff0b222f53212d086acda97615da2ca66f9;hpb=6195a89359453dc49064c8f7a28c02165d2cb972;p=mmh diff --git a/configure.ac b/configure.ac index 2595cff..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