Skip to content

Commit

Permalink
Issue #34
Browse files Browse the repository at this point in the history
  • Loading branch information
grosjo committed Mar 8, 2020
1 parent 5b9aa96 commit 13107fa
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,10 @@ BINARY_CFLAGS="$PIE_CFLAGS"
AC_SUBST(LIBDOVECOT_INCLUDE)

PKG_PROG_PKG_CONFIG([0.25]) # check and set $PKG_CONFIG
PKG_CHECK_MODULES([ICU_UC], [icu-uc >= 63], [have_icu_uc=true], [have_icu_uc=false])
PKG_CHECK_MODULES([ICU_I18N], [icu-i18n >= 63], [have_icu_i18n=true], [have_icu_i18n=false])
PKG_CHECK_MODULES([ICU_UC], [icu-uc >= 60], [have_icu_uc=true], [have_icu_uc=false])
PKG_CHECK_MODULES([ICU_I18N], [icu-i18n >= 60], [have_icu_i18n=true], [have_icu_i18n=false])
if !($have_icu_uc && $have_icu_i18n); then
AC_MSG_ERROR([icu 63 or higher is required, but was not found.])
AC_MSG_ERROR([icu 60 or higher is required, but was not found.])
fi

ICU_LDFLAGS=$($PKG_CONFIG --libs-only-L icu-uc | sed 's/-L//g')
Expand Down

0 comments on commit 13107fa

Please sign in to comment.