[LTP] [PATCH 2/7] configure: Ignore --with-{bash,python} knobs

Petr Vorel pvorel@suse.cz
Thu Feb 6 15:34:16 CET 2025


9e7f5688a7 disabled requiring python and bash for realtime. Previous
commit documented the dependencies, let's ignore the configure options.

Fixes: 9e7f5688a7 ("configure.ac: Fix --with* options")
Signed-off-by: Petr Vorel <pvorel@suse.cz>
---
 configure.ac              | 14 ++------------
 include/mk/features.mk.in |  2 --
 2 files changed, 2 insertions(+), 14 deletions(-)

diff --git a/configure.ac b/configure.ac
index 6992d75ca3..afcbd1a5ef 100644
--- a/configure.ac
+++ b/configure.ac
@@ -253,15 +253,10 @@ AC_CHECK_TYPES([struct statmount],,,[#include <linux/mount.h>])
 # Bash
 AC_ARG_WITH([bash],
   [AS_HELP_STRING([--with-bash],
-    [have the Bourne Again Shell interpreter])],
+    [unused, kept for compatibility reason])],
   [with_bash=$withval],
   [with_bash=no]
 )
-if test "x$with_bash" = xyes; then
-    AC_SUBST([WITH_BASH],["yes"])
-else
-    AC_SUBST([WITH_BASH],["no"])
-fi
 
 # metadata
 AC_ARG_ENABLE([metadata],
@@ -327,15 +322,10 @@ fi
 # Python
 AC_ARG_WITH([python],
   [AS_HELP_STRING([--with-python],
-    [have a python interpreter])],
+    [unused, kept for compatibility reason])],
   [with_python=$withval],
   [with_python=no]
 )
-if test "x$with_python" = xyes; then
-    AC_SUBST([WITH_PYTHON],["yes"])
-else
-    AC_SUBST([WITH_PYTHON],["no"])
-fi
 
 # TI RPC
 AC_ARG_WITH([tirpc],
diff --git a/include/mk/features.mk.in b/include/mk/features.mk.in
index 2fc5230d49..0a8a405acf 100644
--- a/include/mk/features.mk.in
+++ b/include/mk/features.mk.in
@@ -25,8 +25,6 @@ WITH_EXPECT			:= @WITH_EXPECT@
 
 WITH_PERL			:= @WITH_PERL@
 
-WITH_PYTHON			:= @WITH_PYTHON@
-
 METADATA_GENERATOR		:= @METADATA_GENERATOR@
 WITH_METADATA			:= @WITH_METADATA@
 WITH_METADATA_HTML		:= @WITH_METADATA_HTML@
-- 
2.47.2



More information about the ltp mailing list