aboutsummaryrefslogtreecommitdiff
path: root/winsup/configure.in
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2002-02-19 21:59:19 +0000
committerChristopher Faylor <me@cgf.cx>2002-02-19 21:59:19 +0000
commit74162926112eada970ef2b2f351e58816f1813b2 (patch)
tree6061623736de6dea3b9ddde203e6e99ff4e220b6 /winsup/configure.in
parentcecb74ae47ea94f53641740f18f2308ff4692f41 (diff)
downloadnewlib-74162926112eada970ef2b2f351e58816f1813b2.zip
newlib-74162926112eada970ef2b2f351e58816f1813b2.tar.gz
newlib-74162926112eada970ef2b2f351e58816f1813b2.tar.bz2
* configure.in: Avoid building w32api or mingw if they don't exist.
* configure: Regenerate.
Diffstat (limited to 'winsup/configure.in')
-rwxr-xr-xwinsup/configure.in5
1 files changed, 4 insertions, 1 deletions
diff --git a/winsup/configure.in b/winsup/configure.in
index f1195c2..c588658 100755
--- a/winsup/configure.in
+++ b/winsup/configure.in
@@ -66,7 +66,10 @@ AC_CANONICAL_SYSTEM
LIB_AC_PROG_CC
LIB_AC_PROG_CXX
-SUBDIRS='w32api cygwin mingw'
+SUBDIRS='cygwin'
+test -d $srcdir/w32api && SUBDIRS="w32api $SUBDIRS"
+test -d $srcdir/mingw && SUBDIRS="$SUBDIRS mingw"
+
case "$with_cross_host" in
""|*cygwin*)
test -d $srcdir/bz2lib && SUBDIRS="$SUBDIRS bz2lib"