From 8e5148ca5c32fafca948e43c2e966db28a50a5f4 Mon Sep 17 00:00:00 2001 From: Tomas Korbar Date: Mon, 29 Jun 2020 08:56:09 +0200 Subject: Use signal function instead of sigignore Sigignore has been marked as deprecated on Fedora rawhide and signal function is used already on multiple places in memcached.c fix #690 --- configure.ac | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index ffc98b2..a7be211 100644 --- a/configure.ac +++ b/configure.ac @@ -630,7 +630,6 @@ AC_CHECK_FUNCS(mlockall) AC_CHECK_FUNCS(getpagesizes) AC_CHECK_FUNCS(sysconf) AC_CHECK_FUNCS(memcntl) -AC_CHECK_FUNCS(sigignore) AC_CHECK_FUNCS(clock_gettime) AC_CHECK_FUNCS(preadv) AC_CHECK_FUNCS(pread) @@ -779,7 +778,7 @@ if test "$ICC" = "yes" then dnl ICC trying to be gcc. CFLAGS="$CFLAGS -diag-disable 187 -Wall -Werror" - AC_DEFINE([_GNU_SOURCE],[1],[find sigignore on Linux]) + AC_DEFINE([_GNU_SOURCE],[1],[make sure IOV_MAX is defined]) elif test "$GCC" = "yes" then GCC_VERSION=`$CC -dumpversion` @@ -792,7 +791,7 @@ then CFLAGS="$CFLAGS -fno-strict-aliasing" ;; esac - AC_DEFINE([_GNU_SOURCE],[1],[find sigignore on Linux]) + AC_DEFINE([_GNU_SOURCE],[1],[make sure IOV_MAX is defined]) elif test "$SUNCC" = "yes" then CFLAGS="$CFLAGS -errfmt=error -errwarn -errshort=tags" -- cgit v1.2.1