summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorChia-I Wu <olvaffe@gmail.com>2010-11-29 18:36:28 -0600
committerChia-I Wu <olvaffe@gmail.com>2010-11-29 18:36:28 +0800
commit97d048fa913eebf5d5493fd1d7c5fb3d207cc5e2 (patch)
tree26f1d58aa3be1d988e41921da12d6c4d9ed4d1f0 /configure.ac
parentf5874a5dc018dbe922b44219f0e06db47fd11a2e (diff)
downloadmesa-demos-97d048fa913eebf5d5493fd1d7c5fb3d207cc5e2.zip
mesa-demos-97d048fa913eebf5d5493fd1d7c5fb3d207cc5e2.tar.xz
egl/openvg: Add text demo.
This demo loads font files using freetype. OpenVG text support will be used if available, but it is not required.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac3
1 files changed, 3 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 282b365..d6753a9 100644
--- a/configure.ac
+++ b/configure.ac
@@ -155,6 +155,8 @@ fi
DEMO_CFLAGS="$DEMO_CFLAGS $CWARNFLAGS"
PKG_CHECK_MODULES(X11, [x11 xext], [x11_enabled=yes], [enable_x11=no])
+PKG_CHECK_MODULES(FREETYPE2, [freetype2],
+ [freetype2_enabled=yes], [freetype2_enabled=no])
mesa_source_enabled=no
AC_ARG_WITH([mesa-source],
@@ -206,6 +208,7 @@ AM_CONDITIONAL(HAVE_GLESV2, test "x$glesv2_enabled" = "xyes")
AM_CONDITIONAL(HAVE_VG, test "x$vg_enabled" = "xyes")
AM_CONDITIONAL(HAVE_GLUT, test "x$glut_enabled" = "xyes")
AM_CONDITIONAL(HAVE_X11, test "x$x11_enabled" = "xyes")
+AM_CONDITIONAL(HAVE_FREETYPE2, test "x$freetype2_enabled" = "xyes")
AM_CONDITIONAL(HAVE_OSMESA, test "x$osmesa_enabled" = "xyes")
AM_CONDITIONAL(BUILD_GLTRACE, false)
AM_CONDITIONAL(HAVE_MESA_SOURCE, test "x$mesa_source_enabled" = "xyes")