1
# generated automatically by aclocal 1.11.1 -*- Autoconf -*-
1
# generated automatically by aclocal 1.11.3 -*- Autoconf -*-
3
3
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
4
# 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
4
# 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software Foundation,
5
6
# This file is free software; the Free Software Foundation
6
7
# gives unlimited permission to copy and/or distribute it,
7
8
# with or without modifications, as long as this notice is preserved.
14
15
m4_ifndef([AC_AUTOCONF_VERSION],
15
16
[m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
16
m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.67],,
17
[m4_warning([this file was generated for autoconf 2.67.
17
m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.68],,
18
[m4_warning([this file was generated for autoconf 2.68.
18
19
You have another version of autoconf. It may work, but is not guaranteed to.
19
20
If you have problems, you may need to regenerate the build system entirely.
20
21
To do so, use the procedure documented by the package, typically `autoreconf'.])])
47
48
# ----------------------------------
48
49
AC_DEFUN([PKG_PROG_PKG_CONFIG],
49
50
[m4_pattern_forbid([^_?PKG_[A-Z_]+$])
50
m4_pattern_allow([^PKG_CONFIG(_PATH)?$])
51
m4_pattern_allow([^PKG_CONFIG(_(PATH|LIBDIR|SYSROOT_DIR|ALLOW_SYSTEM_(CFLAGS|LIBS)))?$])
52
m4_pattern_allow([^PKG_CONFIG_(DISABLE_UNINSTALLED|TOP_BUILD_DIR|DEBUG_SPEW)$])
51
53
AC_ARG_VAR([PKG_CONFIG], [path to pkg-config utility])
52
54
AC_ARG_VAR([PKG_CONFIG_PATH], [directories to add to pkg-config's search path])
53
55
AC_ARG_VAR([PKG_CONFIG_LIBDIR], [path overriding pkg-config's built-in search path])
94
96
elif test -n "$PKG_CONFIG"; then
95
97
PKG_CHECK_EXISTS([$3],
96
[pkg_cv_[]$1=`$PKG_CONFIG --[]$2 "$3" 2>/dev/null`],
98
[pkg_cv_[]$1=`$PKG_CONFIG --[]$2 "$3" 2>/dev/null`
99
test "x$?" != "x0" && pkg_failed=yes ],
99
102
pkg_failed=untried
141
144
AC_MSG_RESULT([no])
142
145
_PKG_SHORT_ERRORS_SUPPORTED
143
146
if test $_pkg_short_errors_supported = yes; then
144
$1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "$2" 2>&1`
147
$1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$2" 2>&1`
146
$1[]_PKG_ERRORS=`$PKG_CONFIG --print-errors "$2" 2>&1`
149
$1[]_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$2" 2>&1`
148
151
# Put the nasty error message in config.log where it belongs
149
152
echo "$$1[]_PKG_ERRORS" >&AS_MESSAGE_LOG_FD
178
181
])# PKG_CHECK_MODULES
180
# Copyright (C) 2002, 2003, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
183
# Copyright (C) 2002, 2003, 2005, 2006, 2007, 2008, 2011 Free Software
182
186
# This file is free software; the Free Software Foundation
183
187
# gives unlimited permission to copy and/or distribute it,
184
188
# with or without modifications, as long as this notice is preserved.
186
192
# AM_AUTOMAKE_VERSION(VERSION)
187
193
# ----------------------------
188
194
# Automake X.Y traces this macro to ensure aclocal.m4 has been
192
198
[am__api_version='1.11'
193
199
dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
194
200
dnl require some minimum version. Point them to the right macro.
195
m4_if([$1], [1.11.1], [],
201
m4_if([$1], [1.11.3], [],
196
202
[AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
208
214
# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
209
215
# This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
210
216
AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
211
[AM_AUTOMAKE_VERSION([1.11.1])dnl
217
[AM_AUTOMAKE_VERSION([1.11.3])dnl
212
218
m4_ifndef([AC_AUTOCONF_VERSION],
213
219
[m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
214
220
_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
216
222
# AM_AUX_DIR_EXPAND -*- Autoconf -*-
218
# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
224
# Copyright (C) 2001, 2003, 2005, 2011 Free Software Foundation, Inc.
220
226
# This file is free software; the Free Software Foundation
221
227
# gives unlimited permission to copy and/or distribute it,
222
228
# with or without modifications, as long as this notice is preserved.
224
232
# For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets
225
233
# $ac_aux_dir to `$srcdir/foo'. In other projects, it is set to
226
234
# `$srcdir', `$srcdir/..', or `$srcdir/../..'.
302
310
Usually this means the macro was only invoked conditionally.]])
305
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2009
306
# Free Software Foundation, Inc.
313
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2009,
314
# 2010, 2011 Free Software Foundation, Inc.
308
316
# This file is free software; the Free Software Foundation
309
317
# gives unlimited permission to copy and/or distribute it,
310
318
# with or without modifications, as long as this notice is preserved.
314
322
# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
315
323
# written in clear, in which case automake, when reading aclocal.m4,
349
357
# instance it was reported that on HP-UX the gcc test will end up
350
358
# making a dummy file named `D' -- because `-MD' means `put the output
352
361
mkdir conftest.dir
353
362
# Copy depcomp to subdir because otherwise we won't find it if we're
354
363
# using a relative directory.
416
msvisualcpp | msvcmsys)
425
msvc7 | msvc7msys | msvisualcpp | msvcmsys)
417
426
# This compiler won't grok `-c -o', but also, the minuso test has
418
427
# not run yet. These depmodes are late enough in the game, and
419
428
# so weak that their functioning should not be impacted.
478
487
if test "x$enable_dependency_tracking" != xno; then
479
488
am_depcomp="$ac_aux_dir/depcomp"
480
489
AMDEPBACKSLASH='\'
482
492
AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
483
493
AC_SUBST([AMDEPBACKSLASH])dnl
484
494
_AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl
495
AC_SUBST([am__nodep])dnl
496
_AM_SUBST_NOTMAKE([am__nodep])dnl
487
499
# Generate code to set up dependency tracking. -*- Autoconf -*-
704
716
echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
706
# Copyright (C) 2001, 2003, 2005, 2008 Free Software Foundation, Inc.
718
# Copyright (C) 2001, 2003, 2005, 2008, 2011 Free Software Foundation,
708
721
# This file is free software; the Free Software Foundation
709
722
# gives unlimited permission to copy and/or distribute it,
710
723
# with or without modifications, as long as this notice is preserved.
712
727
# AM_PROG_INSTALL_SH
713
728
# ------------------
714
729
# Define $install_sh.
843
# Copyright (C) 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
858
# Copyright (C) 2003, 2004, 2005, 2006, 2011 Free Software Foundation,
845
861
# This file is free software; the Free Software Foundation
846
862
# gives unlimited permission to copy and/or distribute it,
847
863
# with or without modifications, as long as this notice is preserved.
849
867
# AM_PROG_MKDIR_P
850
868
# ---------------
851
869
# Check for `mkdir -p'.
869
887
# Helper functions for option handling. -*- Autoconf -*-
871
# Copyright (C) 2001, 2002, 2003, 2005, 2008 Free Software Foundation, Inc.
889
# Copyright (C) 2001, 2002, 2003, 2005, 2008, 2010 Free Software
873
892
# This file is free software; the Free Software Foundation
874
893
# gives unlimited permission to copy and/or distribute it,
875
894
# with or without modifications, as long as this notice is preserved.
879
898
# _AM_MANGLE_OPTION(NAME)
880
899
# -----------------------
882
901
[[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])
884
903
# _AM_SET_OPTION(NAME)
885
# ------------------------------
904
# --------------------
886
905
# Set option NAME. Presently that only means defining a flag for this option.
887
906
AC_DEFUN([_AM_SET_OPTION],
888
907
[m4_define(_AM_MANGLE_OPTION([$1]), 1)])
890
909
# _AM_SET_OPTIONS(OPTIONS)
891
# ----------------------------------
910
# ------------------------
892
911
# OPTIONS is a space-separated list of Automake options.
893
912
AC_DEFUN([_AM_SET_OPTIONS],
894
913
[m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
965
984
AC_MSG_RESULT(yes)])
967
# Copyright (C) 2009 Free Software Foundation, Inc.
986
# Copyright (C) 2009, 2011 Free Software Foundation, Inc.
969
988
# This file is free software; the Free Software Foundation
970
989
# gives unlimited permission to copy and/or distribute it,
971
990
# with or without modifications, as long as this notice is preserved.
975
994
# AM_SILENT_RULES([DEFAULT])
976
995
# --------------------------
985
1004
no) AM_DEFAULT_VERBOSITY=1;;
986
1005
*) AM_DEFAULT_VERBOSITY=m4_if([$1], [yes], [0], [1]);;
1008
dnl A few `make' implementations (e.g., NonStop OS and NextStep)
1009
dnl do not support nested variable expansions.
1010
dnl See automake bug#9928 and bug#10237.
1011
am_make=${MAKE-make}
1012
AC_CACHE_CHECK([whether $am_make supports nested variables],
1013
[am_cv_make_support_nested_variables],
1014
[if AS_ECHO([['TRUE=$(BAR$(V))
1020
.PHONY: am__doit']]) | $am_make -f - >/dev/null 2>&1; then
1021
am_cv_make_support_nested_variables=yes
1023
am_cv_make_support_nested_variables=no
1025
if test $am_cv_make_support_nested_variables = yes; then
1026
dnl Using `$V' instead of `$(V)' breaks IRIX make.
1028
AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
1030
AM_V=$AM_DEFAULT_VERBOSITY
1031
AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
1034
AM_SUBST_NOTMAKE([AM_V])dnl
1035
AC_SUBST([AM_DEFAULT_V])dnl
1036
AM_SUBST_NOTMAKE([AM_DEFAULT_V])dnl
988
1037
AC_SUBST([AM_DEFAULT_VERBOSITY])dnl
989
1038
AM_BACKSLASH='\'
990
1039
AC_SUBST([AM_BACKSLASH])dnl
991
1040
_AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl
994
# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
1043
# Copyright (C) 2001, 2003, 2005, 2011 Free Software Foundation, Inc.
996
1045
# This file is free software; the Free Software Foundation
997
1046
# gives unlimited permission to copy and/or distribute it,
998
1047
# with or without modifications, as long as this notice is preserved.
1000
1051
# AM_PROG_INSTALL_STRIP
1001
1052
# ---------------------
1002
1053
# One issue with vendor `install' (even GNU) is that you can't
1019
1070
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
1020
1071
AC_SUBST([INSTALL_STRIP_PROGRAM])])
1022
# Copyright (C) 2006, 2008 Free Software Foundation, Inc.
1073
# Copyright (C) 2006, 2008, 2010 Free Software Foundation, Inc.
1024
1075
# This file is free software; the Free Software Foundation
1025
1076
# gives unlimited permission to copy and/or distribute it,
1026
1077
# with or without modifications, as long as this notice is preserved.
1030
1081
# _AM_SUBST_NOTMAKE(VARIABLE)
1031
1082
# ---------------------------
1034
1085
AC_DEFUN([_AM_SUBST_NOTMAKE])
1036
1087
# AM_SUBST_NOTMAKE(VARIABLE)
1037
# ---------------------------
1088
# --------------------------
1038
1089
# Public sister of _AM_SUBST_NOTMAKE.
1039
1090
AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
1041
1092
# Check how to create a tarball. -*- Autoconf -*-
1043
# Copyright (C) 2004, 2005 Free Software Foundation, Inc.
1094
# Copyright (C) 2004, 2005, 2012 Free Software Foundation, Inc.
1045
1096
# This file is free software; the Free Software Foundation
1046
1097
# gives unlimited permission to copy and/or distribute it,
1062
1113
# a tarball read from stdin.
1063
1114
# $(am__untar) < result.tar
1064
1115
AC_DEFUN([_AM_PROG_TAR],
1065
[# Always define AMTAR for backward compatibility.
1066
AM_MISSING_PROG([AMTAR], [tar])
1116
[# Always define AMTAR for backward compatibility. Yes, it's still used
1117
# in the wild :-( We should find a proper way to deprecate it ...
1118
AC_SUBST([AMTAR], ['$${TAR-tar}'])
1067
1119
m4_if([$1], [v7],
1068
[am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'],
1120
[am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'],
1069
1121
[m4_case([$1], [ustar],, [pax],,
1070
1122
[m4_fatal([Unknown tar format])])
1071
1123
AC_MSG_CHECKING([how to create a $1 tar archive])