This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [RFA] minor top-level configure.in fix
- From: DJ Delorie <dj at redhat dot com>
- To: me at cgf dot cx
- Cc: gdb-patches at sourceware dot org, binutils at sourceware dot org, gcc-patches at gcc dot gnu dot org
- Date: Mon, 21 Jun 2004 19:01:20 -0400
- Subject: Re: [RFA] minor top-level configure.in fix
- References: <20040621225952.GA9948@coe.casa.cgf.cx>
> I think this qualifies as an obvious fix. Ok to checkin?
Yeah. Why is one quoted and the other not, though?
> 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
>