bug-autoconf
[Top][All Lists]
Advanced

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

[sr #110554] AC_CONFIG_HEADERS doesn't work properly for files with Wind


From: Zack Weinberg
Subject: [sr #110554] AC_CONFIG_HEADERS doesn't work properly for files with Windows line-endings
Date: Fri, 15 Dec 2023 11:19:47 -0500 (EST)

Update of sr#110554 (group autoconf):

                  Status:               Confirmed => Ready For Test         

    _______________________________________________________

Follow-up Comment #1:

Should be fixed in
<https://git.savannah.gnu.org/cgit/autoconf.git/commit/?id=bfd3894367e4d1c36c514e02c62173cde157f06b>,
thanks for reporting.

Thanks also for providing a patch; it might have taken me hours to figure out
what to change otherwise.  I made a somewhat different change, though, because
your code could produce a config.h with _inconsistent_ line endings, and also
because old non-GNU implementations of awk probably don't support using a
regexp as the third argument to 'split'.  (I'm not 100% sure about this; the
gawk manual is usually very good about pointing out portability issues but in
this case it's ambiguous.  For code this fundamental I think it's best to play
safe.)

I don't have access to a development environment on a machine that uses CRLF
line endings.  I would appreciate it if you could test autoconf trunk in the
environment where you originally encountered the problem.


    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/support/?110554>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/




reply via email to

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