From: Jaroslav Kysela Date: Mon, 17 Mar 2003 10:33:39 +0000 (+0000) Subject: Enhanced detection for ncurses X-Git-Tag: v1.0.3~76 X-Git-Url: https://git.alsa-project.org/?a=commitdiff_plain;h=093a7011021326b6e0a8efeed8e779526ece60e5;p=alsa-utils.git Enhanced detection for ncurses --- diff --git a/configure.in b/configure.in index 8936d7d..1798a4f 100644 --- a/configure.in +++ b/configure.in @@ -15,7 +15,8 @@ AC_HEADER_STDC AC_CHECK_LIB(ncurses, initscr, [ CURSESINC=''; CURSESLIB='-lncurses'; ], [ AC_CHECK_LIB(curses, initscr, - [ CURSESINC=''; CURSESLIB='-lcurses'; ]) + [ CURSESINC=''; CURSESLIB='-lcurses'; ], + AC_MSG_ERROR(this packages requires a curses library)) ]) AC_SUBST(CURSESINC)