summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorChia-I Wu <olvaffe@gmail.com>2011-10-27 12:53:02 +0800
committerChia-I Wu <olvaffe@gmail.com>2011-11-03 16:04:09 +0800
commit81649d43a249e33f9bd71a0afa1558a02b26e69e (patch)
tree6dcf658fa01702cb3f1a7a999ae1e9a449092539 /configure.ac
parent39014eea0e892a3fd62474469fda638e724b890b (diff)
downloadmesa-demos-81649d43a249e33f9bd71a0afa1558a02b26e69e.zip
mesa-demos-81649d43a249e33f9bd71a0afa1558a02b26e69e.tar.xz
fix check for freetype2
It was broken accidentally in ec53c2a64e8c9bddb77f107617f84e7339318c1d.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac5
1 files changed, 4 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index a906d28..71ed0cc 100644
--- a/configure.ac
+++ b/configure.ac
@@ -205,14 +205,17 @@ AC_ARG_ENABLE([x11],
if test "x$x11_enabled" != "xno"; then
PKG_CHECK_MODULES(X11, [x11 xext], [x11_enabled=yes], [x11_enabled=no])
fi
+
+dnl FreeType2 is needed by an OpenVG demo
AC_ARG_ENABLE([freetype2],
[AS_HELP_STRING([--enable-freetype2],
[enable support for FreeType2 @<:@default=no@:>@])],
[freetype2_enabled="$enableval"],
[freetype2_enabled=auto])
if test "x$freetype2_enabled" != "xno"; then
- PKG_CHECK_MODULES(DRM, [freetype2], [freetype2_enabled=yes], [freetype2_enabled=no])
+ PKG_CHECK_MODULES(FREETYPE2, [freetype2], [freetype2_enabled=yes], [freetype2_enabled=no])
fi
+
mesa_source_enabled=no
AC_ARG_WITH([mesa-source],
[AS_HELP_STRING([--with-mesa-source=DIR],