From 7b25815d3c40cd15c9d0778e4b7c53e7efbe2760 Mon Sep 17 00:00:00 2001 From: Anders Roxell Date: Wed, 14 Feb 2018 13:04:31 +0100 Subject: 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 Signed-off-by: Anders Roxell --- configure.ac | 10 ++++++++++ 1 file changed, 10 insertions(+) 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 -- cgit v1.2.3