view modules/stdbool @ 4172:5321105558d8

Add module descriptions.
author Bruno Haible <bruno@clisp.org>
date Mon, 13 Jan 2003 16:07:17 +0000
parents c2c0e7e2e7bd
children 3ccc6d0d52bb
line wrap: on
line source

Description:
An <stdbool.h> that nearly conforms to C99.
(Nearly: casts to bool may not work.)

Files:
lib/stdbool.h.in
m4/stdbool.m4

Depends-on:

configure.ac:
AM_STDBOOL_H

Makefile.am:
EXTRA_DIST += stdbool.h.in

# The following is needed in order to create an <stdbool.h> when the system
# doesn't have one that works.
all-local $(lib_OBJECTS): @STDBOOL_H@
stdbool.h: stdbool.h.in
	sed -e 's/@''HAVE__BOOL''@/@HAVE__BOOL@/g' < $(srcdir)/stdbool.h.in > stdbool.h
MOSTLYCLEANFILES += stdbool.h

Include:
#include <stdbool.h>