projects
/
tinc
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b115de2
)
Prefer ncurses over curses.
author
Guus Sliepen
<guus@tinc-vpn.org>
Sat, 7 Dec 2013 21:59:37 +0000
(22:59 +0100)
committer
Guus Sliepen
<guus@tinc-vpn.org>
Sat, 7 Dec 2013 21:59:37 +0000
(22:59 +0100)
m4/curses.m4
patch
|
blob
|
history
diff --git
a/m4/curses.m4
b/m4/curses.m4
index
50a90a5
..
2e8d151
100644
(file)
--- a/
m4/curses.m4
+++ b/
m4/curses.m4
@@
-31,9
+31,12
@@
AC_DEFUN([tinc_CURSES],
[AC_MSG_ERROR("curses header files not found."); break]
)
- AC_CHECK_LIB(curses, initscr,
- [CURSES_LIBS="-lcurses"],
- [AC_MSG_ERROR("curses libraries not found.")]
+ AC_CHECK_LIB(ncurses, initscr,
+ [CURSES_LIBS="-lncurses"],
+ [AC_CHECK_LIB(curses, initscr,
+ [CURSES_LIBS="-lcurses"],
+ [AC_MSG_ERROR("curses libraries not found.")]
+ )]
)
])