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

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