diff options
-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 d0f32a1..d009aca 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 |