summaryrefslogtreecommitdiffhomepage
path: root/auto/atomic
diff options
context:
space:
mode:
authorAndrew Clayton <a.clayton@nginx.com>2024-03-06 21:08:43 +0000
committerAndrew Clayton <a.clayton@nginx.com>2024-03-09 00:42:27 +0000
commit9cd11133f9eaf4f31f7d1c477613d12c22774b09 (patch)
treed3cbf10ed8ec7d8aee879d381fc143b7150e777a /auto/atomic
parente79e463556d6a08432a7008d185c958907fa4f40 (diff)
downloadunit-9cd11133f9eaf4f31f7d1c477613d12c22774b09.tar.gz
unit-9cd11133f9eaf4f31f7d1c477613d12c22774b09.tar.bz2
Remove support for Sun's Sun Studio/SunPro C compiler
We really only support building Unit with GCC and Clang. Cc: Dan Callahan <d.callahan@f5.com> Reviewed-by: Alejandro Colomar <alx@kernel.org> Signed-off-by: Andrew Clayton <a.clayton@nginx.com>
Diffstat (limited to 'auto/atomic')
-rw-r--r--auto/atomic32
1 files changed, 0 insertions, 32 deletions
diff --git a/auto/atomic b/auto/atomic
index 7acd4667..08061e9a 100644
--- a/auto/atomic
+++ b/auto/atomic
@@ -33,38 +33,6 @@ nxt_feature_test="int main(void) {
. auto/feature
-# Solaris 10 builtin atomic operations.
-
-if [ $nxt_found = no ]; then
-
- nxt_feature="Solaris builtin atomic operations"
- nxt_feature_name=NXT_HAVE_SOLARIS_ATOMIC
- nxt_feature_run=yes
- nxt_feature_incs=
- nxt_feature_libs=
- nxt_feature_test="#include <atomic.h>
-
- int main(void) {
- ulong_t n = 0;
-
- if (atomic_cas_ulong(&n, 0, 3) != 0)
- return 1;
- if (atomic_add_long_nv(&n, 1) != 4)
- return 1;
- if (atomic_swap_ulong(&n, 5) != 4)
- return 1;
- if (n != 5)
- return 1;
- if (atomic_or_ulong_nv(&n, 2) != 7)
- return 1;
- if (atomic_and_ulong_nv(&n, 5) != 5)
- return 1;
- return 0;
- }"
- . auto/feature
-fi
-
-
if [ $nxt_found = no ]; then
$echo
$echo $0: error: no atomic operations found.