~ubuntu-branches/ubuntu/trusty/gnome-doc-utils/trusty-proposed

« back to all changes in this revision

Viewing changes to aclocal.m4

  • Committer: Bazaar Package Importer
  • Author(s): Michael Biebl, Robert Ancell, Emilio Pozuelo Monfort, Michael Biebl
  • Date: 2011-06-23 22:23:59 UTC
  • mfrom: (1.4.2 upstream) (2.2.6 experimental)
  • mto: This revision was merged to the branch mainline in revision 49.
  • Revision ID: james.westby@ubuntu.com-20110623222359-sxyfjw7yzz88podn
[ Robert Ancell ]
* debian/rules:
  - Include gnome.mk to rebuild translation template

[ Emilio Pozuelo Monfort ]
* And remove autotools.mk, we only want one class.

[ Michael Biebl ]
* debian/watch: Switch to .bz2 tarballs.
* New upstream release.
* debian/control.in:
  - Add Vcs-* fields.
  - Remove article from description synopsis.
  - Bump Standards-Version to 3.9.2. No further changes.
* Bump debhelper compatibility level to 8. Update Build-Depends accordingly.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# generated automatically by aclocal 1.11 -*- Autoconf -*-
 
1
# generated automatically by aclocal 1.11.1 -*- Autoconf -*-
2
2
 
3
3
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
4
4
# 2005, 2006, 2007, 2008, 2009  Free Software Foundation, Inc.
13
13
 
