From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Jelle Raaijmakers Date: Tue, 29 Mar 2022 22:42:18 +0200 Subject: [PATCH] Build: Force `inet_aton` detection For a reason unknown to me, the build system fails to find `inet_aton` and tries to redefine it with its own implementation in `flock_compat.c`. --- configure.ac | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index dd244cdbc28e650237249ae8b636f6034a578826..1cbb6027c42d09b8fe0bc6f69afd023528795d74 100644 --- a/configure.ac +++ b/configure.ac @@ -383,8 +383,7 @@ case $host_alias in ;; esac -dnl Check for inet_aton in -lc, -lbind and -lresolv. -PHP_CHECK_FUNC(inet_aton, resolv, bind) +AC_DEFINE(HAVE_INET_ATON, 1, [ ]) dnl Then headers. dnl ----------------------------------------------------------------------------