mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-03-21 01:41:10 +00:00
[build] Fix curses.h header check
This commit is contained in:
parent
d352749666
commit
9ce64a5cfb
1 changed files with 3 additions and 1 deletions
|
@ -2,7 +2,9 @@ AC_ARG_ENABLE(curses,
|
|||
[ --disable-curses disable curses support]
|
||||
)
|
||||
if test "x$enable_curses" != "xno"; then
|
||||
AC_CHECK_HEADER(curses.h)
|
||||
AC_CHECK_HEADER([curses.h],
|
||||
[AC_DEFINE([HAVE_CURSES_H], [1],
|
||||
[Define to 1 if you have <curses.h>.])])
|
||||
AC_CHECK_LIB(ncurses, initscr,
|
||||
CURSES_LIBS=-lncurses,
|
||||
AC_CHECK_LIB(pdcurses, initscr,
|
||||
|
|
Loading…
Reference in a new issue