Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Issue 87 - add a warning if ICU is not present.

re-order list of probed config vars



git-svn-id: http://partcl.googlecode.com/svn/trunk@552 6cb8db7d-f34b-0410-8f57-4f83c6281724
  • Loading branch information...
commit 46189ca27bdff64ab47d6acc17a3d71556eecff4 1 parent b7d4986
wcoleda authored
Showing with 18 additions and 1 deletion.
  1. +18 −1 Configure.pl
View
19 Configure.pl
@@ -14,7 +14,17 @@
my %opt;
-my @keys = qw(perl libdir bindir versiondir slash make VERSION revision);
+my @keys = qw(
+ bindir
+ has_icu
+ libdir
+ make
+ perl
+ revision
+ slash
+ VERSION
+ versiondir
+);
foreach my $key (@keys) {
my $value = `$config $key`
@@ -54,6 +64,13 @@
}
}
+warn <<END_WARN
+!! Partcl relies on ICU, which is not linked with this parrot.
+ Some features may not work.
+
+END_WARN
+ unless $opt{has_icu};
+
my $build_tool = $opt{perl} . ' '
. $opt{libdir}
. $opt{versiondir}
Please sign in to comment.
Something went wrong with that request. Please try again.