From 0cc6471af8878a16c8432c3c8372de95662f3cd2 Mon Sep 17 00:00:00 2001 From: Peter Kokot Date: Sun, 1 Sep 2024 22:55:07 +0200 Subject: [PATCH] Autotools: Remove union semun check The HAVE_SEMUN usage was removed via fcf43c91206c354d2db4e171e9f7fa471512cb19 and the check is redundant at this point. --- config.m4 | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/config.m4 b/config.m4 index 28595f2..eb270f8 100644 --- a/config.m4 +++ b/config.m4 @@ -195,23 +195,6 @@ if test "$PHP_APCU" != "no"; then fi AC_CHECK_FUNCS(sigaction) - AC_CACHE_CHECK(for union semun, php_cv_semun, - [ - AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ -#include -#include -#include - ]], [[union semun x; x.val=1]])],[ - php_cv_semun=yes - ],[ - php_cv_semun=no - ]) - ]) - if test "$php_cv_semun" = "yes"; then - AC_DEFINE(HAVE_SEMUN, 1, [ ]) - else - AC_DEFINE(HAVE_SEMUN, 0, [ ]) - fi AC_ARG_ENABLE([valgrind-checks], [AS_HELP_STRING([--disable-valgrind-checks],