GnuTLS 2.3.5 / GCC-3.4.x build problem

Simon Josefsson simon at josefsson.org
Thu Apr 17 13:20:54 CEST 2008


ludo at gnu.org (Ludovic Courtès) writes:

> Hi,
>
> Simon Josefsson <simon at josefsson.org> writes:
>
>> Hi!  Thanks for the report.  I think our configure.in needs to test
>> whether -fgnu89-inline is available before using it.  I'll try to fix
>> this.
>
> Normally, it's already tested:
>
> 	AC_MSG_CHECKING([whether gcc supports -fgnu89-inline])
> 	_gcc_cflags_save="$CFLAGS"
> 	CFLAGS="${CFLAGS} -fgnu89-inline"
> 	AC_COMPILE_IFELSE(AC_LANG_PROGRAM([]),
> 	  _gcc_gnu89_inline=yes, _gcc_gnu89_inline=no)
> 	AC_MSG_RESULT($_gcc_gnu89_inline)
> 	AM_CONDITIONAL([HAVE_GCC_GNU89_INLINE_OPTION],
> 	  [test "x$_gcc_gnu89_inline" = "xyes"])
> 	CFLAGS=$_gcc_cflags_save;
>
> Kris: can you grep "whether gcc support -fgnu89-inline" in your
> `config.log'?
>
> It's supported starting from GCC 4.2.

Hm, my configure.in doesn't have that code.  Did you forget to push
this?  Or did you push it to another branch?  Also, the Makefile.am uses
the conditional HAVE_GCC.

/Simon





More information about the Gnutls-devel mailing list