aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnders Roxell <anders.roxell@linaro.org>2018-02-14 13:04:31 +0100
committerPetr Vorel <pvorel@suse.cz>2018-02-14 23:22:31 +0100
commit7b25815d3c40cd15c9d0778e4b7c53e7efbe2760 (patch)
tree57449e750f31edf2026f87f98ede3d25e9d6f76e
parent11510e85ebeb8c6df2db478722f398b72e36cdcc (diff)
configure: Add knob to control tirpc support
Allow to disable tirpc from the top level. Based on patch: https://github.com/openembedded/openembedded-core/blob/master/meta/recipes-extended/ltp/ltp/0003-Add-knob-to-control-tirpc-support.patch Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org> Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
-rw-r--r--configure.ac10
1 files changed, 10 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index da3374913..dc0c3d61e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -116,6 +116,14 @@ if test "x$with_python" = xyes; then
else
AC_SUBST([WITH_PYTHON],["no"])
fi
+
+# TI RPC
+AC_ARG_WITH([tirpc],
+ AC_HELP_STRING([--without-tirpc],
+ [without libtirpc support (default=no)]),
+ [with_tirpc=no],
+ [with_tirpc=yes]
+)
# END tools knobs
# Testsuites knobs
@@ -189,7 +197,9 @@ LTP_CHECK_RENAMEAT2
LTP_CHECK_FALLOCATE
LTP_CHECK_SYSCALL_FCNTL
LTP_CHECK_SYSCALL_PERF_EVENT_OPEN
+if test "x$with_tirpc" = xyes; then
LTP_CHECK_TIRPC
+fi
LTP_CHECK_TEE
LTP_CHECK_SPLICE
LTP_CHECK_VMSPLICE