diff options
author | Yang Tse <yangsita@gmail.com> | 2008-09-17 08:14:28 +0000 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2008-09-17 08:14:28 +0000 |
commit | d7e406e0205d98486cce66c370d7dc4a7f56862a (patch) | |
tree | 4a02207eb0ca7adee9f82419a7728724396d17b8 /acinclude.m4 | |
parent | 638e3c070c00f9e6b1055c7bcdda0564a7af5410 (diff) | |
download | curl-d7e406e0205d98486cce66c370d7dc4a7f56862a.tar.gz |
improve detection of gethostname(), localtime_r() and strstr()
Diffstat (limited to 'acinclude.m4')
-rw-r--r-- | acinclude.m4 | 20 |
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. |