mach: Look for mach_i386.defs on x86_64 too

Signed-off-by: Sergey Bugaev <bugaevc@gmail.com>
Message-Id: <20230212111044.610942-10-bugaevc@gmail.com>
This commit is contained in:
Sergey Bugaev 2023-02-12 14:10:40 +03:00 committed by Samuel Thibault
parent 3d008a92a8
commit 4fedebc911
2 changed files with 6 additions and 6 deletions

View File

@ -249,7 +249,7 @@ 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 default_pager \
i386/mach_i386 \
machine/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"
@ -440,7 +440,7 @@ if ${libc_cv_mach_i386_ioports+:} false; then :
else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <mach/i386/mach_i386.defs>
#include <mach/machine/mach_i386.defs>
_ACEOF
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
@ -466,7 +466,7 @@ if ${libc_cv_mach_i386_gdt+:} false; then :
else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <mach/i386/mach_i386.defs>
#include <mach/machine/mach_i386.defs>
_ACEOF
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |

View File

@ -64,7 +64,7 @@ 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 default_pager \
i386/mach_i386 \
machine/mach_i386 \
; do
AC_CHECK_HEADER(mach/${ifc}.defs, [dnl
mach_interface_list="$mach_interface_list $ifc"],, -)
@ -89,7 +89,7 @@ AC_CHECK_HEADER(machine/ndr_def.h, [dnl
AC_CACHE_CHECK(for i386_io_perm_modify in mach_i386.defs,
libc_cv_mach_i386_ioports, [dnl
AC_EGREP_HEADER(i386_io_perm_modify, mach/i386/mach_i386.defs,
AC_EGREP_HEADER(i386_io_perm_modify, mach/machine/mach_i386.defs,
libc_cv_mach_i386_ioports=yes,
libc_cv_mach_i386_ioports=no)])
if test $libc_cv_mach_i386_ioports = yes; then
@ -98,7 +98,7 @@ fi
AC_CACHE_CHECK(for i386_set_gdt in mach_i386.defs,
libc_cv_mach_i386_gdt, [dnl
AC_EGREP_HEADER(i386_set_gdt, mach/i386/mach_i386.defs,
AC_EGREP_HEADER(i386_set_gdt, mach/machine/mach_i386.defs,
libc_cv_mach_i386_gdt=yes,
libc_cv_mach_i386_gdt=no)])
if test $libc_cv_mach_i386_gdt = yes; then