aboutsummaryrefslogtreecommitdiff
path: root/acinclude.m4
diff options
context:
space:
mode:
authorhp.com!davidm <hp.com!davidm>2003-11-24 21:37:22 +0000
committerhp.com!davidm <hp.com!davidm>2003-11-24 21:37:22 +0000
commit64fa4c080a725ad1616e27e43babc9d6c97b40e7 (patch)
tree47f4f9d52a03668a156fb7d976c72ea8b35b00a7 /acinclude.m4
parent3f32d4b09f94a1f40ab57de66e0af0e058ec7cf5 (diff)
downloadlibunwind-64fa4c080a725ad1616e27e43babc9d6c97b40e7.tar.gz
(CHECK_ATOMIC_OPS): New test.
(Logical change 1.123)
Diffstat (limited to 'acinclude.m4')
-rw-r--r--acinclude.m46
1 files changed, 6 insertions, 0 deletions
diff --git a/acinclude.m4 b/acinclude.m4
index e37f2a7c..9c15af14 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -18,3 +18,9 @@ EOF
else
libc_cv_gcc___thread=no
fi])
+
+AC_DEFUN([CHECK_ATOMIC_OPS],
+[dnl Check whether the system has the atomic_ops package installed.
+ AC_CHECK_HEADERS(atomic_ops.h)
+ AC_CHECK_LIB(atomic_ops, main)
+])