~ubuntu-branches/ubuntu/vivid/gsettings-desktop-schemas/vivid

« back to all changes in this revision

Viewing changes to aclocal.m4

  • Committer: Package Import Robot
  • Author(s): Michael Biebl, Michael Biebl, Jeremy Bicha, Steve Langasek
  • Date: 2012-03-28 23:05:55 UTC
  • mfrom: (1.2.2) (12.1.4 sid)
  • Revision ID: package-import@ubuntu.com-20120328230555-74uk60xul47gpau7
Tags: 3.4.0-1
[ Michael Biebl ]
* New upstream release.
* debian/watch: Track stable releases.
* debian/copyright: Update to the final copyright format 1.0 spec.
* Bump Standards-Versions to 3.9.3.
* Bump debhelper compatibility level to 8.
* Strip debian/tmp/ from .install files.

[ Jeremy Bicha ]
* debian/control.in:
  - Bump build-depends on glib to 2.31.0.
  - Add gobject-introspection build-depends.
  - Use arch "any" for gsettings-desktop-schemas-dev
* Add new gir1.2-gdesktopenums-3.0 package.

[ Steve Langasek ]
* Mark gesttings-desktop-schemas Multi-Arch: foreign.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# generated automatically by aclocal 1.11.1 -*- Autoconf -*-
 
1
# generated automatically by aclocal 1.11.3 -*- Autoconf -*-
2
2
 
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
# Inc.
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'.])])
21
22
 
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
# Foundation, Inc.
23
25
#
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.
27
29
 
 
30
# serial 1
 
31
 
28
32
# AM_AUTOMAKE_VERSION(VERSION)
29
33
# ----------------------------
30
34
# Automake X.Y traces this macro to ensure aclocal.m4 has been
34
38
[am__api_version='1.11'
35
39
dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
36
40
dnl require some minimum version.  Point them to the right macro.
37
 
m4_if([$1], [1.11.1], [],
 
41
m4_if([$1], [1.11.3], [],
38
42
      [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
39
43
])
40
44
 
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]))])
57
61
 
58
62
# AM_AUX_DIR_EXPAND                                         -*- Autoconf -*-
59
63
 
60
 
# Copyright (C) 2001, 2003, 2005  Free Software Foundation, Inc.
 
64
# Copyright (C) 2001, 2003, 2005, 2011 Free Software Foundation, Inc.
61
65
#
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.
65
69
 
 
70
# serial 1
 
71
 
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.]])
145
151
fi])])
146
152
 
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.
149
155
#
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.
153
159
 
154
 
# serial 10
 
160
# serial 12
155
161
 
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,
191
197
  # instance it was reported that on HP-UX the gcc test will end up
192
198
  # making a dummy file named `D' -- because `-MD' means `put the output
193
199
  # in D'.
 
200
  rm -rf conftest.dir
194
201
  mkdir conftest.dir
195
202
  # Copy depcomp to subdir because otherwise we won't find it if we're
196
203
  # using a relative directory.
255
262
        break
256
263
      fi
257
264
      ;;
258
 
    msvisualcpp | msvcmsys)
 
265
    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
259
266
      # This compiler won't grok `-c -o', but also, the minuso test has
260
267
      # not run yet.  These depmodes are late enough in the game, and
261
268
      # so weak that their functioning should not be impacted.
320
327
if test "x$enable_dependency_tracking" != xno; then
321
328
  am_depcomp="$ac_aux_dir/depcomp"
322
329
  AMDEPBACKSLASH='\'
 
330
  am__nodep='_no'
323
331
fi
324
332
AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
325
333
AC_SUBST([AMDEPBACKSLASH])dnl
326
334
_AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl
 
335
AC_SUBST([am__nodep])dnl
 
336
_AM_SUBST_NOTMAKE([am__nodep])dnl
327
337
])
328
338
 
329
339
# Generate code to set up dependency tracking.              -*- Autoconf -*-
545
555
done
546
556
echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
547
557
 
