Skip site navigation (1) Skip section navigation (2)

mingw autoconf again

From: Magnus Hagander <magnus(at)hagander(dot)net>
To: pgsql-patches <pgsql-patches(at)postgresql(dot)org>
Subject: mingw autoconf again
Date: 2007-10-29 09:04:43
Message-ID: 20071029090443.GA13711@svr2.hagander.net (view raw or flat)
Thread:
Lists: 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

Responses

pgsql-patches by date

Next:From: Heikki LinnakangasDate: 2007-10-29 09:58:47
Subject: Re: mingw autoconf again
Previous:From: Kenneth MarshallDate: 2007-10-29 03:36:26
Subject: Re: updated hash functions for postgresql v1

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group