From 4b5c99bea92226acd9679b17e61e21e9ee6a8810 Mon Sep 17 00:00:00 2001 From: jmc Date: Wed, 17 Dec 2003 05:36:43 +0000 Subject: [PATCH] Don't check for HAVE_SIGINFO if make(obj) (as more than likely the compiler doesn't exist yet and the subdir is always descended on make obj) --- regress/lib/libc/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/regress/lib/libc/Makefile b/regress/lib/libc/Makefile index 1146cf290755..980c087bb82d 100644 --- a/regress/lib/libc/Makefile +++ b/regress/lib/libc/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.41 2003/12/11 22:45:06 matt Exp $ +# $NetBSD: Makefile,v 1.42 2003/12/17 05:36:43 jmc Exp $ SUBDIR+= _setjmp atexit basename clone convfp db dirname div divrem \ gen getaddrinfo hsearch int_fmtio locale md5sha popen randomid \ @@ -13,7 +13,9 @@ SUBDIR+= ieeefp SUBDIR+= ldexp .endif +.if !make(obj) HAVE_SIGINFO != if (echo "\#include " && echo "SA_SIGINFO") | ${CC} -E -I${DESTDIR}/usr/include - | grep -sq 0x0040; then echo yes; else echo no; fi +.endif .if make(obj) || (${HAVE_SIGINFO} == "yes") SUBDIR+= siginfo