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.
85
86
GLIB_GENMARSHAL=`$PKG_CONFIG --variable=glib_genmarshal glib-2.0`
86
87
GOBJECT_QUERY=`$PKG_CONFIG --variable=gobject_query glib-2.0`
87
88
GLIB_MKENUMS=`$PKG_CONFIG --variable=glib_mkenums glib-2.0`
89
GLIB_COMPILE_RESOURCES=`$PKG_CONFIG --variable=glib_compile_resources gio-2.0`
89
91
GLIB_CFLAGS=`$PKG_CONFIG --cflags $pkg_config_args`
90
92
GLIB_LIBS=`$PKG_CONFIG --libs $pkg_config_args`
292
296
# ----------------------------------
293
297
AC_DEFUN([PKG_PROG_PKG_CONFIG],
294
298
[m4_pattern_forbid([^_?PKG_[A-Z_]+$])
295
m4_pattern_allow([^PKG_CONFIG(_PATH)?$])
299
m4_pattern_allow([^PKG_CONFIG(_(PATH|LIBDIR|SYSROOT_DIR|ALLOW_SYSTEM_(CFLAGS|LIBS)))?$])
300
m4_pattern_allow([^PKG_CONFIG_(DISABLE_UNINSTALLED|TOP_BUILD_DIR|DEBUG_SPEW)$])
296
301
AC_ARG_VAR([PKG_CONFIG], [path to pkg-config utility])
297
302
AC_ARG_VAR([PKG_CONFIG_PATH], [directories to add to pkg-config's search path])
298
303
AC_ARG_VAR([PKG_CONFIG_LIBDIR], [path overriding pkg-config's built-in search path])
338
343
pkg_cv_[]$1="$$1"
339
344
elif test -n "$PKG_CONFIG"; then
340
345
PKG_CHECK_EXISTS([$3],
341
[pkg_cv_[]$1=`$PKG_CONFIG --[]$2 "$3" 2>/dev/null`],
346
[pkg_cv_[]$1=`$PKG_CONFIG --[]$2 "$3" 2>/dev/null`
347
test "x$?" != "x0" && pkg_failed=yes ],
342
348
[pkg_failed=yes])
344
350
pkg_failed=untried
386
392
AC_MSG_RESULT([no])
387
393
_PKG_SHORT_ERRORS_SUPPORTED
388
394
if test $_pkg_short_errors_supported = yes; then
389
$1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "$2" 2>&1`
395
$1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$2" 2>&1`
391
$1[]_PKG_ERRORS=`$PKG_CONFIG --print-errors "$2" 2>&1`
397
$1[]_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$2" 2>&1`
393
399
# Put the nasty error message in config.log where it belongs
394
400
echo "$$1[]_PKG_ERRORS" >&AS_MESSAGE_LOG_FD
423
429
])# PKG_CHECK_MODULES
425
# Copyright (C) 2002, 2003, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
431
# Copyright (C) 2002, 2003, 2005, 2006, 2007, 2008, 2011 Free Software
427
434
# This file is free software; the Free Software Foundation
428
435
# gives unlimited permission to copy and/or distribute it,
429
436
# with or without modifications, as long as this notice is preserved.
431
440
# AM_AUTOMAKE_VERSION(VERSION)
432
441
# ----------------------------
433
442
# Automake X.Y traces this macro to ensure aclocal.m4 has been
437
446
[am__api_version='1.11'
438
447
dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
439
448
dnl require some minimum version. Point them to the right macro.
440
m4_if([$1], [1.11.1], [],
449
m4_if([$1], [1.11.3], [],
441
450
[AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
453
462
# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
454
463
# This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
455
464
AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
456
[AM_AUTOMAKE_VERSION([1.11.1])dnl
465
[AM_AUTOMAKE_VERSION([1.11.3])dnl
457
466
m4_ifndef([AC_AUTOCONF_VERSION],
458
467
[m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
459
468
_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
461
470
# AM_AUX_DIR_EXPAND -*- Autoconf -*-
463
# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
472
# Copyright (C) 2001, 2003, 2005, 2011 Free Software Foundation, Inc.
465
474
# This file is free software; the Free Software Foundation
466
475
# gives unlimited permission to copy and/or distribute it,
467
476
# with or without modifications, as long as this notice is preserved.
469
480
# For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets
470
481
# $ac_aux_dir to `$srcdir/foo'. In other projects, it is set to
471
482
# `$srcdir', `$srcdir/..', or `$srcdir/../..'.
547
558
Usually this means the macro was only invoked conditionally.]])
550
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2009
551
# Free Software Foundation, Inc.
561
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2009,
562
# 2010, 2011 Free Software Foundation, Inc.
553
564
# This file is free software; the Free Software Foundation
554
565
# gives unlimited permission to copy and/or distribute it,
555
566
# with or without modifications, as long as this notice is preserved.
559
570
# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
560
571
# written in clear, in which case automake, when reading aclocal.m4,
594
605
# instance it was reported that on HP-UX the gcc test will end up
595
606
# making a dummy file named `D' -- because `-MD' means `put the output
597
609
mkdir conftest.dir
598
610
# Copy depcomp to subdir because otherwise we won't find it if we're
599
611
# using a relative directory.
661
msvisualcpp | msvcmsys)
673
msvc7 | msvc7msys | msvisualcpp | msvcmsys)
662
674
# This compiler won't grok `-c -o', but also, the minuso test has
663
675
# not run yet. These depmodes are late enough in the game, and
664
676
# so weak that their functioning should not be impacted.
723
735
if test "x$enable_dependency_tracking" != xno; then
724
736
am_depcomp="$ac_aux_dir/depcomp"
725
737
AMDEPBACKSLASH='\'
727
740
AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
728
741
AC_SUBST([AMDEPBACKSLASH])dnl
729
742
_AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl
743
AC_SUBST([am__nodep])dnl
744
_AM_SUBST_NOTMAKE([am__nodep])dnl
732
747
# Generate code to set up dependency tracking. -*- Autoconf -*-
949
964
echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
951
# Copyright (C) 2001, 2003, 2005, 2008 Free Software Foundation, Inc.
966
# Copyright (C) 2001, 2003, 2005, 2008, 2011 Free Software Foundation,
953
969
# This file is free software; the Free Software Foundation
954
970
# gives unlimited permission to copy and/or distribute it,
955
971
# with or without modifications, as long as this notice is preserved.
957
975
# AM_PROG_INSTALL_SH
958
976
# ------------------
959
977
# Define $install_sh.
1088
# Copyright (C) 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1106
# Copyright (C) 2003, 2004, 2005, 2006, 2011 Free Software Foundation,
1090
1109
# This file is free software; the Free Software Foundation
1091
1110
# gives unlimited permission to copy and/or distribute it,
1092
1111
# with or without modifications, as long as this notice is preserved.
1094
1115
# AM_PROG_MKDIR_P
1095
1116
# ---------------
1096
1117
# Check for `mkdir -p'.
1114
1135
# Helper functions for option handling. -*- Autoconf -*-
1116
# Copyright (C) 2001, 2002, 2003, 2005, 2008 Free Software Foundation, Inc.
1137
# Copyright (C) 2001, 2002, 2003, 2005, 2008, 2010 Free Software
1118
1140
# This file is free software; the Free Software Foundation
1119
1141
# gives unlimited permission to copy and/or distribute it,
1120
1142
# with or without modifications, as long as this notice is preserved.
1124
1146
# _AM_MANGLE_OPTION(NAME)
1125
1147
# -----------------------
1127
1149
[[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])
1129
1151
# _AM_SET_OPTION(NAME)
1130
# ------------------------------
1152
# --------------------
1131
1153
# Set option NAME. Presently that only means defining a flag for this option.
1132
1154
AC_DEFUN([_AM_SET_OPTION],
1133
1155
[m4_define(_AM_MANGLE_OPTION([$1]), 1)])
1135
1157
# _AM_SET_OPTIONS(OPTIONS)
1136
# ----------------------------------
1158
# ------------------------
1137
1159
# OPTIONS is a space-separated list of Automake options.
1138
1160
AC_DEFUN([_AM_SET_OPTIONS],
1139
1161
[m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
1144
1166
AC_DEFUN([_AM_IF_OPTION],
1145
1167
[m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
1147
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2008, 2009
1148
# Free Software Foundation, Inc.
1169
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2008, 2009,
1170
# 2011 Free Software Foundation, Inc.
1150
1172
# This file is free software; the Free Software Foundation
1151
1173
# gives unlimited permission to copy and/or distribute it,
1152
1174
# with or without modifications, as long as this notice is preserved.
1154
1178
# AM_PATH_PYTHON([MINIMUM-VERSION], [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])
1155
1179
# ---------------------------------------------------------------------------
1156
1180
# Adds support for distributing Python modules and packages. To
1178
1202
dnl Find a Python interpreter. Python versions prior to 2.0 are not
1179
1203
dnl supported. (2.0 was released on October 16, 2000).
1180
1204
m4_define_default([_AM_PYTHON_INTERPRETER_LIST],
1181
[python python2 python3 python3.0 python2.5 python2.4 python2.3 python2.2 dnl
1182
python2.1 python2.0])
1205
[python python2 python3 python3.2 python3.1 python3.0 python2.7 dnl
1206
python2.6 python2.5 python2.4 python2.3 python2.2 python2.1 python2.0])
1208
AC_ARG_VAR([PYTHON], [the Python interpreter])
1184
1210
m4_if([$1],[],[
1185
1211
dnl No version check is needed.
1251
1277
dnl site-packages directory, not the python standard library
1252
1278
dnl directory like in previous automake betas. This behavior
1253
1279
dnl is more consistent with lispdir.m4 for example.
1254
dnl Query distutils for this directory. distutils does not exist in
1255
dnl Python 1.5, so we fall back to the hardcoded directory if it
1280
dnl Query distutils for this directory.
1257
1281
AC_CACHE_CHECK([for $am_display_PYTHON script directory],
1258
1282
[am_cv_python_pythondir],
1259
1283
[if test "x$prefix" = xNONE
1263
1287
am_py_prefix=$prefix
1265
am_cv_python_pythondir=`$PYTHON -c "import sys; from distutils import sysconfig; sys.stdout.write(sysconfig.get_python_lib(0,0,prefix='$am_py_prefix'))" 2>/dev/null ||
1266
echo "$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages"`
1289
am_cv_python_pythondir=`$PYTHON -c "import sys; from distutils import sysconfig; sys.stdout.write(sysconfig.get_python_lib(0,0,prefix='$am_py_prefix'))" 2>/dev/null`
1267
1290
case $am_cv_python_pythondir in
1268
1291
$am_py_prefix*)
1269
1292
am__strip_prefix=`echo "$am_py_prefix" | sed 's|.|.|g'`
1290
1313
dnl pyexecdir -- directory for installing python extension modules
1291
1314
dnl (shared libraries)
1292
dnl Query distutils for this directory. distutils does not exist in
1293
dnl Python 1.5, so we fall back to the hardcoded directory if it
1315
dnl Query distutils for this directory.
1295
1316
AC_CACHE_CHECK([for $am_display_PYTHON extension module directory],
1296
1317
[am_cv_python_pyexecdir],
1297
1318
[if test "x$exec_prefix" = xNONE
1301
1322
am_py_exec_prefix=$exec_prefix
1303
am_cv_python_pyexecdir=`$PYTHON -c "import sys; from distutils import sysconfig; sys.stdout.write(sysconfig.get_python_lib(1,0,prefix='$am_py_exec_prefix'))" 2>/dev/null ||
1304
echo "$PYTHON_EXEC_PREFIX/lib/python$PYTHON_VERSION/site-packages"`
1324
am_cv_python_pyexecdir=`$PYTHON -c "import sys; from distutils import sysconfig; sys.stdout.write(sysconfig.get_python_lib(1,0,prefix='$am_py_exec_prefix'))" 2>/dev/null`
1305
1325
case $am_cv_python_pyexecdir in
1306
1326
$am_py_exec_prefix*)
1307
1327
am__strip_prefix=`echo "$am_py_exec_prefix" | sed 's|.|.|g'`
1349
1369
sys.exit(sys.hexversion < minverhex)"
1350
1370
AS_IF([AM_RUN_LOG([$1 -c "$prog"])], [$3], [$4])])
1352
# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
1372
# Copyright (C) 2001, 2003, 2005, 2011 Free Software Foundation, Inc.
1354
1374
# This file is free software; the Free Software Foundation
1355
1375
# gives unlimited permission to copy and/or distribute it,
1356
1376
# with or without modifications, as long as this notice is preserved.
1358
1380
# AM_RUN_LOG(COMMAND)
1359
1381
# -------------------
1360
1382
# Run COMMAND, save the exit status in ac_status, and log it.
1432
1454
AC_MSG_RESULT(yes)])
1434
# Copyright (C) 2009 Free Software Foundation, Inc.
1456
# Copyright (C) 2009, 2011 Free Software Foundation, Inc.
1436
1458
# This file is free software; the Free Software Foundation
1437
1459
# gives unlimited permission to copy and/or distribute it,
1438
1460
# with or without modifications, as long as this notice is preserved.
1442
1464
# AM_SILENT_RULES([DEFAULT])
1443
1465
# --------------------------
1452
1474
no) AM_DEFAULT_VERBOSITY=1;;
1453
1475
*) AM_DEFAULT_VERBOSITY=m4_if([$1], [yes], [0], [1]);;
1478
dnl A few `make' implementations (e.g., NonStop OS and NextStep)
1479
dnl do not support nested variable expansions.
1480
dnl See automake bug#9928 and bug#10237.
1481
am_make=${MAKE-make}
1482
AC_CACHE_CHECK([whether $am_make supports nested variables],
1483
[am_cv_make_support_nested_variables],
1484
[if AS_ECHO([['TRUE=$(BAR$(V))
1490
.PHONY: am__doit']]) | $am_make -f - >/dev/null 2>&1; then
1491
am_cv_make_support_nested_variables=yes
1493
am_cv_make_support_nested_variables=no
1495
if test $am_cv_make_support_nested_variables = yes; then
1496
dnl Using `$V' instead of `$(V)' breaks IRIX make.
1498
AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
1500
AM_V=$AM_DEFAULT_VERBOSITY
1501
AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
1504
AM_SUBST_NOTMAKE([AM_V])dnl
1505
AC_SUBST([AM_DEFAULT_V])dnl
1506
AM_SUBST_NOTMAKE([AM_DEFAULT_V])dnl
1455
1507
AC_SUBST([AM_DEFAULT_VERBOSITY])dnl
1456
1508
AM_BACKSLASH='\'
1457
1509
AC_SUBST([AM_BACKSLASH])dnl
1458
1510
_AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl
1461
# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
1513
# Copyright (C) 2001, 2003, 2005, 2011 Free Software Foundation, Inc.
1463
1515
# This file is free software; the Free Software Foundation
1464
1516
# gives unlimited permission to copy and/or distribute it,
1465
1517
# with or without modifications, as long as this notice is preserved.
1467
1521
# AM_PROG_INSTALL_STRIP
1468
1522
# ---------------------
1469
1523
# One issue with vendor `install' (even GNU) is that you can't
1486
1540
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
1487
1541
AC_SUBST([INSTALL_STRIP_PROGRAM])])
1489
# Copyright (C) 2006, 2008 Free Software Foundation, Inc.
1543
# Copyright (C) 2006, 2008, 2010 Free Software Foundation, Inc.
1491
1545
# This file is free software; the Free Software Foundation
1492
1546
# gives unlimited permission to copy and/or distribute it,
1493
1547
# with or without modifications, as long as this notice is preserved.
1497
1551
# _AM_SUBST_NOTMAKE(VARIABLE)
1498
1552
# ---------------------------
1501
1555
AC_DEFUN([_AM_SUBST_NOTMAKE])
1503
1557
# AM_SUBST_NOTMAKE(VARIABLE)
1504
# ---------------------------
1558
# --------------------------
1505
1559
# Public sister of _AM_SUBST_NOTMAKE.
1506
1560
AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
1508
1562
# Check how to create a tarball. -*- Autoconf -*-
1510
# Copyright (C) 2004, 2005 Free Software Foundation, Inc.
1564
# Copyright (C) 2004, 2005, 2012 Free Software Foundation, Inc.
1512
1566
# This file is free software; the Free Software Foundation
1513
1567
# gives unlimited permission to copy and/or distribute it,
1529
1583
# a tarball read from stdin.
1530
1584
# $(am__untar) < result.tar
1531
1585
AC_DEFUN([_AM_PROG_TAR],
1532
[# Always define AMTAR for backward compatibility.
1533
AM_MISSING_PROG([AMTAR], [tar])
1586
[# Always define AMTAR for backward compatibility. Yes, it's still used
1587
# in the wild :-( We should find a proper way to deprecate it ...
1588
AC_SUBST([AMTAR], ['$${TAR-tar}'])
1534
1589
m4_if([$1], [v7],
1535
[am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'],
1590
[am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'],
1536
1591
[m4_case([$1], [ustar],, [pax],,
1537
1592
[m4_fatal([Unknown tar format])])
1538
1593
AC_MSG_CHECKING([how to create a $1 tar archive])