This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Tiny configure.in fix


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 \

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]