From: Ezra Peisach Date: Mon, 7 Aug 2000 10:55:14 +0000 (+0000) Subject: * aclocal.m4 (CHECK_SIGPROCMASK): Check for posix sigprocmask X-Git-Tag: krb5-1.3-alpha1~1934 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=b96fda1bd50927e3387d606422be9c246909158c;p=krb5.git * aclocal.m4 (CHECK_SIGPROCMASK): Check for posix sigprocmask before a potential bsd compatible sigmask. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12606 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/ChangeLog b/src/ChangeLog index 4c8abc1f7..2fd7661f6 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2000-08-07 Ezra Peisach + + * aclocal.m4 (CHECK_SIGPROCMASK): Check for posix sigprocmask + before a potential bsd compatible sigmask. + 2000-07-19 Danilo Almeida * Makefile.in: Compile .et file for krb524. diff --git a/src/aclocal.m4 b/src/aclocal.m4 index d4d7bb900..4dc1d49ed 100644 --- a/src/aclocal.m4 +++ b/src/aclocal.m4 @@ -99,11 +99,10 @@ dnl define(CHECK_SIGPROCMASK,[ AC_MSG_CHECKING([for use of sigprocmask]) AC_CACHE_VAL(krb5_cv_func_sigprocmask_use, -[AC_TRY_LINK( -[#include ], [sigmask(1);], - krb5_cv_func_sigprocmask_use=no, -AC_TRY_LINK([#include ], [sigprocmask(SIG_SETMASK,0,0);], - krb5_cv_func_sigprocmask_use=yes, krb5_cv_func_sigprocmask_use=no))]) +[AC_TRY_LINK([#include ], [sigprocmask(SIG_SETMASK,0,0);], + krb5_cv_func_sigprocmask_use=yes, +AC_TRY_LINK([#include ], [sigmask(1);], + krb5_cv_func_sigprocmask_use=no, krb5_cv_func_sigprocmask_use=yes))]) AC_MSG_RESULT($krb5_cv_func_sigprocmask_use) if test $krb5_cv_func_sigprocmask_use = yes; then AC_DEFINE(USE_SIGPROCMASK)