From bbdbc2658cb60b42652a398571de6402b5007f54 Mon Sep 17 00:00:00 2001 From: Peter Kokot Date: Thu, 18 Jul 2019 12:11:19 +0200 Subject: Remove duplicate socklen_t check - Use Autoconf's default AC_CHECK_TYPES Closes GH-4418 --- build/php.m4 | 20 -------------------- 1 file changed, 20 deletions(-) (limited to 'build/php.m4') diff --git a/build/php.m4 b/build/php.m4 index a17a4b9b60..3624a33a8e 100644 --- a/build/php.m4 +++ b/build/php.m4 @@ -1322,26 +1322,6 @@ if test "$ac_cv_struct_flock" = "yes" ; then fi ]) -dnl -dnl PHP_SOCKLEN_T -dnl -AC_DEFUN([PHP_SOCKLEN_T],[ -AC_CACHE_CHECK(for socklen_t,ac_cv_socklen_t, - AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ -#include -#include -]],[[ -socklen_t x; -]])],[ - ac_cv_socklen_t=yes -],[ - ac_cv_socklen_t=no -])) -if test "$ac_cv_socklen_t" = "yes"; then - AC_DEFINE(HAVE_SOCKLEN_T, 1, [Whether you have socklen_t]) -fi -]) - dnl dnl PHP_MISSING_FCLOSE_DECL dnl -- cgit v1.2.1