From 7fd55f65d5ac37994d325db9caba12faaaf53110 Mon Sep 17 00:00:00 2001 From: Peter Kokot Date: Fri, 8 Mar 2024 08:33:19 +0100 Subject: [PATCH] Remove htonl() Autoconf check The htonl() function is available in libc on current *nix systems. On Solaris versions around 2.5.1 it was located in the socket library. Haiku has it in libc and Windows in ws2_32, which is linked as part of the common libraries. This removes the redundant HAVE_HTONL symbol. --- configure.ac | 1 - 1 file changed, 1 deletion(-) diff --git a/configure.ac b/configure.ac index 564f9c90c2c77..08dbe9a63d209 100644 --- a/configure.ac +++ b/configure.ac @@ -359,7 +359,6 @@ dnl uClibc will bark at linking with glibc's libnsl. PHP_CHECK_FUNC(socket, socket, network) PHP_CHECK_FUNC(socketpair, socket, network) -PHP_CHECK_FUNC(htonl, socket, network) PHP_CHECK_FUNC(gethostname, nsl, network) PHP_CHECK_FUNC(gethostbyaddr, nsl, network) AC_SEARCH_LIBS([dlopen], [dl],