Re: Detect Autoconf run in preprocessor?

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

 



On Fri, Jul 15, 2016 at 2:35 PM, Bob Friesenhahn
<bfriesen@xxxxxxxxxxxxxxxxxxx> wrote:
> On Fri, 15 Jul 2016, Jeffrey Walton wrote:
>>
>>
>> Is there a preprocessor macro defined by Autotools to detect when
>> software is being configured by the tool? My apologies for asking; I
>> cannot simply run `g++ -dM -E - </dev/null` because it will lack
>> Autoconf specific defines.
>
>
> Everything that Autoconf defines should be visible in the generated
> config.log file.  The source for each test case is included.

Thanks. I'll have to ask the person for it.

But getting back to Autoconf defines, is there a preprocessor define
that Autoconf uses to identify itself?

Jeff

_______________________________________________
Autoconf mailing list
Autoconf@xxxxxxx
https://lists.gnu.org/mailman/listinfo/autoconf



[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux