[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: GnuTLS 2.3.5 / GCC-3.4.x build problem
From: |
Ludovic Courtès |
Subject: |
Re: GnuTLS 2.3.5 / GCC-3.4.x build problem |
Date: |
Wed, 16 Apr 2008 17:10:18 +0200 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux) |
Hi,
Simon Josefsson <address@hidden> 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.