diff options
author | Flavio Cruz <flaviocruz@gmail.com> | 2023-05-07 23:30:36 -0400 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2023-05-08 22:38:53 +0200 |
commit | ef5924402864ef049f40a39e73967628583bc1a4 (patch) | |
tree | 0435339ac7ab7893acb4193cb5c874bd8c9f8b98 /aclocal.m4 | |
parent | add3d8afc7fd199c0fe6bf40a46462c2f77f9ef5 (diff) | |
download | hurd-ef5924402864ef049f40a39e73967628583bc1a4.tar.gz hurd-ef5924402864ef049f40a39e73967628583bc1a4.tar.bz2 hurd-ef5924402864ef049f40a39e73967628583bc1a4.zip |
Stop checking if MiG supports retcode.
Due to MiG requiring the subsystem to be defined early in order to know the
size of a port, this was causing a division by zero error during ./configure.
We could have just move subsystem to the top of the snippet, however it is
simpler to just remove the check given that we have no plans to use some other
MiG anyway.
We force RETURN_CODE_ARG to use retcode which is a no-op.
Message-Id: <ZFhs3KSeGhuubS8T@jupiter.tail36e24.ts.net>
Diffstat (limited to 'aclocal.m4')
-rw-r--r-- | aclocal.m4 | 24 |
1 files changed, 0 insertions, 24 deletions
@@ -2,30 +2,6 @@ dnl These modifications are to allow for an empty cross compiler tree. dnl In the situation that cross-linking is impossible, the variable dnl `cross_linkable' will be substituted with "yes". -dnl -AC_DEFUN([hurd_MIG_RETCODE], [dnl -# See if mig groks `retcode'. -AC_CACHE_CHECK(whether $MIG supports the retcode keyword, hurd_cv_mig_retcode, -[cat > conftest.defs <<\EOF -#include <mach/std_types.defs> -#include <mach/mach_types.defs> -subsystem foobar 1000; -type reply_port_t = polymorphic | MACH_MSG_TYPE_PORT_SEND_ONCE - ctype: mach_port_t; -simpleroutine foobar_reply ( - reply_port: reply_port_t; - err: kern_return_t, RetCode); -EOF -if AC_TRY_COMMAND([CC="${CC}" ${MIG-false} -n conftest.defs 1>&AS_MESSAGE_LOG_FD()]); then - hurd_cv_mig_retcode=yes -else - hurd_cv_mig_retcode=no -fi -rm -f conftest*]) -if test $hurd_cv_mig_retcode = yes; then - AC_DEFINE(HAVE_MIG_RETCODE) -fi]) - dnl The following check is based on a similar check in GNU inetutils 1.4.0. dnl dnl hurd_LIB_NCURSESW -- check for, and configure, ncursesw |