diff options
author | Corinna Vinschen <vinschen@redhat.com> | 2004-06-17 19:54:25 +0000 |
---|---|---|
committer | DJ Delorie <dj@gcc.gnu.org> | 2004-06-17 15:54:25 -0400 |
commit | 801e227002b90184b6880619b00eec78007f4a30 (patch) | |
tree | 48a3c38ad7feb945e02043b53fd173c48597e826 /configure.in | |
parent | 0620be185dfe68d566205c6f11268378b3675533 (diff) | |
download | gcc-801e227002b90184b6880619b00eec78007f4a30.zip gcc-801e227002b90184b6880619b00eec78007f4a30.tar.gz gcc-801e227002b90184b6880619b00eec78007f4a30.tar.bz2 |
configure.in: Don't build Cygwin native newlib if winsup directory is missing.
2004-06-17 Corinna Vinschen <vinschen@redhat.com>
* configure.in: Don't build Cygwin native newlib if winsup
directory is missing. Emit warning instead.
* configure: Regenerate.
From-SVN: r83306
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 |