File: xerces_no_threads.m4

package info (click to toggle)
xerces-c 3.2.4%2Bdebian-1.3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 19,948 kB
  • sloc: cpp: 167,201; xml: 23,619; sh: 4,789; ansic: 3,988; makefile: 1,438; perl: 355; javascript: 18
file content (24 lines) | stat: -rw-r--r-- 637 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
dnl @synopsis XERCES_NO_THREADS
dnl
dnl Determines the whether we've been configured for no threads,
dnl or whether threads are not used for some other reason.
dnl
dnl @category C
dnl @author James Berry
dnl @version 2005-05-23
dnl @license AllPermissive
dnl
dnl $Id$

AC_DEFUN([XERCES_NO_THREADS],
	[
	AC_ARG_ENABLE([threads],
		AS_HELP_STRING([--disable-threads],
			[Disable threads (enabled by default)]),
		[AS_IF([test x"$enableval" = xno],
			[xerces_cv_no_threads=yes])],
		[xerces_cv_no_threads=no])
	AS_IF([test x$xerces_cv_no_threads = xyes],
		[AC_DEFINE([APP_NO_THREADS], 1, [Define to specify no threading is used])])
	]
)