diff options
author | David Tardon <dtardon@redhat.com> | 2017-09-08 19:30:15 +0200 |
---|---|---|
committer | David Tardon <dtardon@redhat.com> | 2017-09-08 19:30:15 +0200 |
commit | 4a20110a0b921019e2fd830b706e93fce47b32e2 (patch) | |
tree | b9d5c76f0b1fcb09eff339b56a770db58b51e278 | |
parent | 54c7b4f69455fe026e03c6ff077de8fdac1e956c (diff) |
assume modern enough ICU is available
Change-Id: If55510fcb94e91fa91e10813928de8ca80dab4e6
-rw-r--r-- | configure.ac | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/configure.ac b/configure.ac index 4654b79..b96c386 100644 --- a/configure.ac +++ b/configure.ac @@ -105,20 +105,7 @@ AC_SUBST(ZLIB_LIBS) # ======== # Find icu # ======== -AS_IF([test "${ICU_CFLAGS+set}" = set],[ - ICU_CFLAGS_overriden=yes],[ - ICU_CFLAGS_overriden=no]) -PKG_CHECK_MODULES([ICU],[icu-i18n],[ - AS_IF([test "${ICU_CFLAGS_overriden}" = no], [ - ICU_CFLAGS="${ICU_CFLAGS} `${PKG_CONFIG} icu-i18n --variable=CXXFLAGS`"]) - ], [ - AC_PATH_PROG([ICU_CONFIG],[icu-config]) - AC_MSG_CHECKING([ICU installation]) - AS_IF([${ICU_CONFIG} --cflags >/dev/null 2>&1],[ - ICU_CFLAGS=`${ICU_CONFIG} --cppflags-searchpath --cxxflags` - AC_MSG_RESULT([found])],[ - AC_MSG_ERROR([libicu config program icu-config not found])])] -) +PKG_CHECK_MODULES([ICU], [icu-uc]) AC_SUBST(ICU_CFLAGS) # ========== |