[pygobject] configure.ac: Remove unused PySignal_SetWakeupFd check
- From: Christoph Reiter <creiter src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pygobject] configure.ac: Remove unused PySignal_SetWakeupFd check
- Date: Sun, 2 Apr 2017 13:56:17 +0000 (UTC)
commit 810392173ce20f8a7935966b46df483742e73f23
Author: Christoph Reiter <creiter src gnome org>
Date: Sun Apr 2 15:25:56 2017 +0200
configure.ac: Remove unused PySignal_SetWakeupFd check
HAVE_PYSIGNAL_SETWAKEUPFD isn't used anywhere
configure.ac | 12 ------------
1 files changed, 0 insertions(+), 12 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index c4578a7..ca36d92 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 <Python.h>]], [[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)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]