aboutsummaryrefslogtreecommitdiff
path: root/pk/pk.ac
diff options
context:
space:
mode:
authorAndrew Waterman <waterman@eecs.berkeley.edu>2012-11-17 03:43:57 -0800
committerAndrew Waterman <waterman@eecs.berkeley.edu>2012-11-17 03:43:57 -0800
commit8c4a41f9835d56437c44631d97ef592e948385d9 (patch)
treea9f957f4123aa99e4ceee1957e84df40cd9c299b /pk/pk.ac
parent93f6f1ff134333a61580677a685ad61718ad0726 (diff)
downloadpk-8c4a41f9835d56437c44631d97ef592e948385d9.zip
pk-8c4a41f9835d56437c44631d97ef592e948385d9.tar.gz
pk-8c4a41f9835d56437c44631d97ef592e948385d9.tar.bz2
fix spinlocks; add --disable-atomics cfg opt
Diffstat (limited to 'pk/pk.ac')
-rw-r--r--pk/pk.ac5
1 files changed, 5 insertions, 0 deletions
diff --git a/pk/pk.ac b/pk/pk.ac
index 47c9207..fdcaa65 100644
--- a/pk/pk.ac
+++ b/pk/pk.ac
@@ -7,3 +7,8 @@ AC_ARG_ENABLE([fp-emulation], AS_HELP_STRING([--disable-fp-emulation], [Disable
AS_IF([test "x$enable_fp_emulation" != "xno"], [
AC_DEFINE([PK_ENABLE_FP_EMULATION],,[Define if floating-point emulation is enabled])
])
+
+AC_ARG_ENABLE([atomics], AS_HELP_STRING([--disable-atomics], [Emulate atomic ops nonatomically]))
+AS_IF([test "x$enable_atomics" != "xno"], [
+ AC_DEFINE([PK_ENABLE_ATOMICS],,[Define if atomics are supported])
+])