uses Alien::gmake to find make. I verified that the astyle makefiles require Gnu Make.
uses c++ on FreeBSD, which works in older pre-version 10 FreeBSDs (where it is an alias for g++) and on newer version 10+ FreeBSDs (where it is an alias for clang++).
uses clang++ if $Config{cc} is clang. If the compiler used to build Perl is clang you almost certainly want to use clang to build astyle. In the very least it doesn't hurt!
For me it allowed building Alien::astyle on FreeBSD. It should fix cpan testers failures such as this:
This patch:
c++
on FreeBSD, which works in older pre-version 10 FreeBSDs (where it is an alias for g++) and on newer version 10+ FreeBSDs (where it is an alias for clang++).clang++
if$Config{cc}
isclang
. If the compiler used to build Perl is clang you almost certainly want to use clang to build astyle. In the very least it doesn't hurt!For me it allowed building
Alien::astyle
on FreeBSD. It should fix cpan testers failures such as this:http://www.cpantesters.org/cpan/report/3ee4eb90-d4d5-11e6-a3ce-a8b34fdda3ae
it may also correct things on other platforms.