summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2014-06-13 14:59:37 -0700
committerEric Anholt <eric@anholt.net>2014-06-13 14:59:37 -0700
commitd56f21c494b315306215c4730835a9b291360e9b (patch)
treea6f88ffe782b7505fc11103a81df54cb8bd586af /configure.ac
parent27298ee31b9979fb058c3908cc631e8dce9ea674 (diff)
downloadlibepoxy-d56f21c494b315306215c4730835a9b291360e9b.tar.gz
Use the EGL pkgconfig for finding eglplatform.h.
We don't ever explicity link against libEGL, so no need to make use of EGL_LIBS. Fixes #30.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 399e351..f97c9b0 100644
--- a/configure.ac
+++ b/configure.ac
@@ -98,6 +98,7 @@ AC_SUBST(EPOXY_LINK_LIBS)
AM_CONDITIONAL(BUILD_EGL, test x$build_egl = xyes)
if test x$build_egl = xyes; then
+ PKG_CHECK_MODULES(EGL, [egl])
AC_DEFINE([BUILD_EGL], [1], [build EGL tests])
fi