]> The Tcpdump Group git mirrors - tcpdump/commitdiff
Nobody seemed to know why we preferred sigset() to sigaction(); the
authorguy <guy>
Wed, 24 Apr 2002 06:34:18 +0000 (06:34 +0000)
committerguy <guy>
Wed, 24 Apr 2002 06:34:18 +0000 (06:34 +0000)
latter is a POSIX standard, and you don't have to include some
additional header file to get it declared, so we'll prefer the it.

aclocal.m4

index e7c4f92f89988df1473a73fca19077863de2f1a9..b2273c506bb6648b0a9ef3acb5dec5459513e96e 100644 (file)
@@ -1,4 +1,4 @@
-dnl @(#) $Header: /tcpdump/master/tcpdump/aclocal.m4,v 1.80 2001-12-10 08:41:15 guy Exp $ (LBL)
+dnl @(#) $Header: /tcpdump/master/tcpdump/aclocal.m4,v 1.81 2002-04-24 06:34:18 guy Exp $ (LBL)
 dnl
 dnl Copyright (c) 1995, 1996, 1997, 1998
 dnl    The Regents of the University of California.  All rights reserved.
@@ -265,10 +265,10 @@ AC_DEFUN(AC_LBL_TYPE_SIGNAL,
            ;;
 
     *)
-           dnl prefer sigset() to sigaction()
-           AC_CHECK_FUNCS(sigset)
-           if test $ac_cv_func_sigset = no ; then
-                   AC_CHECK_FUNCS(sigaction)
+           dnl prefer sigaction() to sigset()
+           AC_CHECK_FUNCS(sigaction)
+           if test $ac_cv_func_sigaction = no ; then
+                   AC_CHECK_FUNCS(sigset)
            fi
            ;;
     esac])