Skip to content

Commit a46438e

Browse files
authored
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.
1 parent 7bca3c7 commit a46438e

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

configure.ac

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -359,7 +359,6 @@ dnl uClibc will bark at linking with glibc's libnsl.
359359

360360
PHP_CHECK_FUNC(socket, socket, network)
361361
PHP_CHECK_FUNC(socketpair, socket, network)
362-
PHP_CHECK_FUNC(htonl, socket, network)
363362
PHP_CHECK_FUNC(gethostname, nsl, network)
364363
PHP_CHECK_FUNC(gethostbyaddr, nsl, network)
365364
AC_SEARCH_LIBS([dlopen], [dl],

0 commit comments

Comments
 (0)