/[hurd]/hurd/aclocal.m4
ViewVC logotype

Diff of /hurd/aclocal.m4

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.2 by roland, Wed Aug 12 20:56:11 1998 UTC revision 1.3 by roland, Sat Jan 19 23:44:37 2002 UTC
# Line 71  AC_MSG_RESULT($ac_cv_prog_cc_cross) Line 71  AC_MSG_RESULT($ac_cv_prog_cc_cross)
71  AC_SUBST(cross_linkable)  AC_SUBST(cross_linkable)
72  cross_compiling=$ac_cv_prog_cc_cross  cross_compiling=$ac_cv_prog_cc_cross
73  ])  ])
74    
75    AC_DEFUN([hurd_MIG_RETCODE], [dnl
76    # See if mig groks `retcode'.
77    AC_CACHE_CHECK(whether $MIG supports the retcode keyword, hurd_cv_mig_retcode,
78    [cat > conftest.defs <<\EOF
79    #include <mach/std_types.defs>
80    #include <mach/mach_types.defs>
81    subsystem foobar 1000;
82    type reply_port_t = polymorphic | MACH_MSG_TYPE_PORT_SEND_ONCE
83            ctype: mach_port_t;
84    simpleroutine foobar_reply (
85            reply_port: reply_port_t;
86            err: kern_return_t, RetCode);
87    EOF
88    if AC_TRY_COMMAND([CC="${CC}" ${MIG-false} -n conftest.defs 1>&AC_FD_CC]); then
89      hurd_cv_mig_retcode=yes
90    else
91      hurd_cv_mig_retcode=no
92    fi
93    rm -f conftest*])
94    if test $hurd_cv_mig_retcode = yes; then
95      AC_DEFINE(HAVE_MIG_RETCODE)
96    fi])

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26