Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Christopher Faylor <me@cgf.cx>
To: gdb-patches@sourceware.org, binutils@sourceware.org,
	gcc-patches@gcc.gnu.org
Subject: [RFA] minor top-level configure.in fix
Date: Mon, 21 Jun 2004 22:59:00 -0000	[thread overview]
Message-ID: <20040621225952.GA9948@coe.casa.cgf.cx> (raw)

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


             reply	other threads:[~2004-06-21 22:59 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-06-21 22:59 Christopher Faylor [this message]
2004-06-21 23:02 ` DJ Delorie
2004-06-22  1:40   ` Christopher Faylor

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20040621225952.GA9948@coe.casa.cgf.cx \
    --to=me@cgf.cx \
    --cc=binutils@sourceware.org \
    --cc=gcc-patches@gcc.gnu.org \
    --cc=gdb-patches@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox