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

View File

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