pkgsrc/misc/lv/patches/patch-ac
christos f037ad8962 Prefer sigaction instead of sigvec if it exists, and check if sigvec exists
based on the existance of the macro SV_INTERRUPT.
2005-12-03 16:46:32 +00:00

25 lines
792 B
Text

$NetBSD: patch-ac,v 1.1 2005/12/03 16:46:32 christos Exp $
--- ../src/configure.in.orig 2004-01-05 01:35:44.000000000 -0500
+++ ../src/configure.in 2005-12-03 11:37:40.000000000 -0500
@@ -34,7 +34,7 @@
dnl Checks for typedefs, structures, and compiler characteristics.
dnl Checks for library functions.
-AC_CHECK_FUNCS(sigvec tgetnum setlocale)
+AC_CHECK_FUNCS(sigaction tgetnum setlocale)
AC_FUNC_GETPGRP
AC_PROG_GCC_TRADITIONAL
AC_TYPE_SIGNAL
--- ../src/configure.orig 2004-01-05 01:37:17.000000000 -0500
+++ ../src/configure 2005-12-03 11:37:58.000000000 -0500
@@ -1440,7 +1440,7 @@
-for ac_func in sigvec tgetnum setlocale
+for ac_func in sigaction tgetnum setlocale
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
echo "configure:1447: checking for $ac_func" >&5