Re: [PATCH 0/2] Modernize header checks
Peter Rosin <[email protected]>
| Newsgroups | gmane.comp.sysutils.autoconf.patches |
|---|---|
| Message-ID | <[email protected]> |
On 2013-05-31 19:19, Eric Blake wrote: > That said, would it hurt if autoconf just unconditionally defined the > macros that were previously conditionally defined by a probe, so that > code that was relying on HAVE_STRINGS_H instead of blind inclusion will > still compile? How would one do to be portable to both "some versions of FreeBSD" and MSVC, then? (MSVC 10 also lacks strings.h, btw) One camp needs HAVE_STRINGS_H to be defined and one needs to not have it defined. Sounds evil to unconditionally define it under those circumstances. Or have I misunderstood something? Cheers, Peter