This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Tiny configure.in fix
- To: Laurynas Biveinis <lauras at softhome dot net>
- Subject: Re: Tiny configure.in fix
- From: Manfred Hollstein <manfredh at redhat dot com>
- Date: Wed, 29 Nov 2000 14:16:15 +0100 (CET)
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>
- References: <3A24150F.AFAF6AB0@softhome.net>
- Reply-To: Manfred Hollstein <manfred dot h at gmx dot net>
Laurynas,
On Tuesday, 28 November 2000, 21:26:55 +0100, lauras@softhome.net wrote:
> It just makes configure.in recognize dos style absolute paths.
>
> Laurynas
I'm not sure this is a good idea, because your patch will treat
path names like C:/workdir as an absolute path although this is
a perfectly valid path name for a subdirectory on UNIX.
Cheers, manfred.
>
> 2000-11-28 Laurynas Biveinis <lauras@softhome.net>
>
> * configure.in: recognize DOS-style absolute paths.
>
> --- configure.in.old Mon Nov 27 14:44:04 2000
> +++ configure.in Tue Nov 28 21:10:43 2000
> @@ -735,7 +735,7 @@
> mkdir $tempdir
> cd $tempdir
> case ${srcdir} in
> - /*) realsrcdir=${srcdir};;
> + /* | [A-Za-z]:[\\/]* ) realsrcdir=${srcdir};;
> *) realsrcdir=../${srcdir};;
> esac
> CC=${CC_FOR_BUILD} ${realsrcdir}/configure \