1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2024-12-29 16:25:35 +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:
Paul Ackersviller 2007-11-28 02:53:11 +00:00
parent b40c8657d4
commit e3e72c4216

View file

@ -716,6 +716,17 @@ AC_DEFINE(HAVE_STRNAMES) strnames=yes, strnames=no)
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 libnsl (Network Services Library) to find yp_all