From ca099d72ccb817628becb146eaaf95feee677d1a Mon Sep 17 00:00:00 2001 From: ban Date: Wed, 15 Dec 1999 23:48:20 +0000 Subject: [PATCH] Fixed checking for libncurses as well as libcurses --- acinclude.m4 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/acinclude.m4 b/acinclude.m4 index 9941081..98c4e70 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -27,7 +27,8 @@ else ;; curses) AC_CHECK_LIB(curses, main, LIBCURSES="-lcurses", - AC_MSG_ERROR([The curses driver needs the curses library])) + AC_CHECK_LIB(ncurses, main, LIBCURSES="-lncurses", + AC_MSG_ERROR([The curses driver needs the curses library]))) DRIVERS="$DRIVERS curses_drv.o" AC_DEFINE(CURSES_DRV) ;;