--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 <djkurtz at chromium.org>
---
 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.2.0.rc0.207.ga3a616c

Reply via email to