aboutsummaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2004-06-17 07:56:46 +0000
committerCorinna Vinschen <corinna@vinschen.de>2004-06-17 07:56:46 +0000
commit99dbec4c6d12816387bb347641efb02d85f120ba (patch)
tree60c1399d036c2d1ecc521c9808019b975766b340 /configure.in
parentf6d9664b63d92315d980a7062135946d8b1b1085 (diff)
downloadnewlib-99dbec4c6d12816387bb347641efb02d85f120ba.zip
newlib-99dbec4c6d12816387bb347641efb02d85f120ba.tar.gz
newlib-99dbec4c6d12816387bb347641efb02d85f120ba.tar.bz2
* configure.in: Don't build Cygwin native newlib if winsup
directory is missing. Emit warning instead. * configure: Regenerate.
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in9
1 files changed, 7 insertions, 2 deletions
diff --git a/configure.in b/configure.in
index a42a1c5..f1397db 100644
--- a/configure.in
+++ b/configure.in
@@ -585,8 +585,13 @@ case "${target}" in
*-*-cygwin*)
target_configdirs="$target_configdirs target-libtermcap target-winsup"
noconfigdirs="$noconfigdirs target-gperf target-libgloss ${libgcj}"
- # always build newlib.
- skipdirs=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'`
+ # always build newlib if winsup directory is present.
+ if test -d winsup
+ then
+ skipdirs=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'`
+ else
+ echo "Warning: winsup is missing so newlib can't be built."
+ fi
# Can't build gdb for Cygwin if not native.
case "${host}" in