Flavio Cruz, le ven. 16 févr. 2024 13:26:30 -0500, a ecrit: > diff --git a/sysdeps/mach/configure.ac b/sysdeps/mach/configure.ac > index 730fb25d..db1e453f 100644 > --- a/sysdeps/mach/configure.ac > +++ b/sysdeps/mach/configure.ac
Mach is not necessarily about hurd :) Better put it in sysdeps/mach/hurd/configure.ac > @@ -104,4 +104,13 @@ if test $libc_cv_mach_i386_gdt = yes; then > AC_DEFINE([HAVE_I386_SET_GDT]) > fi > > +AC_CACHE_CHECK(for proc_getchildren_rusage in process.defs, > + libc_cv_hurd_proc_getchildren_rusage, [dnl > +AC_EGREP_HEADER(proc_getchildren_rusage, hurd/process.defs, > + libc_cv_hurd_proc_getchildren_rusage=yes, > + libc_cv_hurd_proc_getchildren_rusage=no)]) > +if test $libc_cv_hurd_proc_getchildren_rusage = yes; then > + AC_DEFINE([HAVE_HURD_PROC_GETCHILDREN_RUSAGE]) > +fi We probably want to make some m4 macro for this so it will be easy to add such compatibility? Samuel