From 40dfc4d2dab16698876f0aab2660c119fdee3aa9 Mon Sep 17 00:00:00 2001 From: "H.Merijn Brand" Date: Thu, 21 Jul 2005 17:40:06 +0000 Subject: [PATCH] I *DO* have AIX, and extending #25209 like this make it happy again Thank you Steve! p4raw-id: //depot/perl@25210 --- makedef.pl | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/makedef.pl b/makedef.pl index b460bee..50063ec 100644 --- a/makedef.pl +++ b/makedef.pl @@ -36,7 +36,7 @@ my %PLATFORM; defined $PLATFORM || die "PLATFORM undefined, must be one of: @PLATFORM\n"; exists $PLATFORM{$PLATFORM} || die "PLATFORM must be one of: @PLATFORM\n"; -if ($PLATFORM eq 'win32') { +if ($PLATFORM eq 'win32' or $PLATFORM eq "aix") { # Add the compile-time options that miniperl was built with to %define. # These are not the same options as perl itself will be built with since # miniperl is built with a canned config (one of the win32/config_H.*) @@ -45,8 +45,9 @@ if ($PLATFORM eq 'win32') { # header files and don't include any BUILDOPT's that the user might have # chosen to disable because the canned configs are minimal configs that # don't include any of those options. - my $config = `$^X -V`; + my $config = `$^X -Ilib -V`; my($options) = $config =~ /^ Compile-time options: (.*?)^ \S/ms; + print STDERR "Options: ($options)\n"; foreach (split /\s+/, $options) { $define{$_} = 1; } -- 2.7.4