mirror of
https://github.com/alsa-project/alsa-utils
synced 2024-11-09 17:35:42 +01:00
Enhanced detection for ncurses
This commit is contained in:
parent
3924ff0921
commit
093a701102
1 changed files with 2 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue