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.
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'.])])
22
# Copyright (C) 2002, 2003, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
23
# Copyright (C) 2002, 2003, 2005, 2006, 2007, 2008, 2011 Free Software
24
26
# This file is free software; the Free Software Foundation
25
27
# gives unlimited permission to copy and/or distribute it,
26
28
# with or without modifications, as long as this notice is preserved.
28
32
# AM_AUTOMAKE_VERSION(VERSION)
29
33
# ----------------------------
30
34
# Automake X.Y traces this macro to ensure aclocal.m4 has been
50
54
# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
51
55
# This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
52
56
AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
53
[AM_AUTOMAKE_VERSION([1.11.1])dnl
57
[AM_AUTOMAKE_VERSION([1.11.3])dnl
54
58
m4_ifndef([AC_AUTOCONF_VERSION],
55
59
[m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
56
60
_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
58
62
# AM_AUX_DIR_EXPAND -*- Autoconf -*-
60
# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
64
# Copyright (C) 2001, 2003, 2005, 2011 Free Software Foundation, Inc.
62
66
# This file is free software; the Free Software Foundation
63
67
# gives unlimited permission to copy and/or distribute it,
64
68
# with or without modifications, as long as this notice is preserved.
66
72
# For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets
67
73
# $ac_aux_dir to `$srcdir/foo'. In other projects, it is set to
68
74
# `$srcdir', `$srcdir/..', or `$srcdir/../..'.
144
150
Usually this means the macro was only invoked conditionally.]])
147
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2009
148
# Free Software Foundation, Inc.
153
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2009,
154
# 2010, 2011 Free Software Foundation, Inc.
150
156
# This file is free software; the Free Software Foundation
151
157
# gives unlimited permission to copy and/or distribute it,
152
158
# with or without modifications, as long as this notice is preserved.
156
162
# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
157
163
# written in clear, in which case automake, when reading aclocal.m4,
546
556
echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
548
# Copyright (C) 2001, 2003, 2005, 2008 Free Software Foundation, Inc.
558
# Copyright (C) 2001, 2003, 2005, 2008, 2011 Free Software Foundation,
550
561
# This file is free software; the Free Software Foundation
551
562
# gives unlimited permission to copy and/or distribute it,
552
563
# with or without modifications, as long as this notice is preserved.
554
567
# AM_PROG_INSTALL_SH
555
568
# ------------------
556
569
# Define $install_sh.
590
603
# Add --enable-maintainer-mode option to configure. -*- Autoconf -*-
591
604
# From Jim Meyering
593
# Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004, 2005, 2008
594
# Free Software Foundation, Inc.
606
# Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004, 2005, 2008,
607
# 2011 Free Software Foundation, Inc.
596
609
# This file is free software; the Free Software Foundation
597
610
# gives unlimited permission to copy and/or distribute it,
611
624
[disable], [m4_define([am_maintainer_other], [enable])],
612
625
[m4_define([am_maintainer_other], [enable])
613
626
m4_warn([syntax], [unexpected argument to AM@&t@_MAINTAINER_MODE: $1])])
614
AC_MSG_CHECKING([whether to am_maintainer_other maintainer-specific portions of Makefiles])
627
AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles])
615
628
dnl maintainer-mode's default is 'disable' unless 'enable' is passed
616
629
AC_ARG_ENABLE([maintainer-mode],
617
630
[ --][am_maintainer_other][-maintainer-mode am_maintainer_other make rules and dependencies not useful
725
# Copyright (C) 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
738
# Copyright (C) 2003, 2004, 2005, 2006, 2011 Free Software Foundation,
727
741
# This file is free software; the Free Software Foundation
728
742
# gives unlimited permission to copy and/or distribute it,
729
743
# with or without modifications, as long as this notice is preserved.
731
747
# AM_PROG_MKDIR_P
732
748
# ---------------
733
749
# Check for `mkdir -p'.
751
767
# Helper functions for option handling. -*- Autoconf -*-
753
# Copyright (C) 2001, 2002, 2003, 2005, 2008 Free Software Foundation, Inc.
769
# Copyright (C) 2001, 2002, 2003, 2005, 2008, 2010 Free Software
755
772
# This file is free software; the Free Software Foundation
756
773
# gives unlimited permission to copy and/or distribute it,
757
774
# with or without modifications, as long as this notice is preserved.
761
778
# _AM_MANGLE_OPTION(NAME)
762
779
# -----------------------
764
781
[[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])
766
783
# _AM_SET_OPTION(NAME)
767
# ------------------------------
784
# --------------------
768
785
# Set option NAME. Presently that only means defining a flag for this option.
769
786
AC_DEFUN([_AM_SET_OPTION],
770
787
[m4_define(_AM_MANGLE_OPTION([$1]), 1)])
772
789
# _AM_SET_OPTIONS(OPTIONS)
773
# ----------------------------------
790
# ------------------------
774
791
# OPTIONS is a space-separated list of Automake options.
775
792
AC_DEFUN([_AM_SET_OPTIONS],
776
793
[m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
867
884
no) AM_DEFAULT_VERBOSITY=1;;
868
885
*) AM_DEFAULT_VERBOSITY=m4_if([$1], [yes], [0], [1]);;
888
dnl A few `make' implementations (e.g., NonStop OS and NextStep)
889
dnl do not support nested variable expansions.
890
dnl See automake bug#9928 and bug#10237.
892
AC_CACHE_CHECK([whether $am_make supports nested variables],
893
[am_cv_make_support_nested_variables],
894
[if AS_ECHO([['TRUE=$(BAR$(V))
900
.PHONY: am__doit']]) | $am_make -f - >/dev/null 2>&1; then
901
am_cv_make_support_nested_variables=yes
903
am_cv_make_support_nested_variables=no
905
if test $am_cv_make_support_nested_variables = yes; then
906
dnl Using `$V' instead of `$(V)' breaks IRIX make.
908
AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
910
AM_V=$AM_DEFAULT_VERBOSITY
911
AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
914
AM_SUBST_NOTMAKE([AM_V])dnl
915
AC_SUBST([AM_DEFAULT_V])dnl
916
AM_SUBST_NOTMAKE([AM_DEFAULT_V])dnl
870
917
AC_SUBST([AM_DEFAULT_VERBOSITY])dnl
872
919
AC_SUBST([AM_BACKSLASH])dnl
873
920
_AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl
876
# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
923
# Copyright (C) 2001, 2003, 2005, 2011 Free Software Foundation, Inc.
878
925
# This file is free software; the Free Software Foundation
879
926
# gives unlimited permission to copy and/or distribute it,
880
927
# with or without modifications, as long as this notice is preserved.
882
931
# AM_PROG_INSTALL_STRIP
883
932
# ---------------------
884
933
# One issue with vendor `install' (even GNU) is that you can't
901
950
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
902
951
AC_SUBST([INSTALL_STRIP_PROGRAM])])
904
# Copyright (C) 2006, 2008 Free Software Foundation, Inc.
953
# Copyright (C) 2006, 2008, 2010 Free Software Foundation, Inc.
906
955
# This file is free software; the Free Software Foundation
907
956
# gives unlimited permission to copy and/or distribute it,
908
957
# with or without modifications, as long as this notice is preserved.
912
961
# _AM_SUBST_NOTMAKE(VARIABLE)
913
962
# ---------------------------
916
965
AC_DEFUN([_AM_SUBST_NOTMAKE])
918
967
# AM_SUBST_NOTMAKE(VARIABLE)
919
# ---------------------------
968
# --------------------------
920
969
# Public sister of _AM_SUBST_NOTMAKE.
921
970
AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
923
972
# Check how to create a tarball. -*- Autoconf -*-
925
# Copyright (C) 2004, 2005 Free Software Foundation, Inc.
974
# Copyright (C) 2004, 2005, 2012 Free Software Foundation, Inc.
927
976
# This file is free software; the Free Software Foundation
928
977
# gives unlimited permission to copy and/or distribute it,
944
993
# a tarball read from stdin.
945
994
# $(am__untar) < result.tar
946
995
AC_DEFUN([_AM_PROG_TAR],
947
[# Always define AMTAR for backward compatibility.
948
AM_MISSING_PROG([AMTAR], [tar])
996
[# Always define AMTAR for backward compatibility. Yes, it's still used
997
# in the wild :-( We should find a proper way to deprecate it ...
998
AC_SUBST([AMTAR], ['$${TAR-tar}'])
949
999
m4_if([$1], [v7],
950
[am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'],
1000
[am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'],
951
1001
[m4_case([$1], [ustar],, [pax],,
952
1002
[m4_fatal([Unknown tar format])])
953
1003
AC_MSG_CHECKING([how to create a $1 tar archive])
1781
dnl -*- mode: autoconf -*-
1782
dnl Copyright 2009 Johan Dahlin
1784
dnl This file is free software; the author(s) gives unlimited
1785
dnl permission to copy and/or distribute it, with or without
1786
dnl modifications, as long as this notice is preserved.
1791
m4_define([_GOBJECT_INTROSPECTION_CHECK_INTERNAL],
1793
AC_BEFORE([AC_PROG_LIBTOOL],[$0])dnl setup libtool first
1794
AC_BEFORE([AM_PROG_LIBTOOL],[$0])dnl setup libtool first
1795
AC_BEFORE([LT_INIT],[$0])dnl setup libtool first
1797
dnl enable/disable introspection
1798
m4_if([$2], [require],
1800
enable_introspection=yes
1802
AC_ARG_ENABLE(introspection,
1803
AS_HELP_STRING([--enable-introspection[=@<:@no/auto/yes@:>@]],
1804
[Enable introspection for this build]),,
1805
[enable_introspection=auto])
1808
AC_MSG_CHECKING([for gobject-introspection])
1810
dnl presence/version checking
1811
AS_CASE([$enable_introspection],
1813
found_introspection="no (disabled, use --enable-introspection to enable)"
1816
PKG_CHECK_EXISTS([gobject-introspection-1.0],,
1817
AC_MSG_ERROR([gobject-introspection-1.0 is not installed]))
1818
PKG_CHECK_EXISTS([gobject-introspection-1.0 >= $1],
1819
found_introspection=yes,
1820
AC_MSG_ERROR([You need to have gobject-introspection >= $1 installed to build AC_PACKAGE_NAME]))
1823
PKG_CHECK_EXISTS([gobject-introspection-1.0 >= $1], found_introspection=yes, found_introspection=no)
1824
dnl Canonicalize enable_introspection
1825
enable_introspection=$found_introspection
1828
AC_MSG_ERROR([invalid argument passed to --enable-introspection, should be one of @<:@no/auto/yes@:>@])
1831
AC_MSG_RESULT([$found_introspection])
1833
INTROSPECTION_SCANNER=
1834
INTROSPECTION_COMPILER=
1835
INTROSPECTION_GENERATE=
1836
INTROSPECTION_GIRDIR=
1837
INTROSPECTION_TYPELIBDIR=
1838
if test "x$found_introspection" = "xyes"; then
1839
INTROSPECTION_SCANNER=`$PKG_CONFIG --variable=g_ir_scanner gobject-introspection-1.0`
1840
INTROSPECTION_COMPILER=`$PKG_CONFIG --variable=g_ir_compiler gobject-introspection-1.0`
1841
INTROSPECTION_GENERATE=`$PKG_CONFIG --variable=g_ir_generate gobject-introspection-1.0`
1842
INTROSPECTION_GIRDIR=`$PKG_CONFIG --variable=girdir gobject-introspection-1.0`
1843
INTROSPECTION_TYPELIBDIR="$($PKG_CONFIG --variable=typelibdir gobject-introspection-1.0)"
1844
INTROSPECTION_CFLAGS=`$PKG_CONFIG --cflags gobject-introspection-1.0`
1845
INTROSPECTION_LIBS=`$PKG_CONFIG --libs gobject-introspection-1.0`
1846
INTROSPECTION_MAKEFILE=`$PKG_CONFIG --variable=datadir gobject-introspection-1.0`/gobject-introspection-1.0/Makefile.introspection
1848
AC_SUBST(INTROSPECTION_SCANNER)
1849
AC_SUBST(INTROSPECTION_COMPILER)
1850
AC_SUBST(INTROSPECTION_GENERATE)
1851
AC_SUBST(INTROSPECTION_GIRDIR)
1852
AC_SUBST(INTROSPECTION_TYPELIBDIR)
1853
AC_SUBST(INTROSPECTION_CFLAGS)
1854
AC_SUBST(INTROSPECTION_LIBS)
1855
AC_SUBST(INTROSPECTION_MAKEFILE)
1857
AM_CONDITIONAL(HAVE_INTROSPECTION, test "x$found_introspection" = "xyes")
1862
dnl GOBJECT_INTROSPECTION_CHECK([minimum-g-i-version])
1864
AC_DEFUN([GOBJECT_INTROSPECTION_CHECK],
1866
_GOBJECT_INTROSPECTION_CHECK_INTERNAL([$1])
1870
dnl GOBJECT_INTROSPECTION_REQUIRE([minimum-g-i-version])
1873
AC_DEFUN([GOBJECT_INTROSPECTION_REQUIRE],
1875
_GOBJECT_INTROSPECTION_CHECK_INTERNAL([$1], [require])
1727
1878
m4_include([m4/intltool.m4])