diff options
| author | Bruce Momjian <bruce@momjian.us> | 2000-07-05 16:09:31 +0000 |
|---|---|---|
| committer | Bruce Momjian <bruce@momjian.us> | 2000-07-05 16:09:31 +0000 |
| commit | 411cf2da3f9c517d304bce85b5013052737da954 (patch) | |
| tree | 21efb12990e3f36f1d52600c3ca5639ca66aab03 /configure.in | |
| parent | 972604ec60ee950f47d0a722cadaf2fb4b5b71d3 (diff) | |
| download | postgresql-411cf2da3f9c517d304bce85b5013052737da954.tar.gz | |
attached to this mail is a patch from a colleague that makes
PostgreSQL-7.0.2 run on Linux for the Intel-IA64 architecture. It also
fixes a bug in the configure scripts that caused configure to fail on
the fcntl(F_SETLK) test.
This fix triggered a bug in the fcntl(F_SETLK) code of the Linux
kernel when used on unix domain sockets resulting in postmaster to
segfault immediately after startup. There is a fix available and
included in the kernel that will be on SuSE Linux 7.0, but kernels <=
2.2.16 still have this bug.
Reinhard Max
Diffstat (limited to 'configure.in')
| -rw-r--r-- | configure.in | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/configure.in b/configure.in index d3199582ab..c01f83d5fb 100644 --- a/configure.in +++ b/configure.in @@ -764,7 +764,8 @@ PGAC_UNION_SEMUN AC_MSG_CHECKING(for fcntl(F_SETLK)) -AC_TRY_LINK([#include <fcntl.h>], +AC_TRY_LINK([#include <stdio.h> +#include <fcntl.h>], [struct flock lck; lck.l_whence = SEEK_SET; lck.l_start = lck.l_len = 0; lck.l_type = F_WRLCK; |
