mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-12-15 08:56:34 -05:00
netbsd: Revamp NetBSD platform checks
This commit is contained in:
parent
93cccdee8d
commit
7f4acbd1c0
1 changed files with 7 additions and 4 deletions
11
configure.ac
11
configure.ac
|
|
@ -137,6 +137,9 @@ case "$host_os" in
|
||||||
AC_MSG_RESULT([freebsd])
|
AC_MSG_RESULT([freebsd])
|
||||||
host_has_caps=1
|
host_has_caps=1
|
||||||
;;
|
;;
|
||||||
|
netbsd*)
|
||||||
|
AC_MSG_RESULT([netbsd])
|
||||||
|
;;
|
||||||
darwin*)
|
darwin*)
|
||||||
AC_MSG_RESULT([darwin])
|
AC_MSG_RESULT([darwin])
|
||||||
os_is_darwin=1
|
os_is_darwin=1
|
||||||
|
|
@ -257,6 +260,10 @@ else
|
||||||
# HW specific atomic ops stuff
|
# HW specific atomic ops stuff
|
||||||
AC_MSG_CHECKING([architecture for native atomic operations])
|
AC_MSG_CHECKING([architecture for native atomic operations])
|
||||||
case $host in
|
case $host in
|
||||||
|
*-netbsd*)
|
||||||
|
AC_MSG_RESULT([yes])
|
||||||
|
need_libatomic_ops=no
|
||||||
|
;;
|
||||||
arm*)
|
arm*)
|
||||||
AC_MSG_RESULT([arm])
|
AC_MSG_RESULT([arm])
|
||||||
AC_MSG_CHECKING([whether we can use Linux kernel helpers])
|
AC_MSG_CHECKING([whether we can use Linux kernel helpers])
|
||||||
|
|
@ -292,10 +299,6 @@ else
|
||||||
])
|
])
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
*-netbsdelf5*)
|
|
||||||
AC_MSG_RESULT([yes])
|
|
||||||
need_libatomic_ops=no
|
|
||||||
;;
|
|
||||||
*-freebsd*)
|
*-freebsd*)
|
||||||
AC_MSG_RESULT([yes])
|
AC_MSG_RESULT([yes])
|
||||||
need_libatomic_ops=no
|
need_libatomic_ops=no
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue