Detect freetype properly Make use of above.

* configure.in: Detect freetype properly
* modules/basic/Makefile.am, gdk/linux-fb/Makefile.am: Make use of above.
This commit is contained in:
Elliot Lee
2000-12-06 18:45:42 +00:00
parent 7fa13eaf35
commit 89709dd14f
10 changed files with 44 additions and 6 deletions

View File

@ -534,11 +534,22 @@ if test "x$gdktarget" = "xlinux-fb"; then
x_ldflags=
x_libs=
xinput_progs=
AC_PATH_PROG(FREETYPE_CONFIG, freetype-config, no)
if test x$FREETYPE_CONFIG = xno ; then
AC_MSG_ERROR([*** freetype-config not found])
fi
FREETYPE_CFLAGS="`$FREETYPE_CONFIG --cflags`"
FREETYPE_LIBS="`$FREETYPE_CONFIG --libs`"
CFLAGS="$CFLAGS $FREETYPE_CFLAGS"
AM_CONDITIONAL(USE_LINUX_FB, true)
else
AM_CONDITIONAL(USE_LINUX_FB, false)
fi
AC_SUBST(FREETYPE_LIBS)
AC_SUBST(FREETYPE_CFLAGS)
#
# Check for Pango