@@ -8153,17 +8153,31 @@ fi
8153
8153
# Put the nasty error message in config.log where it belongs
8154
8154
echo "$ICU_PKG_ERRORS" >&5
8155
8155
8156
- as_fn_error $? "ICU library not found
8157
- If you have ICU already installed, see config.log for details on the
8158
- failure. It is possible the compiler isn't looking in the proper directory.
8159
- Use --without-icu to disable ICU support." "$LINENO" 5
8156
+ as_fn_error $? "Package requirements (icu-uc icu-i18n) were not met:
8157
+
8158
+ $ICU_PKG_ERRORS
8159
+
8160
+ Consider adjusting the PKG_CONFIG_PATH environment variable if you
8161
+ installed software in a non-standard prefix.
8162
+
8163
+ Alternatively, you may set the environment variables ICU_CFLAGS
8164
+ and ICU_LIBS to avoid the need to call pkg-config.
8165
+ See the pkg-config man page for more details." "$LINENO" 5
8160
8166
elif test $pkg_failed = untried; then
8161
8167
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8162
8168
$as_echo "no" >&6; }
8163
- as_fn_error $? "ICU library not found
8164
- If you have ICU already installed, see config.log for details on the
8165
- failure. It is possible the compiler isn't looking in the proper directory.
8166
- Use --without-icu to disable ICU support." "$LINENO" 5
8169
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8170
+ $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8171
+ as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
8172
+ is in your PATH or set the PKG_CONFIG environment variable to the full
8173
+ path to pkg-config.
8174
+
8175
+ Alternatively, you may set the environment variables ICU_CFLAGS
8176
+ and ICU_LIBS to avoid the need to call pkg-config.
8177
+ See the pkg-config man page for more details.
8178
+
8179
+ To get pkg-config, see <http://pkg-config.freedesktop.org/>.
8180
+ See \`config.log' for more details" "$LINENO" 5; }
8167
8181
else
8168
8182
ICU_CFLAGS=$pkg_cv_ICU_CFLAGS
8169
8183
ICU_LIBS=$pkg_cv_ICU_LIBS
0 commit comments