[flac-dev] [PATCH 1/2] Revert "configure.ac : If gcc is version 4.2, use -fgnu89-inline."

Erik de Castro Lopo mle+la at mega-nerd.com
Thu Nov 21 23:16:53 PST 2013


Erik de Castro Lopo wrote:

> Ah yes, I hit this problem in another project. However I came up
> with a better solution, to detect the difference between GCC and
> Clang. I'll port that fix over to FLAC in the next couple of days.

My latest commit below. Please test.

Cheers,
Erik

commit a6a4b6f2052829c205319ecb0f5df553baedc9a4
Author: Erik de Castro Lopo <erikd at mega-nerd.com>
Date:   Fri Nov 22 18:13:36 2013 +1100

    Detect Clang masquerading as GCC.
    
    Autoconf detects the Clang compiler as GNU GCC (clang sets defines like
    __GNUC__ etc) but Clang is *not* completely compatible. If we detect
    Clang we set ac_vc_c_compiler_gnu to 'no'.

M       configure.ac
A       m4/clang.m4
A       m4/really_gcc.m4

-- 
----------------------------------------------------------------------
Erik de Castro Lopo
http://www.mega-nerd.com/


More information about the flac-dev mailing list