This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Refactor some compiler-based hints in configure.com.
authorCraig A. Berry <craigberry@mac.com>
Fri, 6 Jun 2014 14:05:13 +0000 (09:05 -0500)
committerCraig A. Berry <craigberry@mac.com>
Fri, 6 Jun 2014 19:19:41 +0000 (14:19 -0500)
commitc9186d06cda7e71ddddf2b9b0e74aa9b788c20b7
tree1c8ed4902df22c986d22c4f46fbec8a71b2cc5be
parentd66144c405c53a4f863abfc763d454ef008ad47c
Refactor some compiler-based hints in configure.com.

Once upon a time, there was VAX C, and there was a port of GCC
2.something that used the same library.  These both only ran on VAX
and both became obsolete years ago.  When DEC/Compaq/HP C came
along, it had its own library (typically referred to simply as
"the CRTL") that shipped with the operating system.  It was thus
natural to determine the presence or absence of a library function
based on the compiler choice, as that implied a library choice.

But there is now no choice of library nor has been for many years.
The CRTL is it, and even a new port of GCC (which apparently exists
in some form as part of Ada Core's toolchain) would almost
certainly use it.  So stop using the selected compiler to decide
whether a library function is present or not.
configure.com