Skip to content

Sync HAVE_* symbols for extensions#14233

Merged
petk merged 2 commits intophp:masterfrom
petk:patch-HAVE_symbols
May 18, 2024
Merged

Sync HAVE_* symbols for extensions#14233
petk merged 2 commits intophp:masterfrom
petk:patch-HAVE_symbols

Conversation

@petk
Copy link
Member

@petk petk commented May 14, 2024

There are some extension HAVE_<extension> symbols left:

  • HAVE_INTL (present only on Windows)
  • HAVE_PDO_DBLIB (present only on Autotools)
  • HAVE_PDO_FIREBIRD (present only on Autotools)
  • HAVE_TOKENIZER (present only on Windows)

These are not used anywhere and are defined only in some build system and not the other.

Should these be removed or synced to be available via both builds?

This syncs missing build system gaps of some extensions' definitions
being defined on Windows and some on *nix. To not cause too much
divergence with the current default ext/skeleton template, they weren't
removed even though they aren't used. Help texts are also synced a bit
where possible.

* HAVE_INTL (added to Autotools also)
* HAVE_PDO_DBLIB (added to Windows build also)
* HAVE_PDO_FIREBIRD (added to Windows build also)
* HAVE_TOKENIZER (added to Autotools also)
@devnexen
Copy link
Member

PHP_INTL had been present solely on windows for a long time (can be seen in PHP 4) but never used, seems same story for others. I do not see an issue removing these.

This syncs build system gaps of some extensions' definitions being
defined on Windows and some on *nix. These are not used anywhere and are
only defined in some build system and not the other:

* HAVE_INTL (was present only on Windows)
* HAVE_PDO_DBLIB (was present only on Autotools)
* HAVE_PDO_FIREBIRD (was present only on Autotools)
* HAVE_TOKENIZER (was present only on Windows)
@petk
Copy link
Member Author

petk commented May 17, 2024

Ok, yes. I think so too...

@petk petk merged commit 09d0e38 into php:master May 18, 2024
@petk petk deleted the patch-HAVE_symbols branch May 18, 2024 12:10
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