aboutsummaryrefslogtreecommitdiff
path: root/winsup/configure
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
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')
-rwxr-xr-xwinsup/configure7
1 files changed, 5 insertions, 2 deletions
diff --git a/winsup/configure b/winsup/configure
index 8cb175b..8877f33 100755
--- a/winsup/configure
+++ b/winsup/configure
@@ -916,7 +916,10 @@ fi
CXXFLAGS='$(CFLAGS)'
-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"
@@ -931,7 +934,7 @@ subdirs="$SUBDIRS"
echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
-echo "configure:935: checking whether ${MAKE-make} sets \${MAKE}" >&5
+echo "configure:938: 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