mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2025-06-12 02:16:17 +00:00
configure: slightly more standard --disable-tests
Cc: Julien Cristau <jcristau@debian.org> Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
This commit is contained in:
parent
7c17072400
commit
3a752a3d9a
@ -128,7 +128,6 @@ AC_ARG_ENABLE(tests,
|
|||||||
[BUILD_TESTS=$enableval], [BUILD_TESTS="yes"])
|
[BUILD_TESTS=$enableval], [BUILD_TESTS="yes"])
|
||||||
if test "x$BUILD_TESTS" = xyes; then
|
if test "x$BUILD_TESTS" = xyes; then
|
||||||
AC_DEFINE(BUILD_TESTS, 1, [Build tests])
|
AC_DEFINE(BUILD_TESTS, 1, [Build tests])
|
||||||
AC_CONFIG_FILES([tests/Makefile])
|
|
||||||
fi
|
fi
|
||||||
AM_CONDITIONAL(BUILD_TESTS, [test "x$BUILD_TESTS" = xyes])
|
AM_CONDITIONAL(BUILD_TESTS, [test "x$BUILD_TESTS" = xyes])
|
||||||
|
|
||||||
@ -139,6 +138,7 @@ AC_CONFIG_FILES([
|
|||||||
lib/Makefile
|
lib/Makefile
|
||||||
man/Makefile
|
man/Makefile
|
||||||
scripts/Makefile
|
scripts/Makefile
|
||||||
|
tests/Makefile
|
||||||
tools/Makefile
|
tools/Makefile
|
||||||
debugger/Makefile
|
debugger/Makefile
|
||||||
debugger/system_routine/Makefile
|
debugger/system_routine/Makefile
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
if BUILD_TESTS
|
||||||
noinst_PROGRAMS = \
|
noinst_PROGRAMS = \
|
||||||
gem_stress \
|
gem_stress \
|
||||||
$(TESTS_progs) \
|
$(TESTS_progs) \
|
||||||
@ -195,3 +196,4 @@ prime_nv_api_CFLAGS = $(AM_CFLAGS) $(DRM_NOUVEAU_CFLAGS)
|
|||||||
prime_nv_api_LDADD = $(LDADD) $(DRM_NOUVEAU_LIBS)
|
prime_nv_api_LDADD = $(LDADD) $(DRM_NOUVEAU_LIBS)
|
||||||
prime_nv_pcopy_CFLAGS = $(AM_CFLAGS) $(DRM_NOUVEAU_CFLAGS)
|
prime_nv_pcopy_CFLAGS = $(AM_CFLAGS) $(DRM_NOUVEAU_CFLAGS)
|
||||||
prime_nv_pcopy_LDADD = $(LDADD) $(DRM_NOUVEAU_LIBS)
|
prime_nv_pcopy_LDADD = $(LDADD) $(DRM_NOUVEAU_LIBS)
|
||||||
|
endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user