GnuTLS 2.3.5 / GCC-3.4.x build problem
Ludovic Courtès
ludo at gnu.org
Wed Apr 16 17:10:18 CEST 2008
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.
Thanks,
Ludovic.
More information about the Gnutls-devel
mailing list