summary refs log tree commit diff
path: root/sysdeps/mach/configure
diff options
context:
space:
mode:
authorSergey Bugaev <bugaevc@gmail.com>2023-02-12 14:10:40 +0300
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2023-02-12 16:04:50 +0100
commit4fedebc9110809b5965e42f659d3477f4c89def8 (patch)
tree93715313b994289b50c539d27dd7eba04271f42b /sysdeps/mach/configure
parent3d008a92a816d4fcf07701f2d28dd8d6f9244b3b (diff)
downloadglibc-4fedebc9110809b5965e42f659d3477f4c89def8.tar.gz
glibc-4fedebc9110809b5965e42f659d3477f4c89def8.tar.xz
glibc-4fedebc9110809b5965e42f659d3477f4c89def8.zip
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>
Diffstat (limited to 'sysdeps/mach/configure')
-rw-r--r--sysdeps/mach/configure6
1 files changed, 3 insertions, 3 deletions
diff --git a/sysdeps/mach/configure b/sysdeps/mach/configure
index 3f0a90299f..8c341d59dc 100644
--- a/sysdeps/mach/configure
+++ b/sysdeps/mach/configure
@@ -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 |