[PATCH libdrm] proptest: install it with --enable-install-test-programs
Daniel Kurtz
djkurtz at chromium.org
Thu Mar 19 10:43:13 PDT 2015
On Fri, Mar 6, 2015 at 4:54 PM, Daniel Kurtz <djkurtz at chromium.org> wrote:
> --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>
Ping?
Can somebody please help review & push this patch.
Thanks,
-Dan
> ---
> 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
>
More information about the dri-devel
mailing list