diff options
author | Gustavo J. A. M. Carneiro <gjc@src.gnome.org> | 2007-07-07 13:57:59 +0000 |
---|---|---|
committer | Gustavo J. A. M. Carneiro <gjc@src.gnome.org> | 2007-07-07 13:57:59 +0000 |
commit | abf70e29fabf13621171a7aca909e48a50f39ef4 (patch) | |
tree | 762df2d60ebd7be834ea5ef577380aa2b3e541da | |
parent | f2c43dfc9be688493820e79eb9940fb9cd4e2f97 (diff) | |
download | pygobject-abf70e29fabf13621171a7aca909e48a50f39ef4.tar.gz |
Bug 339924 – pygobject doesn't compile on opensolaris
svn path=/trunk/; revision=685
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | configure.ac | 8 |
2 files changed, 11 insertions, 3 deletions
@@ -1,3 +1,9 @@ +2007-07-07 Damien Carbery <damien.carbery@sun.com> + + reviewed by: Gustavo Carneiro. + + * configure.ac: Bug 339924 – pygobject doesn't compile on opensolaris. + 2007-04-30 Johannes Hölzl <johannes.hoelzl@gmx.de> * gobject/gobjectmodule.c (init_gobjectmodule), diff --git a/configure.ac b/configure.ac index d0f32a10..d009acaa 100644 --- a/configure.ac +++ b/configure.ac @@ -139,9 +139,11 @@ AM_CONDITIONAL(HAVE_LIBFFI, test "$pygobject_ffi_h" = "yes") AC_SUBST(FFI_LIBS) dnl add required cflags ... -JH_ADD_CFLAG([-Wall]) -JH_ADD_CFLAG([-std=c9x]) -JH_ADD_CFLAG([-fno-strict-aliasing]) +if test "x$GCC" = "xyes"; then + JH_ADD_CFLAG([-Wall]) + JH_ADD_CFLAG([-std=c9x]) + JH_ADD_CFLAG([-fno-strict-aliasing]) +fi AC_CONFIG_FILES( Makefile |