aboutsummaryrefslogtreecommitdiff
path: root/winsup/mingw
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2000-06-18 01:49:23 +0000
committerChristopher Faylor <me@cgf.cx>2000-06-18 01:49:23 +0000
commita50bf2842ff907bb7211c6843544f297a9aa7401 (patch)
treee52af1e1eb4cd428a48eb8ee84457736a27f3a32 /winsup/mingw
parent20c74690606013f62e8f7fcd909a2e6d584ec9e5 (diff)
downloadnewlib-a50bf2842ff907bb7211c6843544f297a9aa7401.zip
newlib-a50bf2842ff907bb7211c6843544f297a9aa7401.tar.gz
newlib-a50bf2842ff907bb7211c6843544f297a9aa7401.tar.bz2
* Makefile.in (subdirs): Eliminate for loop.
Diffstat (limited to 'winsup/mingw')
-rw-r--r--winsup/mingw/ChangeLog4
-rw-r--r--winsup/mingw/Makefile.in23
-rwxr-xr-xwinsup/mingw/configure10
3 files changed, 25 insertions, 12 deletions
diff --git a/winsup/mingw/ChangeLog b/winsup/mingw/ChangeLog
index 30368c7..d75521d 100644
--- a/winsup/mingw/ChangeLog
+++ b/winsup/mingw/ChangeLog
@@ -1,3 +1,7 @@
+Sat Jun 17 21:48:23 2000 Christopher Faylor <cgf@cygnus.com>
+
+ * Makefile.in (subdirs): Eliminate for loop.
+
Sat Jun 17 18:27:59 2000 Christopher Faylor <cgf@cygnus.com>
* Makefile.in (subdirs): Previous change did not fix problem in
diff --git a/winsup/mingw/Makefile.in b/winsup/mingw/Makefile.in
index 31c0acc..2108919 100644
--- a/winsup/mingw/Makefile.in
+++ b/winsup/mingw/Makefile.in
@@ -218,17 +218,18 @@ install: all $(install_dlls_host)
done
@$(MAKE) subdirs DO=$@ $(FLAGS_TO_PASS)
-subdirs: force
- @for i in should-never-exist $(SUBDIRS); do \
- if [ -d ./$$i ] ; then \
- echo "Making $(DO) in $${i}..." ; \
- if (rootme=`pwd`/ ; export rootme ; \
- rootsrc=`cd $(srcdir); pwd`/ ; export rootsrc ; \
- cd ./$$i; \
- $(MAKE) $(FLAGS_TO_PASS) $(DO)) ; then true ; \
- else exit 1 ; fi ; \
- else true ; fi ; \
- done
+subdirs: $(SUBDIRS)
+ @true
+
+. $(SUBDIRS): force
+ @if [ -d ./$@ ]; then \
+ echo "Making $(DO) in $@..." ; \
+ if (rootme=`pwd`/ ; export rootme ; \
+ rootsrc=`cd $(srcdir); pwd`/ ; export rootsrc ; \
+ cd ./$@;
+ $(MAKE) $(FLAGS_TO_PASS) $(DO)) ; then true ; \
+ else exit 1 ; fi ; \
+ else true ; fi ; \
force:
diff --git a/winsup/mingw/configure b/winsup/mingw/configure
index d66d848..247f77b 100755
--- a/winsup/mingw/configure
+++ b/winsup/mingw/configure
@@ -1717,6 +1717,13 @@ if test -n "$configdirs"; then
fi
+if test -n "$configdirs"; then
+ dosubdirs=dosubdirs
+else
+ dosubdirs=
+fi
+
+
MKINSTALLDIRS=$ac_aux_dir/mkinstalldirs
@@ -1740,7 +1747,7 @@ MKINSTALLDIRS=$ac_aux_dir/mkinstalldirs
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
# ./install, which can be erroneously created by make from ./install.sh.
echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
-echo "configure:1744: checking for a BSD compatible install" >&5
+echo "configure:1751: checking for a BSD compatible install" >&5
if test -z "$INSTALL"; then
if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
@@ -1965,6 +1972,7 @@ s%@target_cpu@%$target_cpu%g
s%@target_vendor@%$target_vendor%g
s%@target_os@%$target_os%g
s%@subdirs@%$subdirs%g
+s%@dosubdirs@%$dosubdirs%g
s%@MKINSTALLDIRS@%$MKINSTALLDIRS%g
s%@CRT_ID@%$CRT_ID%g
s%@RUNTIME@%$RUNTIME%g