From b3b780ea83f2053ceddd252b941f28626047e5da Mon Sep 17 00:00:00 2001 From: tv Date: Wed, 28 Apr 2004 11:11:19 +0000 Subject: Add Autoconf overrides that prevent recognition of or poll(2). --- mk/defs.Interix.mk | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'mk/defs.Interix.mk') diff --git a/mk/defs.Interix.mk b/mk/defs.Interix.mk index cfd7ecfe13c..3339537da78 100644 --- a/mk/defs.Interix.mk +++ b/mk/defs.Interix.mk @@ -1,4 +1,4 @@ -# $NetBSD: defs.Interix.mk,v 1.19 2004/04/27 12:05:16 tv Exp $ +# $NetBSD: defs.Interix.mk,v 1.20 2004/04/28 11:11:19 tv Exp $ # # Variable definitions for the Interix operating system. @@ -155,6 +155,12 @@ SERIAL_DEVICES?= /dev/tty00 /dev/tty01 /dev/tty02 /dev/tty03 CPPFLAGS+= -D_ALL_SOURCE .endif +# poll(2) is broken; try to work around it by making autoconf believe +# it's missing. (Packages without autoconf will need explicit fixing.) +.ifdef GNU_CONFIGURE +CONFIGURE_ENV+= ac_cv_header_poll_h=no ac_cv_func_poll=no +.endif + # Interix gcc "PIC" is broken, but non-"PIC" is shlib linkable. # We need to AVOID -fpic/-fPIC options to gcc. BUILDLINK_TRANSFORM+= S:-fpic: S:-fPIC: -- cgit v1.2.3