aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeonardo Taccari <leot@netbsd.org>2017-07-23 17:38:55 +0200
committerMarc André Tanner <mat@brain-dump.org>2020-11-14 08:43:47 +0100
commitd14313b7afdd682bda6934e1fa9f35e7119ddaab (patch)
tree8e0e25ad0b485c4595de9d6056a5f73d977e83b6
parent18c908073e2de9ff6360ff5341283681f3cbac64 (diff)
downloadvis-d14313b7afdd682bda6934e1fa9f35e7119ddaab.tar.gz
vis-d14313b7afdd682bda6934e1fa9f35e7119ddaab.tar.xz
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'!)).
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index 37498ff..fe8af69 100755
--- 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