]> git.alsa-project.org Git - alsa-utils.git/commitdiff
Enhanced detection for ncurses
authorJaroslav Kysela <perex@perex.cz>
Mon, 17 Mar 2003 10:33:39 +0000 (10:33 +0000)
committerJaroslav Kysela <perex@perex.cz>
Mon, 17 Mar 2003 10:33:39 +0000 (10:33 +0000)
configure.in

index 8936d7d97189cea2660a5869fde5cb082d8c7757..1798a4f55aae153293cdf8b41385ee494741de9f 100644 (file)
@@ -15,7 +15,8 @@ AC_HEADER_STDC
 AC_CHECK_LIB(ncurses, initscr, 
              [ CURSESINC='<ncurses.h>'; CURSESLIB='-lncurses'; ], [ 
        AC_CHECK_LIB(curses, initscr, 
-                    [ CURSESINC='<curses.h>'; CURSESLIB='-lcurses'; ])
+                    [ CURSESINC='<curses.h>'; CURSESLIB='-lcurses'; ],
+                     AC_MSG_ERROR(this packages requires a curses library))
 ])
 
 AC_SUBST(CURSESINC)