Changeset View
Changeset View
Standalone View
Standalone View
head/graphics/mesa-dri/files/configure.ac
--- configure.ac.orig 2017-04-01 15:33:36 UTC | --- configure.ac.orig 2017-04-01 15:33:36 UTC | ||||
+++ configure.ac | +++ configure.ac | ||||
@@ -1121,7 +1121,7 @@ fi | @@ -1121,7 +1121,7 @@ fi | ||||
AC_SUBST(LIBSENSORS_LIBS) | AC_SUBST(LIBSENSORS_LIBS) | ||||
case "$host_os" in | case "$host_os" in | ||||
-linux*) | -linux*) | ||||
+linux* | freebsd*) | +linux* | freebsd*) | ||||
dri3_default=yes | dri3_default=yes | ||||
;; | ;; | ||||
*) | *) | ||||
@@ -1631,7 +1631,7 @@ dnl platform checks. Set DEFINES and LIB | |||||
if test "x$enable_dri" = xyes; then | |||||
# Platform specific settings and drivers to build | |||||
case "$host_os" in | |||||
- linux*) | |||||
+ linux* | freebsd*) | |||||
if test "x$enable_dri3" = xyes; then | |||||
DEFINES="$DEFINES -DHAVE_DRI3" | |||||
fi | |||||
@@ -2002,9 +2002,18 @@ if test "x$enable_opencl" = xyes; then | @@ -2002,9 +2002,18 @@ if test "x$enable_opencl" = xyes; then | ||||
AC_MSG_ERROR([cannot enable OpenCL without Gallium]) | AC_MSG_ERROR([cannot enable OpenCL without Gallium]) | ||||
fi | fi | ||||
+ if test "x$acv_mesa_CLANG" = xno; then | + if test "x$acv_mesa_CLANG" = xno; then | ||||
+ | + | ||||
+ GCC_VERSION=`$CC -dumpversion` | + GCC_VERSION=`$CC -dumpversion` | ||||
+ if test $? -eq 0; then | + if test $? -eq 0; then | ||||
Show All 20 Lines |