mingw autoconf again - Mailing list pgsql-patches

From Magnus Hagander
Subject mingw autoconf again
Date
Msg-id 20071029090443.GA13711@svr2.hagander.net
Whole thread Raw
Responses Re: mingw autoconf again  (Heikki Linnakangas <heikki@enterprisedb.com>)
Re: mingw autoconf again  (Peter Eisentraut <peter_e@gmx.net>)
List pgsql-patches
So I was fixing my MingW environment to test and fix that issue with the
functions missing. In doing so, I came across the error previously
discussed that gettimeofday() is now suddently defined in the latest
versions of mingw, but wasn't before.

So I figured I'd have to fix that. Attached is a patch for configure to
check this. I'd like comments from someone who knows autoconf better than
me on:
1) does it look ok?
2) is it ok to put checks for win32-only this way?


It does work on my mingw build, and with the new version of mingw the
functions aren't missing so I can actualliy build CVS HEAD to working state
with that one. Which just means I'll have to write another autoconf test
for the missing functions ni older mingw, but I'd like to get comments on
this one first.

//Magnus

Attachment

pgsql-patches by date:

Previous
From: Kenneth Marshall
Date:
Subject: Re: updated hash functions for postgresql v1
Next
From: Heikki Linnakangas
Date:
Subject: Re: mingw autoconf again