File 6743-Update-configure-scripts.patch of Package erlang
From c99f1d8192416f50e8f812d9d118ca8556178713 Mon Sep 17 00:00:00 2001
From: Rickard Green <rickard@erlang.org>
Date: Tue, 25 Jan 2022 13:00:24 +0100
Subject: [PATCH 3/3] Update configure scripts
---
erts/config.h.in | 2 +-
erts/configure | 12 ++---
lib/erl_interface/config.h.in | 6 ---
lib/erl_interface/configure | 96 +++++++++++++++++++++++------------
4 files changed, 71 insertions(+), 45 deletions(-)
diff --git a/erts/config.h.in b/erts/config.h.in
index 340688ed39..50bf993e94 100644
--- a/erts/config.h.in
+++ b/erts/config.h.in
@@ -107,7 +107,7 @@
/* Define if bigendian */
#undef ETHR_BIGENDIAN
-/* Define if gcc wont let you clobber ebx with cmpxchg8b and position
+/* Define if gcc won't let you clobber ebx with cmpxchg8b and position
independent code */
#undef ETHR_CMPXCHG8B_PIC_NO_CLOBBER_EBX
diff --git a/lib/erl_interface/config.h.in b/lib/erl_interface/config.h.in
index a0e4efe262..aba0e2ec91 100644
--- a/lib/erl_interface/config.h.in
+++ b/lib/erl_interface/config.h.in
@@ -117,18 +117,12 @@
/* Define to 1 if you have the `gmp' library (-lgmp). */
#undef HAVE_LIBGMP
-/* Define to 1 if you have the `nsl' library (-lnsl). */
-#undef HAVE_LIBNSL
-
/* Define to 1 if you have the `resolv' library (-lresolv). */
#undef HAVE_LIBRESOLV
/* Define to 1 if you have the `rt' library (-lrt). */
#undef HAVE_LIBRT
-/* Define to 1 if you have the `socket' library (-lsocket). */
-#undef HAVE_LIBSOCKET
-
/* Define to 1 if you have the <limits.h> header file. */
#undef HAVE_LIMITS_H
--
2.31.1