Commit | Line | Data |
---|---|---|
d0ac1c44 SM |
1 | # generated automatically by aclocal 1.15.1 -*- Autoconf -*- |
2 | ||
3 | # Copyright (C) 1996-2017 Free Software Foundation, Inc. | |
84563040 | 4 | |
dcdb98d2 DJ |
5 | # This file is free software; the Free Software Foundation |
6 | # gives unlimited permission to copy and/or distribute it, | |
7 | # with or without modifications, as long as this notice is preserved. | |
84563040 | 8 | |
dcdb98d2 DJ |
9 | # This program is distributed in the hope that it will be useful, |
10 | # but WITHOUT ANY WARRANTY, to the extent permitted by law; without | |
11 | # even the implied warranty of MERCHANTABILITY or FITNESS FOR A | |
12 | # PARTICULAR PURPOSE. | |
84563040 | 13 | |
d0ac1c44 | 14 | m4_ifndef([AC_CONFIG_MACRO_DIRS], [m4_defun([_AM_CONFIG_MACRO_DIRS], [])m4_defun([AC_CONFIG_MACRO_DIRS], [_AM_CONFIG_MACRO_DIRS($@)])]) |
c9a1864a YQ |
15 | # AM_CONDITIONAL -*- Autoconf -*- |
16 | ||
d0ac1c44 | 17 | # Copyright (C) 1997-2017 Free Software Foundation, Inc. |
c9a1864a YQ |
18 | # |
19 | # This file is free software; the Free Software Foundation | |
20 | # gives unlimited permission to copy and/or distribute it, | |
21 | # with or without modifications, as long as this notice is preserved. | |
22 | ||
c9a1864a YQ |
23 | # AM_CONDITIONAL(NAME, SHELL-CONDITION) |
24 | # ------------------------------------- | |
25 | # Define a conditional. | |
26 | AC_DEFUN([AM_CONDITIONAL], | |
d0ac1c44 SM |
27 | [AC_PREREQ([2.52])dnl |
28 | m4_if([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])], | |
29 | [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl | |
c9a1864a YQ |
30 | AC_SUBST([$1_TRUE])dnl |
31 | AC_SUBST([$1_FALSE])dnl | |
32 | _AM_SUBST_NOTMAKE([$1_TRUE])dnl | |
33 | _AM_SUBST_NOTMAKE([$1_FALSE])dnl | |
34 | m4_define([_AM_COND_VALUE_$1], [$2])dnl | |
35 | if $2; then | |
36 | $1_TRUE= | |
37 | $1_FALSE='#' | |
38 | else | |
39 | $1_TRUE='#' | |
40 | $1_FALSE= | |
41 | fi | |
42 | AC_CONFIG_COMMANDS_PRE( | |
43 | [if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then | |
44 | AC_MSG_ERROR([[conditional "$1" was never defined. | |
45 | Usually this means the macro was only invoked conditionally.]]) | |
46 | fi])]) | |
47 | ||
c9a1864a YQ |
48 | # Add --enable-maintainer-mode option to configure. -*- Autoconf -*- |
49 | # From Jim Meyering | |
50 | ||
d0ac1c44 | 51 | # Copyright (C) 1996-2017 Free Software Foundation, Inc. |
c9a1864a YQ |
52 | # |
53 | # This file is free software; the Free Software Foundation | |
54 | # gives unlimited permission to copy and/or distribute it, | |
55 | # with or without modifications, as long as this notice is preserved. | |
56 | ||
c9a1864a YQ |
57 | # AM_MAINTAINER_MODE([DEFAULT-MODE]) |
58 | # ---------------------------------- | |
59 | # Control maintainer-specific portions of Makefiles. | |
d0ac1c44 SM |
60 | # Default is to disable them, unless 'enable' is passed literally. |
61 | # For symmetry, 'disable' may be passed as well. Anyway, the user | |
c9a1864a YQ |
62 | # can override the default with the --enable/--disable switch. |
63 | AC_DEFUN([AM_MAINTAINER_MODE], | |
64 | [m4_case(m4_default([$1], [disable]), | |
65 | [enable], [m4_define([am_maintainer_other], [disable])], | |
66 | [disable], [m4_define([am_maintainer_other], [enable])], | |
67 | [m4_define([am_maintainer_other], [enable]) | |
68 | m4_warn([syntax], [unexpected argument to AM@&t@_MAINTAINER_MODE: $1])]) | |
d0ac1c44 | 69 | AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles]) |
c9a1864a YQ |
70 | dnl maintainer-mode's default is 'disable' unless 'enable' is passed |
71 | AC_ARG_ENABLE([maintainer-mode], | |
d0ac1c44 SM |
72 | [AS_HELP_STRING([--]am_maintainer_other[-maintainer-mode], |
73 | am_maintainer_other[ make rules and dependencies not useful | |
74 | (and sometimes confusing) to the casual installer])], | |
75 | [USE_MAINTAINER_MODE=$enableval], | |
76 | [USE_MAINTAINER_MODE=]m4_if(am_maintainer_other, [enable], [no], [yes])) | |
c9a1864a YQ |
77 | AC_MSG_RESULT([$USE_MAINTAINER_MODE]) |
78 | AM_CONDITIONAL([MAINTAINER_MODE], [test $USE_MAINTAINER_MODE = yes]) | |
79 | MAINT=$MAINTAINER_MODE_TRUE | |
80 | AC_SUBST([MAINT])dnl | |
81 | ] | |
82 | ) | |
83 | ||
d0ac1c44 | 84 | # Copyright (C) 2006-2017 Free Software Foundation, Inc. |
c9a1864a YQ |
85 | # |
86 | # This file is free software; the Free Software Foundation | |
87 | # gives unlimited permission to copy and/or distribute it, | |
88 | # with or without modifications, as long as this notice is preserved. | |
89 | ||
c9a1864a YQ |
90 | # _AM_SUBST_NOTMAKE(VARIABLE) |
91 | # --------------------------- | |
92 | # Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in. | |
93 | # This macro is traced by Automake. | |
94 | AC_DEFUN([_AM_SUBST_NOTMAKE]) | |
95 | ||
96 | # AM_SUBST_NOTMAKE(VARIABLE) | |
d0ac1c44 | 97 | # -------------------------- |
c9a1864a YQ |
98 | # Public sister of _AM_SUBST_NOTMAKE. |
99 | AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)]) | |
100 | ||
dcdb98d2 | 101 | m4_include([acinclude.m4]) |