[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Bug on NetBSD : redefinition of wint_t
From: |
Paul Eggert |
Subject: |
Re: Bug on NetBSD : redefinition of wint_t |
Date: |
Mon, 6 Aug 2001 12:00:29 -0700 (PDT) |
> From: Akim Demaille <address@hidden>
> Date: 06 Aug 2001 10:18:44 +0200
>
> I'm a bit afraid to apply this patch as it might break other systems.
Likewise.
> Maybe that's something we should handle
> at configure.in's level, probably checking whether we can include
> stddef and wchar together.
How about this idea for a more general fix? It would fix many of the
problems that we run into in this area:
1. Modify AC_CHECK_HEADER to always try to compile the header; it
should never merely just try to preprocess it.
If a header preprocesses correctly, but does not compile
correctly, nobody really wants to use it. So as far as I can see,
the current behavior if AC_CHECK_HEADER is not something that
anybody really wants.
2. Modify AC_CHECK_HEADER to use the default includes if INCLUDES is
empty, just as the other check macros do.
The idea is to fix autoconf without requiring any fixes to other packages.