aboutsummaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in5
1 files changed, 4 insertions, 1 deletions
diff --git a/configure.in b/configure.in
index 5753102..4d79e8d 100644
--- a/configure.in
+++ b/configure.in
@@ -23,9 +23,12 @@ LIBTOOL="$LIBTOOL --silent"
# Checks for libraries.
AC_CHECK_LIB([pthread], [pthread_create], [],
[AC_MSG_ERROR([required library pthread missing])])
+
+AC_CHECK_LIB([ncurses], [initscr], [],
+ [AC_MSG_ERROR([required library ncurses missing])])
# Checks for header files.
-AC_CHECK_HEADERS_ONCE([fcntl.h stddef.h stdlib.h string.h sys/ioctl.h unistd.h])
+AC_CHECK_HEADERS_ONCE([fcntl.h ncurses.h stddef.h stdlib.h string.h sys/ioctl.h unistd.h])
# Checks for typedefs, structures, and compiler characteristics.
AC_C_INLINE