]>
Commit | Line | Data |
---|---|---|
ceb753a6 JB |
1 | --- seamonkey-2.46/mozilla/build/autoconf/icu.m4~ 2016-12-14 03:09:42.000000000 +0100 |
2 | +++ seamonkey-2.46/mozilla/build/autoconf/icu.m4 2017-01-31 16:04:37.386019997 +0100 | |
3 | @@ -62,15 +62,8 @@ | |
4 | ||
5 | dnl Settings for the implementation of the ECMAScript Internationalization API | |
6 | if test -n "$USE_ICU"; then | |
7 | - icudir="$_topsrcdir/intl/icu/source" | |
8 | - if test ! -d "$icudir"; then | |
9 | - icudir="$_topsrcdir/../../intl/icu/source" | |
10 | - if test ! -d "$icudir"; then | |
11 | - AC_MSG_ERROR([Cannot find the ICU directory]) | |
12 | - fi | |
13 | - fi | |
14 | ||
048deb2d | 15 | - version=`sed -n 's/^[[[:space:]]]*#[[:space:]]*define[[:space:]][[:space:]]*U_ICU_VERSION_MAJOR_NUM[[:space:]][[:space:]]*\([0-9][0-9]*\)[[:space:]]*$/\1/p' "$icudir/common/unicode/uvernum.h"` |
ceb753a6 JB |
16 | + version=`sed -n 's/^\s*#\s*define\s\s*U_ICU_VERSION_MAJOR_NUM\s\s*\([0-9][0-9]*\)\s*$/\1/p' "/usr/include/unicode/uvernum.h"` |
17 | if test x"$version" = x; then | |
18 | AC_MSG_ERROR([cannot determine icu version number from uvernum.h header file $lineno]) | |
19 | fi |