Skip to content
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

fix no "echo -n" in macOS's sh #2792

Closed

Conversation

liudongmiao
Copy link
Contributor

on macOS, the "/bin/sh" has no "-n" support.
There is $as_echo_n in autoconf, just use it.
And, there is AS_ECHO_N macro in autoconf too.

on macOS, the "/bin/sh" has no "-n" support.
There is $as_echo_n in autoconf, just use it.
And, there is AS_ECHO_N macro in autoconf too.
@martinhsv
Copy link
Contributor

Overall, this is a reasonable change to pursue.

However, it seems like maybe AS_ECHO_N (that you have noted as an alternative) would be a bit cleaner and seems to be the more preferred/recommended way to do this these days.

@martinhsv
Copy link
Contributor

Hi @liudongmiao , thanks for the submission. Per my previous comment, a substitute PR ( #2894 ) has been used to resolve this. You were credited in the CHANGES file.

@martinhsv martinhsv closed this Apr 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants