This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Configure: Avoid Cppsym warnings for extra tokens [perl #113024]
authorAndy Dougherty <doughera@lafayette.edu>
Wed, 6 Jun 2012 15:12:58 +0000 (11:12 -0400)
committerAndy Dougherty <doughera@lafayette.edu>
Wed, 6 Jun 2012 15:12:58 +0000 (11:12 -0400)
commit6f87f404fa51739971a4068da1f11443024f3fc4
treed2545a7cc2e2ef1e6026a13ced7d15cc6bf73550
parent9e477c131aa954c3c7a61e08ff178c4bbded69a6
Configure: Avoid Cppsym warnings for extra tokens [perl #113024]

The cppsymbols can include macros such as __INT16_C(c), which can't
be tested with a simple #ifdef.  This patch strips off the opening
parenthesis and everything following it.  These macros were generated
by cpp -dM.

Also ensure Cppsym.true list is sorted for later input to comm.
(I noticed this while testing this change on Solaris.)
Configure