548
 
# Copyright (C) 2001, 2003, 2005, 2008  Free Software Foundation, Inc.
 
558
# Copyright (C) 2001, 2003, 2005, 2008, 2011 Free Software Foundation,
 
559
# Inc.
549
560
#
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.
553
564
 
 
565
# serial 1
 
566
 
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
592
605
 
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.
595
608
#
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
722
735
fi
723
736
])
724
737
 
725
 
# Copyright (C) 2003, 2004, 2005, 2006  Free Software Foundation, Inc.
 
738
# Copyright (C) 2003, 2004, 2005, 2006, 2011 Free Software Foundation,
 
739
# Inc.
726
740
#
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.
730
744
 
 
745
# serial 1
 
746
 
731
747
# AM_PROG_MKDIR_P
732
748
# ---------------
733
749
# Check for `mkdir -p'.
750
766
 
751
767
# Helper functions for option handling.                     -*- Autoconf -*-
752
768
 
753
 
# Copyright (C) 2001, 2002, 2003, 2005, 2008  Free Software Foundation, Inc.
 
769
# Copyright (C) 2001, 2002, 2003, 2005, 2008, 2010 Free Software
 
770
# Foundation, Inc.
754
771
#
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.
758
775
 
759
 
# serial 4
 
776
# serial 5
760
777
 
761
778
# _AM_MANGLE_OPTION(NAME)
762
779
# -----------------------
764
781
[[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])
765
782
 
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)])
771
788
 
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)])])
846
863
fi
847
864
AC_MSG_RESULT(yes)])
848
865
 
849
 
# Copyright (C) 2009  Free Software Foundation, Inc.
 
866
# Copyright (C) 2009, 2011  Free Software Foundation, Inc.
850
867
#
851
868
# This file is free software; the Free Software Foundation
852
869
# gives unlimited permission to copy and/or distribute it,
853
870
# with or without modifications, as long as this notice is preserved.
854
871
 
855
 
# serial 1
 
872
# serial 2
856
873
 
857
874
# AM_SILENT_RULES([DEFAULT])
858
875
# --------------------------
867
884
no)  AM_DEFAULT_VERBOSITY=1;;
868
885
*)   AM_DEFAULT_VERBOSITY=m4_if([$1], [yes], [0], [1]);;
869
886
esac
 
887
dnl
 
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.
 
891
am_make=${MAKE-make}
 
892
AC_CACHE_CHECK([whether $am_make supports nested variables],
 
893
   [am_cv_make_support_nested_variables],
 
894
   [if AS_ECHO([['TRUE=$(BAR$(V))
 
895
BAR0=false
 
896
BAR1=true
 
897
V=1
 
898
am__doit:
 
899
        @$(TRUE)
 
900
.PHONY: am__doit']]) | $am_make -f - >/dev/null 2>&1; then
 
901
  am_cv_make_support_nested_variables=yes
 
902
else
 
903
  am_cv_make_support_nested_variables=no
 
904
fi])
 
905
if test $am_cv_make_support_nested_variables = yes; then
 
906
  dnl Using `$V' instead of `$(V)' breaks IRIX make.
 
907
  AM_V='$(V)'
 
908
  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
 
909
else
 
910
  AM_V=$AM_DEFAULT_VERBOSITY
 
911
  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
 
912
fi
 
913
AC_SUBST([AM_V])dnl
 
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
871
918
AM_BACKSLASH='\'
872
919
AC_SUBST([AM_BACKSLASH])dnl
873
920
_AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl
874
921
])
875
922
 
876
 
# Copyright (C) 2001, 2003, 2005  Free Software Foundation, Inc.
 
923
# Copyright (C) 2001, 2003, 2005, 2011 Free Software Foundation, Inc.
877
924
#
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.
881
928
 
 
929
# serial 1
 
930
 
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])])
903
952
 
904
 
# Copyright (C) 2006, 2008  Free Software Foundation, Inc.
 
