bug-autoconf
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: autoconf under cygwin creates broken files


From: Ralf Corsepius
Subject: Re: autoconf under cygwin creates broken files
Date: 05 Sep 2001 15:13:13 +0200

On Die, 2001-09-04 at 17:21, Uwe Seimet wrote:
> Hi,
> 
> this statement:
> 
> AC_OUTPUT(config/Make.rules:config/Make.rules.in:../config/Make.rules.in \
>       Makefile \
>       include/Makefile \
>       include/JTCC/Makefile \
>       src/Makefile \
>       test/Makefile \
>       demo/Makefile)
> 
> results in a broken configure script on a cygwin environment. This is what
> is created by autoconf on Windows/cygwin:
> 
> > ac_config_files="$ac_config_files 
> > config/Make.rules:config/Make.rules.in:../config/Make.rules.in \^M Makefile 
> > \^M include/Makefile \^M include/JTCC/Makefile \^M src/Makefile \^M 
> > test/Makefile \^M demo/Makefile"
> 
> due to the CR/LFs the configure script is broken under Unix as well as under
> Windows, i. e. it is unusable.
> 
> This is created for the same macro under Unix:
> 
> < ac_config_files="$ac_config_files 
> config/Make.rules:config/Make.rules.in:../config/Make.rules.in Makefile 
> include/Makefile include/JTCC/Makefile src/Makefile test/Makefile 
> demo/Makefile"
> 
> and works fine for both Windows/cygwin and Unix. Looks as if a bugfix is
> required for autoconf with respect to the handling of CR/LF under Windows.
The only work-around I know, is to mount Cygwin partitions in binary mode.

Otherwise you will always find a tool which expands LF to CR/LF
somewhere 

Ralf





reply via email to

[Prev in Thread] Current Thread [Next in Thread]