aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorThomas Munro <tmunro@postgresql.org>2024-07-30 21:45:01 +1200
committerThomas Munro <tmunro@postgresql.org>2024-07-30 22:58:37 +1200
commite25626677f8076eb3ce94586136c5464ee154381 (patch)
treef03f87af97b998e2dd5aadcfe8a93a83a1ae716b /configure
parent1330843bb78e9d2422af2f2b9909b80732bd6fc0 (diff)
downloadpostgresql-e25626677f8076eb3ce94586136c5464ee154381.tar.gz
postgresql-e25626677f8076eb3ce94586136c5464ee154381.zip
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')
-rwxr-xr-xconfigure40
1 files changed, 0 insertions, 40 deletions
diff --git a/configure b/configure
index ea5514fab1a..f8deaa8d78a 100755
--- a/configure
+++ b/configure
@@ -836,7 +836,6 @@ enable_integer_datetimes
enable_nls
with_pgport
enable_rpath
-enable_spinlocks
enable_atomics
enable_debug
enable_profiling
@@ -1529,7 +1528,6 @@ Optional Features:
enable Native Language Support
--disable-rpath do not embed shared library search path in
executables
- --disable-spinlocks do not use spinlocks
--disable-atomics do not use atomic operations
--enable-debug build with debugging symbols (-g)
--enable-profiling build with profiling enabled
@@ -3267,33 +3265,6 @@ fi
#
-# Spinlocks
-#
-
-
-# Check whether --enable-spinlocks was given.
-if test "${enable_spinlocks+set}" = set; then :
- enableval=$enable_spinlocks;
- case $enableval in
- yes)
- :
- ;;
- no)
- :
- ;;
- *)
- as_fn_error $? "no argument expected for --enable-spinlocks option" "$LINENO" 5
- ;;
- esac
-
-else
- enable_spinlocks=yes
-
-fi
-
-
-
-#
# Atomic operations
#
@@ -12185,17 +12156,6 @@ fi
fi
-if test "$enable_spinlocks" = yes; then
-
-$as_echo "#define HAVE_SPINLOCKS 1" >>confdefs.h
-
-else
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
-*** Not using spinlocks will cause poor performance." >&5
-$as_echo "$as_me: WARNING:
-*** Not using spinlocks will cause poor performance." >&2;}
-fi
-
if test "$enable_atomics" = yes; then
$as_echo "#define HAVE_ATOMICS 1" >>confdefs.h