diff options
| author | Bruce Momjian <bruce@momjian.us> | 2006-02-03 13:53:15 +0000 |
|---|---|---|
| committer | Bruce Momjian <bruce@momjian.us> | 2006-02-03 13:53:15 +0000 |
| commit | ebd38e3c1d9bccb66253979840ae37612b0e3e89 (patch) | |
| tree | f4bf64ad27e5992147308246491bdcc48ebb9176 /configure | |
| parent | 59bb147353ba274e0836d06f429176d4be47452c (diff) | |
| download | postgresql-ebd38e3c1d9bccb66253979840ae37612b0e3e89.tar.gz | |
Allow MEMSET_LOOP_LIMIT to be set on a per-platform basis, and turn off
MemSet on AIX by setting MEMSET_LOOP_LIMIT to zero.
Add optimization to skip MemSet tests in MEMSET_LOOP_LIMIT == 0 case and
just call memset() directly.
Diffstat (limited to 'configure')
| -rwxr-xr-x | configure | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -21516,6 +21516,17 @@ _ACEOF SHMEM_IMPLEMENTATION="src/backend/port/sysv_shmem.c" +# If not set in template file, set bytes to use libc memset() +if test x"$MEMSET_LOOP_LIMIT" = x"" ; then + MEMSET_LOOP_LIMIT=1024 +fi + +cat >>confdefs.h <<_ACEOF +#define MEMSET_LOOP_LIMIT ${MEMSET_LOOP_LIMIT} +_ACEOF + + + if test "$enable_nls" = yes ; then echo "$as_me:$LINENO: checking for library containing gettext" >&5 |
