Skip to content

Commit

Permalink
Fix CPPFLAGS configuration for icu4c and libarchive missing from conf…
Browse files Browse the repository at this point in the history
…igure.ac
  • Loading branch information
James R. Barlow committed May 7, 2019
1 parent 7a5b9b8 commit 4033617
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -426,6 +426,7 @@ PKG_CHECK_MODULES([libarchive], [libarchive], [have_libarchive=true], [have_liba
AM_CONDITIONAL([HAVE_LIBARCHIVE], [$have_libarchive])
if $have_libarchive; then
AC_DEFINE([HAVE_LIBARCHIVE], [], [Enable libarchive])
CPPFLAGS="$CPPFLAGS $libarchive_CFLAGS"
fi
AM_CONDITIONAL([ENABLE_TRAINING], true)
Expand All @@ -440,6 +441,8 @@ if !($have_icu_uc && $have_icu_i18n); then
AC_MSG_WARN([Try to install libicu-devel package.])
AM_CONDITIONAL([ENABLE_TRAINING], false)
fi
else
CPPFLAGS="$CPPFLAGS $ICU_UC_CFLAGS $ICU_I18N_CFLAGS"
fi
# Check location of pango headers
Expand Down

0 comments on commit 4033617

Please sign in to comment.