| 1 |
# generated automatically by aclocal 1.15.1 -*- Autoconf -*- |
| 2 |
|
| 3 |
# Copyright (C) 1996-2017 Free Software Foundation, Inc. |
| 4 |
|
| 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. |
| 8 |
|
| 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. |
| 13 |
|
| 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 -*- |
| 16 |
|
| 17 |
# Copyright (C) 2001-2017 Free Software Foundation, Inc. |
| 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 |
| 24 |
# $ac_aux_dir to '$srcdir/foo'. In other projects, it is set to |
| 25 |
# '$srcdir', '$srcdir/..', or '$srcdir/../..'. |
| 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 |
| 44 |
# harmless because $srcdir is '.', but things will broke when you |
| 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], |
| 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` |
| 65 |
]) |
| 66 |
|
| 67 |
# AM_CONDITIONAL -*- Autoconf -*- |
| 68 |
|
| 69 |
# Copyright (C) 1997-2017 Free Software Foundation, Inc. |
| 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. |
| 74 |
|
| 75 |
# AM_CONDITIONAL(NAME, SHELL-CONDITION) |
| 76 |
# ------------------------------------- |
| 77 |
# Define a conditional. |
| 78 |
AC_DEFUN([AM_CONDITIONAL], |
| 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 |
| 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 |
| 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 |
|
| 100 |
# Copyright (C) 2001-2017 Free Software Foundation, Inc. |
| 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 |
| 111 |
if test x"${install_sh+set}" != xset; then |
| 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 |
| 119 |
AC_SUBST([install_sh])]) |
| 120 |
|
| 121 |
# Add --enable-maintainer-mode option to configure. -*- Autoconf -*- |
| 122 |
# From Jim Meyering |
| 123 |
|
| 124 |
# Copyright (C) 1996-2017 Free Software Foundation, Inc. |
| 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. |
| 129 |
|
| 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 |
| 153 |
AC_SUBST([MAINT])dnl |
| 154 |
] |
| 155 |
) |
| 156 |
|
| 157 |
# Copyright (C) 2001-2017 Free Software Foundation, Inc. |
| 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 |
# --------------------- |
| 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], :) |
| 181 |
fi |
| 182 |
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" |
| 183 |
AC_SUBST([INSTALL_STRIP_PROGRAM])]) |
| 184 |
|
| 185 |
# Copyright (C) 2006-2017 Free Software Foundation, Inc. |
| 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 |
|
| 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) |
| 198 |
# -------------------------- |
| 199 |
# Public sister of _AM_SUBST_NOTMAKE. |
| 200 |
AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)]) |
| 201 |
|
| 202 |
m4_include([../config/acx.m4]) |
| 203 |
m4_include([../config/ax_pthread.m4]) |
| 204 |
m4_include([../config/depstand.m4]) |
| 205 |
m4_include([../config/gettext-sister.m4]) |
| 206 |
m4_include([../config/gettext.m4]) |
| 207 |
m4_include([../config/intlmacosx.m4]) |
| 208 |
m4_include([../config/lead-dot.m4]) |
| 209 |
m4_include([../config/nls.m4]) |
| 210 |
m4_include([../config/override.m4]) |
| 211 |
m4_include([../config/po.m4]) |
| 212 |
m4_include([../config/progtest.m4]) |
| 213 |
m4_include([acinclude.m4]) |