source: icXML/icXML-devel/m4/xerces_no_threads.m4 @ 2723

Last change on this file since 2723 was 2723, checked in by cameron, 6 years ago

Add Xerces build system scripts

File size: 695 bytes
Line 
1dnl @synopsis XERCES_NO_THREADS
2dnl
3dnl Determines the whether we've been configured for no threads,
4dnl or whether threads are not used for some other reason.
5dnl
6dnl @category C
7dnl @author James Berry
8dnl @version 2005-05-23
9dnl @license AllPermissive
10dnl
11dnl $Id: xerces_no_threads.m4 678145 2008-07-19 12:10:43Z borisk $
12
13AC_DEFUN([XERCES_NO_THREADS],
14        [
15        AC_ARG_ENABLE([threads],
16                AS_HELP_STRING([--disable-threads],
17                        [Disable threads (enabled by default)]),
18                [AS_IF([test x"$enableval" = xno],
19                        [xerces_cv_no_threads=yes])],
20                [xerces_cv_no_threads=no])
21        AS_IF([test x$xerces_cv_no_threads = xyes],
22                [AC_DEFINE([APP_NO_THREADS], 1, [Define to specify no threading is used])])
23        ]
24)
Note: See TracBrowser for help on using the repository browser.