aboutsummaryrefslogtreecommitdiff
path: root/winsup/Makefile.in
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2006-07-23 23:28:06 +0000
committerChristopher Faylor <me@cgf.cx>2006-07-23 23:28:06 +0000
commit739a6f47492ef80eccf35a583f81646f152a6122 (patch)
tree33cfbbda12f6ebb937a906979dd64f4bfbc27dc0 /winsup/Makefile.in
parent3160f998c53e10b352eede99c714f286f5cc9a32 (diff)
downloadnewlib-739a6f47492ef80eccf35a583f81646f152a6122.zip
newlib-739a6f47492ef80eccf35a583f81646f152a6122.tar.gz
newlib-739a6f47492ef80eccf35a583f81646f152a6122.tar.bz2
* Makefile.in: Update copyright. Fix 'check' target so that it will once-again
create a working testsuite directory. Add a comment this time to explain the unusual behavior. (Previous ChangeLog checkin did not include accompanying Makefile.in)
Diffstat (limited to 'winsup/Makefile.in')
-rw-r--r--winsup/Makefile.in9
1 files changed, 7 insertions, 2 deletions
diff --git a/winsup/Makefile.in b/winsup/Makefile.in
index 348b66a..61d49d5 100644
--- a/winsup/Makefile.in
+++ b/winsup/Makefile.in
@@ -1,5 +1,6 @@
# Makefile.in for windows stuff
-# Copyright 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003 Red Hat, Inc.
+# Copyright 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2006
+# Red Hat, Inc.
#
# This file is part of Cygwin.
#
@@ -95,13 +96,17 @@ Makefile: Makefile.in $(srcdir)/configure.in config.status
config.status: configure
$(SHELL) config.status --recheck
+# The below rule is intended to run configure only when "make check" is
+# actually specified, i.e., not in a cross-compilation environment. The
+# cygwin configuration is copied and modified to ensure that the same configuration
+# parameters are passed when the testsuite is configured as when cygwin was configured.
check: cygwin
@if [ -f testsuite/config.status ]; then \
cd testsuite; \
else \
(mkdir testsuite 2>/dev/null || exit 0); \
cd testsuite; \
- sed -n -e '1,/^done/{' -e 's%winsup/cygwin\([ /]\)%winsup/testsuite\1%g; ' -e 'p; }' ../cygwin/config.status > config.status; \
+ sed -e 's%winsup/cygwin\>%winsup/testsuite%g' ../cygwin/config.status > config.status; \
chmod a+x config.status; \
sh ./config.status --recheck; \
sh ./config.status; \