File configure.ac changed (mode: 100644) (index c92ca27..d20ee51) |
... |
... |
AC_PROG_CC |
32 |
32 |
# Determine OS for NCURSES check |
# Determine OS for NCURSES check |
33 |
33 |
AC_CANONICAL_HOST |
AC_CANONICAL_HOST |
34 |
34 |
# Platform specific ncurses check: if NCURSES not found, then look for ncurses |
# Platform specific ncurses check: if NCURSES not found, then look for ncurses |
|
35 |
|
AC_MSG_NOTICE([IMPORTANT: Make sure you have pkg-tools installed - it's needed to run this script]) |
35 |
36 |
PKG_CHECK_MODULES([NCURSES], [ncursesw], |
PKG_CHECK_MODULES([NCURSES], [ncursesw], |
36 |
|
[AC_DEFINE([HAVE_NCURSESW],[1],[Use NCURSESW])], |
|
|
37 |
|
[AC_MSG_NOTICE([Module ncursesw found])], |
37 |
38 |
[PKG_CHECK_MODULES([NCURSES], [ncurses], |
[PKG_CHECK_MODULES([NCURSES], [ncurses], |
38 |
|
[AC_DEFINE([HAVE_NCURSES],[1],[Use NCURSES])], |
|
|
39 |
|
[AC_MSG_NOTICE([Module ncurses found])], |
39 |
40 |
[AS_CASE([$host_os], |
[AS_CASE([$host_os], |
40 |
41 |
[darwin*], |
[darwin*], |
41 |
42 |
[ |
[ |