11
11
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
12
12
# PARTICULAR PURPOSE.
14
m4_ifndef([AC_CONFIG_MACRO_DIRS], [m4_defun([_AM_CONFIG_MACRO_DIRS], [])m4_defun([AC_CONFIG_MACRO_DIRS], [_AM_CONFIG_MACRO_DIRS($@)])])
14
15
m4_ifndef([AC_AUTOCONF_VERSION],
15
16
[m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
16
17
m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.69],,
106
107
# nls.m4 serial 5 (gettext-0.18)
107
dnl Copyright (C) 1995-2003, 2005-2006, 2008-2010 Free Software Foundation,
108
dnl Copyright (C) 1995-2003, 2005-2006, 2008-2013 Free Software Foundation,
109
110
dnl This file is free software; the Free Software Foundation
110
111
dnl gives unlimited permission to copy and/or distribute it,
336
337
m4_popdef([pkg_description])
337
338
]) dnl PKG_NOARCH_INSTALLDIR
341
# PKG_CHECK_VAR(VARIABLE, MODULE, CONFIG-VARIABLE,
342
# [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])
343
# -------------------------------------------
344
# Retrieves the value of the pkg-config variable for the given module.
345
AC_DEFUN([PKG_CHECK_VAR],
346
[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl
347
AC_ARG_VAR([$1], [value of $3 for $2, overriding pkg-config])dnl
349
_PKG_CONFIG([$1], [variable="][$3]["], [$2])
350
AS_VAR_COPY([$1], [pkg_cv_][$1])
352
AS_VAR_IF([$1], [""], [$5], [$4])dnl
339
355
AC_DEFUN([YELP_HELP_INIT],
341
357
AC_REQUIRE([AC_PROG_LN_S])
531
547
m4_ifdef([_AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE([YELP_HELP_RULES])])
534
# Copyright (C) 2002-2012 Free Software Foundation, Inc.
550
# Copyright (C) 2002-2013 Free Software Foundation, Inc.
536
552
# This file is free software; the Free Software Foundation
537
553
# gives unlimited permission to copy and/or distribute it,
543
559
# generated from the m4 files accompanying Automake X.Y.
544
560
# (This private macro should not be called outside this file.)
545
561
AC_DEFUN([AM_AUTOMAKE_VERSION],
546
[am__api_version='1.12'
562
[am__api_version='1.13'
547
563
dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
548
564
dnl require some minimum version. Point them to the right macro.
549
m4_if([$1], [1.12.5], [],
565
m4_if([$1], [1.13.1], [],
550
566
[AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
562
578
# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
563
579
# This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
564
580
AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
565
[AM_AUTOMAKE_VERSION([1.12.5])dnl
581
[AM_AUTOMAKE_VERSION([1.13.1])dnl
566
582
m4_ifndef([AC_AUTOCONF_VERSION],
567
583
[m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
568
584
_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
570
586
# AM_AUX_DIR_EXPAND -*- Autoconf -*-
572
# Copyright (C) 2001-2012 Free Software Foundation, Inc.
588
# Copyright (C) 2001-2013 Free Software Foundation, Inc.
574
590
# This file is free software; the Free Software Foundation
575
591
# gives unlimited permission to copy and/or distribute it,
623
639
# AM_CONDITIONAL -*- Autoconf -*-
625
# Copyright (C) 1997-2012 Free Software Foundation, Inc.
641
# Copyright (C) 1997-2013 Free Software Foundation, Inc.
627
643
# This file is free software; the Free Software Foundation
628
644
# gives unlimited permission to copy and/or distribute it,
653
669
Usually this means the macro was only invoked conditionally.]])
656
# Copyright (C) 1999-2012 Free Software Foundation, Inc.
672
# Copyright (C) 1999-2013 Free Software Foundation, Inc.
658
674
# This file is free software; the Free Software Foundation
659
675
# gives unlimited permission to copy and/or distribute it,
845
861
# Generate code to set up dependency tracking. -*- Autoconf -*-
847
# Copyright (C) 1999-2012 Free Software Foundation, Inc.
863
# Copyright (C) 1999-2013 Free Software Foundation, Inc.
849
865
# This file is free software; the Free Software Foundation
850
866
# gives unlimited permission to copy and/or distribute it,
855
871
# ------------------------------
856
872
AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
858
# Autoconf 2.62 quotes --file arguments for eval, but not when files
874
# Older Autoconf quotes --file arguments for eval, but not when files
859
875
# are listed without --file. Let's play safe and only enable the eval
860
876
# if we detect the quoting.
861
877
case $CONFIG_FILES in
921
937
# Do all the work for Automake. -*- Autoconf -*-
923
# Copyright (C) 1996-2012 Free Software Foundation, Inc.
939
# Copyright (C) 1996-2013 Free Software Foundation, Inc.
925
941
# This file is free software; the Free Software Foundation
926
942
# gives unlimited permission to copy and/or distribute it,
941
957
# arguments mandatory, and then we can depend on a new Autoconf
942
958
# release and drop the old call support.
943
959
AC_DEFUN([AM_INIT_AUTOMAKE],
944
[AC_PREREQ([2.62])dnl
960
[AC_PREREQ([2.65])dnl
945
961
dnl Autoconf wants to disallow AM_ names. We explicitly allow
946
962
dnl the ones we care about.
947
963
m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
971
987
dnl Distinguish between old-style and new-style calls.
973
989
[AC_DIAGNOSE([obsolete],
974
[$0: two- and three-arguments forms are deprecated. For more info, see:
975
http://www.gnu.org/software/automake/manual/automake.html#Modernize-AM_INIT_AUTOMAKE-invocation])
990
[$0: two- and three-arguments forms are deprecated.])
976
991
m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
977
992
AC_SUBST([PACKAGE], [$1])dnl
978
993
AC_SUBST([VERSION], [$2])],
1026
1041
[_AM_DEPENDENCIES([OBJC])],
1027
1042
[m4_define([AC_PROG_OBJC],
1028
1043
m4_defn([AC_PROG_OBJC])[_AM_DEPENDENCIES([OBJC])])])dnl
1029
dnl Support for Objective C++ was only introduced in Autoconf 2.65,
1030
dnl but we still cater to Autoconf 2.62.
1031
m4_ifdef([AC_PROG_OBJCXX],
1032
[AC_PROVIDE_IFELSE([AC_PROG_OBJCXX],
1044
AC_PROVIDE_IFELSE([AC_PROG_OBJCXX],
1033
1045
[_AM_DEPENDENCIES([OBJCXX])],
1034
1046
[m4_define([AC_PROG_OBJCXX],
1035
m4_defn([AC_PROG_OBJCXX])[_AM_DEPENDENCIES([OBJCXX])])])])dnl
1047
m4_defn([AC_PROG_OBJCXX])[_AM_DEPENDENCIES([OBJCXX])])])dnl
1037
_AM_IF_OPTION([silent-rules], [AC_REQUIRE([AM_SILENT_RULES])])dnl
1038
dnl The 'parallel-tests' driver may need to know about EXEEXT, so add the
1039
dnl 'am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This macro
1040
dnl is hooked onto _AC_COMPILER_EXEEXT early, see below.
1049
AC_REQUIRE([AM_SILENT_RULES])dnl
1050
dnl The testsuite driver may need to know about EXEEXT, so add the
1051
dnl 'am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This
1052
dnl macro is hooked onto _AC_COMPILER_EXEEXT early, see below.
1041
1053
AC_CONFIG_COMMANDS_PRE(dnl
1042
1054
[m4_provide_if([_AM_COMPILER_EXEEXT],
1043
1055
[AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl
1072
1084
echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
1074
# Copyright (C) 2001-2012 Free Software Foundation, Inc.
1086
# Copyright (C) 2001-2013 Free Software Foundation, Inc.
1076
1088
# This file is free software; the Free Software Foundation
1077
1089
# gives unlimited permission to copy and/or distribute it,
1093
1105
AC_SUBST([install_sh])])
1095
# Copyright (C) 2003-2012 Free Software Foundation, Inc.
1107
# Copyright (C) 2003-2013 Free Software Foundation, Inc.
1097
1109
# This file is free software; the Free Software Foundation
1098
1110
# gives unlimited permission to copy and/or distribute it,
1114
1126
# Check to see how 'make' treats includes. -*- Autoconf -*-
1116
# Copyright (C) 2001-2012 Free Software Foundation, Inc.
1128
# Copyright (C) 2001-2013 Free Software Foundation, Inc.
1118
1130
# This file is free software; the Free Software Foundation
1119
1131
# gives unlimited permission to copy and/or distribute it,
1164
1176
# Fake the existence of programs that GNU maintainers use. -*- Autoconf -*-
1166
# Copyright (C) 1997-2012 Free Software Foundation, Inc.
1178
# Copyright (C) 1997-2013 Free Software Foundation, Inc.
1168
1180
# This file is free software; the Free Software Foundation
1169
1181
# gives unlimited permission to copy and/or distribute it,
1179
1191
# AM_MISSING_HAS_RUN
1180
1192
# ------------------
1181
# Define MISSING if not defined so far and test if it supports --run.
1182
# If it does, set am_missing_run to use it, otherwise, to nothing.
1193
# Define MISSING if not defined so far and test if it is modern enough.
1194
# If it is, set am_missing_run to use it, otherwise, to nothing.
1183
1195
AC_DEFUN([AM_MISSING_HAS_RUN],
1184
1196
[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
1185
1197
AC_REQUIRE_AUX_FILE([missing])dnl
1194
1206
# Use eval to expand $SHELL
1195
if eval "$MISSING --run true"; then
1196
am_missing_run="$MISSING --run "
1207
if eval "$MISSING --is-lightweight"; then
1208
am_missing_run="$MISSING "
1198
1210
am_missing_run=
1199
1211
AC_MSG_WARN(['missing' script is too old or missing])
1203
1215
# Helper functions for option handling. -*- Autoconf -*-
1205
# Copyright (C) 2001-2012 Free Software Foundation, Inc.
1217
# Copyright (C) 2001-2013 Free Software Foundation, Inc.
1207
1219
# This file is free software; the Free Software Foundation
1208
1220
# gives unlimited permission to copy and/or distribute it,
1231
1243
AC_DEFUN([_AM_IF_OPTION],
1232
1244
[m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
1234
# Copyright (C) 2001-2012 Free Software Foundation, Inc.
1246
# Copyright (C) 2001-2013 Free Software Foundation, Inc.
1236
1248
# This file is free software; the Free Software Foundation
1237
1249
# gives unlimited permission to copy and/or distribute it,
1251
1263
# Check to make sure that the build environment is sane. -*- Autoconf -*-
1253
# Copyright (C) 1996-2012 Free Software Foundation, Inc.
1265
# Copyright (C) 1996-2013 Free Software Foundation, Inc.
1255
1267
# This file is free software; the Free Software Foundation
1256
1268
# gives unlimited permission to copy and/or distribute it,
1331
1343
rm -f conftest.file
1334
# Copyright (C) 2009-2012 Free Software Foundation, Inc.
1346
# Copyright (C) 2009-2013 Free Software Foundation, Inc.
1336
1348
# This file is free software; the Free Software Foundation
1337
1349
# gives unlimited permission to copy and/or distribute it,
1391
1403
_AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl
1394
# Copyright (C) 2001-2012 Free Software Foundation, Inc.
1406
# Copyright (C) 2001-2013 Free Software Foundation, Inc.
1396
1408
# This file is free software; the Free Software Foundation
1397
1409
# gives unlimited permission to copy and/or distribute it,
1419
1431
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
1420
1432
AC_SUBST([INSTALL_STRIP_PROGRAM])])
1422
# Copyright (C) 2006-2012 Free Software Foundation, Inc.
1434
# Copyright (C) 2006-2013 Free Software Foundation, Inc.
1424
1436
# This file is free software; the Free Software Foundation
1425
1437
# gives unlimited permission to copy and/or distribute it,
1439
1451
# Check how to create a tarball. -*- Autoconf -*-
1441
# Copyright (C) 2004-2012 Free Software Foundation, Inc.
1453
# Copyright (C) 2004-2013 Free Software Foundation, Inc.
1443
1455
# This file is free software; the Free Software Foundation
1444
1456
# gives unlimited permission to copy and/or distribute it,