projects
/
mmh
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d132c52
)
Exit with error message if no library could be found with tgetent().
author
markus schnalke
<meillo@marmaro.de>
Tue, 27 Mar 2012 09:34:53 +0000
(11:34 +0200)
committer
markus schnalke
<meillo@marmaro.de>
Tue, 27 Mar 2012 09:34:53 +0000
(11:34 +0200)
Pulled in from nmh. Thanks to David Levine.
configure.ac
patch
|
blob
|
history
diff --git
a/configure.ac
b/configure.ac
index
2595cff
..
04f23d1
100644
(file)
--- 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