aboutsummaryrefslogtreecommitdiff
path: root/winsup/configure.in
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.in
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.in')
-rwxr-xr-xwinsup/configure.in12
1 files changed, 10 insertions, 2 deletions
diff --git a/winsup/configure.in b/winsup/configure.in
index f31cfa9..285a6c9 100755
--- a/winsup/configure.in
+++ b/winsup/configure.in
@@ -57,9 +57,17 @@ AC_CANONICAL_SYSTEM
LIB_AC_PROG_CC
-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
+
AC_CONFIG_SUBDIRS($SUBDIRS)
+
AC_PROG_MAKE_SET
AC_SUBST(SUBDIRS)