-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Usage of 'sed' in build system/makefiles is not portable #4459
Comments
|
|
|
|
|
Merged to master: [2e3e3a3].
|
Thanks for the patches! |
Important
This issue was migrated from Trac:
karlson2k
(karlson2k@….com)In the build system the sed command used with unportable "inplace" options ("-i").
The leads to build failures on some platforms, like Solaris, and reduces portability in general.
Similar issues were fixed already in the past: #3479
The configure script is already detecting suitable sed command in LT_INIT macro, so it worth to use the result of this detection to reduce portability problems.
On the other hand, workaround for "inplace" use is very simple and straightforward, so for the best portability it would be better to avoid unportable sed commands.
POSIX sed specification: https://pubs.opengroup.org/onlinepubs/9699919799/utilities/sed.html
Suggested fix: #184
Note
Original attachments:
karlson2k
(karlson2k@….com) onMay 19, 2023 at 17:53 UTC
karlson2k
(karlson2k@….com) onMay 19, 2023 at 17:53 UTC
karlson2k
(karlson2k@….com) onMay 19, 2023 at 17:54 UTC
The text was updated successfully, but these errors were encountered: