aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2016-04-18 15:53:24 +0200
committerDaniel Stenberg <daniel@haxx.se>2016-04-18 15:53:24 +0200
commitfb823d24f1b5c26a5f4728e15d3bbab777f7be33 (patch)
tree587778e5294a99c53812ebe9efb5309518da9261
parent4cbaee45a9e7e1da7ea13bf77ea44b666a09fa04 (diff)
downloadgnurl-fb823d24f1b5c26a5f4728e15d3bbab777f7be33.tar.gz
gnurl-fb823d24f1b5c26a5f4728e15d3bbab777f7be33.tar.bz2
gnurl-fb823d24f1b5c26a5f4728e15d3bbab777f7be33.zip
configure: remove check for libresolve
'strncasecmp' was once provided by libresolv (no trailing e) for SunOS, but this check is broken and most likely adds nothing useful. Removing now. Reported-by: Irfan Adilovic Discussed in #770
-rw-r--r--configure.ac11
1 files changed, 0 insertions, 11 deletions
diff --git a/configure.ac b/configure.ac
index 6826b10a3..e7b0a9121 100644
--- a/configure.ac
+++ b/configure.ac
@@ -851,17 +851,6 @@ if test "$HAVE_GETHOSTBYNAME" != "1"; then
AC_MSG_ERROR([couldn't find libraries for gethostbyname()])
fi
-dnl resolve lib?
-AC_CHECK_FUNC(strcasecmp, , [ AC_CHECK_LIB(resolve, strcasecmp) ])
-
-if test "$ac_cv_lib_resolve_strcasecmp" = "$ac_cv_func_strcasecmp"; then
- AC_CHECK_LIB(resolve, strcasecmp,
- [LIBS="-lresolve $LIBS"],
- ,
- -lnsl)
-fi
-ac_cv_func_strcasecmp="no"
-
CURL_CHECK_LIBS_CONNECT
CURL_NETWORK_LIBS=$LIBS