Added checks POSIX setjmp handling and POSIX signal handling
authorTheodore Tso <tytso@mit.edu>
Tue, 8 Nov 1994 02:29:39 +0000 (02:29 +0000)
committerTheodore Tso <tytso@mit.edu>
Tue, 8 Nov 1994 02:29:39 +0000 (02:29 +0000)
(CHECK_SETJMP, CHECK_SIGNALS)

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4631 dc483132-0cff-0310-8789-dd5450dbe970

src/ChangeLog
src/aclocal.m4

index 58905c8b9b78b5f4dd61cba33a920ecc9b4a3d78..a31dabba275564cc1fc69103ffb9636b85f314b0 100644 (file)
@@ -1,3 +1,8 @@
+Mon Nov  7 21:27:45 1994  Theodore Y. Ts'o  (tytso@dcl)
+
+       * aclocal.m4 (CHECK_SETJMP, CHECK_SIGNALS): Added checks for POSIX
+               setjmp handling and POSIX signal handling.
+
 Wed Nov  2 20:39:14 1994  Theodore Y. Ts'o  (tytso@dcl)
 
        * Makefile.in: We're probably not going to be building in the
index d896f380747c5c3d07bf9fff99b131394622b311..3e9a7fe4cb9ffb295b039180a6eae70a6dc0cc46 100644 (file)
@@ -250,6 +250,24 @@ define(CHECK_WAIT_TYPE,[
 AC_COMPILE_CHECK([union wait],
 [#include <sys/wait.h>], [union wait i;], , AC_DEFINE(WAIT_USES_INT))])dnl
 dnl
+dnl check for POSIX signal handling -- CHECK_SIGNALS
+dnl
+define(CHECK_SIGNALS,[
+AC_FUNC_CHECK(sigprocmask,
+AC_COMPILE_CHECK([sigset_t],
+[#include <signal.h>],
+[sigset_t x],
+AC_DEFINE(POSIX_SIGNALS)))])dnl
+dnl
+dnl check for POSIX setjmp/longjmp -- CHECK_SETJMP
+dnl
+define(CHECK_SETJMP,[
+AC_FUNC_CHECK(sigsetjmp,
+AC_COMPILE_CHECK([sigjmp_buf],
+[#include <setjmp.h>],
+[sigjmp_buf x],
+AC_DEFINE(POSIX_SETJMP)))])dnl
+dnl
 dnl set $(KRB5ROOT) from --with-krb5-root=value -- WITH_KRB5ROOT
 dnl
 define(WITH_KRB5ROOT,[