[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: autoconf-2.50 docs: Common Behavior/Default Includes
From: |
Akim Demaille |
Subject: |
Re: autoconf-2.50 docs: Common Behavior/Default Includes |
Date: |
31 May 2001 09:26:37 +0200 |
User-agent: |
Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.1 (GTK) |
| C99 stdint.h exists only for freestanding environments --
| i.e. environments without a C library, where the only available
| headers are float.h, iso646.h, limits.h, stdarg.h, stdbool.h,
| stddef.h, and stdint.h. In effect, stdint.h is the freestanding part
| of inttypes.h.
|
| Is autoconf intended for freestanding environments? The manual
| doesn't say. (Perhaps it should.)
It might be too early to debate about this, (I mean, before 2.51), but
that's an interesting question. In addition some people seems to have
problems with our using `main ()' in tests. A friend of mine uses
Autoconf for PalmOS where `maint ()' is not to be called.
| I have the vague impression that
| the answer is "no", but if I'm wrong then most likely:
|
| #if HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
|
| should be changed to:
|
| #if HAVE_INTTYPES_H
| # include <inttypes.h>
| #else
| # if HAVE_STDINT_H
| # include <stdint.h>
| # endif
| #endif
|
| in the code and in the documentation, along with all the appropriate
| underlying changes.
I do that.
- autoconf-2.50 docs: Common Behavior/Default Includes, Lars Hecking, 2001/05/28
- Re: autoconf-2.50 docs: Common Behavior/Default Includes, Russ Allbery, 2001/05/28
- FYI: Including stdint.h (Was: autoconf-2.50 docs: Common Behavior/Default Includes), Akim Demaille, 2001/05/31
- Re: FYI: Including stdint.h (Was: autoconf-2.50 docs: Common Behavior/Default Includes), Alexandre Oliva, 2001/05/31
- Re: FYI: Including stdint.h (Was: autoconf-2.50 docs: Common Behavior/Default Includes), Paul Eggert, 2001/05/31
- Re: FYI: Including stdint.h (Was: autoconf-2.50 docs: Common Behavior/Default Includes), Akim Demaille, 2001/05/31