Fix ICU detection
This commit is contained in:
parent
756f794a1f
commit
76691f0240
|
@ -29,7 +29,7 @@ fi
|
||||||
AM_CONDITIONAL(HAVE_GLIB, $have_glib)
|
AM_CONDITIONAL(HAVE_GLIB, $have_glib)
|
||||||
|
|
||||||
PKG_CHECK_MODULES(ICU, icu, have_icu=true, [
|
PKG_CHECK_MODULES(ICU, icu, have_icu=true, [
|
||||||
AC_CHECK_PROG([have_icu], [icu-config], [have_icu], [true], [false], [$PATH])
|
AC_CHECK_PROG([have_icu], [icu-config], [true], [false])
|
||||||
if $have_icu; then
|
if $have_icu; then
|
||||||
icu_cflags=`icu-config --cppflags`
|
icu_cflags=`icu-config --cppflags`
|
||||||
icu_libs=`icu-config --ldflags-libsonly`
|
icu_libs=`icu-config --ldflags-libsonly`
|
||||||
|
|
Loading…
Reference in New Issue