aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2001-11-04 05:15:16 +0000
committerChristopher Faylor <me@cgf.cx>2001-11-04 05:15:16 +0000
commit7cf5e175fe7594f07a2655cd8ec821c7803c5298 (patch)
tree8d5146063bb392c1b645556c0c02426586c7c1a8
parentc5900b959bf9583784de7b052bb3be67a01a3d2e (diff)
downloadnewlib-7cf5e175fe7594f07a2655cd8ec821c7803c5298.zip
newlib-7cf5e175fe7594f07a2655cd8ec821c7803c5298.tar.gz
newlib-7cf5e175fe7594f07a2655cd8ec821c7803c5298.tar.bz2
* Makefile.in: Force configure in testsuite directory if config.status does not
exist.
-rw-r--r--winsup/ChangeLog5
-rw-r--r--winsup/Makefile.in6
2 files changed, 8 insertions, 3 deletions
diff --git a/winsup/ChangeLog b/winsup/ChangeLog
index e410d1b..7f766b9 100644
--- a/winsup/ChangeLog
+++ b/winsup/ChangeLog
@@ -1,3 +1,8 @@
+2001-11-04 Christopher Faylor <cgf@redhat.com>
+
+ * Makefile.in: Force configure in testsuite directory if config.status
+ does not exist.
+
2001-11-03 Christopher Faylor <cgf@redhat.com>
* configure.in: Disable subauth directory test.
diff --git a/winsup/Makefile.in b/winsup/Makefile.in
index ef92802..12ab73b 100644
--- a/winsup/Makefile.in
+++ b/winsup/Makefile.in
@@ -36,7 +36,7 @@ datadir:=@datadir@
infodir:=@infodir@
includedir:=@includedir@
-SUBDIRS=@SUBDIRS@ testsuite
+SUBDIRS=@SUBDIRS@
INSTALL_SUBDIRS=${patsubst %,install_%,$(SUBDIRS)}
CLEAN_SUBDIRS=${patsubst %,clean_%,$(SUBDIRS)}
@@ -89,10 +89,10 @@ config.status: configure
$(SHELL) config.status --recheck
check: cygwin
- @if [ -d testsuite ]; then \
+ @if [ -f testsuite/config.status ]; then \
cd testsuite; \
else \
- mkdir testsuite; \
+ (mkdir testsuite 2>/dev/null || exit 0); \
cd testsuite; \
sed -n -e '1,/^done/{' -e 's%/cygwin%/testsuite%g; ' -e 'p; }' ../cygwin/config.status > config.status; \
chmod a+x config.status; \