Disable UCDN if glib is available

We only want UCDN if we don't have any other Unicode provider.
I'm going to remove ICU from the list of default Unicode providers
as part of moving hb-icu into its own library.  As such, the only
providers will be UCDN and glib.
This commit is contained in:
Behdad Esfahbod 2013-05-27 19:10:33 -04:00
parent ca65326cbd
commit 58db2c2542
1 changed files with 3 additions and 0 deletions

View File

@ -145,6 +145,9 @@ AM_CONDITIONAL(HAVE_GOBJECT, $have_gobject)
dnl =========================================================================== dnl ===========================================================================
have_ucdn=true have_ucdn=true
if $have_glib; then
have_ucdn=false
fi
if $have_ucdn; then if $have_ucdn; then
AC_DEFINE(HAVE_UCDN, 1, [Have UCDN Unicode functions]) AC_DEFINE(HAVE_UCDN, 1, [Have UCDN Unicode functions])
fi fi