From 292b5100e5719343f4ffdd193ce5c582388ed05e Mon Sep 17 00:00:00 2001 From: Daniel Kurtz Date: Fri, 6 Mar 2015 16:54:40 +0800 Subject: [PATCH] proptest: install it with --enable-install-test-programs --enable-install-test-programs allows tests to be installed in $bindir. This is disabled by default, but very useful when cross compiling. Signed-off-by: Daniel Kurtz Reviewed-by: Emil Velikov --- tests/proptest/Makefile.am | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tests/proptest/Makefile.am b/tests/proptest/Makefile.am index 48a84c1..0594e02 100644 --- a/tests/proptest/Makefile.am +++ b/tests/proptest/Makefile.am @@ -3,8 +3,13 @@ AM_CFLAGS = \ -I$(top_srcdir)/include/drm \ -I$(top_srcdir) +if HAVE_INSTALL_TESTS +bin_PROGRAMS = \ + proptest +else noinst_PROGRAMS = \ proptest +endif proptest_SOURCES = \ proptest.c -- 2.7.4