mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-01-01 17:24:50 +01:00
Merge of 24108 plus yet another tweak: the test for whether we are
using ncurses as a library was both wrong and in the wrong place.
This commit is contained in:
parent
b40c8657d4
commit
e3e72c4216
1 changed files with 11 additions and 0 deletions
11
configure.ac
11
configure.ac
|
@ -716,6 +716,17 @@ AC_DEFINE(HAVE_STRNAMES) strnames=yes, strnames=no)
|
||||||
AC_MSG_RESULT($strnames)
|
AC_MSG_RESULT($strnames)
|
||||||
])
|
])
|
||||||
|
|
||||||
|
|
||||||
|
dnl If our terminal library is not ncurses, don't try including
|
||||||
|
dnl any ncurses headers.
|
||||||
|
AH_TEMPLATE([ZSH_IGNORE_NCURSES],
|
||||||
|
[Define to 1 to ignore any ncurses library headers found on the system.])
|
||||||
|
case $LIBS in
|
||||||
|
*-lncurses*) ;;
|
||||||
|
*)
|
||||||
|
AC_DEFINE(ZSH_IGNORE_NCURSES) ;;
|
||||||
|
esac
|
||||||
|
|
||||||
dnl Some systems (Solaris 2.x, Linux Redhat 5.x) require
|
dnl Some systems (Solaris 2.x, Linux Redhat 5.x) require
|
||||||
dnl libnsl (Network Services Library) to find yp_all
|
dnl libnsl (Network Services Library) to find yp_all
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue