Skip to contentSkip to conversation

configure: Add knob to control tirpc support

PATCH New Anders Roxell 2 participants 2 messages Feb 14, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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

---
 configure.ac | 10 ++++++++++
 1 file changed, 10 insertions(+)
configure.ac +10 -0
index da3374913..dc0c3d61e 100644
@@ -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
Signature · 1 line
2.11.0
Applied
#1 lore raw

PATCH 1/1 configure: Add knob to control tirpc support

Hi Anders,

Quoted 31 lines

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

---
 configure.ac | 10 ++++++++++
 1 file changed, 10 insertions(+)
configure.ac +8 -0
index da3374913..dc0c3d61e 100644
@@ -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

configure.ac LTP_CHECK_RENAMEAT2 · line 205

Quoted 9 lines
configure.ac +2 -0
@@ -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

Merged, thanks!

Kind regards,
Petr