Browse code

test for gethostbyname_r

git-svn-id: file:///var/lib/svn/clamav-devel/trunk/clamav-devel@684 77e5149b-7576-45b1-b177-96237e5ba77b

Tomasz Kojm authored on 2004/07/22 06:24:33
Showing 4 changed files
... ...
@@ -1,3 +1,7 @@
1
+Wed Jul 21 23:18:51 CEST 2004 (tk)
2
+----------------------------------
3
+  * configure: test for gethostbyname_r
4
+
1 5
 Wed Jul 21 20:45:49 CEST 2004 (tk)
2 6
 ----------------------------------
3 7
   * libclamav: pe: enhance UPX skew detection (aCaB)
... ...
@@ -84,6 +84,9 @@
84 84
 /* Define to 1 if fseeko (and presumably ftello) exists and is declared. */
85 85
 #undef HAVE_FSEEKO
86 86
 
87
+/* Define to 1 if you have the `gethostbyname_r' function. */
88
+#undef HAVE_GETHOSTBYNAME_R
89
+
87 90
 /* Define to 1 if you have the `getpagesize' function. */
88 91
 #undef HAVE_GETPAGESIZE
89 92
 
... ...
@@ -8974,7 +8974,8 @@ _ACEOF
8974 8974
 
8975 8975
 
8976 8976
 
8977
-for ac_func in poll setsid memcpy snprintf vsnprintf strerror_r strlcpy strlcat inet_ntop setgroups initgroups
8977
+
8978
+for ac_func in poll setsid memcpy snprintf vsnprintf strerror_r strlcpy strlcat inet_ntop setgroups initgroups gethostbyname_r
8978 8979
 do
8979 8980
 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8980 8981
 echo "$as_me:$LINENO: checking for $ac_func" >&5
... ...
@@ -42,7 +42,7 @@ AC_TYPE_OFF_T
42 42
 AC_COMPILE_CHECK_SIZEOF(short)
43 43
 AC_COMPILE_CHECK_SIZEOF(int)
44 44
 AC_COMPILE_CHECK_SIZEOF(long)
45
-AC_CHECK_FUNCS(poll setsid memcpy snprintf vsnprintf strerror_r strlcpy strlcat inet_ntop setgroups initgroups)
45
+AC_CHECK_FUNCS(poll setsid memcpy snprintf vsnprintf strerror_r strlcpy strlcat inet_ntop setgroups initgroups gethostbyname_r)
46 46
 AC_FUNC_MMAP
47 47
 AC_FUNC_FSEEKO
48 48