From a46438e87f5fa7d94f15b84672d6bc0ead0486cf Mon Sep 17 00:00:00 2001 From: Peter Kokot Date: Fri, 8 Mar 2024 19:36:30 +0100 Subject: [PATCH] Remove htonl() Autoconf check (#13627) 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 a577d44f1e3..b1ccafb181d 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],