vis

a vi-like editor based on Plan 9's structural regular expressions

git clone https://9o.is/git/vis.git

commit 0a6f215e6c1b5458e247a51e274cb3834091f006
parent 50278157bbff2e950fe6a75a6802c3f73fc214a1
Author: Leonardo Taccari <leot@netbsd.org>
Date:   Sun, 23 Jul 2017 17:38:55 +0200

build: fix curses library/pkg-config name

Gracefully fallback to curses(3) (no libcurses `.pc' file is present
and `-l$libcurses' is used and hence `-lcurses' (not `-llibcurses'!)).

Diffstat:
Mconfigure | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure b/configure @@ -310,7 +310,7 @@ int main(int argc, char *argv[]) { } EOF - for libcurses in ncursesw ncurses libcurses; do + for libcurses in ncursesw ncurses curses; do printf " checking for %s... " "$libcurses" if test "$have_pkgconfig" = "yes" ; then