aboutsummaryrefslogtreecommitdiff
path: root/winsup/configure
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2000-06-17 17:51:31 +0000
committerChristopher Faylor <me@cgf.cx>2000-06-17 17:51:31 +0000
commit2e6d8441fad0ae44ce37ad1981b33d9f9f19b80c (patch)
treee227107fe822c32f69c6505fb3a9330174f97b97 /winsup/configure
parent0fa0f12294254c0e1d68e31cee537321ab66f22c (diff)
downloadnewlib-2e6d8441fad0ae44ce37ad1981b33d9f9f19b80c.zip
newlib-2e6d8441fad0ae44ce37ad1981b33d9f9f19b80c.tar.gz
newlib-2e6d8441fad0ae44ce37ad1981b33d9f9f19b80c.tar.bz2
* configure.in: Detect "cross-hosting" situation and add a subset of
directories to SUBDIRS. * configure: Regenerate.
Diffstat (limited to 'winsup/configure')
-rwxr-xr-xwinsup/configure14
1 files changed, 11 insertions, 3 deletions
diff --git a/winsup/configure b/winsup/configure
index 108aa36..21361f9 100755
--- a/winsup/configure
+++ b/winsup/configure
@@ -826,12 +826,20 @@ else
fi
-SUBDIRS="cygwin w32api mingw utils doc"
-test -d $srcdir/cinstall && SUBDIRS="$SUBDIRS cinstall"
+SUBDIRS='cygwin w32api mingw'
+case "$with_cross_host" in
+ ""|*cygwin*)
+ SUBDIRS="$SUBDIRS utils"
+ test -d $srcdir/cinstall && SUBDIRS="$SUBDIRS cinstall"
+ SUBDIRS="$SUBDIRS doc"
+ ;;
+esac
+
subdirs="$SUBDIRS"
+
echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
-echo "configure:835: checking whether ${MAKE-make} sets \${MAKE}" >&5
+echo "configure:843: checking whether ${MAKE-make} sets \${MAKE}" >&5
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6