perl-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Fred Moyer <f...@redhotpenguin.com>
Subject sanity check in Makefile.PL
Date Tue, 30 Mar 2010 20:03:21 GMT
This throws a warning if you build against httpd installed with prefix
'/usr/local'.

Is this location not expected?

545 sub system_sanity_check {
546     return if WIN32;
547
548     my $ccflags = $build->perl_config('ccflags');
549     for (split /\s+/, $ccflags) {
550         next unless s/^-I//;
551         my $header = "$_/ap_mmn.h";
552         if (-e $header) {
553             $build->phat_warn(<<EOF);
554 Apache headers found in unexpected location: ``$_'', suggestions:
555    *) Remove via ``rpm -e apache''
556    *) Remove by hand
557    *) Complain to your os vendor about their poor layout choice
558    *) Complain to your sysadmin about their poor layout choice
559 EOF
560         }
561     }
562
563     $build->lib_check('gdbm');
564     malloc_check();
565     os_check();
566 }

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org


Mime
View raw message