Skip to content

Commit 2e4369a

Browse files
committed
Merge branch 'PHP-8.2'
2 parents fbe6696 + 350e449 commit 2e4369a

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

configure.ac

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -373,6 +373,16 @@ if test "$ac_cv_func_dlopen" = "yes"; then
373373
fi
374374
AC_CHECK_LIB(m, sin)
375375

376+
case $host_alias in
377+
riscv64*)
378+
AC_CHECK_LIB(atomic, __atomic_exchange_1, [
379+
PHP_ADD_LIBRARY(atomic)
380+
], [
381+
AC_MSG_ERROR([Problem with enabling atomic. Please check config.log for details.])
382+
])
383+
;;
384+
esac
385+
376386
dnl Check for inet_aton in -lc, -lbind and -lresolv.
377387
PHP_CHECK_FUNC(inet_aton, resolv, bind)
378388

0 commit comments

Comments
 (0)