aboutsummaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2008-09-17 08:14:28 +0000
committerYang Tse <yangsita@gmail.com>2008-09-17 08:14:28 +0000
commitd7e406e0205d98486cce66c370d7dc4a7f56862a (patch)
tree4a02207eb0ca7adee9f82419a7728724396d17b8 /configure.ac
parent638e3c070c00f9e6b1055c7bcdda0564a7af5410 (diff)
improve detection of gethostname(), localtime_r() and strstr()
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac8
1 files changed, 5 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac
index 306751082..af6fae5e0 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1853,7 +1853,7 @@ else
CURL_CHECK_INET_NTOA_R()
dnl is there a localtime_r()
- CURL_CHECK_LOCALTIME_R()
+ dnl the old localtime_r check was done here
dnl is there a strerror_r()
dnl the old strerror_r check was done here
@@ -1874,7 +1874,7 @@ if test "x$RECENTAIX" = "xyes"; then
AC_DEFINE(_THREAD_SAFE, 1, [define this if you need it to compile thread-safe code])
dnl is there a localtime_r()
- CURL_CHECK_LOCALTIME_R()
+ dnl the old localtime_r check was done here
dnl is there a strerror_r()
dnl the old strerror_r check was done here
@@ -2038,7 +2038,9 @@ CURL_CHECK_MSG_NOSIGNAL
CURL_CHECK_FUNC_FDOPEN
CURL_CHECK_FUNC_FTRUNCATE
+CURL_CHECK_FUNC_GETHOSTNAME
CURL_CHECK_FUNC_GMTIME_R
+CURL_CHECK_FUNC_LOCALTIME_R
CURL_CHECK_FUNC_SIGACTION
CURL_CHECK_FUNC_STRCASECMP
CURL_CHECK_FUNC_STRCASESTR
@@ -2050,6 +2052,7 @@ CURL_CHECK_FUNC_STRLCAT
CURL_CHECK_FUNC_STRNCASECMP
CURL_CHECK_FUNC_STRNCMPI
CURL_CHECK_FUNC_STRNICMP
+CURL_CHECK_FUNC_STRSTR
CURL_CHECK_FUNC_STRTOK_R
CURL_CHECK_FUNC_STRTOLL
CURL_CHECK_FUNC_WRITEV
@@ -2090,7 +2093,6 @@ AC_CHECK_FUNCS([basename \
signal \
sigsetjmp \
socket \
- strstr \
uname \
utime
],[