diff options
-rw-r--r-- | aclocal.m4 | 24 | ||||
-rw-r--r-- | configure.ac | 2 | ||||
-rw-r--r-- | hurd/hurd_types.defs | 5 |
3 files changed, 0 insertions, 31 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 diff --git a/configure.ac b/configure.ac index e913b3f3..9c80b96a 100644 --- a/configure.ac +++ b/configure.ac @@ -113,8 +113,6 @@ fi dnl Let these propagate from the environment. AC_SUBST(CFLAGS) AC_SUBST(CPPFLAGS) AC_SUBST(LDFLAGS) -hurd_MIG_RETCODE - # See if --version-script is available. AC_CACHE_CHECK(for ld --version-script, hurd_cv_ld_version_script_option, [dnl cat > conftest.c <<\EOF diff --git a/hurd/hurd_types.defs b/hurd/hurd_types.defs index 63003a24..9f176fef 100644 --- a/hurd/hurd_types.defs +++ b/hurd/hurd_types.defs @@ -378,12 +378,7 @@ intranpayload: mach_port_t MACH_PAYLOAD_TO_PORT #define SCP #endif -#ifdef HAVE_MIG_RETCODE #define RETURN_CODE_ARG in return_code: kern_return_t, retcode -#else -#define RETURN_CODE_ARG in return_code: kern_return_t -#endif - #ifdef USERPREFIX userprefix USERPREFIX; |