]> git.ipfire.org Git - thirdparty/git.git/commit - configure.ac
configure: support HAVE_BSD_SYSCTL option
authorKyle J. McKay <mackyle@gmail.com>
Sun, 8 Mar 2015 07:14:36 +0000 (23:14 -0800)
committerJunio C Hamano <gitster@pobox.com>
Tue, 10 Mar 2015 22:13:25 +0000 (15:13 -0700)
commit9529080de253b89474402f323e10470656764b3a
tree7154b4495465156ceab9d7595d03492e0a8a3d50
parent9874fca7122563e28d699a911404fc49d2a24f1c
configure: support HAVE_BSD_SYSCTL option

On BSD-compatible systems some information such as the number
of available CPUs may only be available via the sysctl function.

Add support for a HAVE_BSD_SYSCTL option complete with autoconf
support and include the sys/syctl.h header when the option is
enabled to make the sysctl function available.

Signed-off-by: Kyle J. McKay <mackyle@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Makefile
config.mak.uname
configure.ac
git-compat-util.h