. Add file missed in the last commit:

Use OSVERSION rather than directly invoking 'sysctl kern.osreldate' to
  determine whether sigignore(3) is supported or not.  This should
  hopefully fix the build for QAT and pointyhat.

Suggested by:	pgollucci@
This commit is contained in:
Greg Lewis 2010-06-09 06:28:24 +00:00
parent 1bcc430587
commit 2d4d115102

View file

@ -7,7 +7,7 @@ $FreeBSD$
override HAVE_SIGIGNORE = true
endif
+ifeq ($(OS_VENDOR),FreeBSD)
+OS_RELDATE := $(shell sysctl kern.osreldate | cut -d' ' -f2)
+OS_RELDATE := %%OSVERSION%%
+HAS_SIGIGNORE := $(shell if [ $(OS_RELDATE) -ge 800502 -a $(OS_RELDATE) -lt 900000 -o $(OS_RELDATE) -ge 900003 ]; then echo "1"; fi)
+ifeq ($(HAS_SIGIGNORE),1)
+override HAVE_SIGIGNORE = true