On Tue, 27 Jul 1999, D'Arcy J.M. Cain wrote:
> Yah, I was just trying stuff. As it turns out, PostgreSQL doesn't
> recognize NetBSD as an ELF system unless it is a powerpc. That's
> probably correct as it is only -current that is ELF, not the release.
> If it helps, here is the output of "file /netbsd" which tells you for
> sure it is an ELF system.
>
> /netbsd: ELF 32-bit LSB executable, Intel 80386, version 1, statically linked, not stripped
>
> so;
>
> if [ "`file /netbsd | cut -d' ' -f2`" = "ELF" ]
> then elf=yes
> fi
>
> Under the netbsd secion of configure_in should do it.
The ELFness of the kernel is independant to the ELFness of theuserland - you may want to run a file on some userland
binaryinstead.
David/absolute
-=- Sue me, screw me, walk right through me -=-