]> git.pond.sub.org Git - empserver/blob - m4/my_func_makecontext.m4
Replace the build process. The new one requires GNU Make, Autoconf
[empserver] / m4 / my_func_makecontext.m4
1 AC_DEFUN([MY_FUNC_MAKECONTEXT],
2 [
3         AC_REQUIRE([AC_CANONICAL_HOST])
4         AC_CHECK_FUNCS(makecontext)
5         case "$host_os" in
6         *irix*|*solaris2.?)
7                 AC_DEFINE([MAKECONTEXT_SP_HIGH], 1,
8                         [Define if your makecontext() requires ss_sp at the top of the stack])
9                 ;;
10         esac
11 ])