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
commitb76d7de01ffaf4182e7ef3d34c2ab27ff15de818 (patch)
tree370db0982b68bcb6f16d82e48b5c486db4f4e4cb /configure.in
parent1e3aeb41f290ca9daa3950faa8e9ecd31b940d44 (diff)
downloadgdb-b76d7de01ffaf4182e7ef3d34c2ab27ff15de818.zip
gdb-b76d7de01ffaf4182e7ef3d34c2ab27ff15de818.tar.gz
gdb-b76d7de01ffaf4182e7ef3d34c2ab27ff15de818.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