953
# Copyright (C) 2006, 2008, 2010 Free Software Foundation, Inc.
905
954
#
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.
909
958
 
910
 
# serial 2
 
959
# serial 3
911
960
 
912
961
# _AM_SUBST_NOTMAKE(VARIABLE)
913
962
# ---------------------------
916
965
AC_DEFUN([_AM_SUBST_NOTMAKE])
917
966
 
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($@)])
922
971
 
923
972
# Check how to create a tarball.                            -*- Autoconf -*-
924
973
 
925
 
# Copyright (C) 2004, 2005  Free Software Foundation, Inc.
 
974
# Copyright (C) 2004, 2005, 2012 Free Software Foundation, Inc.
926
975
#
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])
1448
1498
              [CATOBJEXT=.mo
1449
1499
               DATADIRNAME=lib])
1450
1500
            ;;
 
1501
            *-*-openbsd*)
 
1502
            CATOBJEXT=.mo
 
1503
            DATADIRNAME=share
 
1504
            ;;
1451
1505
            *)
1452
1506
            CATOBJEXT=.mo
1453
1507
            DATADIRNAME=lib
1724
1778
]
1725
1779
)
1726
1780
 
 
1781
dnl -*- mode: autoconf -*-
 
1782
dnl Copyright 2009 Johan Dahlin
 
1783
dnl
 
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.
 
1787
dnl
 
1788
 
 
1789
# serial 1
 
1790
 
 
1791
m4_define([_GOBJECT_INTROSPECTION_CHECK_INTERNAL],
 
1792
[
 
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
 
1796
 
 
1797
    dnl enable/disable introspection
 
1798
    m4_if([$2], [require],
 
1799
    [dnl
 
1800
        enable_introspection=yes
 
1801
    ],[dnl
 
1802
        AC_ARG_ENABLE(introspection,
 
1803
                  AS_HELP_STRING([--enable-introspection[=@<:@no/auto/yes@:>@]],
 
1804
                                 [Enable introspection for this build]),, 
 
1805
                                 [enable_introspection=auto])
 
1806
    ])dnl
 
1807
 
 
1808
    AC_MSG_CHECKING([for gobject-introspection])
 
1809
 
 
1810
    dnl presence/version checking
 
1811
    AS_CASE([$enable_introspection],
 
1812
    [no], [dnl
 
1813
        found_introspection="no (disabled, use --enable-introspection to enable)"
 
1814
    ],dnl
 
1815
    [yes],[dnl
 
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]))
 
1821
    ],dnl
 
1822
    [auto],[dnl
 
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
 
1826
    ],dnl
 
1827
    [dnl        
 
1828
        AC_MSG_ERROR([invalid argument passed to --enable-introspection, should be one of @<:@no/auto/yes@:>@])
 
1829
    ])dnl
 
1830
 
 
1831
    AC_MSG_RESULT([$found_introspection])
 
1832
 
 
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
 
1847
    fi
 
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)
 
1856
 
 
1857
    AM_CONDITIONAL(HAVE_INTROSPECTION, test "x$found_introspection" = "xyes")
 
1858
])
 
1859
 
 
1860
 
 
1861
dnl Usage:
 
1862
dnl   GOBJECT_INTROSPECTION_CHECK([minimum-g-i-version])
 
1863
 
 
1864
AC_DEFUN([GOBJECT_INTROSPECTION_CHECK],
 
1865
[
 
1866
  _GOBJECT_INTROSPECTION_CHECK_INTERNAL([$1])
 
1867
])
 
1868
 
 
1869
dnl Usage:
 
1870
dnl   GOBJECT_INTROSPECTION_REQUIRE([minimum-g-i-version])
 
1871
 
 
1872
 
 
1873
AC_DEFUN([GOBJECT_INTROSPECTION_REQUIRE],
 
1874
[
 
1875
  _GOBJECT_INTROSPECTION_CHECK_INTERNAL([$1], [require])
 
1876
])
 
1877
 
1727
1878
m4_include([m4/intltool.m4])