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.

30 lines
974 B

  1. dnl @synopsis XERCES_PRETTY_MAKE
  2. dnl
  3. dnl Determines the whether we're doing a pretty make
  4. dnl --enable-pretty-make=yes is the default
  5. dnl
  6. dnl @category Xerces
  7. dnl @author Axel Weiss and James Berry
  8. dnl @version 2005-05-27
  9. dnl @license AllPermissive
  10. dnl
  11. dnl $Id: xerces_pretty_make.m4 678145 2008-07-19 12:10:43Z borisk $
  12. AC_DEFUN([XERCES_PRETTY_MAKE],
  13. [
  14. AC_MSG_CHECKING([whether we'll generate prettier make output])
  15. AC_ARG_ENABLE([pretty-make],
  16. AS_HELP_STRING([--disable-pretty-make],
  17. [Disable prettier make output (enabled by default)]),
  18. [AS_IF([test x"$enableval" = xyes],
  19. [xerces_pretty_make=yes],
  20. [xerces_pretty_make=no])],
  21. [xerces_pretty_make=yes])
  22. AC_MSG_RESULT([$xerces_pretty_make])
  23. # Define the auto-make conditionals which determine what actually gets compiled
  24. # Note that these macros can't be executed conditionally, which is why they're here, not above.
  25. AM_CONDITIONAL([XERCES_PRETTY_MAKE], [test x"$xerces_pretty_make" = xyes])
  26. ]
  27. )