summaryrefslogtreecommitdiff
path: root/makedef.pl
diff options
context:
space:
mode:
authorH.Merijn Brand <h.m.brand@xs4all.nl>2005-07-21 17:40:06 +0000
committerH.Merijn Brand <h.m.brand@xs4all.nl>2005-07-21 17:40:06 +0000
commit40dfc4d2dab16698876f0aab2660c119fdee3aa9 (patch)
tree4603b51c509dd32e68eb6b3a12c5eaae9ca0fb31 /makedef.pl
parent17bdc114163535a73d3e2fdde10eb61bdbc86f05 (diff)
downloadperl-40dfc4d2dab16698876f0aab2660c119fdee3aa9.tar.gz
I *DO* have AIX, and extending #25209 like this make it happy again
Thank you Steve! p4raw-id: //depot/perl@25210
Diffstat (limited to 'makedef.pl')
-rw-r--r--makedef.pl5
1 files changed, 3 insertions, 2 deletions
diff --git a/makedef.pl b/makedef.pl
index b460beec39..50063ecc8b 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;
}