This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[RFA] minor top-level configure.in fix
- From: Christopher Faylor <me at cgf dot cx>
- To: gdb-patches at sourceware dot org, binutils at sourceware dot org,gcc-patches at gcc dot gnu dot org
- Date: Mon, 21 Jun 2004 18:59:52 -0400
- Subject: [RFA] minor top-level configure.in fix
I think this qualifies as an obvious fix. Ok to checkin?
cgf
2004-06-21 Christopher Faylor <cgf@alum.bu.edu>
* configure.in: Check for srcdir/winsup rather than
build directory winsup.
* configure: Regenerate.
Index: configure.in
===================================================================
RCS file: /cvs/uberbaum/configure.in,v
retrieving revision 1.296
diff -d -u -p -r1.296 configure.in
--- configure.in 17 Jun 2004 19:54:25 -0000 1.296
+++ configure.in 21 Jun 2004 22:58:48 -0000
@@ -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
Index: configure
===================================================================
RCS file: /cvs/uberbaum/configure,v
retrieving revision 1.158
diff -d -u -p -r1.158 configure
--- configure 17 Jun 2004 19:54:25 -0000 1.158
+++ configure 21 Jun 2004 22:58:49 -0000
@@ -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