gnutls-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: GnuTLS 2.3.5 / GCC-3.4.x build problem


From: Simon Josefsson
Subject: Re: GnuTLS 2.3.5 / GCC-3.4.x build problem
Date: Thu, 17 Apr 2008 13:20:54 +0200
User-agent: Gnus/5.110007 (No Gnus v0.7) Emacs/22.1 (gnu/linux)

address@hidden (Ludovic Courtès) writes:

> 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.

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]