Skip to content

Autotools: Add phpized configure log and help separators #15251

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 4 commits into from
Aug 6, 2024

Conversation

petk
Copy link
Member

@petk petk commented Aug 6, 2024

  • This quotes all PHP_CONFIGURE_PART arguments
  • When configuring and building extensions with phpize, this makes the './configure --help' and './configure' log output a bit more readable as it separates the extension configuration, Libtool configuration and the rest of the Autoconf and phpize configuration options.
  • The ./configure output separators bold tags are moved to the PHP_INIT_BUILD_SYSTEM macro to be available also in phpized extensions
  • The obsolete ticks `...` converted to the recommended $(...); Autoconf configure re-executes itself in shells where the $(...) still wouldn't work ok. For example, the default, initial, non-updated shell on Solaris 10.
  • Empty new lines in help separators synced (Autoconf default separators don't include additional empty newline after the separator title); so the PHP_HELP_SEPARATOR additional empty line is also removed (see './configure --help' output)

- This quotes all PHP_CONFIGURE_PART arguments
- When configuring and building extensions with phpize, this makes the
  './configure --help' and './configure' log output a bit more readable
  as it separates the extension configuration, Libtool configuration and
  the rest of the Autoconf and phpize configuration options.
- The ./configure output separators bold tags are moved to the
  PHP_INIT_BUILD_SYSTEM macro to be available also in phpized extensions
- The obsolete ticks `...` converted to the recommended $(...); Autoconf
  configure re-executes itself in shells where the $(...) still wouldn't
  work ok. For example, the default, initial, non-updated shell on
  Solaris 10.
- Empty new lines in help separators synced (Autoconf default separators
  don't include additional empty newline after the separator title);
  so the PHP_HELP_SEPARATOR additional empty line is also removed
  (see './configure --help' output)
Copy link
Member

@Girgias Girgias left a comment

Choose a reason for hiding this comment

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

MSTM

@petk petk merged commit 84e1920 into php:master Aug 6, 2024
1 of 2 checks passed
@petk petk deleted the patch-m4-phpize-help branch August 6, 2024 20:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants