From 43cd922cd82026eaa968aeafd29f08ea386bb492 Mon Sep 17 00:00:00 2001 From: Clint Adams Date: Thu, 12 Apr 2001 04:08:07 +0000 Subject: 13955: boolnames et al., not boolcodes --- configure.in | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'configure.in') 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 #include ], [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 +#include ], [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 +#include ], [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 +#include ], [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 -- cgit 1.4.1