[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
autoconf ^M vs echo+tr
From: |
Török Edwin |
Subject: |
autoconf ^M vs echo+tr |
Date: |
Tue, 07 Apr 2009 23:02:00 +0300 |
User-agent: |
Mozilla-Thunderbird 2.0.0.19 (X11/20090103) |
Hi,
Regenerating configure with version 2.63 gives me:
-ac_cr=`echo X | tr X '\015'`
+ac_cr='^M'
I thought the echo + tr was more portable, and it also works better with
various tools that adjust newlines (like SVN with certain props set).
With the configure that has ^M I can't even svn diff, because:
svn: File 'configure' has inconsistent newlines
svn: Inconsistent line ending style
Properties on 'configure':
svn:executable
cvs2svn:cvs-rev
svn:keywords
svn:eol-style
Was there a problem with the echo+tr combination?
Best regards,
--Edwin
- autoconf ^M vs echo+tr,
Török Edwin <=