configure.ac: manually expand PKG_CHECK_VAR

It's a pkg-config 0.28 feature and Travis-CI ships with an older version.
Do the trivial task of writing it out manually ;-)

Reviewed-by: Gurchetan Singh <gurchetansingh@chromium.org>
Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
Signed-off-by: Elie Tournier <elie.tournier@collabora.com>
Signed-off-by: Jakob Bornecrantz <jakob@collabora.com>
macos/master
Emil Velikov 6 years ago committed by Jakob Bornecrantz
parent 78c71445e3
commit 13d8aaced2
  1. 4
      configure.ac

@ -123,7 +123,7 @@ if test "x$os_win32" = xno && test "x$enable_egl" != "xno"; then
fi
PKG_CHECK_MODULES([EPOXY], [epoxy])
PKG_CHECK_VAR(epoxy_has_egl, [epoxy], [epoxy_has_egl])
epoxy_has_egl=`$PKG_CONFIG --variable=epoxy_has_egl epoxy`
AS_IF([test "x$epoxy_has_egl" = "x1" && test "x$enable_egl" != "xno"], [
epoxy_has_egl=yes
AC_DEFINE([HAVE_EPOXY_EGL_H], [1], [Libepoxy has EGL support.])
@ -139,7 +139,7 @@ if test "x$os_win32" = xno; then
])
fi
PKG_CHECK_VAR(epoxy_has_glx, [epoxy], [epoxy_has_glx])
epoxy_has_glx=`$PKG_CONFIG --variable=epoxy_has_glx epoxy`
AS_IF([test "x$epoxy_has_glx" = "x1" && test "x$enable_glx" != "xno"], [
PKG_CHECK_MODULES([X11], [x11])
epoxy_has_glx=yes

Loading…
Cancel
Save