From 0d7cce1f0834c796bc7acfddfd3eb40283196ec5 Mon Sep 17 00:00:00 2001
From: Daniel Stenberg <daniel@haxx.se>
Date: Fri, 4 Aug 2000 11:32:50 +0000
Subject: [PATCH] updated with the latest thread-safe function stuff

---
 acconfig.h  | 20 ++++++++++++++++----
 config.h.in | 23 +++++++++++++++++++----
 2 files changed, 35 insertions(+), 8 deletions(-)

diff --git a/acconfig.h b/acconfig.h
index 87e1d7cc35..cdb353e663 100644
--- a/acconfig.h
+++ b/acconfig.h
@@ -10,8 +10,20 @@
 /* Define cpu-machine-OS */
 #undef OS
 
-/* Number of arguments your gethostbyaddr_r() function accepts */
-#undef GETHOSTBYADDR_R_NARGS
+/* Define if you have the gethostbyaddr_r() function with 5 arguments */
+#undef HAVE_GETHOSTBYADDR_R_5
 
-/* Number of arguments your gethostbyname_r() function accepts */
-#undef GETHOSTBYNAME_R_NARGS
+/* Define if you have the gethostbyaddr_r() function with 7 arguments */
+#undef HAVE_GETHOSTBYADDR_R_7
+
+/* Define if you have the gethostbyaddr_r() function with 8 arguments */
+#undef HAVE_GETHOSTBYADDR_R_8
+
+/* Define if you have the gethostbyname_r() function with 3 arguments */
+#undef HAVE_GETHOSTBYNAME_R_3
+
+/* Define if you have the gethostbyname_r() function with 5 arguments */
+#undef HAVE_GETHOSTBYNAME_R_5
+
+/* Define if you have the gethostbyname_r() function with 6 arguments */
+#undef HAVE_GETHOSTBYNAME_R_6
diff --git a/config.h.in b/config.h.in
index 08de2b8e68..04119fa4b3 100644
--- a/config.h.in
+++ b/config.h.in
@@ -31,11 +31,23 @@
 /* Define cpu-machine-OS */
 #undef OS
 
-/* Number of arguments your gethostbyaddr_r() function accepts */
-#undef GETHOSTBYADDR_R_NARGS
+/* Define if you have the gethostbyaddr_r() function with 5 arguments */
+#undef HAVE_GETHOSTBYADDR_R_5
 
-/* Number of arguments your gethostbyname_r() function accepts */
-#undef GETHOSTBYNAME_R_NARGS
+/* Define if you have the gethostbyaddr_r() function with 7 arguments */
+#undef HAVE_GETHOSTBYADDR_R_7
+
+/* Define if you have the gethostbyaddr_r() function with 8 arguments */
+#undef HAVE_GETHOSTBYADDR_R_8
+
+/* Define if you have the gethostbyname_r() function with 3 arguments */
+#undef HAVE_GETHOSTBYNAME_R_3
+
+/* Define if you have the gethostbyname_r() function with 5 arguments */
+#undef HAVE_GETHOSTBYNAME_R_5
+
+/* Define if you have the gethostbyname_r() function with 6 arguments */
+#undef HAVE_GETHOSTBYNAME_R_6
 
 /* The number of bytes in a long double.  */
 #undef SIZEOF_LONG_DOUBLE
@@ -259,3 +271,6 @@
 /* Version number of package */
 #undef VERSION
 
+/* Set to explicitly specify we don't want to use thread-safe functions */
+#undef DISABLED_THREADSAFE
+
-- 
GitLab