[php-src] PR #11790: On riscv64, only require libatomic if actually needed

From: Date: Tue, 25 Jul 2023 16:54:42 +0000
Subject: [php-src] PR #11790: On riscv64, only require libatomic if actually needed
Groups: php.git-pulls 
Request: Send a blank email to git-pulls+get-23168@lists.php.net to get a copy of this message
Pull Request: https://github.com/php/php-src/pull/11790 Author: jcourreges clang and newer gcc releases support byte-sized atomic accesses on riscv64 through inline builtins. In both cases the hard dependency on libatomic added by GH-11321 isn't useful. Stop using AC_CHECK_LIB() which is too naive to notice that libatomic isn't needed. Instead, PHP_CHECK_FUNC() will retry the check with -latomic if required.

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