summaryrefslogtreecommitdiff
path: root/build/php.m4
diff options
context:
space:
mode:
authorPeter Kokot <peterkokot@gmail.com>2019-07-18 12:11:19 +0200
committerPeter Kokot <peterkokot@gmail.com>2019-07-18 12:11:19 +0200
commitbbdbc2658cb60b42652a398571de6402b5007f54 (patch)
tree2917ba69233e8532f4127dc83f47fc1b1d441536 /build/php.m4
parent562591f5eb3ff71711a06da21e552932bff82c08 (diff)
downloadphp-git-bbdbc2658cb60b42652a398571de6402b5007f54.tar.gz
Remove duplicate socklen_t check
- Use Autoconf's default AC_CHECK_TYPES Closes GH-4418
Diffstat (limited to 'build/php.m4')
-rw-r--r--build/php.m420
1 files changed, 0 insertions, 20 deletions
diff --git a/build/php.m4 b/build/php.m4
index a17a4b9b60..3624a33a8e 100644
--- a/build/php.m4
+++ b/build/php.m4
@@ -1323,26 +1323,6 @@ 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 <sys/types.h>
-#include <sys/socket.h>
-]],[[
-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
dnl See if we have broken header files like SunOS has.