This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Use a real compile to test for stdbool.h.
authorAndy Dougherty <doughera@lafayette.edu>
Wed, 21 Sep 2011 16:02:18 +0000 (12:02 -0400)
committerH.Merijn Brand <merijn@lx09.procura.nl>
Thu, 22 Sep 2011 15:09:36 +0000 (17:09 +0200)
commite4f95ab0ae767ea41afd554079cb4000c9859f78
treefcf9749d981c750c1a69bc0a0edb94d89bb52eda
parentcf3c5365bc3a4d99da01918e2a5dfa7880b8328a
Use a real compile to test for stdbool.h.

On some Solaris systems, <stdbool.h> is present, but will give an
error if used by a compiler that is not sufficiently c99-compliant.
Check for this by including <stdbool.h> and trying to compile a
short program that uses bool.

Signed-off-by: H.Merijn Brand <merijn@lx09.procura.nl>
U/perl/i_stdbool.U