]> git.ipfire.org Git - thirdparty/asterisk.git/commit
BuildSystem: Enable ncurses for menuselect in Solaris 11.
authorAlexander Traud <pabstraud@compuserve.com>
Sat, 28 Jul 2018 16:49:17 +0000 (18:49 +0200)
committerAlexander Traud <pabstraud@compuserve.com>
Sun, 29 Jul 2018 08:21:19 +0000 (03:21 -0500)
commit93d1c34efefe6849d24fa1db354fd45e10f52fe5
tree18fcb0f9c0c20befcd7ba0f295b63ecf8d244bab
parent59f53514cedddee8e48392ecdaa082419728aaf8
BuildSystem: Enable ncurses for menuselect in Solaris 11.

The check for the library ncurses should use not use the header <curses.h> but
<ncurses.h>, because on some platforms <curses.h> is not a drop-in replacement
for <ncurses.h>: For example in Solaris, the symbol initscr is a typedef in
<curses.h> to a symbol which does not exist in the library ncurses (initscr32).
Simply use <ncurses.h> when you link to ncurses.

Furthermore in Solaris, the header <ncurses.h> is in a subdirectory
/usr/include/ncurses and not available via pkg-config.

ASTERISK-15331
ASTERISK-14935
ASTERISK-12382
ASTERISK-9107

Change-Id: Ife367776b0ccf17d3fefed868245376bfb93745d
menuselect/Makefile
menuselect/configure
menuselect/configure.ac
menuselect/makeopts.in
menuselect/menuselect_curses.c