diff options
Diffstat (limited to 'configure.ac')
| -rw-r--r-- | configure.ac | 40 | 
1 files changed, 31 insertions, 9 deletions
| diff --git a/configure.ac b/configure.ac index 5fe3a94496..25e4321510 100644 --- a/configure.ac +++ b/configure.ac @@ -18,7 +18,7 @@ AC_CONFIG_AUX_DIR([bin])  AC_CANONICAL_HOST  dnl Versions for external dependencies -LIBDRM_REQUIRED=2.4.3 +LIBDRM_REQUIRED=2.4.15  DRI2PROTO_REQUIRED=1.99.3  dnl Check for progs @@ -419,7 +419,7 @@ WINDOW_SYSTEM=""  GALLIUM_DIRS="auxiliary drivers state_trackers"  GALLIUM_WINSYS_DIRS=""  GALLIUM_WINSYS_DRM_DIRS="" -GALLIUM_AUXILIARY_DIRS="rbug draw translate cso_cache pipebuffer tgsi sct rtasm util indices" +GALLIUM_AUXILIARY_DIRS="rbug draw translate cso_cache pipebuffer tgsi sct rtasm util indices vl"  GALLIUM_DRIVERS_DIRS="softpipe failover trace identity"  GALLIUM_STATE_TRACKERS_DIRS="" @@ -775,8 +775,8 @@ if test "$mesa_driver" = dri; then      # default drivers      if test "x$DRI_DIRS" = "xyes"; then -        DRI_DIRS="i810 i915 i965 mach64 mga r128 r200 r300 r600 radeon s3v \ -            savage sis tdfx trident unichrome ffb swrast" +        DRI_DIRS="i810 i915 i965 mach64 mga r128 r200 r300 r600 radeon \ +            savage sis tdfx unichrome ffb swrast"      fi      DRI_DIRS=`echo "$DRI_DIRS" | $SED 's/  */ /g'` @@ -1143,7 +1143,14 @@ yes)          GALLIUM_STATE_TRACKERS_DIRS=glx          ;;      dri) -        test "x$enable_egl" = xyes && GALLIUM_STATE_TRACKERS_DIRS=egl +        GALLIUM_STATE_TRACKERS_DIRS="dri" +        if test "x$enable_egl" = xyes; then +            GALLIUM_STATE_TRACKERS_DIRS="$GALLIUM_STATE_TRACKERS_DIRS egl" +        fi +        # Have only tested st/xorg on 1.6.0 servers +        PKG_CHECK_MODULES(XORG, [xorg-server >= 1.6.0], +            HAVE_XORG="yes"; GALLIUM_STATE_TRACKERS_DIRS="$GALLIUM_STATE_TRACKERS_DIRS xorg", +            HAVE_XORG="no")          ;;      esac      ;; @@ -1190,16 +1197,31 @@ AC_ARG_WITH([max-height],  )  dnl +dnl Gallium SVGA configuration +dnl +AC_ARG_ENABLE([gallium-svga], +    [AS_HELP_STRING([--disable-gallium-svga], +        [build gallium SVGA @<:@default=enabled@:>@])], +    [enable_gallium_svga="$enableval"], +    [enable_gallium_svga=yes]) +if test "x$enable_gallium_svga" = xyes; then +    GALLIUM_WINSYS_DRM_DIRS="$GALLIUM_WINSYS_DRM_DIRS vmware" +    GALLIUM_DRIVERS_DIRS="$GALLIUM_DRIVERS_DIRS svga" +fi + +dnl  dnl Gallium Intel configuration  dnl  AC_ARG_ENABLE([gallium-intel], -    [AS_HELP_STRING([--disable-gallium-intel], -        [build gallium intel @<:@default=enabled@:>@])], +    [AS_HELP_STRING([--enable-gallium-intel], +        [build gallium intel @<:@default=disabled@:>@])],      [enable_gallium_intel="$enableval"], -    [enable_gallium_intel=yes]) +    [enable_gallium_intel=auto])  if test "x$enable_gallium_intel" = xyes; then      GALLIUM_WINSYS_DRM_DIRS="$GALLIUM_WINSYS_DRM_DIRS intel" -    GALLIUM_DRIVERS_DIRS="$GALLIUM_DRIVERS_DIRS i915simple" +    GALLIUM_DRIVERS_DIRS="$GALLIUM_DRIVERS_DIRS i915" +elif test "x$enable_gallium_intel" = xauto; then +    GALLIUM_DRIVERS_DIRS="$GALLIUM_DRIVERS_DIRS i915"  fi  dnl | 
