diff options
author | Thomas Munro | 2024-07-30 09:45:01 +0000 |
---|---|---|
committer | Thomas Munro | 2024-07-30 10:58:37 +0000 |
commit | e25626677f8076eb3ce94586136c5464ee154381 (patch) | |
tree | f03f87af97b998e2dd5aadcfe8a93a83a1ae716b /configure.ac | |
parent | 1330843bb78e9d2422af2f2b9909b80732bd6fc0 (diff) |
Remove --disable-spinlocks.
A later change will require atomic support, so it wouldn't make sense
for a hypothetical new system not to be able to implement spinlocks.
Reviewed-by: Heikki Linnakangas <hlinnaka@iki.fi>
Reviewed-by: Tom Lane <tgl@sss.pgh.pa.us> (concept, not the patch)
Reviewed-by: Andres Freund <andres@anarazel.de> (concept, not the patch)
Discussion: https://postgr.es/m/3351991.1697728588%40sss.pgh.pa.us
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/configure.ac b/configure.ac index 0089e78b687..a72169f5745 100644 --- a/configure.ac +++ b/configure.ac @@ -187,12 +187,6 @@ PGAC_ARG_BOOL(enable, rpath, yes, AC_SUBST(enable_rpath) # -# Spinlocks -# -PGAC_ARG_BOOL(enable, spinlocks, yes, - [do not use spinlocks]) - -# # Atomic operations # PGAC_ARG_BOOL(enable, atomics, yes, @@ -1296,13 +1290,6 @@ failure. It is possible the compiler isn't looking in the proper directory. Use --without-zlib to disable zlib support.])]) fi -if test "$enable_spinlocks" = yes; then - AC_DEFINE(HAVE_SPINLOCKS, 1, [Define to 1 if you have spinlocks.]) -else - AC_MSG_WARN([ -*** Not using spinlocks will cause poor performance.]) -fi - if test "$enable_atomics" = yes; then AC_DEFINE(HAVE_ATOMICS, 1, [Define to 1 if you want to use atomics if available.]) else |