Skip to content

Commit

Permalink
Joshua Gatcomb:
Browse files Browse the repository at this point in the history
I would propose that if Configure.pl does see any
other icu config flags that it not attempt to auto
configure.


git-svn-id: https://svn.parrot.org/parrot/trunk@6724 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
  • Loading branch information
Jens Rieks committed Sep 29, 2004
1 parent 26dd5e6 commit 1c034c7
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions config/gen/icu.pl
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,17 @@ sub runstep {
$icushared, $icuheaders, $icuconfig) = @_;
my $icu_configure_command;
my @icu_headers = qw(ucnv.h utypes.h uchar.h);
my $autodetect = !defined($icudatadir)
&& !defined($icuplatform)
&& !defined($icushared)
&& !defined($icuheaders);

print "\n" if $verbose;

if (!defined $icuconfig || !$icuconfig) {

if (!$autodetect) {
print "specified a icu config parameter,\nICU autodetection disabled.\n"
if $verbose;
} elsif (!defined $icuconfig || !$icuconfig) {
`icu-config --exists`;
if (($? == -1) || ($? >> 8) != 0 ) {
undef $icuconfig;
Expand All @@ -42,7 +49,7 @@ sub runstep {
}
}

if ($icuconfig && $icuconfig ne "none") {
if ($autodetect && $icuconfig && $icuconfig ne "none") {
my $slash = Configure::Data->get('slash');

# icu-config script to use
Expand Down

0 comments on commit 1c034c7

Please sign in to comment.