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

Dear all,

I am rather new to Autoconf and I could not find an answer to this question in the manual. I would like to know if there is a command to produce
conditional defines. Something that from


would produce

#ifndef FOO
#define FOO 1

This to avoid multiple defines. It happens in my case because my software is integrating different libraries and it is difficult to know a-priori if
a macro has not yet been defined, and multiple definitions produce just an annoying  warning using gcc compiler but it may crash
other (more stupid) compilers.

Thank you for your help,


Autoconf mailing list

[GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [USB]     [Samba]

Add to Google Powered by Linux