diff options
author | Anders Roxell <anders.roxell@linaro.org> | 2016-03-29 20:23:29 +0200 |
---|---|---|
committer | Maxim Uvarov <maxim.uvarov@linaro.org> | 2016-03-30 16:19:05 +0300 |
commit | d5a31c0ca45e869c927582cc29f0ca3b720cb4e4 (patch) | |
tree | eb81c1b5a0353b9d6097df3ef339344c909baaac /test | |
parent | 1d773441e56b9c9a97347b90bd9b7c14bc77eb58 (diff) |
configure: move test_cpp to its own m4 file
Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
Tested-and-reviewed-by: Mike Holmes <mike.holmes@linaro.org>
Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
Diffstat (limited to 'test')
-rw-r--r-- | test/m4/configure.m4 | 1 | ||||
-rw-r--r-- | test/m4/miscellaneous.m4 | 9 |
2 files changed, 10 insertions, 0 deletions
diff --git a/test/m4/configure.m4 b/test/m4/configure.m4 index e4b7d7a50..4e16b82ba 100644 --- a/test/m4/configure.m4 +++ b/test/m4/configure.m4 @@ -1,3 +1,4 @@ +m4_include([test/m4/miscellaneous.m4]) m4_include([test/m4/performance.m4]) AC_CONFIG_FILES([test/Makefile diff --git a/test/m4/miscellaneous.m4 b/test/m4/miscellaneous.m4 new file mode 100644 index 000000000..cc881edb7 --- /dev/null +++ b/test/m4/miscellaneous.m4 @@ -0,0 +1,9 @@ +########################################################################## +# Enable/disable test-cpp +########################################################################## +test_cpp=no +AC_ARG_ENABLE([test-cpp], + [ --enable-test-cpp run basic test aginast cpp], + [if test "x$enableval" = "xyes"; then + test_cpp=yes + fi]) |