diff options
author | Emil Velikov <[email protected]> | 2016-12-07 13:24:58 +0000 |
---|---|---|
committer | Emil Velikov <[email protected]> | 2017-01-18 16:01:15 +0000 |
commit | e8044dd4344fc716442cf4c4ffee77d54350b40e (patch) | |
tree | 6aa3b1c9fb5969926a0fd0e59b3929c86722c9d2 /configure.ac | |
parent | 3b887f122f604943f1f05fb3c255a91e6859564d (diff) |
configure: remove HAVE_EGL_DRIVER_DRI[23]
We have them for local purposes in configure, where we can use their
direct dependency.
With the only remaining instance in the makefile(s) being always true,
as it can be seen in the configure snippet.
Signed-off-by: Emil Velikov <[email protected]>
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 14 |
1 files changed, 3 insertions, 11 deletions
diff --git a/configure.ac b/configure.ac index ec280328b0b..e162f9b003c 100644 --- a/configure.ac +++ b/configure.ac @@ -2012,14 +2012,8 @@ if test "x$enable_egl" = xyes; then fi if test "x$enable_dri" = xyes; then - HAVE_EGL_DRIVER_DRI2=1 if test "x$enable_shared_glapi" = xno; then - AC_MSG_ERROR([egl_dri2 requires --enable-shared-glapi]) - fi - if test "x$enable_dri3" = xyes; then - HAVE_EGL_DRIVER_DRI3=1 - if test "x$enable_shared_glapi" = xno; then - AC_MSG_ERROR([egl_dri3 requires --enable-shared-glapi]) + AC_MSG_ERROR([egl_dri requires --enable-shared-glapi]) fi else # Avoid building an "empty" libEGL. Drop/update this @@ -2299,8 +2293,6 @@ AM_CONDITIONAL(HAVE_EGL_PLATFORM_DRM, echo "$egl_platforms" | grep -q 'drm') AM_CONDITIONAL(HAVE_EGL_PLATFORM_SURFACELESS, echo "$egl_platforms" | grep -q 'surfaceless') AM_CONDITIONAL(HAVE_EGL_PLATFORM_ANDROID, echo "$egl_platforms" | grep -q 'android') -AM_CONDITIONAL(HAVE_EGL_DRIVER_DRI2, test "x$HAVE_EGL_DRIVER_DRI2" != "x") - AC_SUBST([EGL_NATIVE_PLATFORM]) AC_SUBST([EGL_CFLAGS]) @@ -2941,10 +2933,10 @@ if test "$enable_egl" = yes; then echo " EGL platforms: $egl_platforms" egl_drivers="" - if test "x$HAVE_EGL_DRIVER_DRI2" != "x"; then + if test "x$enable_dri" != "xno"; then egl_drivers="$egl_drivers builtin:egl_dri2" fi - if test "x$HAVE_EGL_DRIVER_DRI3" != "x"; then + if test "x$enable_dri3" != "xno"; then egl_drivers="$egl_drivers builtin:egl_dri3" fi |