14
14
m4_ifndef([AC_AUTOCONF_VERSION],
15
15
  [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
16
 
m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.63],,
17
 
[m4_warning([this file was generated for autoconf 2.63.
 
16
m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.66],,
 
17
[m4_warning([this file was generated for autoconf 2.66.
18
18
You have another version of autoconf.  It may work, but is not guaranteed to.
19
19
If you have problems, you may need to regenerate the build system entirely.
20
20
To do so, use the procedure documented by the package, typically `autoreconf'.])])
21
21
 
22
 
# nls.m4 serial 3 (gettext-0.15)
23
 
dnl Copyright (C) 1995-2003, 2005-2006 Free Software Foundation, Inc.
 
22
# nls.m4 serial 5 (gettext-0.18)
 
23
dnl Copyright (C) 1995-2003, 2005-2006, 2008-2010 Free Software Foundation,
 
24
dnl Inc.
24
25
dnl This file is free software; the Free Software Foundation
25
26
dnl gives unlimited permission to copy and/or distribute it,
26
27
dnl with or without modifications, as long as this notice is preserved.
38
39
dnl   Ulrich Drepper <drepper@cygnus.com>, 1995-2000.
39
40
dnl   Bruno Haible <haible@clisp.cons.org>, 2000-2003.
40
41
 
41
 
AC_PREREQ(2.50)
 
42
AC_PREREQ([2.50])
42
43
 
43
44
AC_DEFUN([AM_NLS],
44
45
[
45
46
  AC_MSG_CHECKING([whether NLS is requested])
46
47
  dnl Default is enabled NLS
47
 
  AC_ARG_ENABLE(nls,
 
48
  AC_ARG_ENABLE([nls],
48
49
    [  --disable-nls           do not use Native Language Support],
49
50
    USE_NLS=$enableval, USE_NLS=yes)
50
 
  AC_MSG_RESULT($USE_NLS)
51
 
  AC_SUBST(USE_NLS)
 
51
  AC_MSG_RESULT([$USE_NLS])
 
52
  AC_SUBST([USE_NLS])
52
53
])
53
54
 
54
55
# pkg.m4 - Macros to locate and utilise pkg-config.            -*- Autoconf -*-
 
56
# serial 1 (pkg-config-0.24)
55
57
56
58
# Copyright © 2004 Scott James Remnant <scott@netsplit.com>.
57
59
#
79
81
AC_DEFUN([PKG_PROG_PKG_CONFIG],
80
82
[m4_pattern_forbid([^_?PKG_[A-Z_]+$])
81
83
m4_pattern_allow([^PKG_CONFIG(_PATH)?$])
82
 
AC_ARG_VAR([PKG_CONFIG], [path to pkg-config utility])dnl
 
84
AC_ARG_VAR([PKG_CONFIG], [path to pkg-config utility])
 
85
AC_ARG_VAR([PKG_CONFIG_PATH], [directories to add to pkg-config's search path])
 
86
AC_ARG_VAR([PKG_CONFIG_LIBDIR], [path overriding pkg-config's built-in search path])
 
87
 
83
88
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
84
89
        AC_PATH_TOOL([PKG_CONFIG], [pkg-config])
85
90
fi
92
97
                AC_MSG_RESULT([no])
93
98
                PKG_CONFIG=""
94
99
        fi
95
 
                
96
100
fi[]dnl
97
101
])# PKG_PROG_PKG_CONFIG
98
102
 
101
105
# Check to see whether a particular set of modules exists.  Similar
102
106
# to PKG_CHECK_MODULES(), but does not set variables or print errors.
103
107
#
104
 
#
105
 
# Similar to PKG_CHECK_MODULES, make sure that the first instance of
106
 
# this or PKG_CHECK_MODULES is called, or make sure to call
107
 
# PKG_CHECK_EXISTS manually
 
108
# Please remember that m4 expands AC_REQUIRE([PKG_PROG_PKG_CONFIG])
 
109
# only at the first occurence in configure.ac, so if the first place
 
110
# it's called might be skipped (such as if it is within an "if", you
 
111
# have to call PKG_CHECK_EXISTS manually
108
112
# --------------------------------------------------------------
109
113
AC_DEFUN([PKG_CHECK_EXISTS],
110
114
[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl
111
115
if test -n "$PKG_CONFIG" && \
112
116
    AC_RUN_LOG([$PKG_CONFIG --exists --print-errors "$1"]); then
113
 
  m4_ifval([$2], [$2], [:])
 
117
  m4_default([$2], [:])
114
118
m4_ifvaln([$3], [else
115
119
  $3])dnl
116
120
fi])
117
121
 
118
 
 
119
122
# _PKG_CONFIG([VARIABLE], [COMMAND], [MODULES])
120
123
# ---------------------------------------------
121
124
m4_define([_PKG_CONFIG],
168
171
See the pkg-config man page for more details.])
169
172
 
170
173
if test $pkg_failed = yes; then
 
174
        AC_MSG_RESULT([no])
171
175
        _PKG_SHORT_ERRORS_SUPPORTED
172
176
        if test $_pkg_short_errors_supported = yes; then
173
177
                $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "$2" 2>&1`
177
181
        # Put the nasty error message in config.log where it belongs
178
182
        echo "$$1[]_PKG_ERRORS" >&AS_MESSAGE_LOG_FD
179
183
 
180
 
        ifelse([$4], , [AC_MSG_ERROR(dnl
 
184
        m4_default([$4], [AC_MSG_ERROR(
181
185
[Package requirements ($2) were not met:
182
186
 
183
187
$$1_PKG_ERRORS
185
189
Consider adjusting the PKG_CONFIG_PATH environment variable if you
186
190
installed software in a non-standard prefix.
187
191
 
188
 
_PKG_TEXT
189
 
])],
190
 
                [AC_MSG_RESULT([no])
191
 
                $4])
 
192
_PKG_TEXT])
 
193
        ])
192
194
elif test $pkg_failed = untried; then
193
 
        ifelse([$4], , [AC_MSG_FAILURE(dnl
 
195
        AC_MSG_RESULT([no])
 
196
        m4_default([$4], [AC_MSG_FAILURE(
194
197
[The pkg-config script could not be found or is too old.  Make sure it
195
198
is in your PATH or set the PKG_CONFIG environment variable to the full
196
199
path to pkg-config.
197
200
 
198
201
_PKG_TEXT
199
202
 
200
 
To get pkg-config, see <http://pkg-config.freedesktop.org/>.])],
201
 
                [$4])
 
203
To get pkg-config, see <http://pkg-config.freedesktop.org/>.])
 
204
        ])
202
205
else
203
206
        $1[]_CFLAGS=$pkg_cv_[]$1[]_CFLAGS
204
207
        $1[]_LIBS=$pkg_cv_[]$1[]_LIBS
205
208
        AC_MSG_RESULT([yes])
206
 
        ifelse([$3], , :, [$3])
 
209
        $3
207
210
fi[]dnl
208
211
])# PKG_CHECK_MODULES
209
212
 
222
225
[am__api_version='1.11'
223
226
dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
224
227
dnl require some minimum version.  Point them to the right macro.
225
 
m4_if([$1], [1.11], [],
 
228
m4_if([$1], [1.11.1], [],
226
229
      [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
227
230
])
228
231
 
238
241
# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
239
242
# This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
240
243
AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
241
 
[AM_AUTOMAKE_VERSION([1.11])dnl
 
244
[AM_AUTOMAKE_VERSION([1.11.1])dnl
242
245
m4_ifndef([AC_AUTOCONF_VERSION],
243
246
  [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
244
247
_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
1054
1057
       am__strip_prefix=`echo "$am_py_prefix" | sed 's|.|.|g'`
1055
1058
       am_cv_python_pythondir=`echo "$am_cv_python_pythondir" | sed "s,^$am__strip_prefix,$PYTHON_PREFIX,"`
1056
1059
       ;;
 
1060
     *)
 
1061
       case $am_py_prefix in
 
1062
         /usr|/System*) ;;
 
1063
         *)
 
1064
          am_cv_python_pythondir=$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages
 
1065
          ;;
 
1066
       esac
 
1067
       ;;
1057
1068
     esac
1058
1069
    ])
1059
1070
  AC_SUBST([pythondir], [$am_cv_python_pythondir])
1084
1095
       am__strip_prefix=`echo "$am_py_exec_prefix" | sed 's|.|.|g'`
1085
1096
       am_cv_python_pyexecdir=`echo "$am_cv_python_pyexecdir" | sed "s,^$am__strip_prefix,$PYTHON_EXEC_PREFIX,"`
1086
1097
       ;;
 
1098
     *)
 
1099
       case $am_py_exec_prefix in
 
1100
         /usr|/System*) ;;
 
1101
         *)
 
1102
           am_cv_python_pyexecdir=$PYTHON_EXEC_PREFIX/lib/python$PYTHON_VERSION/site-packages
 
1103
           ;;
 
1104
       esac
 
1105
       ;;
1087
1106
     esac
1088
1107
    ])
1089
1108
  AC_SUBST([pyexecdir], [$am_cv_python_pyexecdir])