Brian Callahan: > lang/ponyc uses $(shell getconf LONG_BIT) in its Makefile to > determine whether or not we're on a 64-bit platform. > However, our getconf(1) doesn't support reporting LONG_BIT. > This diff enables it. GNU/FreeBSD/DragonFly/MacOS getconf reports > LONG_BIT, but NetBSD getconf does not.
It appears to be part of a larger extension that adds all numerical limits from POSIX <limits.h>: $ ssh freebsd-box $ getconf LONG_MIN -9223372036854775808 $ getconf LONG_MAX 9223372036854775807 $ getconf LONG_BIT 64 If we add any of this, shouldn't we add all of it? -- Christian "naddy" Weisgerber [email protected]
