Another try at build without glib

This commit is contained in:
Behdad Esfahbod 2009-11-02 18:55:19 -05:00
parent 2f3e69f3cb
commit f94cf6b969
1 changed files with 6 additions and 2 deletions

View File

@ -22,11 +22,15 @@ fi
dnl ==========================================================================
PKG_CHECK_MODULES(GLIB, glib-2.0, have_glib=true, have_glib=false)
AC_DEFINE(HAVE_GLIB, 1, [Have FreeType 2 library])
if $have_glib; then
AC_DEFINE(HAVE_GLIB, 1, [Have FreeType 2 library])
fi
AM_CONDITIONAL(HAVE_GLIB, $have_glib)
PKG_CHECK_MODULES(FREETYPE, freetype, have_freetype=true, have_freetype=false)
AC_DEFINE(HAVE_FREETYPE, 1, [Have FreeType 2 library])
if $have_freetype; then
AC_DEFINE(HAVE_FREETYPE, 1, [Have FreeType 2 library])
fi
AM_CONDITIONAL(HAVE_FREETYPE, $have_freetype)
dnl ==========================================================================