Skip to content

Suppress build warnings #13907

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

Merged
merged 2 commits into from
Jul 16, 2025
Merged

Suppress build warnings #13907

merged 2 commits into from
Jul 16, 2025

Conversation

nobu
Copy link
Member

@nobu nobu commented Jul 16, 2025

No description provided.

nobu added 2 commits July 16, 2025 17:03
```
configure.ac:2803: warning: AC_CHECK_FUNCS(\
): you should use literals
../autoconf-2.72/lib/autoconf/functions.m4:117: AC_CHECK_FUNCS is expanded from...
../autoconf-2.72/lib/m4sugar/m4sh.m4:697: AS_IF is expanded from...
```
@nobu nobu enabled auto-merge (rebase) July 16, 2025 08:46
@nobu nobu merged commit dedf9f5 into ruby:master Jul 16, 2025
85 checks passed
st0012 added a commit to Shopify/ruby that referenced this pull request Jul 16, 2025
Autoconf 2.70 or later is required to properly handle multi-line
AC_CHECK_FUNCS lists. The recent changes in ruby#13907 that split function
lists across multiple lines require autoconf 2.70's improved whitespace
handling.

Without autoconf 2.70+, the configure script generation fails with syntax
errors like:
../configure: line 29306: syntax error near unexpected token `pthread_attr_get_np'

This is because autoconf 2.69 and earlier don't properly handle multi-line
function lists in AC_CHECK_FUNCS without backslash continuations, while
2.70+ requires square brackets and handles newlines correctly.
@nobu nobu deleted the warnings branch July 16, 2025 22:10
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.

1 participant