| Summary: | autogen.input with CRLF causes inproper error message | ||
|---|---|---|---|
| Product: | LibreOffice | Reporter: | Isamu Mogi <saturday6c> |
| Component: | LibreOffice | Assignee: | Not Assigned <libreoffice-bugs> |
| Status: | RESOLVED NOTABUG | ||
| Severity: | normal | ||
| Priority: | medium | ||
| Version: | 4.2.0.0.alpha0+ Master | ||
| Hardware: | Other | ||
| OS: | Cygwin | ||
| Whiteboard: | |||
| Crash report or crash signature: | Regression By: | ||
| Attachments: |
sample autogen.input
use regexp instead of chomp |
||
Created attachment 82399 [details]
use regexp instead of chomp
The reason is that autogen.sh read_args($) calls chomp but it isn't support CRLF.
I uploaded patch to use regexp instead of chomp.
This isn't a bug. For more information: https://gerrit.libreoffice.org/#/c/4992/ |
Created attachment 82398 [details] sample autogen.input When autogen.input's newline character is CRLF, autogen.sh says inproper error message. For example * autogen.input --enable-debug[CR][LF] * error message: $ ./autogen.sh C:/libo/autogen.sh ' '--srcdir=/cygdrive/c/libo/src' '--enable-option-checking=fatal' configure: error: invalid feature name: debug Error running configure at C:/libo/autogen.sh line 207. make: *** [C:/libo/config_host.mk] Error 2 "invalid feature name: debug" is shown but --enable-debug is valid option.