autoconf
[Top][All Lists]
Advanced

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

Re: [autoconf] Compiler characteristics


From: mpsuzuki
Subject: Re: [autoconf] Compiler characteristics
Date: Mon, 7 Sep 2009 01:16:31 +0900

Hi,

On Sun, 6 Sep 2009 06:08:23 -0400
NightStrike <address@hidden> wrote:

>How do you test to see if the compiler supports a given option?
>
>Specifically, gcc -municode

I guess vanilla autoconf does not have a generic macro
to check the availability of the options. For example,
the availability of "-g", "-std=XXX" are implemented
without simple public macros.

For detail, please check /usr/share/autoconf/autoconf/c.m4.
_AC_C_STD_TRY is an internal-but-generic macro to check
"-std=XXX" availabilities. It will be something useful to
check -mXXX availabilities.

Regards,
mpsuzuki




reply via email to

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