Merge branch 'km/bsd-sysctl'
authorJunio C Hamano <gitster@pobox.com>
Fri, 20 Mar 2015 20:11:49 +0000 (13:11 -0700)
committerJunio C Hamano <gitster@pobox.com>
Fri, 20 Mar 2015 20:11:49 +0000 (13:11 -0700)
We now detect number of CPUs on older BSD-derived systems.

* km/bsd-sysctl:
thread-utils.c: detect CPU count on older BSD-like systems
configure: support HAVE_BSD_SYSCTL option

1  2 
Makefile
git-compat-util.h
diff --cc Makefile
index 44f1dd10ff508c03d10704f497c32868762243ce,fdac1b980377a178d0202c339c0d8241e7dbab91..5f3987fe3bd945fb5a84c9f45a8de7da5581f79a
+++ b/Makefile
@@@ -349,14 -349,7 +349,16 @@@ all:
  # Define NO_HMAC_CTX_CLEANUP if your OpenSSL is version 0.9.6b or earlier to
  # cleanup the HMAC context with the older HMAC_cleanup function.
  #
 +# Define USE_PARENS_AROUND_GETTEXT_N to "yes" if your compiler happily
 +# compiles the following initialization:
 +#
 +#   static const char s[] = ("FOO");
 +#
 +# and define it to "no" if you need to remove the parentheses () around the
 +# constant.  The default is "auto", which means to use parentheses if your
 +# compiler is detected to support it.
++#
+ # Define HAVE_BSD_SYSCTL if your platform has a BSD-compatible sysctl function.
  
  GIT-VERSION-FILE: FORCE
        @$(SHELL_PATH) ./GIT-VERSION-GEN
Simple merge