mirror of
https://github.com/alsa-project/alsa-utils
synced 2024-11-09 17:05:41 +01:00
Fixed ncurses test
This commit is contained in:
parent
6d7d5a362d
commit
f586f8bc08
1 changed files with 8 additions and 6 deletions
14
configure.in
14
configure.in
|
@ -36,12 +36,14 @@ AM_CONDITIONAL(ALSAMIXER, test x$alsamixer = xtrue)
|
||||||
|
|
||||||
dnl Checks for header files.
|
dnl Checks for header files.
|
||||||
AC_HEADER_STDC
|
AC_HEADER_STDC
|
||||||
#AC_CHECK_LIB(ncurses, initscr,
|
if test x$alsamixer = xtrue; then
|
||||||
# [ CURSESINC='<ncurses.h>'; CURSESLIB='-lncurses'; ], [
|
AC_CHECK_LIB(ncurses, initscr,
|
||||||
# AC_CHECK_LIB(curses, initscr,
|
[ CURSESINC='<ncurses.h>'; CURSESLIB='-lncurses'; ], [
|
||||||
# [ CURSESINC='<curses.h>'; CURSESLIB='-lcurses'; ],
|
AC_CHECK_LIB(curses, initscr,
|
||||||
# AC_MSG_ERROR(this packages requires a curses library))
|
[ CURSESINC='<curses.h>'; CURSESLIB='-lcurses'; ],
|
||||||
#])
|
AC_MSG_ERROR(this packages requires a curses library))
|
||||||
|
])
|
||||||
|
fi
|
||||||
|
|
||||||
AC_SUBST(CURSESINC)
|
AC_SUBST(CURSESINC)
|
||||||
AC_SUBST(CURSESLIB)
|
AC_SUBST(CURSESLIB)
|
||||||
|
|
Loading…
Reference in a new issue