Re: Geometry test on NetBSD (was Re: [HACKERS] RC1?)

Patrick Welche <prlw1@newn.cam.ac.uk>

From: Patrick Welche <prlw1@newn.cam.ac.uk>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Peter Eisentraut <peter_e@gmx.net>, pgsql-hackers@postgresql.org, pgsql-ports@postgresql.org
Date: 2002-11-20T19:18:14Z
Lists: pgsql-hackers
On Wed, Nov 20, 2002 at 01:51:28PM -0500, Tom Lane wrote:
> Patrick Welche <prlw1@newn.cam.ac.uk> writes:
> > On Wed, Nov 20, 2002 at 01:21:47PM -0500, Tom Lane wrote:
> >> Ah-hah, so it is a version issue --- we could make the resultmap line
> >> something like
> >> geometry/.*-netbsd1.[0-5]=geometry-positive-zeros
> 
> > NetBSD/i386-1.6H     i386-unknown-netbsdelf1.6H     (checked 7.3rc1)
> > NetBSD/acorn32-1.6K  arm-unknown-netbsdelf1.6K      (still building 7.3rc1)
> 
> Hm, is that "elf" always there?  I'm a little uncomfortable with making
> the pattern be
> 	geometry/.*-netbsd.*1.[0-5]=geometry-positive-zeros
> as this seems way too lax ...

"elf" won't always be there - that acorn32 is a case in point: it became
elf for 1.6. acorn26 has always been elf. I can't remember when i386 became
elf.. (In fact the old config.guess that comes with NeTraMet44b8 says
i386-unknown-netbsd1.6K - so maybe the config.guess cvs log may shed some
light)


!!!! Just realised: the answers I gave above were with the config.guess from
automake 1.7a!

% uname -srmp
NetBSD 1.6K acorn32 arm
% postgresql-7.3rc1/config/config.guess
acorn32-unknown-netbsd1.6K
% automake/lib/config.guess
arm-unknown-netbsdelf1.6K

Confusing..

Patrick