[LTP] [PATCH 1/4] modify_ldt: Add lapi/ldt.h

Andrea Cervesato andrea.cervesato@suse.com
Tue Mar 25 13:48:15 CET 2025


Hi ricardo,

On 3/25/25 13:34, Ricardo B. Marlière wrote:
> Pardon my ignorance, but if we remove this line:
>
> https://github.com/linux-test-project/ltp/blob/ae2845368acd79650cc483a9857b92725c0174d0/configure.ac#L49
>
> Would we need to find and fix all occurrences of HAVE_ASM_LDT_H ? The
> build system is still a bit mysterious to me...

Yes, we should remove all statements using it.

Don't worry, autoconf is a bit obscure for most of the people, except 
for the autoconf developers (maybe), but, in general, touching 
configure.ac is not that difficult. All the times autoconf verifies a 
header via AC_CHECK_HEADERS_ONCE, a corresponding variable is created 
inside "config.h". That's mostly what you need to develop LTP.

For the rest: 
https://www.gnu.org/software/autoconf/manual/autoconf-2.67/html_node/

Andrea




More information about the ltp mailing list