1 # generated automatically by aclocal 1.15.1 -*- Autoconf -*-
3 # Copyright (C) 1996-2017 Free Software Foundation, Inc.
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.
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
14 m4_ifndef([AC_CONFIG_MACRO_DIRS], [m4_defun([_AM_CONFIG_MACRO_DIRS], [])m4_defun([AC_CONFIG_MACRO_DIRS], [_AM_CONFIG_MACRO_DIRS($@)])])
15 # AM_AUX_DIR_EXPAND -*- Autoconf -*-
17 # Copyright (C) 2001-2017 Free Software Foundation, Inc.
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.
23 # For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets
24 # $ac_aux_dir to '$srcdir/foo'. In other projects, it is set to
25 # '$srcdir', '$srcdir/..', or '$srcdir/../..'.
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.
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
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
44 # harmless because $srcdir is '.', but things will broke when you
45 # start a VPATH build or use an absolute $srcdir.
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.
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.
61 AC_DEFUN([AM_AUX_DIR_EXPAND],
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`
67 # AM_CONDITIONAL -*- Autoconf -*-
69 # Copyright (C) 1997-2017 Free Software Foundation, Inc.
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.
75 # AM_CONDITIONAL(NAME, SHELL-CONDITION)
76 # -------------------------------------
77 # Define a conditional.
78 AC_DEFUN([AM_CONDITIONAL],
80 m4_if([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])],
81 [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
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
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.]])
100 # Copyright (C) 2001-2017 Free Software Foundation, Inc.
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.
108 # Define $install_sh.
109 AC_DEFUN([AM_PROG_INSTALL_SH],
110 [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
111 if test x"${install_sh+set}" != xset; then
114 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
116 install_sh="\${SHELL} $am_aux_dir/install-sh"
119 AC_SUBST([install_sh])])
121 # Add --enable-maintainer-mode option to configure. -*- Autoconf -*-
124 # Copyright (C) 1996-2017 Free Software Foundation, Inc.
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.
130 # AM_MAINTAINER_MODE([DEFAULT-MODE])
131 # ----------------------------------
132 # Control maintainer-specific portions of Makefiles.
133 # Default is to disable them, unless 'enable' is passed literally.
134 # For symmetry, 'disable' may be passed as well. Anyway, the user
135 # can override the default with the --enable/--disable switch.
136 AC_DEFUN([AM_MAINTAINER_MODE],
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])])
142 AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles])
143 dnl maintainer-mode's default is 'disable' unless 'enable' is passed
144 AC_ARG_ENABLE([maintainer-mode],
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]))
150 AC_MSG_RESULT([$USE_MAINTAINER_MODE])
151 AM_CONDITIONAL([MAINTAINER_MODE], [test $USE_MAINTAINER_MODE = yes])
152 MAINT=$MAINTAINER_MODE_TRUE
157 # Copyright (C) 2001-2017 Free Software Foundation, Inc.
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.
163 # AM_PROG_INSTALL_STRIP
164 # ---------------------
165 # One issue with vendor 'install' (even GNU) is that you can't
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
170 # always use install-sh in "make install-strip", and initialize
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
174 # Installed binaries are usually stripped using 'strip' when the user
175 # run "make install-strip". However 'strip' might not be the right
176 # tool to use in cross-compilation environments, therefore Automake
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'.
179 if test "$cross_compiling" != no; then
180 AC_CHECK_TOOL([STRIP], [strip], :)
182 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
183 AC_SUBST([INSTALL_STRIP_PROGRAM])])
185 # Copyright (C) 2006-2017 Free Software Foundation, Inc.
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.
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])
197 # AM_SUBST_NOTMAKE(VARIABLE)
198 # --------------------------
199 # Public sister of _AM_SUBST_NOTMAKE.
200 AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
202 m4_include([../config/acx.m4])
203 m4_include([../config/ax_pthread.m4])
204 m4_include([../config/bfd64.m4])
205 m4_include([../config/debuginfod.m4])
206 m4_include([../config/depstand.m4])
207 m4_include([../config/enable.m4])
208 m4_include([../config/gettext-sister.m4])
209 m4_include([../config/largefile.m4])
210 m4_include([../config/lead-dot.m4])
211 m4_include([../config/override.m4])
212 m4_include([../config/pkg.m4])
213 m4_include([../config/plugins.m4])
214 m4_include([../config/tcl.m4])
215 m4_include([acinclude.m4])