summaryrefslogtreecommitdiff
path: root/acinclude.m4
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 /acinclude.m4
parent638e3c070c00f9e6b1055c7bcdda0564a7af5410 (diff)
downloadcurl-d7e406e0205d98486cce66c370d7dc4a7f56862a.tar.gz
improve detection of gethostname(), localtime_r() and strstr()
Diffstat (limited to 'acinclude.m4')
-rw-r--r--acinclude.m420
1 files changed, 0 insertions, 20 deletions
diff --git a/acinclude.m4 b/acinclude.m4
index 4d42be49e..c21ca89f3 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -2601,26 +2601,6 @@ fi
])
-AC_DEFUN([CURL_CHECK_LOCALTIME_R],
-[
- dnl check for localtime_r
- AC_CHECK_FUNCS(localtime_r,[
- AC_MSG_CHECKING(whether localtime_r is declared)
- AC_EGREP_CPP(localtime_r,[
-#undef _REENTRANT
-#include <time.h>],[
- AC_MSG_RESULT(yes)],[
- AC_MSG_RESULT(no)
- AC_MSG_CHECKING(whether localtime_r with -D_REENTRANT is declared)
- AC_EGREP_CPP(localtime_r,[
-#undef _REENTRANT
-#define _REENTRANT
-#include <time.h>],[
- AC_MSG_RESULT(yes)],
- AC_MSG_RESULT(no))])])
-])
-
-
AC_DEFUN([CURL_CHECK_INET_NTOA_R],
[
dnl determine if function definition for inet_ntoa_r exists.