libmicrohttpd

HTTP/1.x server C library (MHD 1.x, stable)
Log | Files | Refs | Submodules | README | LICENSE

commit a9e36d372055530d4e949e5dd5369be87033a090
parent 1c2f247b8f42d616d0bcfabaa68c15d25e4eab52
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
Date:   Thu,  6 Mar 2014 13:21:39 +0000

Update m4/ax_count_cpus.m4 to support W32

Diffstat:
Mm4/ax_count_cpus.m4 | 9+++++++++
1 file changed, 9 insertions(+), 0 deletions(-)

diff --git a/m4/ax_count_cpus.m4 b/m4/ax_count_cpus.m4 @@ -15,6 +15,7 @@ # # LICENSE # +# Copyright (c) 2014 Karlson2k (Evgeny Grin) <k2k@narod.ru> # Copyright (c) 2012 Brian Aker <brian@tangent.org> # Copyright (c) 2008 Michael Paul Bailey <jinxidoru@byu.net> # Copyright (c) 2008 Christophe Tournayre <turn3r@users.sourceforge.net> @@ -45,6 +46,14 @@ AS_IF([test "x$CPU_COUNT" = "x0" -a -e /proc/cpuinfo],[ CPU_COUNT=`$EGREP -c '^processor' /proc/cpuinfo` ]) + ])],[ + *mingw*],[ + AS_IF([test -n "$NUMBER_OF_PROCESSORS"],[ + CPU_COUNT="$NUMBER_OF_PROCESSORS" + ])],[ + *cygwin*],[ + AS_IF([test -n "$NUMBER_OF_PROCESSORS"],[ + CPU_COUNT="$NUMBER_OF_PROCESSORS" ]) ])