blob: 24f932a9fb53010d6d1cde9108677fa11ce7cc87 (
plain)
1 commit 02f08698f74bb5bba6f036292b1d26fd22255c7f
2 Author: Jan Pobrislo <ccx@webprojekty.cz>
3 Date: Thu Aug 27 12:32:18 2015 +0200
4
5 Use pkg-config to search for ncursesw.
6
7 diff --git a/config.sh b/config.sh
8 index a9f0081..4f8afe4 100755
9 --- a/config.sh
10 +++ b/config.sh
11 @@ -110,6 +110,7 @@ check_pkg "stfl" || fail "stfl"
12 if [ `uname -s` = "Darwin" ]; then
13 check_custom "ncurses5.4" "ncurses5.4-config" || fail "ncurses5.4"
14 elif [ `uname -s` != "OpenBSD" ]; then
15 + check_pkg "ncursesw" || \
16 check_custom "ncursesw5" "ncursesw5-config" || fail "ncursesw"
17 fi
18 check_ssl_implementation
|