This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
amigaos4: do not build Amiga extensions in Win32
authorAndy Broad <andy@broad.ology.org.uk>
Sat, 5 Sep 2015 00:56:23 +0000 (20:56 -0400)
committerJarkko Hietaniemi <jhi@iki.fi>
Sat, 5 Sep 2015 15:12:42 +0000 (11:12 -0400)
Really.

win32/FindExt.pm

index c0da7ee..5f45a73 100644 (file)
@@ -5,7 +5,7 @@ our $VERSION = '1.03';
 use strict;
 use warnings;
 
-my $no = join('|',qw(GDBM_File ODBM_File NDBM_File DB_File
+my $no = join('|',qw(Amiga.* GDBM_File ODBM_File NDBM_File DB_File
                      VMS.* Sys-Syslog IPC-SysV I18N-Langinfo));
 $no = qr/^(?:$no)$/i;
 
@@ -23,6 +23,7 @@ sub apply_config {
     push @no, "NDBM_File" unless $config->{d_ndbm};
     push @no, "ODBM_File"
       unless ($config->{i_dbm} || $config->{i_rpcsvcdbm}) && !$config->{d_cplusplus};
+    push @no, "Amiga.*" unless $^O eq "amigaos";
     push @no, "VMS.*" unless $^O eq "VMS";
     push @no, "Win32.*" unless $^O eq "MSWin32" || $^O eq "cygwin";