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.
This commit is contained in:
Peter Kokot 2024-03-08 19:36:30 +01:00 committed by GitHub
parent 7bca3c7f45
commit a46438e87f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -359,7 +359,6 @@ dnl uClibc will bark at linking with glibc's libnsl.
PHP_CHECK_FUNC(socket, socket, network) PHP_CHECK_FUNC(socket, socket, network)
PHP_CHECK_FUNC(socketpair, socket, network) PHP_CHECK_FUNC(socketpair, socket, network)
PHP_CHECK_FUNC(htonl, socket, network)
PHP_CHECK_FUNC(gethostname, nsl, network) PHP_CHECK_FUNC(gethostname, nsl, network)
PHP_CHECK_FUNC(gethostbyaddr, nsl, network) PHP_CHECK_FUNC(gethostbyaddr, nsl, network)
AC_SEARCH_LIBS([dlopen], [dl], AC_SEARCH_LIBS([dlopen], [dl],