Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/regress/lib/libc Make sure to pick up the target's include f...



details:   https://anonhg.NetBSD.org/src/rev/dd1bc8cc2fe4
branches:  trunk
changeset: 553674:dd1bc8cc2fe4
user:      he <he%NetBSD.org@localhost>
date:      Mon Oct 20 00:07:47 2003 +0000

description:
Make sure to pick up the target's include files in the test for whether
we have SA_SIGINFO defined.

diffstat:

 regress/lib/libc/Makefile |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 54abe2cfcc95 -r dd1bc8cc2fe4 regress/lib/libc/Makefile
--- a/regress/lib/libc/Makefile Sun Oct 19 23:15:54 2003 +0000
+++ b/regress/lib/libc/Makefile Mon Oct 20 00:07:47 2003 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.37 2003/10/04 20:29:52 christos Exp $
+#      $NetBSD: Makefile,v 1.38 2003/10/20 00:07:47 he Exp $
 
 SUBDIR+= _setjmp atexit basename clone convfp db dirname div divrem \
        gen getaddrinfo hsearch int_fmtio locale md5sha popen regex rpc \
@@ -10,7 +10,7 @@
 SUBDIR+= ldexp
 .endif
 
-HAVE_SIGINFO != if (echo "\#include <signal.h>" && echo "SA_SIGINFO") | ${CC} -E - | grep -sq 0x0040; then echo yes; else echo no; fi
+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
 
 .if (${HAVE_SIGINFO} == "yes")
 SUBDIR+= siginfo



Home | Main Index | Thread Index | Old Index