source: Xerces/m4/xerces_pretty_make.m4 @ 835

Last change on this file since 835 was 721, checked in by lindanl, 9 years ago

Add the original Xerces code (version 3.1.1)

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