You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

24 lines
695 B

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: xerces_no_threads.m4 678145 2008-07-19 12:10:43Z borisk $
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])])
]
)