projects
/
mmh
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2645f80
)
Exit with error message if no library could be found with tgetent.
author
David Levine
<levinedl@acm.org>
Sun, 5 Feb 2012 20:13:07 +0000
(14:13 -0600)
committer
David Levine
<levinedl@acm.org>
Sun, 5 Feb 2012 20:13:07 +0000
(14:13 -0600)
configure.ac
patch
|
blob
|
history
diff --git
a/configure.ac
b/configure.ac
index
ba848c3
..
cee74a8
100644
(file)
--- a/
configure.ac
+++ b/
configure.ac
@@
-472,6
+472,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. Is there a ncurses-devel '\
+'package that you can install?'
+ exit 1
+fi
+
dnl ---------------
dnl CHECK FOR ICONV