[php-src] PR #15802: Autotools: Obsolete PHP_TEST_BUILD and PHP_BUILD_THREAD_SAFE

From: Date: Sun, 08 Sep 2024 11:39:40 +0000
Subject: [php-src] PR #15802: Autotools: Obsolete PHP_TEST_BUILD and PHP_BUILD_THREAD_SAFE
Groups: php.git-pulls 
Request: Send a blank email to git-pulls+get-28485@lists.php.net to get a copy of this message
Pull Request: https://github.com/php/php-src/pull/15802 Author: petk The PHP_BUILD_THREAD_SAFE macro is a simple wrapper around setting the enable_zts variable and can't be used in PHP extensions realistically. The PHP_TEST_BUILD macro might produce warnings on certain compiler configurations and default AC_* macros like AC_LINK_IFELSE, AC_CHECK_LIB, or AC_CHECK_FUNC are better suited for such checks. Also, a quick browse through the open-source PHP extensions doesn't find usages of this macro except in imap extension where patch is was already sent: https://github.com/php/pecl-mail-imap/pull/11

« previous php.git-pulls (#28485) next »