X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/5a788adec19043d4d93c4fa2713f9f633bfd35ab..1e8ae5ede66ba337ba6abbb4afad2b3319c1db74:/configure.in 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 #