summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2005-08-03 20:18:15 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2005-08-03 20:18:15 +0000
commit4f016b4824ab3d174e17ffd04bb1b9ed29687c09 (patch)
treeba178a2956c4be12051519fbefd1c50c99046c34 /configure.in
parentbbecb798e2747d665809740af939ee3c816dd7e7 (diff)
Add native atomic operations for s390.
2005-08-03 Matthias Clasen <mclasen@redhat.com> * glib/gatomic.c: Add native atomic operations for s390. * configure.in: ... and use them on s390.
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in6
1 files changed, 6 insertions, 0 deletions
diff --git a/configure.in b/configure.in
index 0607164e8..562707a2b 100644
--- a/configure.in
+++ b/configure.in
@@ -1967,6 +1967,12 @@ if test x"$GCC" = xyes; then
[ia64 atomic implementation])
glib_memory_barrier_needed=yes
;;
+ s390|s390x)
+ AC_MSG_RESULT([s390])
+ AC_DEFINE_UNQUOTED(G_ATOMIC_S390, 1,
+ [s390 atomic implementation])
+ glib_memory_barrier_needed=no
+ ;;
*)
AC_MSG_RESULT([none])
glib_memory_barrier_needed=yes