From 6bd98f0617dc20c5f5d54c10ed5c4b53b831e0b5 Mon Sep 17 00:00:00 2001 From: David Dykstra Date: Wed, 18 Nov 1998 17:53:22 +0000 Subject: [PATCH] Look for strcasecmp in -lresolv for Unixware. --- configure.in | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/configure.in b/configure.in index 4d96eca0..147755f1 100644 --- a/configure.in +++ b/configure.in @@ -162,6 +162,14 @@ if test x"$ac_cv_func_connect" = x"no"; then fi fi +# +# if we can't find strcasecmp, look in -lresolv (for Unixware at least) +# +AC_CHECK_FUNCS(strcasecmp) +if test x"$ac_cv_func_strcasecmp" = x"no"; then + AC_CHECK_LIB(resolv, strcasecmp) +fi + # # The following test was mostly taken from the tcl/tk plus patches # -- 2.34.1