Re: Disable the present-but-cannot-be-compiled header warning?

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

 



On Oct 29, 2008, at 4:28 PM, Paolo Bonzini wrote:

All we want is a HAVE_<foo>_H macro (or not) -- our source code can
react as appropriate (e.g., we can disable the feature that requires the <foo> header file). Specifically: we *don't* want users to report this
to our mailing list every time it happens:

You should use four-arguments AC_CHECK_HEADERS.  Pass
AC_INCLUDES_DEFAULT as the fourth argument if you want to filter out
headers that cannot be compiled; pass [-] if you don't want that.


That is perfect -- thanks!

--
Jeff Squyres
Cisco Systems



_______________________________________________
Autoconf mailing list
Autoconf@xxxxxxx
http://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