1
# generated automatically by aclocal 1.11.1 -*- Autoconf -*-
1
# generated automatically by aclocal 1.11.6 -*- 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.
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'.])])
23
dnl Defines GCONF_SCHEMA_CONFIG_SOURCE which is where you should install schemas
24
dnl (i.e. pass to gconftool-2
25
dnl Defines GCONF_SCHEMA_FILE_DIR which is a filesystem directory where
26
dnl you should install foo.schemas files
29
AC_DEFUN([AM_GCONF_SOURCE_2],
31
if test "x$GCONF_SCHEMA_INSTALL_SOURCE" = "x"; then
32
GCONF_SCHEMA_CONFIG_SOURCE=`gconftool-2 --get-default-source`
34
GCONF_SCHEMA_CONFIG_SOURCE=$GCONF_SCHEMA_INSTALL_SOURCE
37
AC_ARG_WITH([gconf-source],
38
AC_HELP_STRING([--with-gconf-source=sourceaddress],
39
[Config database for installing schema files.]),
40
[GCONF_SCHEMA_CONFIG_SOURCE="$withval"],)
42
AC_SUBST(GCONF_SCHEMA_CONFIG_SOURCE)
43
AC_MSG_RESULT([Using config source $GCONF_SCHEMA_CONFIG_SOURCE for schema installation])
45
if test "x$GCONF_SCHEMA_FILE_DIR" = "x"; then
46
GCONF_SCHEMA_FILE_DIR='$(sysconfdir)/gconf/schemas'
49
AC_ARG_WITH([gconf-schema-file-dir],
50
AC_HELP_STRING([--with-gconf-schema-file-dir=dir],
51
[Directory for installing schema files.]),
52
[GCONF_SCHEMA_FILE_DIR="$withval"],)
54
AC_SUBST(GCONF_SCHEMA_FILE_DIR)
55
AC_MSG_RESULT([Using $GCONF_SCHEMA_FILE_DIR as install directory for schema files])
57
AC_ARG_ENABLE(schemas-install,
58
AC_HELP_STRING([--disable-schemas-install],
59
[Disable the schemas installation]),
62
*) AC_MSG_ERROR([bad value ${enableval} for --enable-schemas-install]) ;;
64
AM_CONDITIONAL([GCONF_SCHEMAS_INSTALL], [test "$enable_schemas_install" != no])
67
23
# Copyright (C) 1995-2002 Free Software Foundation, Inc.
68
24
# Copyright (C) 2001-2003,2004 Red Hat, Inc.
549
505
DISABLE_DEPRECATED=""
550
506
if test $USE_MAINTAINER_MODE = yes; then
551
DOMAINS="G ATK PANGO GDK GDK_PIXBUF GTK GCONF BONOBO BONOBO_UI GNOME LIBGLADE VTE GNOME_VFS WNCK LIBSOUP"
507
DOMAINS="GCONF BONOBO BONOBO_UI GNOME LIBGLADE GNOME_VFS WNCK LIBSOUP"
552
508
for DOMAIN in $DOMAINS; do
553
509
DISABLE_DEPRECATED="$DISABLE_DEPRECATED -D${DOMAIN}_DISABLE_DEPRECATED -D${DOMAIN}_DISABLE_SINGLE_INCLUDES"
602
558
PKG_CHECK_EXISTS([gobject-introspection-1.0 >= $1], found_introspection=yes, found_introspection=no)
559
dnl Canonicalize enable_introspection
560
enable_introspection=$found_introspection
605
563
AC_MSG_ERROR([invalid argument passed to --enable-introspection, should be one of @<:@no/auto/yes@:>@])
844
802
])# PKG_CHECK_MODULES
846
# Copyright (C) 2002, 2003, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
804
# Copyright (C) 2002, 2003, 2005, 2006, 2007, 2008, 2011 Free Software
848
807
# This file is free software; the Free Software Foundation
849
808
# gives unlimited permission to copy and/or distribute it,
850
809
# with or without modifications, as long as this notice is preserved.
852
813
# AM_AUTOMAKE_VERSION(VERSION)
853
814
# ----------------------------
854
815
# Automake X.Y traces this macro to ensure aclocal.m4 has been
858
819
[am__api_version='1.11'
859
820
dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
860
821
dnl require some minimum version. Point them to the right macro.
861
m4_if([$1], [1.11.1], [],
822
m4_if([$1], [1.11.6], [],
862
823
[AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
874
835
# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
875
836
# This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
876
837
AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
877
[AM_AUTOMAKE_VERSION([1.11.1])dnl
838
[AM_AUTOMAKE_VERSION([1.11.6])dnl
878
839
m4_ifndef([AC_AUTOCONF_VERSION],
879
840
[m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
880
841
_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
882
843
# AM_AUX_DIR_EXPAND -*- Autoconf -*-
884
# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
845
# Copyright (C) 2001, 2003, 2005, 2011 Free Software Foundation, Inc.
886
847
# This file is free software; the Free Software Foundation
887
848
# gives unlimited permission to copy and/or distribute it,
888
849
# with or without modifications, as long as this notice is preserved.
890
853
# For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets
891
854
# $ac_aux_dir to `$srcdir/foo'. In other projects, it is set to
892
855
# `$srcdir', `$srcdir/..', or `$srcdir/../..'.
968
931
Usually this means the macro was only invoked conditionally.]])
971
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2009
972
# Free Software Foundation, Inc.
934
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2009,
935
# 2010, 2011 Free Software Foundation, Inc.
974
937
# This file is free software; the Free Software Foundation
975
938
# gives unlimited permission to copy and/or distribute it,
976
939
# with or without modifications, as long as this notice is preserved.
980
943
# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
981
944
# written in clear, in which case automake, when reading aclocal.m4,
1082
msvisualcpp | msvcmsys)
1046
msvc7 | msvc7msys | msvisualcpp | msvcmsys)
1083
1047
# This compiler won't grok `-c -o', but also, the minuso test has
1084
1048
# not run yet. These depmodes are late enough in the game, and
1085
1049
# so weak that their functioning should not be impacted.
1144
1108
if test "x$enable_dependency_tracking" != xno; then
1145
1109
am_depcomp="$ac_aux_dir/depcomp"
1146
1110
AMDEPBACKSLASH='\'
1148
1113
AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
1149
1114
AC_SUBST([AMDEPBACKSLASH])dnl
1150
1115
_AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl
1116
AC_SUBST([am__nodep])dnl
1117
_AM_SUBST_NOTMAKE([am__nodep])dnl
1153
1120
# Generate code to set up dependency tracking. -*- Autoconf -*-
1382
1349
echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
1384
# Copyright (C) 2001, 2003, 2005, 2008 Free Software Foundation, Inc.
1351
# Copyright (C) 2001, 2003, 2005, 2008, 2011 Free Software Foundation,
1386
1354
# This file is free software; the Free Software Foundation
1387
1355
# gives unlimited permission to copy and/or distribute it,
1388
1356
# with or without modifications, as long as this notice is preserved.
1390
1360
# AM_PROG_INSTALL_SH
1391
1361
# ------------------
1392
1362
# Define $install_sh.
1426
1396
# Add --enable-maintainer-mode option to configure. -*- Autoconf -*-
1427
1397
# From Jim Meyering
1429
# Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004, 2005, 2008
1430
# Free Software Foundation, Inc.
1399
# Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004, 2005, 2008,
1400
# 2011 Free Software Foundation, Inc.
1432
1402
# This file is free software; the Free Software Foundation
1433
1403
# gives unlimited permission to copy and/or distribute it,
1447
1417
[disable], [m4_define([am_maintainer_other], [enable])],
1448
1418
[m4_define([am_maintainer_other], [enable])
1449
1419
m4_warn([syntax], [unexpected argument to AM@&t@_MAINTAINER_MODE: $1])])
1450
AC_MSG_CHECKING([whether to am_maintainer_other maintainer-specific portions of Makefiles])
1420
AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles])
1451
1421
dnl maintainer-mode's default is 'disable' unless 'enable' is passed
1452
1422
AC_ARG_ENABLE([maintainer-mode],
1453
1423
[ --][am_maintainer_other][-maintainer-mode am_maintainer_other make rules and dependencies not useful
1561
# Copyright (C) 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1531
# Copyright (C) 2003, 2004, 2005, 2006, 2011 Free Software Foundation,
1563
1534
# This file is free software; the Free Software Foundation
1564
1535
# gives unlimited permission to copy and/or distribute it,
1565
1536
# with or without modifications, as long as this notice is preserved.
1567
1540
# AM_PROG_MKDIR_P
1568
1541
# ---------------
1569
1542
# Check for `mkdir -p'.
1587
1560
# Helper functions for option handling. -*- Autoconf -*-
1589
# Copyright (C) 2001, 2002, 2003, 2005, 2008 Free Software Foundation, Inc.
1562
# Copyright (C) 2001, 2002, 2003, 2005, 2008, 2010 Free Software
1591
1565
# This file is free software; the Free Software Foundation
1592
1566
# gives unlimited permission to copy and/or distribute it,
1593
1567
# with or without modifications, as long as this notice is preserved.
1597
1571
# _AM_MANGLE_OPTION(NAME)
1598
1572
# -----------------------
1600
1574
[[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])
1602
1576
# _AM_SET_OPTION(NAME)
1603
# ------------------------------
1577
# --------------------
1604
1578
# Set option NAME. Presently that only means defining a flag for this option.
1605
1579
AC_DEFUN([_AM_SET_OPTION],
1606
1580
[m4_define(_AM_MANGLE_OPTION([$1]), 1)])
1608
1582
# _AM_SET_OPTIONS(OPTIONS)
1609
# ----------------------------------
1583
# ------------------------
1610
1584
# OPTIONS is a space-separated list of Automake options.
1611
1585
AC_DEFUN([_AM_SET_OPTIONS],
1612
1586
[m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
1617
1591
AC_DEFUN([_AM_IF_OPTION],
1618
1592
[m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
1620
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2008, 2009
1621
# Free Software Foundation, Inc.
1594
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2008, 2009,
1595
# 2011 Free Software Foundation, Inc.
1623
1597
# This file is free software; the Free Software Foundation
1624
1598
# gives unlimited permission to copy and/or distribute it,
1625
1599
# with or without modifications, as long as this notice is preserved.
1627
1603
# AM_PATH_PYTHON([MINIMUM-VERSION], [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])
1628
1604
# ---------------------------------------------------------------------------
1629
1605
# Adds support for distributing Python modules and packages. To
1651
1627
dnl Find a Python interpreter. Python versions prior to 2.0 are not
1652
1628
dnl supported. (2.0 was released on October 16, 2000).
1653
1629
m4_define_default([_AM_PYTHON_INTERPRETER_LIST],
1654
[python python2 python3 python3.0 python2.5 python2.4 python2.3 python2.2 dnl
1655
python2.1 python2.0])
1630
[python python2 python3 python3.2 python3.1 python3.0 python2.7 dnl
1631
python2.6 python2.5 python2.4 python2.3 python2.2 python2.1 python2.0])
1633
AC_ARG_VAR([PYTHON], [the Python interpreter])
1657
1635
m4_if([$1],[],[
1658
1636
dnl No version check is needed.
1724
1702
dnl site-packages directory, not the python standard library
1725
1703
dnl directory like in previous automake betas. This behavior
1726
1704
dnl is more consistent with lispdir.m4 for example.
1727
dnl Query distutils for this directory. distutils does not exist in
1728
dnl Python 1.5, so we fall back to the hardcoded directory if it
1705
dnl Query distutils for this directory.
1730
1706
AC_CACHE_CHECK([for $am_display_PYTHON script directory],
1731
1707
[am_cv_python_pythondir],
1732
1708
[if test "x$prefix" = xNONE
1736
1712
am_py_prefix=$prefix
1738
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 ||
1739
echo "$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages"`
1714
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`
1740
1715
case $am_cv_python_pythondir in
1741
1716
$am_py_prefix*)
1742
1717
am__strip_prefix=`echo "$am_py_prefix" | sed 's|.|.|g'`
1763
1738
dnl pyexecdir -- directory for installing python extension modules
1764
1739
dnl (shared libraries)
1765
dnl Query distutils for this directory. distutils does not exist in
1766
dnl Python 1.5, so we fall back to the hardcoded directory if it
1740
dnl Query distutils for this directory.
1768
1741
AC_CACHE_CHECK([for $am_display_PYTHON extension module directory],
1769
1742
[am_cv_python_pyexecdir],
1770
1743
[if test "x$exec_prefix" = xNONE
1774
1747
am_py_exec_prefix=$exec_prefix
1776
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 ||
1777
echo "$PYTHON_EXEC_PREFIX/lib/python$PYTHON_VERSION/site-packages"`
1749
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`
1778
1750
case $am_cv_python_pyexecdir in
1779
1751
$am_py_exec_prefix*)
1780
1752
am__strip_prefix=`echo "$am_py_exec_prefix" | sed 's|.|.|g'`
1888
1860
AC_MSG_RESULT(yes)])
1890
# Copyright (C) 2009 Free Software Foundation, Inc.
1862
# Copyright (C) 2009, 2011 Free Software Foundation, Inc.
1892
1864
# This file is free software; the Free Software Foundation
1893
1865
# gives unlimited permission to copy and/or distribute it,
1894
1866
# with or without modifications, as long as this notice is preserved.
1898
1870
# AM_SILENT_RULES([DEFAULT])
1899
1871
# --------------------------
1908
1880
no) AM_DEFAULT_VERBOSITY=1;;
1909
1881
*) AM_DEFAULT_VERBOSITY=m4_if([$1], [yes], [0], [1]);;
1884
dnl A few `make' implementations (e.g., NonStop OS and NextStep)
1885
dnl do not support nested variable expansions.
1886
dnl See automake bug#9928 and bug#10237.
1887
am_make=${MAKE-make}
1888
AC_CACHE_CHECK([whether $am_make supports nested variables],
1889
[am_cv_make_support_nested_variables],
1890
[if AS_ECHO([['TRUE=$(BAR$(V))
1896
.PHONY: am__doit']]) | $am_make -f - >/dev/null 2>&1; then
1897
am_cv_make_support_nested_variables=yes
1899
am_cv_make_support_nested_variables=no
1901
if test $am_cv_make_support_nested_variables = yes; then
1902
dnl Using `$V' instead of `$(V)' breaks IRIX make.
1904
AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
1906
AM_V=$AM_DEFAULT_VERBOSITY
1907
AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
1910
AM_SUBST_NOTMAKE([AM_V])dnl
1911
AC_SUBST([AM_DEFAULT_V])dnl
1912
AM_SUBST_NOTMAKE([AM_DEFAULT_V])dnl
1911
1913
AC_SUBST([AM_DEFAULT_VERBOSITY])dnl
1912
1914
AM_BACKSLASH='\'
1913
1915
AC_SUBST([AM_BACKSLASH])dnl
1914
1916
_AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl
1917
# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
1919
# Copyright (C) 2001, 2003, 2005, 2011 Free Software Foundation, Inc.
1919
1921
# This file is free software; the Free Software Foundation
1920
1922
# gives unlimited permission to copy and/or distribute it,
1921
1923
# with or without modifications, as long as this notice is preserved.
1923
1927
# AM_PROG_INSTALL_STRIP
1924
1928
# ---------------------
1925
1929
# One issue with vendor `install' (even GNU) is that you can't
1942
1946
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
1943
1947
AC_SUBST([INSTALL_STRIP_PROGRAM])])
1945
# Copyright (C) 2006, 2008 Free Software Foundation, Inc.
1949
# Copyright (C) 2006, 2008, 2010 Free Software Foundation, Inc.
1947
1951
# This file is free software; the Free Software Foundation
1948
1952
# gives unlimited permission to copy and/or distribute it,
1949
1953
# with or without modifications, as long as this notice is preserved.
1953
1957
# _AM_SUBST_NOTMAKE(VARIABLE)
1954
1958
# ---------------------------
1957
1961
AC_DEFUN([_AM_SUBST_NOTMAKE])
1959
1963
# AM_SUBST_NOTMAKE(VARIABLE)
1960
# ---------------------------
1964
# --------------------------
1961
1965
# Public sister of _AM_SUBST_NOTMAKE.
1962
1966
AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
1964
1968
# Check how to create a tarball. -*- Autoconf -*-
1966
# Copyright (C) 2004, 2005 Free Software Foundation, Inc.
1970
# Copyright (C) 2004, 2005, 2012 Free Software Foundation, Inc.
1968
1972
# This file is free software; the Free Software Foundation
1969
1973
# gives unlimited permission to copy and/or distribute it,
1985
1989
# a tarball read from stdin.
1986
1990
# $(am__untar) < result.tar
1987
1991
AC_DEFUN([_AM_PROG_TAR],
1988
[# Always define AMTAR for backward compatibility.
1989
AM_MISSING_PROG([AMTAR], [tar])
1992
[# Always define AMTAR for backward compatibility. Yes, it's still used
1993
# in the wild :-( We should find a proper way to deprecate it ...
1994
AC_SUBST([AMTAR], ['$${TAR-tar}'])
1990
1995
m4_if([$1], [v7],
1991
[am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'],
1996
[am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'],
1992
1997
[m4_case([$1], [ustar],, [pax],,
1993
1998
[m4_fatal([Unknown tar format])])
1994
1999
AC_MSG_CHECKING([how to create a $1 tar archive])