[prev in list] [next in list] [prev in thread] [next in thread] 

List:       php-cvs
Subject:    [PHP-CVS] [php-src] master: Merge branch 'PHP-8.2'
From:       David Carlier <noreply () php ! net>
Date:       2023-05-27 15:52:26
Message-ID: 4fQGav2ID0rHWahyeGZUes4P0fZ6JLn91hCrDJYdmQ () main ! php ! net
[Download RAW message or body]

Author: David Carlier (devnexen)
Date: 2023-05-27T16:38:46+01:00

Commit: https://github.com/php/php-src/commit/2e4369a171c18439748d1fdb506fde5738c7d75a
Raw diff: https://github.com/php/php-src/commit/2e4369a171c18439748d1fdb506fde5738c7d75a.diff

Merge branch 'PHP-8.2'

Changed paths:
  M  configure.ac


Diff:

diff --git a/configure.ac b/configure.ac
index fcb629723817..0a475ed80f31 100644
--- a/configure.ac
+++ b/configure.ac
@@ -373,6 +373,16 @@ if test "$ac_cv_func_dlopen" = "yes"; then
 fi
 AC_CHECK_LIB(m, sin)
 
+case $host_alias in
+  riscv64*)
+    AC_CHECK_LIB(atomic, __atomic_exchange_1, [
+      PHP_ADD_LIBRARY(atomic)
+    ], [
+      AC_MSG_ERROR([Problem with enabling atomic. Please check config.log for details.])
+    ])
+    ;;
+esac
+
 dnl Check for inet_aton in -lc, -lbind and -lresolv.
 PHP_CHECK_FUNC(inet_aton, resolv, bind)
 

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic