[LTP] [PATCH] configure.ac: Fix --with* options

Joerg Vehlow lkml@jv-coder.de
Thu Nov 14 09:09:33 CET 2019


Hi,
>
>     Defining AC_ARG_WITH within an if to express dependencies does not
>     work.
>     ./configure --with-realtime-testsuite set with_realtime_testsuite=yes,
>     even if with_bash=no or with_python=no. The check is removed
>     completely.
>
>
> Or, maybe we can make use of AS_IF here? and I noticed there are many 
> places that use "if test ..." in the configure.ac 
> <http://configure.ac> file. That looks tangly...
I left a TODO in there so it can be fixed later, maybe together with 
other errors. I think this does not block merging this patch first?
The python requirement for realtime-testsuite is outdated/wrong anyway, 
if I remember correctly. A colleague of mine recently
investigated the python requirement and we came to the conclusion, that 
it is not needed for running the test.
I think it was used only for manual test result evaluation.

So there seems to be more work regarding dependencies between configure 
options.

Jörg


More information about the ltp mailing list