mach: Fix installing mach_i386.h

We do not want mach_i386.h to get installed into machine/, but into
i386/ or x86_64/ depending where mach_i386.defs was found, i.e.
according to 32/64 bitness.
This commit is contained in:
Samuel Thibault 2023-05-23 01:44:43 +02:00
parent 6151d3b79a
commit 196358ae26
2 changed files with 2 additions and 2 deletions

View File

@ -248,7 +248,7 @@ mach_interface_list=
for ifc in mach mach4 gnumach \
clock clock_priv host_priv host_security ledger lock_set \
processor processor_set task task_notify thread_act vm_map \
memory_object memory_object_default machine/mach_i386 \
memory_object memory_object_default i386/mach_i386 x86_64/mach_i386 \
; do
as_ac_Header=`$as_echo "ac_cv_header_mach/${ifc}.defs" | $as_tr_sh`
ac_fn_c_check_header_preproc "$LINENO" "mach/${ifc}.defs" "$as_ac_Header"

View File

@ -63,7 +63,7 @@ mach_interface_list=
for ifc in mach mach4 gnumach \
clock clock_priv host_priv host_security ledger lock_set \
processor processor_set task task_notify thread_act vm_map \
memory_object memory_object_default machine/mach_i386 \
memory_object memory_object_default i386/mach_i386 x86_64/mach_i386 \
; do
AC_CHECK_HEADER(mach/${ifc}.defs, [dnl
mach_interface_list="$mach_interface_list $ifc"],, -)