Basic support for building on NetBSD.

- Add NetBSD as a recognized platform without -ldl.
- Allow building with NetBSD libcurses instead of ncurses.
- Portability to NetBSD sh - use POSIX '=' instead of '=='.
This commit is contained in:
nia
2020-09-04 12:55:20 +02:00
parent 4f1caeca1e
commit 52e9be4abc
13 changed files with 37 additions and 9 deletions

View File

@@ -46,6 +46,8 @@
#include <ncursesw/ncurses.h>
#elif HAVE_NCURSES_H
#include <ncurses.h>
#elif HAVE_CURSES_H
#include <curses.h>
#endif
#include "ui/window.h"