1 ?RCS: $Id: i_stdbool.U,v $
3 ?RCS: Copyright (c) 2011 H.Merijn Brand
5 ?RCS: You may distribute under the terms of either the GNU General Public
6 ?RCS: License or the Artistic License, as specified in the README file.
8 ?MAKE:i_stdbool: cat Compile rm_try Setvar
11 ?S: This variable conditionally defines the I_STDBOOL symbol, which
12 ?S: indicates to the C program that <stdbool.h> exists and should
16 ?C: This symbol, if defined, indicates that <stdbool.h> exists and
19 ?H:#$i_stdbool I_STDBOOL /**/
22 : see if stdbool is available
23 : we want a real compile instead of Inhdr because some Solaris systems
24 : have stdbool.h, but it can only be used if the compiler indicates it
25 : is sufficiently c99-compliant.
34 int main(int argc, char **argv)
40 if eval $compile; then
41 echo "<stdbool.h> found." >&4
44 echo "<stdbool.h> NOT found." >&4