chiark / gitweb /
buildsys: Add --disable-tests to avoid building tests
authorHenrik Grindal Bakken <hgb@ifi.uio.no>
Thu, 18 Apr 2013 12:40:24 +0000 (14:40 +0200)
committerLennart Poettering <lennart@poettering.net>
Thu, 18 Apr 2013 15:15:59 +0000 (17:15 +0200)
commitcee22bd3cb253734a8a0183751d786128e2ea5e4
tree74ee035d031d828bf45cbd36564313cfc85bad3f
parent4826f0b7b5c0aefa08b8cc7ef64d69027f84da2c
buildsys: Add --disable-tests to avoid building tests

This patch adds --disable-tests to configure.  It is based on a patch
posted by Thierry Reding in 2010.  The motivation for adding it is that
some tests fail link-time when cross-compiling.

The patch adds a new Makefile variable -- manual_tests -- and uses
that instead of noinst_PROGRAMS.  However, if ENABLE_TESTS is true,
the former is added to the latter.  It also renames noinst_tests to
simply tests.
Makefile.am
configure.ac