aboutsummaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorEvgeny Grin (Karlson2k) <k2k@narod.ru>2014-03-06 13:21:39 +0000
committerEvgeny Grin (Karlson2k) <k2k@narod.ru>2014-03-06 13:21:39 +0000
commita9e36d372055530d4e949e5dd5369be87033a090 (patch)
treeb05c39cab0292865ce657dccf7549716962bbd17 /m4
parent1c2f247b8f42d616d0bcfabaa68c15d25e4eab52 (diff)
downloadlibmicrohttpd-a9e36d372055530d4e949e5dd5369be87033a090.tar.gz
libmicrohttpd-a9e36d372055530d4e949e5dd5369be87033a090.zip
Update m4/ax_count_cpus.m4 to support W32
Diffstat (limited to 'm4')
-rw-r--r--m4/ax_count_cpus.m49
1 files changed, 9 insertions, 0 deletions
diff --git a/m4/ax_count_cpus.m4 b/m4/ax_count_cpus.m4
index d4f3d290..39b68d32 100644
--- a/m4/ax_count_cpus.m4
+++ b/m4/ax_count_cpus.m4
@@ -15,6 +15,7 @@
15# 15#
16# LICENSE 16# LICENSE
17# 17#
18# Copyright (c) 2014 Karlson2k (Evgeny Grin) <k2k@narod.ru>
18# Copyright (c) 2012 Brian Aker <brian@tangent.org> 19# Copyright (c) 2012 Brian Aker <brian@tangent.org>
19# Copyright (c) 2008 Michael Paul Bailey <jinxidoru@byu.net> 20# Copyright (c) 2008 Michael Paul Bailey <jinxidoru@byu.net>
20# Copyright (c) 2008 Christophe Tournayre <turn3r@users.sourceforge.net> 21# Copyright (c) 2008 Christophe Tournayre <turn3r@users.sourceforge.net>
@@ -45,6 +46,14 @@
45 AS_IF([test "x$CPU_COUNT" = "x0" -a -e /proc/cpuinfo],[ 46 AS_IF([test "x$CPU_COUNT" = "x0" -a -e /proc/cpuinfo],[
46 CPU_COUNT=`$EGREP -c '^processor' /proc/cpuinfo` 47 CPU_COUNT=`$EGREP -c '^processor' /proc/cpuinfo`
47 ]) 48 ])
49 ])],[
50 *mingw*],[
51 AS_IF([test -n "$NUMBER_OF_PROCESSORS"],[
52 CPU_COUNT="$NUMBER_OF_PROCESSORS"
53 ])],[
54 *cygwin*],[
55 AS_IF([test -n "$NUMBER_OF_PROCESSORS"],[
56 CPU_COUNT="$NUMBER_OF_PROCESSORS"
48 ]) 57 ])
49 ]) 58 ])
50 59