* configure.in: Check for srcdir/winsup rather than build directory winsup.
authorcgf <cgf@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 22 Jun 2004 01:37:04 +0000 (01:37 +0000)
committercgf <cgf@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 22 Jun 2004 01:37:04 +0000 (01:37 +0000)
* configure: Regenerate.

git-svn-id: svn://gcc.gnu.org/svn/gcc/trunk@83473 138bc75d-0d04-0410-961f-82ee72b054a4

ChangeLog
configure
configure.in

index f2b2d15..74caece 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2004-06-21  Christopher Faylor  <cgf@alum.bu.edu>
+
+       * configure.in: Check for srcdir/winsup rather than build directory
+       winsup.
+       * configure: Regenerate.
+
 2004-06-17  Corinna Vinschen  <vinschen@redhat.com>
 
        * configure.in: Don't build Cygwin native newlib if winsup
index 378ff47..729827f 100755 (executable)
--- a/configure
+++ b/configure
@@ -1366,7 +1366,7 @@ case "${target}" in
     target_configdirs="$target_configdirs target-libtermcap target-winsup"
     noconfigdirs="$noconfigdirs target-gperf target-libgloss ${libgcj}"
     # always build newlib if winsup directory is present.
-    if test -d winsup
+    if test -d "$srcdir/winsup"
     then
       skipdirs=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'`
     else
index f1397db..4ec0d21 100644 (file)
@@ -586,7 +586,7 @@ case "${target}" in
     target_configdirs="$target_configdirs target-libtermcap target-winsup"
     noconfigdirs="$noconfigdirs target-gperf target-libgloss ${libgcj}"
     # always build newlib if winsup directory is present.
-    if test -d winsup
+    if test -d "$srcdir/winsup"
     then
       skipdirs=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'`
     else