/[autoconf]/autoconf/doc/autoconf.texi
ViewVC logotype

Diff of /autoconf/doc/autoconf.texi

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.692 by akim, Tue Oct 22 12:34:21 2002 UTC revision 1.693 by akim, Wed Oct 23 07:27:04 2002 UTC
# Line 4285  Amdahl UTS and Motorola System V/88. Line 4285  Amdahl UTS and Motorola System V/88.
4285  @acindex HEADER_STDBOOL  @acindex HEADER_STDBOOL
4286  @cvindex HAVE_STDBOOL_H  @cvindex HAVE_STDBOOL_H
4287  If @file{stdbool.h} exists and is conformant to C99, define  If @file{stdbool.h} exists and is conformant to C99, define
4288  @code{HAVE_STDBOOL_H} to 1.  Your @file{system.h} should contain the  @code{HAVE_STDBOOL_H} to 1.  To fulfill the C99 requirements, your
4289  following code:  @file{system.h} should contain the following code:
4290    
4291  @verbatim  @verbatim
4292  #if HAVE_STDBOOL_H  #if HAVE_STDBOOL_H
4293  # include <stdbool.h>  # include <stdbool.h>
4294  #else  #else
4295  typedef enum {false = 0, true = 1} bool;  # if ! HAVE__BOOL
4296    #  ifdef __cplusplus
4297    typedef bool _Bool;
4298    #  else
4299    typedef unsigned char _Bool;
4300    #  endif
4301    # endif
4302    # define bool _Bool
4303    # define false 0
4304    # define true 1
4305    # define __bool_true_false_are_defined 1
4306  #endif  #endif
4307  @end verbatim  @end verbatim
4308  @end defmac  @end defmac

Legend:
Removed from v.1.692  
changed lines
  Added in v.1.693

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26