Re: fcntl(F_SETLK) - Mailing list pgsql-hackers

From Philip Warner
Subject Re: fcntl(F_SETLK)
Date
Msg-id 3.0.5.32.20000706234943.021f9c00@mail.rhyme.com.au
Whole thread Raw
In response to Re: fcntl(F_SETLK)  (Thomas Lockhart <lockhart@alumni.caltech.edu>)
List pgsql-hackers
At 13:41 6/07/00 +0000, Thomas Lockhart wrote:
>
>The tree worked yesterday. Philip, what exactly did you do to "cause the
>configure test to fail"? Can I just go in a muck with Makefile.global?
>

I tried that, but it seemed not to work - rerunning configure seems to be
necessary. The solution I adopted is quite embarrasing, so if anyone wants
to give me a lesson in the best way to do this, feel free!

In 'configure' you will find a section:

echo $ac_n "checking for fcntl(F_SETLK)""... $ac_c" 1>&6
echo "configure:5598: checking for fcntl(F_SETLK)" >&5
cat > conftest.$ac_ext <<EOF
#line 5600 "configure"
#include "confdefs.h"
#include <tdio.h>
#include <fcntl.h>

I changed the last two lines to:

#include <pjwpjwstdio.h>
#include <pjwpjwfcntl.h>

(ie. two file names that I knew did not exist) - hence the test will fail.
It'd probably work if you just deleted them, but I like to leave
footprints, at least...


----------------------------------------------------------------
Philip Warner                    |     __---_____
Albatross Consulting Pty. Ltd.   |----/       -  \
(A.C.N. 008 659 498)             |          /(@)   ______---_
Tel: (+61) 0500 83 82 81         |                 _________  \
Fax: (+61) 0500 83 82 82         |                 ___________ |
Http://www.rhyme.com.au          |                /           \|                                |    --________--
PGP key available upon request,  |  /
and from pgp5.ai.mit.edu:11371   |/


pgsql-hackers by date:

Previous
From: Thomas Lockhart
Date:
Subject: Re: 2nd update on TOAST
Next
From: Tom Lane
Date:
Subject: Re: oidvector problem, latest version- has read other oidvector notes