NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: getconf LONG_BIT in NetBSD



At Sun, 19 May 2024 22:08:27 +0200, Ramiro Aceves <ea1abz%gmail.com@localhost> wrote:
Subject: getconf LONG_BIT in NetBSD
>
> I have been playing with an autoconf
> ./configure script that I want get running
> in several OSes. The script uses "getconf
> LONG_BIT" to get the bits of the system.

What is the purpose of this test in the context where it is needed?

I would think that if it's a C program then there's no need ever for any
autoconf test.  Just write pure portable C that uses <limits.h> properly.

--
					Greg A. Woods <gwoods%acm.org@localhost>

Kelowna, BC     +1 250 762-7675           RoboHack <woods%robohack.ca@localhost>
Planix, Inc. <woods%planix.com@localhost>     Avoncote Farms <woods%avoncote.ca@localhost>

Attachment: pgprTWAyBcdpJ.pgp
Description: OpenPGP Digital Signature



Home | Main Index | Thread Index | Old Index