about summary refs log tree commit diff
path: root/configure.in
diff options
context:
space:
mode:
authorClint Adams <clint@users.sourceforge.net>2001-04-12 04:08:07 +0000
committerClint Adams <clint@users.sourceforge.net>2001-04-12 04:08:07 +0000
commit43cd922cd82026eaa968aeafd29f08ea386bb492 (patch)
tree99f12e43175191ab6ec8b014d56601423c1445c6 /configure.in
parente05ca62a9cd33a116454bd471e33c17f9c0c8191 (diff)
downloadzsh-43cd922cd82026eaa968aeafd29f08ea386bb492.tar.gz
zsh-43cd922cd82026eaa968aeafd29f08ea386bb492.tar.xz
zsh-43cd922cd82026eaa968aeafd29f08ea386bb492.zip
13955: boolnames et al., not boolcodes
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in15
1 files changed, 15 insertions, 0 deletions
diff --git a/configure.in b/configure.in
index d6cd03753..8e9f58629 100644
--- a/configure.in
+++ b/configure.in
@@ -530,6 +530,21 @@ AC_TRY_COMPILE([#include <curses.h>
 #include <term.h>], [char **test = strcodes;],
 AC_DEFINE(HAVE_STRCODES) strcodes=yes, strcodes=no)
 AC_MSG_RESULT($strcodes)
+AC_MSG_CHECKING(if boolnames is available)
+AC_TRY_COMPILE([#include <curses.h>
+#include <term.h>], [char **test = boolnames;],
+AC_DEFINE(HAVE_BOOLNAMES) boolnames=yes, boolnames=no)
+AC_MSG_RESULT($boolnames)
+AC_MSG_CHECKING(if numnames is available)
+AC_TRY_COMPILE([#include <curses.h>
+#include <term.h>], [char **test = numnames;],
+AC_DEFINE(HAVE_NUMNAMES) numnames=yes, numnames=no)
+AC_MSG_RESULT($numnames)
+AC_MSG_CHECKING(if strnames is available)
+AC_TRY_COMPILE([#include <curses.h>
+#include <term.h>], [char **test = strnames;],
+AC_DEFINE(HAVE_STRNAMES) strnames=yes, strnames=no)
+AC_MSG_RESULT($strnames)
 
 dnl Some systems (Solaris 2.x, Linux Redhat 5.x) require
 dnl libnsl (Network Services Library) to find yp_all