[tlbuild] Fail to set macros in c-auto.h for MinGW -- if not build in source tree

Yung-Jang Lee yjlee123 at gmail.com
Tue Feb 12 09:59:49 CET 2013


> We're using the latest released autoconf, 2.69.  I would suggest raising
> the issue with them if you wish.
>

  Yes,please.

 And I would suggest to change two lines in 'status.m4'  from

/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
  line = \$ 0

to

/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\r?\$)/ {
  line = \$ 0
  sub(/\r$/, "", line)

this sholud be portable to unix system.


I have test this patch on my MinGW by

 1.  Modify 'status.m4' file in MinGW  and
 2. Regenerate  'autoconf.m4f' file in MinGW by
    autom4te --language=autoconf --freeze --output=autoconf.m4f
 3. reautoconf  in TS's Build\source, and
 4. ./Build --without-ln-s

TL2012 building processes stop with other messages that alos related to
CRLF problems (I will post it latter ). But all the 'config.h' and
'c-auto.h' files in TL are correctly generated.
I believe there are much chance to build TL on MinGW if  autoconf's dev.
team accept this patch.


YungLee
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/tlbuild/attachments/20130212/3700aa00/attachment.html>


More information about the tlbuild mailing list