Skip to content

Commit

Permalink
Enable curses library on MINGW
Browse files Browse the repository at this point in the history
  • Loading branch information
naveen521kk committed Jan 1, 2024
1 parent 51532a4 commit 60f8429
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -6817,6 +6817,14 @@ dnl have_panel=[no, panelw, panel]
have_curses=no
have_panel=no

case "$host_os" in
mingw*)
# On Mingw, include directory is different, so just assume
# it's there.
ac_cv_header_ncurses_h=yes
;;
esac

AH_TEMPLATE([HAVE_NCURSESW], [Define to 1 if you have the `ncursesw' library.])
AC_CHECK_HEADERS([curses.h ncurses.h])

Expand Down

0 comments on commit 60f8429

Please sign in to comment.