Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2000-06-17 21:51:31 +0400
committerChristopher Faylor <me@cgf.cx>2000-06-17 21:51:31 +0400
commit2e6d8441fad0ae44ce37ad1981b33d9f9f19b80c (patch)
treee227107fe822c32f69c6505fb3a9330174f97b97 /winsup/configure.in
parent0fa0f12294254c0e1d68e31cee537321ab66f22c (diff)
* 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 f31cfa918..285a6c91f 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)