Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Add cross-compiling argument to AC_RUN_IFELSE#12966

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Closed
petk wants to merge1 commit intophp:PHP-8.2frompetk:patch-autoconf-cross-compile

Conversation

petk
Copy link
Member

Autoconf emits a warning if 3rd argument in AC_RUN_IFELSE is empty:

autoconf -Wall
configure.ac:1611: warning: AC_RUN_IFELSE called without default to allow cross compiling./lib/autoconf/general.m4:2981: AC_RUN_IFELSE is expanded from...lib/m4sugar/m4sh.m4:699: AS_IF is expanded from...build/ax_check_compile_flag.m4:39: AX_CHECK_COMPILE_FLAG is expanded from...configure.ac:1611: the top level

Additionally, call is wrapped in the AC_CACHE_CHECK with php_cv_* cache variable name according to thedocs.

Related to#12642

Copy link
Member

@iluuu1994iluuu1994 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Thank you for fixing this!

@petk
Copy link
MemberAuthor

Should we maybe target here PHP-8.1 or PHP-8.2 branch?

@iluuu1994
Copy link
Member

I think backporting this to 8.2 certainly makes sense, since this code is new.

petk reacted with thumbs up emoji

Autotools emits warning if 3rd argument is empty. Call is wrapped in theAC_CACHE_CHECK with php_cv_* cache variable name according to the docs.
@petkpetkforce-pushed thepatch-autoconf-cross-compile branch from7c15d2b tobcab663CompareDecember 22, 2023 15:13
@petkpetk changed the base branch frommaster toPHP-8.2December 22, 2023 15:13
@petkpetk deleted the patch-autoconf-cross-compile branchDecember 22, 2023 15:37
@petk
Copy link
MemberAuthor

Merged to PHP-8.2 to future proof Autoconf generation, just in case.

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@iluuu1994iluuu1994iluuu1994 approved these changes

Assignees
No one assigned
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

2 participants
@petk@iluuu1994

[8]ページ先頭

©2009-2025 Movatter.jp