Changeset - r19317:bb90f9299b07
[Not reviewed]
master
0 1 0
planetmaker - 12 years ago 2012-05-09 19:13:34
planetmaker@openttd.org
(svn r24220) -Change: Adopt ICU version detection to also deal with the new versioning scheme since ICU 49
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
config.lib
Show inline comments
 
@@ -2861,13 +2861,13 @@ detect_icu() {
 
	else
 
		icu_config="$with_icu"
 
	fi
 

	
 
	version=`$icu_config --version 2>/dev/null`
 
	ret=$?
 
	shortversion=`echo $version | cut -c 1,3`
 
	shortversion=`echo $version | cut -d\. -f1,2 | sed "s/\.//g" | cut -c1-2`
 
	log 2 "executing $icu_config --version"
 
	log 2 "  returned $version"
 
	log 2 "  exit code $ret"
 

	
 
	if [ -z "$version" ] || [ "$ret" != "0" ] || [ "$shortversion" -lt "36" ]; then
 
		if [ -n "$shortversion" ] && [ "$shortversion" -lt "36" ]; then
0 comments (0 inline, 0 general)