source: trunk/m4/pthread_stats.m4 @ 704

Revision 510, 620 bytes checked in by dcarter, 4 years ago (diff)

Merged experimental changes from CMG branch

Line 
1# Copyright (c) 2005-2008 David Carter <dcarter@arm4.org> and others.
2# All rights reserved.   This program and the accompanying materials
3# are made available under the terms of the Eclipse Public License v1.0
4# which accompanies this distribution, and is available at
5# http://www.eclipse.org/legal/epl-v10.html
6
7# Enable stats for pthreads
8
9AC_DEFUN([ARM4_PTHREAD_STATS],
10[
11  AC_ARG_ENABLE(pthread-stats,
12  [  --enable-pthread-stats  enable pthread debugging statistics, not recommended for production],
13  [
14      AC_DEFINE(HAVE_PTHREAD_STATS, 1,
15      [Define wether pthread debugging stats are collected])
16  ],)
17])
Note: See TracBrowser for help on using the repository browser.