Permalink
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...
1 parent b7d4986 commit 46189ca27bdff64ab47d6acc17a3d71556eecff4 wcoleda committed Jul 31, 2009
Showing with 18 additions and 1 deletion.
  1. +18 −1 Configure.pl
View
@@ -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}

0 comments on commit 46189ca

Please sign in to comment.