Changeset View
Changeset View
Standalone View
Standalone View
graphics/mesa-dri/files/configure.ac
| Show All 24 Lines | |||||
| 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 | ||||
| ;; | ;; | ||||
| *) | *) | ||||
| @@ -1884,9 +1884,9 @@ fi | |||||
| if test x"$have_xlease" = xyes; then | |||||
| randr_modules="x11-xcb xcb-randr" | |||||
| - PKG_CHECK_MODULES([XCB_RANDR], [$randr_modules]) | |||||
| + PKG_CHECK_MODULES([XCB_RANDR], [$randr_modules],, [have_xlease=no]) | |||||
| xlib_randr_modules="xrandr" | |||||
| - PKG_CHECK_MODULES([XLIB_RANDR], [$xlib_randr_modules]) | |||||
| + PKG_CHECK_MODULES([XLIB_RANDR], [$xlib_randr_modules],, [have_xlease=no]) | |||||
| fi | |||||
| AM_CONDITIONAL(HAVE_PLATFORM_X11, echo "$platforms" | grep -q 'x11') | |||||
| @@ -2061,8 +2070,6 @@ if test "x$enable_opencl" = xyes; then | @@ -2061,8 +2070,6 @@ if test "x$enable_opencl" = xyes; then | ||||
| CLANG_LIBDIR=${LLVM_LIBDIR} | CLANG_LIBDIR=${LLVM_LIBDIR} | ||||
| fi | fi | ||||
| CLANG_RESOURCE_DIR=$CLANG_LIBDIR/clang/${LLVM_VERSION} | CLANG_RESOURCE_DIR=$CLANG_LIBDIR/clang/${LLVM_VERSION} | ||||
| - AS_IF([test ! -f "$CLANG_RESOURCE_DIR/include/stddef.h"], | - AS_IF([test ! -f "$CLANG_RESOURCE_DIR/include/stddef.h"], | ||||
| - [AC_MSG_ERROR([Could not find clang internal header stddef.h in $CLANG_RESOURCE_DIR Use --with-clang-libdir to specify the correct path to the clang libraries.])]) | - [AC_MSG_ERROR([Could not find clang internal header stddef.h in $CLANG_RESOURCE_DIR Use --with-clang-libdir to specify the correct path to the clang libraries.])]) | ||||
| fi | fi | ||||
| AM_CONDITIONAL(HAVE_CLOVER, test "x$enable_opencl" = xyes) | AM_CONDITIONAL(HAVE_CLOVER, test "x$enable_opencl" = xyes) | ||||
| AM_CONDITIONAL(HAVE_CLOVER_ICD, test "x$enable_opencl_icd" = xyes) | AM_CONDITIONAL(HAVE_CLOVER_ICD, test "x$enable_opencl_icd" = xyes) | ||||