From 810392173ce20f8a7935966b46df483742e73f23 Mon Sep 17 00:00:00 2001 From: Christoph Reiter Date: Sun, 2 Apr 2017 15:25:56 +0200 Subject: [PATCH] configure.ac: Remove unused PySignal_SetWakeupFd check HAVE_PYSIGNAL_SETWAKEUPFD isn't used anywhere --- configure.ac | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/configure.ac b/configure.ac index c4578a71..ca36d928 100644 --- a/configure.ac +++ b/configure.ac @@ -119,18 +119,6 @@ if test "x$link_python_libs" = "xyes"; then PYG_CHECK_PYTHON_LIBS(, AC_MSG_ERROR([Python libs not found. Windows requires Python modules to be explicitly linked to libpython.])) fi -AC_MSG_CHECKING([for PySignal_SetWakeupFd in Python.h]) -old_CPPFLAGS=$CPPFLAGS -CPPFLAGS="-Wall -Werror $PYTHON_INCLUDES" -AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include ]], [[PySignal_SetWakeupFd(0);]])], - [setwakeupfd_ok=yes],[setwakeupfd_ok=no]) -AC_MSG_RESULT($setwakeupfd_ok) -if test "x$setwakeupfd_ok" != xno; then - AC_DEFINE(HAVE_PYSIGNAL_SETWAKEUPFD, 1, - [Define to 1 if PySignal_SetWakeupFd is available]) -fi -CPPFLAGS=$old_CPPFLAGS - PLATFORM=`$PYTHON -c "import sys; from distutils import util; sys.stdout.write(util.get_platform())"` AC_SUBST(PLATFORM) -- 2.11.4.GIT