Procházet zdrojové kódy

egl: Build egl_dri2 only when xcb-dri2 is available.

The driver does not build when xcb-dri2 is not available.
tags/mesa-7.9-rc1
Chia-I Wu před 15 roky
rodič
revize
bb217ba76a
1 změnil soubory, kde provedl 3 přidání a 4 odebrání
  1. 3
    4
      configure.ac

+ 3
- 4
configure.ac Zobrazit soubor

@@ -970,12 +970,11 @@ if test "x$enable_egl" = xyes; then
if test "$have_xcb_dri2" = yes; then
EGL_DRIVER_DRI2=dri2
DEFINES="$DEFINES -DHAVE_XCB_DRI2"
if test "$have_libudev" = yes; then
DEFINES="$DEFINES -DHAVE_LIBUDEV"
fi
fi

if test "$have_libudev" = yes; then
EGL_DRIVER_DRI2=dri2
DEFINES="$DEFINES -DHAVE_LIBUDEV"
fi

EGL_DRIVERS_DIRS="$EGL_DRIVERS_DIRS $EGL_DRIVER_DRI2"
fi

Načítá se…
Zrušit
Uložit