Module Name: src Committed By: pgoyette Date: Sat Dec 25 01:22:02 UTC 2010
Modified Files: src/tests/lib/libc/gen: Makefile Log Message: Don't include the siginfo tests unless we actually have siginfo ability! To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/tests/lib/libc/gen/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/tests/lib/libc/gen/Makefile diff -u src/tests/lib/libc/gen/Makefile:1.4 src/tests/lib/libc/gen/Makefile:1.5 --- src/tests/lib/libc/gen/Makefile:1.4 Sat Dec 25 01:04:26 2010 +++ src/tests/lib/libc/gen/Makefile Sat Dec 25 01:22:02 2010 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.4 2010/12/25 01:04:26 pgoyette Exp $ +# $NetBSD: Makefile,v 1.5 2010/12/25 01:22:02 pgoyette Exp $ .include <bsd.own.mk> @@ -9,6 +9,14 @@ TESTS_C+= t_basedirname TESTS_C+= t_siginfo +.if !make(obj) && !make(cleandir) +HAVE_SIGINFO != if (echo "\#include <signal.h>" && echo "SA_SIGINFO") | ${CC} -E -I${DESTDIR}/usr/include - | grep -sq 0x0040; then echo yes; else echo no; fi +.endif + +.if make(obj) || make(cleandir) || (${HAVE_SIGINFO} == "yes") +TESTS_C+= t_siginfo +.endif + LDADD.t_syslog_pthread+=-lpthread .include <bsd.test.mk>