Commit | Line | Data |
---|---|---|
d0ac1c44 SM |
1 | # generated automatically by aclocal 1.15.1 -*- Autoconf -*- |
2 | ||
3 | # Copyright (C) 1996-2017 Free Software Foundation, Inc. | |
c906108c | 4 | |
85981d60 AC |
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. | |
c906108c | 8 | |
85981d60 AC |
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. | |
e17bf198 | 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($@)])]) |
4869db5e RM |
15 | # AM_AUX_DIR_EXPAND -*- Autoconf -*- |
16 | ||
d0ac1c44 | 17 | # Copyright (C) 2001-2017 Free Software Foundation, Inc. |
4869db5e RM |
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 | ||
23 | # For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets | |
d0ac1c44 SM |
24 | # $ac_aux_dir to '$srcdir/foo'. In other projects, it is set to |
25 | # '$srcdir', '$srcdir/..', or '$srcdir/../..'. | |
4869db5e RM |
26 | # |
27 | # Of course, Automake must honor this variable whenever it calls a | |
28 | # tool from the auxiliary directory. The problem is that $srcdir (and | |
29 | # therefore $ac_aux_dir as well) can be either absolute or relative, | |
30 | # depending on how configure is run. This is pretty annoying, since | |
31 | # it makes $ac_aux_dir quite unusable in subdirectories: in the top | |
32 | # source directory, any form will work fine, but in subdirectories a | |
33 | # relative path needs to be adjusted first. | |
34 | # | |
35 | # $ac_aux_dir/missing | |
36 | # fails when called from a subdirectory if $ac_aux_dir is relative | |
37 | # $top_srcdir/$ac_aux_dir/missing | |
38 | # fails if $ac_aux_dir is absolute, | |
39 | # fails when called from a subdirectory in a VPATH build with | |
40 | # a relative $ac_aux_dir | |
41 | # | |
42 | # The reason of the latter failure is that $top_srcdir and $ac_aux_dir | |
43 | # are both prefixed by $srcdir. In an in-source build this is usually | |
d0ac1c44 | 44 | # harmless because $srcdir is '.', but things will broke when you |
4869db5e RM |
45 | # start a VPATH build or use an absolute $srcdir. |
46 | # | |
47 | # So we could use something similar to $top_srcdir/$ac_aux_dir/missing, | |
48 | # iff we strip the leading $srcdir from $ac_aux_dir. That would be: | |
49 | # am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"` | |
50 | # and then we would define $MISSING as | |
51 | # MISSING="\${SHELL} $am_aux_dir/missing" | |
52 | # This will work as long as MISSING is not called from configure, because | |
53 | # unfortunately $(top_srcdir) has no meaning in configure. | |
54 | # However there are other variables, like CC, which are often used in | |
55 | # configure, and could therefore not use this "fixed" $ac_aux_dir. | |
56 | # | |
57 | # Another solution, used here, is to always expand $ac_aux_dir to an | |
58 | # absolute PATH. The drawback is that using absolute paths prevent a | |
59 | # configured tree to be moved without reconfiguration. | |
60 | ||
61 | AC_DEFUN([AM_AUX_DIR_EXPAND], | |
d0ac1c44 SM |
62 | [AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT])dnl |
63 | # Expand $ac_aux_dir to an absolute path. | |
64 | am_aux_dir=`cd "$ac_aux_dir" && pwd` | |
4869db5e RM |
65 | ]) |
66 | ||
20e95c23 | 67 | # AM_CONDITIONAL -*- Autoconf -*- |
46711df8 | 68 | |
d0ac1c44 | 69 | # Copyright (C) 1997-2017 Free Software Foundation, Inc. |
20e95c23 DJ |
70 | # |
71 | # This file is free software; the Free Software Foundation | |
72 | # gives unlimited permission to copy and/or distribute it, | |
73 | # with or without modifications, as long as this notice is preserved. | |
60bf0650 | 74 | |
60bf0650 MM |
75 | # AM_CONDITIONAL(NAME, SHELL-CONDITION) |
76 | # ------------------------------------- | |
77 | # Define a conditional. | |
78 | AC_DEFUN([AM_CONDITIONAL], | |
d0ac1c44 SM |
79 | [AC_PREREQ([2.52])dnl |
80 | m4_if([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])], | |
81 | [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl | |
81ecdfbb RW |
82 | AC_SUBST([$1_TRUE])dnl |
83 | AC_SUBST([$1_FALSE])dnl | |
84 | _AM_SUBST_NOTMAKE([$1_TRUE])dnl | |
85 | _AM_SUBST_NOTMAKE([$1_FALSE])dnl | |
86 | m4_define([_AM_COND_VALUE_$1], [$2])dnl | |
60bf0650 MM |
87 | if $2; then |
88 | $1_TRUE= | |
89 | $1_FALSE='#' | |
90 | else | |
91 | $1_TRUE='#' | |
92 | $1_FALSE= | |
93 | fi | |
94 | AC_CONFIG_COMMANDS_PRE( | |
95 | [if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then | |
96 | AC_MSG_ERROR([[conditional "$1" was never defined. | |
97 | Usually this means the macro was only invoked conditionally.]]) | |
98 | fi])]) | |
99 | ||
d0ac1c44 | 100 | # Copyright (C) 2001-2017 Free Software Foundation, Inc. |
4869db5e RM |
101 | # |
102 | # This file is free software; the Free Software Foundation | |
103 | # gives unlimited permission to copy and/or distribute it, | |
104 | # with or without modifications, as long as this notice is preserved. | |
105 | ||
106 | # AM_PROG_INSTALL_SH | |
107 | # ------------------ | |
108 | # Define $install_sh. | |
109 | AC_DEFUN([AM_PROG_INSTALL_SH], | |
110 | [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl | |
d0ac1c44 | 111 | if test x"${install_sh+set}" != xset; then |
4869db5e RM |
112 | case $am_aux_dir in |
113 | *\ * | *\ *) | |
114 | install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; | |
115 | *) | |
116 | install_sh="\${SHELL} $am_aux_dir/install-sh" | |
117 | esac | |
118 | fi | |
d0ac1c44 | 119 | AC_SUBST([install_sh])]) |
4869db5e | 120 | |
20e95c23 | 121 | # Add --enable-maintainer-mode option to configure. -*- Autoconf -*- |
60bf0650 MM |
122 | # From Jim Meyering |
123 | ||
d0ac1c44 | 124 | # Copyright (C) 1996-2017 Free Software Foundation, Inc. |
20e95c23 DJ |
125 | # |
126 | # This file is free software; the Free Software Foundation | |
127 | # gives unlimited permission to copy and/or distribute it, | |
128 | # with or without modifications, as long as this notice is preserved. | |
60bf0650 | 129 | |
81ecdfbb RW |
130 | # AM_MAINTAINER_MODE([DEFAULT-MODE]) |
131 | # ---------------------------------- | |
132 | # Control maintainer-specific portions of Makefiles. | |
d0ac1c44 SM |
133 | # Default is to disable them, unless 'enable' is passed literally. |
134 | # For symmetry, 'disable' may be passed as well. Anyway, the user | |
81ecdfbb | 135 | # can override the default with the --enable/--disable switch. |
85981d60 | 136 | AC_DEFUN([AM_MAINTAINER_MODE], |
81ecdfbb RW |
137 | [m4_case(m4_default([$1], [disable]), |
138 | [enable], [m4_define([am_maintainer_other], [disable])], | |
139 | [disable], [m4_define([am_maintainer_other], [enable])], | |
140 | [m4_define([am_maintainer_other], [enable]) | |
141 | m4_warn([syntax], [unexpected argument to AM@&t@_MAINTAINER_MODE: $1])]) | |
44122162 | 142 | AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles]) |
81ecdfbb RW |
143 | dnl maintainer-mode's default is 'disable' unless 'enable' is passed |
144 | AC_ARG_ENABLE([maintainer-mode], | |
d0ac1c44 SM |
145 | [AS_HELP_STRING([--]am_maintainer_other[-maintainer-mode], |
146 | am_maintainer_other[ make rules and dependencies not useful | |
147 | (and sometimes confusing) to the casual installer])], | |
148 | [USE_MAINTAINER_MODE=$enableval], | |
149 | [USE_MAINTAINER_MODE=]m4_if(am_maintainer_other, [enable], [no], [yes])) | |
85981d60 | 150 | AC_MSG_RESULT([$USE_MAINTAINER_MODE]) |
81ecdfbb | 151 | AM_CONDITIONAL([MAINTAINER_MODE], [test $USE_MAINTAINER_MODE = yes]) |
56157b4a | 152 | MAINT=$MAINTAINER_MODE_TRUE |
81ecdfbb | 153 | AC_SUBST([MAINT])dnl |
56157b4a AC |
154 | ] |
155 | ) | |
156 | ||
d0ac1c44 | 157 | # Copyright (C) 2001-2017 Free Software Foundation, Inc. |
4869db5e RM |
158 | # |
159 | # This file is free software; the Free Software Foundation | |
160 | # gives unlimited permission to copy and/or distribute it, | |
161 | # with or without modifications, as long as this notice is preserved. | |
162 | ||
163 | # AM_PROG_INSTALL_STRIP | |
164 | # --------------------- | |
d0ac1c44 | 165 | # One issue with vendor 'install' (even GNU) is that you can't |
4869db5e RM |
166 | # specify the program used to strip binaries. This is especially |
167 | # annoying in cross-compiling environments, where the build's strip | |
168 | # is unlikely to handle the host's binaries. | |
169 | # Fortunately install-sh will honor a STRIPPROG variable, so we | |
d0ac1c44 | 170 | # always use install-sh in "make install-strip", and initialize |
4869db5e RM |
171 | # STRIPPROG with the value of the STRIP variable (set by the user). |
172 | AC_DEFUN([AM_PROG_INSTALL_STRIP], | |
173 | [AC_REQUIRE([AM_PROG_INSTALL_SH])dnl | |
d0ac1c44 SM |
174 | # Installed binaries are usually stripped using 'strip' when the user |
175 | # run "make install-strip". However 'strip' might not be the right | |
4869db5e | 176 | # tool to use in cross-compilation environments, therefore Automake |
d0ac1c44 SM |
177 | # will honor the 'STRIP' environment variable to overrule this program. |
178 | dnl Don't test for $cross_compiling = yes, because it might be 'maybe'. | |
4869db5e RM |
179 | if test "$cross_compiling" != no; then |
180 | AC_CHECK_TOOL([STRIP], [strip], :) | |
181 | fi | |
182 | INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" | |
183 | AC_SUBST([INSTALL_STRIP_PROGRAM])]) | |
184 | ||
d0ac1c44 | 185 | # Copyright (C) 2006-2017 Free Software Foundation, Inc. |
81ecdfbb RW |
186 | # |
187 | # This file is free software; the Free Software Foundation | |
188 | # gives unlimited permission to copy and/or distribute it, | |
189 | # with or without modifications, as long as this notice is preserved. | |
190 | ||
81ecdfbb RW |
191 | # _AM_SUBST_NOTMAKE(VARIABLE) |
192 | # --------------------------- | |
193 | # Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in. | |
194 | # This macro is traced by Automake. | |
195 | AC_DEFUN([_AM_SUBST_NOTMAKE]) | |
196 | ||
197 | # AM_SUBST_NOTMAKE(VARIABLE) | |
44122162 | 198 | # -------------------------- |
81ecdfbb RW |
199 | # Public sister of _AM_SUBST_NOTMAKE. |
200 | AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)]) | |
201 | ||
85981d60 | 202 | m4_include([acinclude.m4]) |