Code style: Fixed indent and comment style.
[mmh] / configure.ac
index 2595cff..04f23d1 100644 (file)
@@ -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