summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--win32/FindExt.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/win32/FindExt.pm b/win32/FindExt.pm
index c0da7ee75b..5f45a73484 100644
--- a/win32/FindExt.pm
+++ b/win32/FindExt.pm
@@ -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";