diff options
author | Peter Eisentraut | 2019-11-27 10:21:02 +0000 |
---|---|---|
committer | Peter Eisentraut | 2019-11-27 11:27:20 +0000 |
commit | 4513d8b07bf342028ca95250b6e1d759858abdd3 (patch) | |
tree | 35612e4af617a4319e619267bd147fe817b8d28d /configure.in | |
parent | 47a3c7fa06538c181be815db44b5d7e8efe696ef (diff) |
Move configure --disable-float8-byval to pg_config_manual.h
This build option was once useful to maintain compatibility with
version-0 functions, but those are no longer supported, so this option
is no longer useful for end users. We keep the option available to
developers in pg_config_manual.h so that it is easy to test the
pass-by-reference code paths without having to fire up a 32-bit
machine.
Discussion: https://www.postgresql.org/message-id/flat/[email protected]
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/configure.in b/configure.in index 56a177ba102..a2cb20b5e38 100644 --- a/configure.in +++ b/configure.in @@ -1941,29 +1941,6 @@ AC_CHECK_SIZEOF([void *]) AC_CHECK_SIZEOF([size_t]) AC_CHECK_SIZEOF([long]) -# Decide whether float8 is passed by value. -# Note: this setting also controls int8 and related types such as timestamp. -# If sizeof(Datum) >= 8, this is user-selectable, enabled by default. -# If not, trying to select it is an error. -AC_MSG_CHECKING([whether to build with float8 passed by value]) -if test $ac_cv_sizeof_void_p -ge 8 ; then - PGAC_ARG_BOOL(enable, float8-byval, yes, [disable float8 passed by value]) -else - PGAC_ARG_BOOL(enable, float8-byval, no, [disable float8 passed by value]) - if test "$enable_float8_byval" = yes ; then - AC_MSG_ERROR([--enable-float8-byval is not supported on 32-bit platforms.]) - fi -fi -if test "$enable_float8_byval" = yes ; then - AC_DEFINE([USE_FLOAT8_BYVAL], 1, - [Define to 1 if you want float8, int8, etc values to be passed by value. (--enable-float8-byval)]) - float8passbyval=true -else - float8passbyval=false -fi -AC_MSG_RESULT([$enable_float8_byval]) -AC_DEFINE_UNQUOTED([FLOAT8PASSBYVAL], [$float8passbyval], [float8, int8, and related values are passed by value if 'true', by reference if 'false']) - # Determine memory alignment requirements for the basic C data types. AC_CHECK_ALIGNOF(short) |