diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2004-06-17 07:56:46 +0000 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2004-06-17 07:56:46 +0000 |
commit | 99dbec4c6d12816387bb347641efb02d85f120ba (patch) | |
tree | 60c1399d036c2d1ecc521c9808019b975766b340 /configure.in | |
parent | f6d9664b63d92315d980a7062135946d8b1b1085 (diff) | |
download | newlib-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.in | 9 |
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 |