Lines Matching +full:- +full:- +full:enable +full:- +full:vc4
16 # FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL
30 AC_CONFIG_AUX_DIR([build-aux])
33 # Require xorg-macros minimum of 1.12 for XORG_WITH_XSLTPROC
35 [m4_fatal([must install xorg-macros 1.12 or later before running autoconf/autogen])])
40 AM_INIT_AUTOMAKE([1.10 foreign dist-bzip2])
42 # Enable quiet compiles on automake 1.11.
59 export CFLAGS="$CFLAGS -Werror"
67 LT_INIT([disable-static])
69 dnl pthread-stubs is mandatory on some BSD platforms, due to the nature of the
72 linux* | cygwin* | darwin* | solaris* | *-gnu* | gnu* | openbsd*)
81 PKG_CHECK_MODULES(PTHREADSTUBS, pthread-stubs >= 0.4)
92 [AS_HELP_STRING([--enable-udev],
93 … [Enable support for using udev instead of mknod (default: disabled)])],
97 AS_HELP_STRING([--disable-libkms],
102 AS_HELP_STRING([--disable-intel],
103 [Enable support for intel's KMS API (default: auto, enabled on x86)]),
107 AS_HELP_STRING([--disable-radeon],
108 [Enable support for radeon's KMS API (default: auto)]),
112 AS_HELP_STRING([--disable-amdgpu],
113 [Enable support for amdgpu's KMS API (default: auto)]),
117 AS_HELP_STRING([--disable-nouveau],
118 [Enable support for nouveau's KMS API (default: auto)]),
122 AS_HELP_STRING([--disable-vmwgfx],
123 [Enable support for vmwgfx's KMS API (default: yes)]),
126 AC_ARG_ENABLE(omap-experimental-api,
127 AS_HELP_STRING([--enable-omap-experimental-api],
128 [Enable support for OMAP's experimental API (default: disabled)]),
131 AC_ARG_ENABLE(exynos-experimental-api,
132 AS_HELP_STRING([--enable-exynos-experimental-api],
133 [Enable support for EXYNOS's experimental API (default: disabled)]),
137 AS_HELP_STRING([--disable-freedreno],
138 [Enable support for freedreno's KMS API (default: auto, enabled on arm)]),
141 AC_ARG_ENABLE(freedreno-kgsl,
142 AS_HELP_STRING([--enable-freedreno-kgsl],
143 [Enable support for freedreno's to use downstream android kernel API (default: disabled)]),
146 AC_ARG_ENABLE(tegra-experimental-api,
147 AS_HELP_STRING([--enable-tegra-experimental-api],
148 [Enable support for Tegra's experimental API (default: disabled)]),
151 AC_ARG_ENABLE(rockchip-experimental-api,
152 AS_HELP_STRING([--enable-rockchip-experimental-api],
153 [Enable support for rockchip's experimental API (default: disabled)]),
156 AC_ARG_ENABLE(vc4, optenable
157 AS_HELP_STRING([--disable-vc4],
158 [Enable support for vc4's API (default: auto, enabled on arm)]),
159 [VC4=$enableval], [VC4=auto])
161 AC_ARG_ENABLE(etnaviv-experimental-api,
162 AS_HELP_STRING([--enable-etnaviv-experimental-api],
163 [Enable support for etnaviv's experimental API (default: disabled)]),
166 AC_ARG_ENABLE(install-test-programs,
167 AS_HELP_STRING([--enable-install-test-programs],
193 [AC_CHECK_LIB([rt], [clock_gettime], [CLOCK_LIB=-lrt],
208 MAYBE_WARN="-Wall -Wextra -Werror=undef \
209 -Wsign-compare -Werror-implicit-function-declaration \
210 -Wpointer-arith -Wwrite-strings -Wstrict-prototypes \
211 -Wmissing-prototypes -Wmissing-declarations -Wnested-externs \
212 -Wpacked -Wswitch-enum -Wmissing-format-attribute \
213 -Wstrict-aliasing=2 -Winit-self \
214 -Wdeclaration-after-statement -Wold-style-definition \
215 -Wno-unused-parameter \
216 -Wno-attributes -Wno-long-long -Winline -Wshadow \
217 -Wno-missing-field-initializers"
235 # options (-Wall and -Wextra) up front and the -Wno options
258 AC_CHECK_HEADER([atomic_ops.h], drm_cv_atomic_primitives="libatomic-ops")
269 [Enable if your compiler supports the Intel __sync_* atomic primitives])
273 if test "x$drm_cv_atomic_primitives" = "xlibatomic-ops"; then
274 AC_DEFINE(HAVE_LIB_ATOMIC_OPS, 1, [Enable if you have libatomic-ops-dev installed])
281 dnl $1 - value to be evaluated. Eg. $INTEL, $NOUVEAU, ...
282 dnl $2 - libdrm shortname. Eg. intel, freedreno, ...
283 dnl $3 - GPU name/brand. Eg. Intel, NVIDIA Tegra, ...
284 dnl $4 - Configure switch. Eg. intel, omap-experimental-api, ...
287 …ling with -march=native, or install the libatomics-op-dev package, or, failing both of those, disa…
288 …e not found for your compiler/cpu. Try compiling with -march=native, or install the libatomics-op-…
306 LIBDRM_ATOMICS_NOT_FOUND_MSG($OMAP, omap, OMAP, omap-experimental-api)
312 LIBDRM_ATOMICS_NOT_FOUND_MSG($TEGRA, tegra, NVIDIA Tegra, tegra-experimental-api)
315 LIBDRM_ATOMICS_NOT_FOUND_MSG($ETNAVIV, etnaviv, Vivante, etnaviv-experimental-api)
339 if test "x$VC4" = xauto; then
341 arm*|aarch64) VC4=yes ;;
342 *) VC4=no ;;
363 freebsd* | kfreebsd*-gnu)
406 AC_MSG_ERROR([Cannot enable freedreno KGSL interface if freedreno is disabled])
426 # If pkg-config does not find cunit, check it using AC_CHECK_LIB. We
427 # do this because Debian (Ubuntu) lacks pkg-config file for cunit.
428 # fixed in 2.1-2.dfsg-3: http://anonscm.debian.org/cgit/collab-maint/cunit.git/commit/?h=debian
432 CUNIT_LIBS="-lcunit"
461 AM_CONDITIONAL(HAVE_VC4, [test "x$VC4" = xyes])
462 if test "x$VC4" = xyes; then
463 AC_DEFINE(HAVE_VC4, 1, [Have VC4 support])
472 AC_ARG_ENABLE([cairo-tests],
473 [AS_HELP_STRING([--enable-cairo-tests],
474 [Enable support for Cairo rendering in tests (default: auto)])],
479 AC_MSG_CHECKING([whether to enable Cairo tests])
496 AS_HELP_STRING([--enable-manpages], [enable manpages @<:@default=auto@:>@]),
498 AM_CONDITIONAL([BUILD_MANPAGES], [test "x$XSLTPROC" != "x" -a "x$MANS" != "xno"])
500 # check for offline man-pages stylesheet
504 … AS_IF([`"$ac_path_XSLTPROC_TMP" --nonet "$MANPAGES_STYLESHEET" > /dev/null 2>&1`],
515 [AS_HELP_STRING([--enable-valgrind],
521 AC_MSG_CHECKING([whether to enable Valgrind support])
537 AC_ARG_WITH([kernel-source],
538 [AS_HELP_STRING([--with-kernel-source],
554 CFLAGS="$CFLAGS -include config.h"
580 vc4/Makefile
581 vc4/libdrm_vc4.pc
617 echo " VC4 API $VC4"