[llvm-commits] upgrade autoconf to 2.63?

Török Edwin edwintorok at gmail.com
Mon Mar 2 11:38:03 PST 2009


Hi,

I've tried to upgrade llvm's autoconf script to 2.63,  and fixed some
new warnings, see attached patches:
patch1 is:
AutoRegen.sh     |   12 ++++++------
 configure.ac     |   21 ++++++++++-----------
 m4/path_tclsh.m4 |    4 ++--
 3 files changed, 18 insertions(+), 19 deletions(-)

patch is:
autoconf/AutoRegen.sh           |   12
 autoconf/configure.ac           |   21
 autoconf/m4/argz.m4             |   79
 autoconf/m4/libtool.m4          | 8474
++++++++++++++++++++++------------------
 autoconf/m4/ltdl.m4             |  842 ++-
 autoconf/m4/ltoptions.m4        |  368 +
 autoconf/m4/ltsugar.m4          |  123
 autoconf/m4/ltversion.m4        |   23
 autoconf/m4/lt~obsolete.m4      |   92
 autoconf/m4/path_tclsh.m4       |    4
 include/llvm/Config/config.h.in |  100
 11 files changed, 6101 insertions(+), 4037 deletions(-)

Neither patch includes configure because:
svn: File 'configure' has inconsistent newlines
svn: Inconsistent line ending style

That comes from this portion of configure (that seems to come from
autoconf itself):
ac_cr='^M'
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
  ac_cs_awk_cr='\\r'
else
  ac_cs_awk_cr=$ac_cr
fi

So maybe configure should be set to preserve line-endings?

Thoughts?

Best regards,
--Edwin


-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: patch
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20090302/9b39d26f/attachment.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: patch1
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20090302/9b39d26f/attachment-0001.ksh>


More information about the llvm-commits mailing list