]> git.pond.sub.org Git - empserver/blobdiff - m4/my_func_makecontext.m4
Replace the build process. The new one requires GNU Make, Autoconf
[empserver] / m4 / my_func_makecontext.m4
diff --git a/m4/my_func_makecontext.m4 b/m4/my_func_makecontext.m4
new file mode 100644 (file)
index 0000000..9327cee
--- /dev/null
@@ -0,0 +1,11 @@
+AC_DEFUN([MY_FUNC_MAKECONTEXT],
+[
+       AC_REQUIRE([AC_CANONICAL_HOST])
+       AC_CHECK_FUNCS(makecontext)
+       case "$host_os" in
+       *irix*|*solaris2.?)
+               AC_DEFINE([MAKECONTEXT_SP_HIGH], 1,
+                       [Define if your makecontext() requires ss_sp at the top of the stack])
+               ;;
+       esac
+])