diff options
| author | Johan Dahlin <johan@src.gnome.org> | 2008-01-03 14:16:46 +0000 |
|---|---|---|
| committer | Johan Dahlin <johan@src.gnome.org> | 2008-01-03 14:16:46 +0000 |
| commit | 432a5572136309185baa37d8280966092842a047 (patch) | |
| tree | 27c3f44196d13df380f5e3deaa446e044f81823c | |
| parent | cfd76f191021714d6cc3eb13d84acd101202004a (diff) | |
| download | pygobject-432a5572136309185baa37d8280966092842a047.tar.gz pygobject-432a5572136309185baa37d8280966092842a047.tar.xz pygobject-432a5572136309185baa37d8280966092842a047.zip | |
Include -Wall and -Werror when checking for PySignal_SetWakeupFd
* configure.ac (CPPFLAGS):
Include -Wall and -Werror when checking for PySignal_SetWakeupFd
svn path=/trunk/; revision=725
| -rw-r--r-- | ChangeLog | 3 | ||||
| -rw-r--r-- | configure.ac | 2 |
2 files changed, 4 insertions, 1 deletions
@@ -8,6 +8,9 @@ out if there are any pending signals from python. Fixes #481569 + * configure.ac (CPPFLAGS): + Include -Wall and -Werror when checking for PySignal_SetWakeupFd + 2008-01-02 Sebastian Rittau <srittau@jroger.in-berlin.de> * gobject/gobjectmodule.c diff --git a/configure.ac b/configure.ac index d6e4ab5..fa76bf5 100644 --- a/configure.ac +++ b/configure.ac @@ -73,7 +73,7 @@ AC_MSG_CHECKING([for PySignal_SetWakeupFd in Python.h]) py_prefix=`$PYTHON -c "import sys; print sys.prefix"` PYTHON_INCLUDES="-I${py_prefix}/include/python${PYTHON_VERSION}" old_CPPFLAGS=$CPPFLAGS -CPPFLAGS="$PYTHON_INCLUDES" +CPPFLAGS="-Wall -Werror $PYTHON_INCLUDES" AC_TRY_COMPILE([#include <Python.h>], [PySignal_SetWakeupFd(0);], setwakeupfd_ok=yes, |
