Changeset 7000 for pkg/raul/main/atk1.0
- Timestamp:
- 12/19/10 22:14:27 (2 years ago)
- Location:
- pkg/raul/main/atk1.0/trunk/debian
- Files:
-
- 5 added
- 6 edited
-
changelog (modified) (1 diff)
-
control (modified) (6 diffs)
-
control.in (modified) (6 diffs)
-
gir1.2-atk-1.0.install (added)
-
libatk1.0-0.symbols (added)
-
libatk1.0-dev.install (modified) (1 diff)
-
patches/90-relibtoolize.patch (modified) (2 diffs)
-
patches/series (added)
-
rules (modified) (2 diffs)
-
source (added)
-
source/format (added)
Legend:
- Unmodified
- Added
- Removed
-
pkg/raul/main/atk1.0/trunk/debian/changelog
r6599 r7000 1 atk1.0 (1.30.0-parsix1) unstable; urgency=low 2 3 * Sync'd with Debian 1.30.0-1 4 5 -- Alan Baghumian <alan@technotux.org> Thu, 01 Jul 2010 19:28:36 -0700 1 atk1.0 (1.32.0-parsix1) experimental; urgency=low 2 3 * Sync'd with Debian 1.32.0-2 4 5 -- Alan Baghumian <alan@technotux.org> Sun, 19 Dec 2010 13:13:53 -0800 6 7 atk1.0 (1.32.0-2) experimental; urgency=low 8 9 * Update to the new gir policy: 10 - Rename gir1.0-atk-1.0 to gir1.2-atk-1.0. 11 - Bump the gobject-introspection build dependency. 12 - Build depend on gir1.2 packages. 13 14 -- Emilio Pozuelo Monfort <pochu@debian.org> Sat, 11 Dec 2010 19:19:52 +0100 15 16 atk1.0 (1.32.0-1) experimental; urgency=low 17 18 [ Josselin Mouette ] 19 * Make libatk1.0-0 depend on libatk1.0-data and remove the opposite 20 dependency. Closes: #599666. 21 22 [ Laurent Bigonville ] 23 * New upstream stable release. 24 - Refresh debian/patches/90-relibtoolize.patch 25 * debian/control.in: 26 - Bump Standards-Version to 3.9.1 27 - Remove duplicate Uploaders 28 - Remove duplicate Section/Priority to please lintian 29 * debian/rules: Bump SHLIB_VERSION version 30 * Switch to dpkg-source 3.0 (quilt) format 31 * Add libatk1.0-0.symbols file 32 * Enable introspection support (Closes: #582385) 33 34 -- Laurent Bigonville <bigon@debian.org> Mon, 22 Nov 2010 19:38:00 +0100 6 35 7 36 atk1.0 (1.30.0-1) unstable; urgency=low -
pkg/raul/main/atk1.0/trunk/debian/control
r6599 r7000 8 8 Priority: optional 9 9 Maintainer: Debian GNOME Maintainers <pkg-gnome-maintainers@lists.alioth.debian.org> 10 Uploaders: David Weinehall <tao@debian.org>, Josselin Mouette <joss@debian.org>, Mario Lang <mlang@debian.org>, Sebastian Dröge <slomo@debian.org>, David Weinehall <tao@debian.org>10 Uploaders: David Weinehall <tao@debian.org>, Emilio Pozuelo Monfort <pochu@debian.org>, Josselin Mouette <joss@debian.org>, Laurent Bigonville <bigon@debian.org>, Mario Lang <mlang@debian.org>, Sebastian Dröge <slomo@debian.org> 11 11 Vcs-Browser: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/atk1.0 12 12 Vcs-Svn: svn://svn.debian.org/svn/pkg-gnome/desktop/unstable/atk1.0 … … 18 18 gtk-doc-tools, 19 19 docbook-xml, 20 autotools-dev 20 autotools-dev, 21 gobject-introspection (>= 0.9.12-4~), 22 libgirepository1.0-dev (>= 0.9.3), 23 gir1.2-glib-2.0 21 24 Build-Depends-Indep: libglib2.0-doc 22 Standards-Version: 3. 8.425 Standards-Version: 3.9.1 23 26 Homepage: http://www.gtk.org/ 24 27 25 28 Package: libatk1.0-0 26 Section: libs27 29 Architecture: any 28 30 Depends: ${misc:Depends}, 29 ${shlibs:Depends} 30 Recommends: libatk1.0-data 31 ${shlibs:Depends}, 32 libatk1.0-data (= ${source:Version}) 31 33 Description: The ATK accessibility toolkit 32 34 ATK is a toolkit providing accessibility interfaces for applications or … … 40 42 XC-Package-Type: udeb 41 43 Section: debian-installer 42 Priority: optional43 44 Architecture: any 44 45 Depends: ${misc:Depends}, … … 57 58 Section: misc 58 59 Architecture: all 59 Depends: ${misc:Depends}, 60 libatk1.0-0 (>= ${source:Version}) 60 Depends: ${misc:Depends} 61 61 Description: Common files for the ATK accessibility toolkit 62 62 ATK is a toolkit providing accessibility interfaces for applications or … … 75 75 libglib2.0-dev (>= 2.4.1-2) 76 76 Replaces: libatk0-dev, 77 libatk-dev 77 libatk-dev, 78 gir-repository-dev 78 79 Conflicts: libatk0-dev, 79 80 libatk-dev … … 122 123 /usr/share/doc/libatk1.0-doc/ . 123 124 125 Package: gir1.2-atk-1.0 126 Architecture: any 127 Depends: ${misc:Depends}, 128 ${shlibs:Depends}, 129 ${gir:Depends} 130 Replaces: gir1.0-gtk-2.0 (<< 2.22), 131 gobject-introspection-repository 132 Conflicts: gir1.0-atk-1.0 133 Description: The ATK accessibility toolkit (GObject introspection) 134 ATK is a toolkit providing accessibility interfaces for applications or 135 other toolkits. By implementing these interfaces, those other toolkits or 136 applications can be used with tools such as screen readers, magnifiers, and 137 other alternative input devices. 138 . 139 This package can be used by other packages using the GIRepository format to 140 generate dynamic bindings -
pkg/raul/main/atk1.0/trunk/debian/control.in
r6599 r7000 3 3 Priority: optional 4 4 Maintainer: Debian GNOME Maintainers <pkg-gnome-maintainers@lists.alioth.debian.org> 5 Uploaders: @GNOME_TEAM@ , David Weinehall <tao@debian.org>5 Uploaders: @GNOME_TEAM@ 6 6 Vcs-Browser: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/atk1.0 7 7 Vcs-Svn: svn://svn.debian.org/svn/pkg-gnome/desktop/unstable/atk1.0 … … 13 13 gtk-doc-tools, 14 14 docbook-xml, 15 autotools-dev 15 autotools-dev, 16 gobject-introspection (>= 0.9.12-4~), 17 libgirepository1.0-dev (>= 0.9.3), 18 gir1.2-glib-2.0 16 19 Build-Depends-Indep: libglib2.0-doc 17 Standards-Version: 3. 8.420 Standards-Version: 3.9.1 18 21 Homepage: http://www.gtk.org/ 19 22 20 23 Package: libatk1.0-0 21 Section: libs22 24 Architecture: any 23 25 Depends: ${misc:Depends}, 24 ${shlibs:Depends} 25 Recommends: libatk1.0-data 26 ${shlibs:Depends}, 27 libatk1.0-data (= ${source:Version}) 26 28 Description: The ATK accessibility toolkit 27 29 ATK is a toolkit providing accessibility interfaces for applications or … … 35 37 XC-Package-Type: udeb 36 38 Section: debian-installer 37 Priority: optional38 39 Architecture: any 39 40 Depends: ${misc:Depends}, … … 52 53 Section: misc 53 54 Architecture: all 54 Depends: ${misc:Depends}, 55 libatk1.0-0 (>= ${source:Version}) 55 Depends: ${misc:Depends} 56 56 Description: Common files for the ATK accessibility toolkit 57 57 ATK is a toolkit providing accessibility interfaces for applications or … … 70 70 libglib2.0-dev (>= 2.4.1-2) 71 71 Replaces: libatk0-dev, 72 libatk-dev 72 libatk-dev, 73 gir-repository-dev 73 74 Conflicts: libatk0-dev, 74 75 libatk-dev … … 117 118 /usr/share/doc/libatk1.0-doc/ . 118 119 120 Package: gir1.2-atk-1.0 121 Architecture: any 122 Depends: ${misc:Depends}, 123 ${shlibs:Depends}, 124 ${gir:Depends} 125 Replaces: gir1.0-gtk-2.0 (<< 2.22), 126 gobject-introspection-repository 127 Conflicts: gir1.0-atk-1.0 128 Description: The ATK accessibility toolkit (GObject introspection) 129 ATK is a toolkit providing accessibility interfaces for applications or 130 other toolkits. By implementing these interfaces, those other toolkits or 131 applications can be used with tools such as screen readers, magnifiers, and 132 other alternative input devices. 133 . 134 This package can be used by other packages using the GIRepository format to 135 generate dynamic bindings -
pkg/raul/main/atk1.0/trunk/debian/libatk1.0-dev.install
r446 r7000 4 4 debian/tmp/usr/lib/pkgconfig/ 5 5 debian/tmp/usr/include 6 debian/tmp/usr/share/gir-1.0 -
pkg/raul/main/atk1.0/trunk/debian/patches/90-relibtoolize.patch
r6599 r7000 1 diff -Naur atk1.0-1.30.0.old/aclocal.m4 atk1.0-1.30.0/aclocal.m4 2 --- atk1.0-1.30.0.old/aclocal.m4 2010-03-30 00:53:46.000000000 +0200 3 +++ atk1.0-1.30.0/aclocal.m4 2010-03-31 09:05:40.266315440 +0200 4 @@ -1,4 +1,4 @@ 5 -# generated automatically by aclocal 1.11 -*- Autoconf -*- 6 +# generated automatically by aclocal 1.11.1 -*- Autoconf -*- 7 8 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 9 # 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc. 10 @@ -13,1756 +13,1756 @@ 11 12 m4_ifndef([AC_AUTOCONF_VERSION], 13 [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl 14 -m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.64],, 15 -[m4_warning([this file was generated for autoconf 2.64. 16 +m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.65],, 17 +[m4_warning([this file was generated for autoconf 2.65. 18 You have another version of autoconf. It may work, but is not guaranteed to. 19 If you have problems, you may need to regenerate the build system entirely. 20 To do so, use the procedure documented by the package, typically `autoreconf'.])]) 21 22 -# Copyright (C) 2002, 2003, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. 23 -# 24 -# This file is free software; the Free Software Foundation 25 -# gives unlimited permission to copy and/or distribute it, 26 -# with or without modifications, as long as this notice is preserved. 27 - 28 -# AM_AUTOMAKE_VERSION(VERSION) 29 -# ---------------------------- 30 -# Automake X.Y traces this macro to ensure aclocal.m4 has been 31 -# generated from the m4 files accompanying Automake X.Y. 32 -# (This private macro should not be called outside this file.) 33 -AC_DEFUN([AM_AUTOMAKE_VERSION], 34 -[am__api_version='1.11' 35 -dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to 36 -dnl require some minimum version. Point them to the right macro. 37 -m4_if([$1], [1.11], [], 38 - [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl 39 -]) 40 - 41 -# _AM_AUTOCONF_VERSION(VERSION) 42 -# ----------------------------- 43 -# aclocal traces this macro to find the Autoconf version. 44 -# This is a private macro too. Using m4_define simplifies 45 -# the logic in aclocal, which can simply ignore this definition. 46 -m4_define([_AM_AUTOCONF_VERSION], []) 47 - 48 -# AM_SET_CURRENT_AUTOMAKE_VERSION 49 -# ------------------------------- 50 -# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced. 51 -# This function is AC_REQUIREd by AM_INIT_AUTOMAKE. 52 -AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], 53 -[AM_AUTOMAKE_VERSION([1.11])dnl 54 -m4_ifndef([AC_AUTOCONF_VERSION], 55 - [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl 56 -_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))]) 57 - 58 -# AM_AUX_DIR_EXPAND -*- Autoconf -*- 59 +# Configure paths for GLIB 60 +# Owen Taylor 1997-2001 61 62 -# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc. 63 -# 64 -# This file is free software; the Free Software Foundation 65 -# gives unlimited permission to copy and/or distribute it, 66 -# with or without modifications, as long as this notice is preserved. 67 +dnl AM_PATH_GLIB_2_0([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND [, MODULES]]]]) 68 +dnl Test for GLIB, and define GLIB_CFLAGS and GLIB_LIBS, if gmodule, gobject, 69 +dnl gthread, or gio is specified in MODULES, pass to pkg-config 70 +dnl 71 +AC_DEFUN([AM_PATH_GLIB_2_0], 72 +[dnl 73 +dnl Get the cflags and libraries from pkg-config 74 +dnl 75 +AC_ARG_ENABLE(glibtest, [ --disable-glibtest do not try to compile and run a test GLIB program], 76 + , enable_glibtest=yes) 77 78 -# For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets 79 -# $ac_aux_dir to `$srcdir/foo'. In other projects, it is set to 80 -# `$srcdir', `$srcdir/..', or `$srcdir/../..'. 81 -# 82 -# Of course, Automake must honor this variable whenever it calls a 83 -# tool from the auxiliary directory. The problem is that $srcdir (and 84 -# therefore $ac_aux_dir as well) can be either absolute or relative, 85 -# depending on how configure is run. This is pretty annoying, since 86 -# it makes $ac_aux_dir quite unusable in subdirectories: in the top 87 -# source directory, any form will work fine, but in subdirectories a 88 -# relative path needs to be adjusted first. 89 -# 90 -# $ac_aux_dir/missing 91 -# fails when called from a subdirectory if $ac_aux_dir is relative 92 -# $top_srcdir/$ac_aux_dir/missing 93 -# fails if $ac_aux_dir is absolute, 94 -# fails when called from a subdirectory in a VPATH build with 95 -# a relative $ac_aux_dir 96 -# 97 -# The reason of the latter failure is that $top_srcdir and $ac_aux_dir 98 -# are both prefixed by $srcdir. In an in-source build this is usually 99 -# harmless because $srcdir is `.', but things will broke when you 100 -# start a VPATH build or use an absolute $srcdir. 101 -# 102 -# So we could use something similar to $top_srcdir/$ac_aux_dir/missing, 103 -# iff we strip the leading $srcdir from $ac_aux_dir. That would be: 104 -# am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"` 105 -# and then we would define $MISSING as 106 -# MISSING="\${SHELL} $am_aux_dir/missing" 107 -# This will work as long as MISSING is not called from configure, because 108 -# unfortunately $(top_srcdir) has no meaning in configure. 109 -# However there are other variables, like CC, which are often used in 110 -# configure, and could therefore not use this "fixed" $ac_aux_dir. 111 -# 112 -# Another solution, used here, is to always expand $ac_aux_dir to an 113 -# absolute PATH. The drawback is that using absolute paths prevent a 114 -# configured tree to be moved without reconfiguration. 115 + pkg_config_args=glib-2.0 116 + for module in . $4 117 + do 118 + case "$module" in 119 + gmodule) 120 + pkg_config_args="$pkg_config_args gmodule-2.0" 121 + ;; 122 + gmodule-no-export) 123 + pkg_config_args="$pkg_config_args gmodule-no-export-2.0" 124 + ;; 125 + gobject) 126 + pkg_config_args="$pkg_config_args gobject-2.0" 127 + ;; 128 + gthread) 129 + pkg_config_args="$pkg_config_args gthread-2.0" 130 + ;; 131 + gio*) 132 + pkg_config_args="$pkg_config_args $module-2.0" 133 + ;; 134 + esac 135 + done 136 137 -AC_DEFUN([AM_AUX_DIR_EXPAND], 138 -[dnl Rely on autoconf to set up CDPATH properly. 139 -AC_PREREQ([2.50])dnl 140 -# expand $ac_aux_dir to an absolute path 141 -am_aux_dir=`cd $ac_aux_dir && pwd` 142 -]) 143 + PKG_PROG_PKG_CONFIG([0.16]) 144 145 -# AM_CONDITIONAL -*- Autoconf -*- 146 + no_glib="" 147 148 -# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006, 2008 149 -# Free Software Foundation, Inc. 150 -# 151 -# This file is free software; the Free Software Foundation 152 -# gives unlimited permission to copy and/or distribute it, 153 -# with or without modifications, as long as this notice is preserved. 154 + if test "x$PKG_CONFIG" = x ; then 155 + no_glib=yes 156 + PKG_CONFIG=no 157 + fi 158 159 -# serial 9 160 + min_glib_version=ifelse([$1], ,2.0.0,$1) 161 + AC_MSG_CHECKING(for GLIB - version >= $min_glib_version) 162 163 -# AM_CONDITIONAL(NAME, SHELL-CONDITION) 164 -# ------------------------------------- 165 -# Define a conditional. 166 -AC_DEFUN([AM_CONDITIONAL], 167 -[AC_PREREQ(2.52)dnl 168 - ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])], 169 - [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl 170 -AC_SUBST([$1_TRUE])dnl 171 -AC_SUBST([$1_FALSE])dnl 172 -_AM_SUBST_NOTMAKE([$1_TRUE])dnl 173 -_AM_SUBST_NOTMAKE([$1_FALSE])dnl 174 -m4_define([_AM_COND_VALUE_$1], [$2])dnl 175 -if $2; then 176 - $1_TRUE= 177 - $1_FALSE='#' 178 -else 179 - $1_TRUE='#' 180 - $1_FALSE= 181 -fi 182 -AC_CONFIG_COMMANDS_PRE( 183 -[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then 184 - AC_MSG_ERROR([[conditional "$1" was never defined. 185 -Usually this means the macro was only invoked conditionally.]]) 186 -fi])]) 187 + if test x$PKG_CONFIG != xno ; then 188 + ## don't try to run the test against uninstalled libtool libs 189 + if $PKG_CONFIG --uninstalled $pkg_config_args; then 190 + echo "Will use uninstalled version of GLib found in PKG_CONFIG_PATH" 191 + enable_glibtest=no 192 + fi 193 194 -# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2009 195 -# Free Software Foundation, Inc. 196 -# 197 -# This file is free software; the Free Software Foundation 198 -# gives unlimited permission to copy and/or distribute it, 199 -# with or without modifications, as long as this notice is preserved. 200 + if $PKG_CONFIG --atleast-version $min_glib_version $pkg_config_args; then 201 + : 202 + else 203 + no_glib=yes 204 + fi 205 + fi 206 207 -# serial 10 208 + if test x"$no_glib" = x ; then 209 + GLIB_GENMARSHAL=`$PKG_CONFIG --variable=glib_genmarshal glib-2.0` 210 + GOBJECT_QUERY=`$PKG_CONFIG --variable=gobject_query glib-2.0` 211 + GLIB_MKENUMS=`$PKG_CONFIG --variable=glib_mkenums glib-2.0` 212 213 -# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be 214 -# written in clear, in which case automake, when reading aclocal.m4, 215 -# will think it sees a *use*, and therefore will trigger all it's 216 -# C support machinery. Also note that it means that autoscan, seeing 217 -# CC etc. in the Makefile, will ask for an AC_PROG_CC use... 218 + GLIB_CFLAGS=`$PKG_CONFIG --cflags $pkg_config_args` 219 + GLIB_LIBS=`$PKG_CONFIG --libs $pkg_config_args` 220 + glib_config_major_version=`$PKG_CONFIG --modversion glib-2.0 | \ 221 + sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\1/'` 222 + glib_config_minor_version=`$PKG_CONFIG --modversion glib-2.0 | \ 223 + sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\2/'` 224 + glib_config_micro_version=`$PKG_CONFIG --modversion glib-2.0 | \ 225 + sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\3/'` 226 + if test "x$enable_glibtest" = "xyes" ; then 227 + ac_save_CFLAGS="$CFLAGS" 228 + ac_save_LIBS="$LIBS" 229 + CFLAGS="$CFLAGS $GLIB_CFLAGS" 230 + LIBS="$GLIB_LIBS $LIBS" 231 +dnl 232 +dnl Now check if the installed GLIB is sufficiently new. (Also sanity 233 +dnl checks the results of pkg-config to some extent) 234 +dnl 235 + rm -f conf.glibtest 236 + AC_TRY_RUN([ 237 +#include <glib.h> 238 +#include <stdio.h> 239 +#include <stdlib.h> 240 241 +int 242 +main () 243 +{ 244 + int major, minor, micro; 245 + char *tmp_version; 246 247 -# _AM_DEPENDENCIES(NAME) 248 -# ---------------------- 249 -# See how the compiler implements dependency checking. 250 -# NAME is "CC", "CXX", "GCJ", or "OBJC". 251 -# We try a few techniques and use that to set a single cache variable. 252 -# 253 -# We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was 254 -# modified to invoke _AM_DEPENDENCIES(CC); we would have a circular 255 -# dependency, and given that the user is not expected to run this macro, 256 -# just rely on AC_PROG_CC. 257 -AC_DEFUN([_AM_DEPENDENCIES], 258 -[AC_REQUIRE([AM_SET_DEPDIR])dnl 259 -AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl 260 -AC_REQUIRE([AM_MAKE_INCLUDE])dnl 261 -AC_REQUIRE([AM_DEP_TRACK])dnl 262 + fclose (fopen ("conf.glibtest", "w")); 263 264 -ifelse([$1], CC, [depcc="$CC" am_compiler_list=], 265 - [$1], CXX, [depcc="$CXX" am_compiler_list=], 266 - [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'], 267 - [$1], UPC, [depcc="$UPC" am_compiler_list=], 268 - [$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'], 269 - [depcc="$$1" am_compiler_list=]) 270 + /* HP/UX 9 (%@#!) writes to sscanf strings */ 271 + tmp_version = g_strdup("$min_glib_version"); 272 + if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) { 273 + printf("%s, bad version string\n", "$min_glib_version"); 274 + exit(1); 275 + } 276 277 -AC_CACHE_CHECK([dependency style of $depcc], 278 - [am_cv_$1_dependencies_compiler_type], 279 -[if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 280 - # We make a subdir and do the tests there. Otherwise we can end up 281 - # making bogus files that we don't know about and never remove. For 282 - # instance it was reported that on HP-UX the gcc test will end up 283 - # making a dummy file named `D' -- because `-MD' means `put the output 284 - # in D'. 285 - mkdir conftest.dir 286 - # Copy depcomp to subdir because otherwise we won't find it if we're 287 - # using a relative directory. 288 - cp "$am_depcomp" conftest.dir 289 - cd conftest.dir 290 - # We will build objects and dependencies in a subdirectory because 291 - # it helps to detect inapplicable dependency modes. For instance 292 - # both Tru64's cc and ICC support -MD to output dependencies as a 293 - # side effect of compilation, but ICC will put the dependencies in 294 - # the current directory while Tru64 will put them in the object 295 - # directory. 296 - mkdir sub 297 - 298 - am_cv_$1_dependencies_compiler_type=none 299 - if test "$am_compiler_list" = ""; then 300 - am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp` 301 + if ((glib_major_version != $glib_config_major_version) || 302 + (glib_minor_version != $glib_config_minor_version) || 303 + (glib_micro_version != $glib_config_micro_version)) 304 + { 305 + printf("\n*** 'pkg-config --modversion glib-2.0' returned %d.%d.%d, but GLIB (%d.%d.%d)\n", 306 + $glib_config_major_version, $glib_config_minor_version, $glib_config_micro_version, 307 + glib_major_version, glib_minor_version, glib_micro_version); 308 + printf ("*** was found! If pkg-config was correct, then it is best\n"); 309 + printf ("*** to remove the old version of GLib. You may also be able to fix the error\n"); 310 + printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n"); 311 + printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n"); 312 + printf("*** required on your system.\n"); 313 + printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n"); 314 + printf("*** to point to the correct configuration files\n"); 315 + } 316 + else if ((glib_major_version != GLIB_MAJOR_VERSION) || 317 + (glib_minor_version != GLIB_MINOR_VERSION) || 318 + (glib_micro_version != GLIB_MICRO_VERSION)) 319 + { 320 + printf("*** GLIB header files (version %d.%d.%d) do not match\n", 321 + GLIB_MAJOR_VERSION, GLIB_MINOR_VERSION, GLIB_MICRO_VERSION); 322 + printf("*** library (version %d.%d.%d)\n", 323 + glib_major_version, glib_minor_version, glib_micro_version); 324 + } 325 + else 326 + { 327 + if ((glib_major_version > major) || 328 + ((glib_major_version == major) && (glib_minor_version > minor)) || 329 + ((glib_major_version == major) && (glib_minor_version == minor) && (glib_micro_version >= micro))) 330 + { 331 + return 0; 332 + } 333 + else 334 + { 335 + printf("\n*** An old version of GLIB (%d.%d.%d) was found.\n", 336 + glib_major_version, glib_minor_version, glib_micro_version); 337 + printf("*** You need a version of GLIB newer than %d.%d.%d. The latest version of\n", 338 + major, minor, micro); 339 + printf("*** GLIB is always available from ftp://ftp.gtk.org.\n"); 340 + printf("***\n"); 341 + printf("*** If you have already installed a sufficiently new version, this error\n"); 342 + printf("*** probably means that the wrong copy of the pkg-config shell script is\n"); 343 + printf("*** being found. The easiest way to fix this is to remove the old version\n"); 344 + printf("*** of GLIB, but you can also set the PKG_CONFIG environment to point to the\n"); 345 + printf("*** correct copy of pkg-config. (In this case, you will have to\n"); 346 + printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n"); 347 + printf("*** so that the correct libraries are found at run-time))\n"); 348 + } 349 + } 350 + return 1; 351 +} 352 +],, no_glib=yes,[echo $ac_n "cross compiling; assumed OK... $ac_c"]) 353 + CFLAGS="$ac_save_CFLAGS" 354 + LIBS="$ac_save_LIBS" 355 + fi 356 fi 357 - am__universal=false 358 - m4_case([$1], [CC], 359 - [case " $depcc " in #( 360 - *\ -arch\ *\ -arch\ *) am__universal=true ;; 361 - esac], 362 - [CXX], 363 - [case " $depcc " in #( 364 - *\ -arch\ *\ -arch\ *) am__universal=true ;; 365 - esac]) 366 - 367 - for depmode in $am_compiler_list; do 368 - # Setup a source with many dependencies, because some compilers 369 - # like to wrap large dependency lists on column 80 (with \), and 370 - # we should not choose a depcomp mode which is confused by this. 371 - # 372 - # We need to recreate these files for each test, as the compiler may 373 - # overwrite some of them when testing with obscure command lines. 374 - # This happens at least with the AIX C compiler. 375 - : > sub/conftest.c 376 - for i in 1 2 3 4 5 6; do 377 - echo '#include "conftst'$i'.h"' >> sub/conftest.c 378 - # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with 379 - # Solaris 8's {/usr,}/bin/sh. 380 - touch sub/conftst$i.h 381 - done 382 - echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 383 - 384 - # We check with `-c' and `-o' for the sake of the "dashmstdout" 385 - # mode. It turns out that the SunPro C++ compiler does not properly 386 - # handle `-M -o', and we need to detect this. Also, some Intel 387 - # versions had trouble with output in subdirs 388 - am__obj=sub/conftest.${OBJEXT-o} 389 - am__minus_obj="-o $am__obj" 390 - case $depmode in 391 - gcc) 392 - # This depmode causes a compiler race in universal mode. 393 - test "$am__universal" = false || continue 394 - ;; 395 - nosideeffect) 396 - # after this tag, mechanisms are not by side-effect, so they'll 397 - # only be used when explicitly requested 398 - if test "x$enable_dependency_tracking" = xyes; then 399 - continue 400 - else 401 - break 402 - fi 403 - ;; 404 - msvisualcpp | msvcmsys) 405 - # This compiler won't grok `-c -o', but also, the minuso test has 406 - # not run yet. These depmodes are late enough in the game, and 407 - # so weak that their functioning should not be impacted. 408 - am__obj=conftest.${OBJEXT-o} 409 - am__minus_obj= 410 - ;; 411 - none) break ;; 412 - esac 413 - if depmode=$depmode \ 414 - source=sub/conftest.c object=$am__obj \ 415 - depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 416 - $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 417 - >/dev/null 2>conftest.err && 418 - grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 419 - grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 420 - grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 421 - ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 422 - # icc doesn't choke on unknown options, it will just issue warnings 423 - # or remarks (even with -Werror). So we grep stderr for any message 424 - # that says an option was ignored or not supported. 425 - # When given -MP, icc 7.0 and 7.1 complain thusly: 426 - # icc: Command line warning: ignoring option '-M'; no argument required 427 - # The diagnosis changed in icc 8.0: 428 - # icc: Command line remark: option '-MP' not supported 429 - if (grep 'ignoring option' conftest.err || 430 - grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 431 - am_cv_$1_dependencies_compiler_type=$depmode 432 - break 433 - fi 434 - fi 435 - done 436 - 437 - cd .. 438 - rm -rf conftest.dir 439 -else 440 - am_cv_$1_dependencies_compiler_type=none 441 -fi 442 -]) 443 -AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type]) 444 -AM_CONDITIONAL([am__fastdep$1], [ 445 - test "x$enable_dependency_tracking" != xno \ 446 - && test "$am_cv_$1_dependencies_compiler_type" = gcc3]) 447 -]) 448 - 449 - 450 -# AM_SET_DEPDIR 451 -# ------------- 452 -# Choose a directory name for dependency files. 453 -# This macro is AC_REQUIREd in _AM_DEPENDENCIES 454 -AC_DEFUN([AM_SET_DEPDIR], 455 -[AC_REQUIRE([AM_SET_LEADING_DOT])dnl 456 -AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl 457 -]) 458 - 459 - 460 -# AM_DEP_TRACK 461 -# ------------ 462 -AC_DEFUN([AM_DEP_TRACK], 463 -[AC_ARG_ENABLE(dependency-tracking, 464 -[ --disable-dependency-tracking speeds up one-time build 465 - --enable-dependency-tracking do not reject slow dependency extractors]) 466 -if test "x$enable_dependency_tracking" != xno; then 467 - am_depcomp="$ac_aux_dir/depcomp" 468 - AMDEPBACKSLASH='\' 469 -fi 470 -AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno]) 471 -AC_SUBST([AMDEPBACKSLASH])dnl 472 -_AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl 473 + if test "x$no_glib" = x ; then 474 + AC_MSG_RESULT(yes (version $glib_config_major_version.$glib_config_minor_version.$glib_config_micro_version)) 475 + ifelse([$2], , :, [$2]) 476 + else 477 + AC_MSG_RESULT(no) 478 + if test "$PKG_CONFIG" = "no" ; then 479 + echo "*** A new enough version of pkg-config was not found." 480 + echo "*** See http://www.freedesktop.org/software/pkgconfig/" 481 + else 482 + if test -f conf.glibtest ; then 483 + : 484 + else 485 + echo "*** Could not run GLIB test program, checking why..." 486 + ac_save_CFLAGS="$CFLAGS" 487 + ac_save_LIBS="$LIBS" 488 + CFLAGS="$CFLAGS $GLIB_CFLAGS" 489 + LIBS="$LIBS $GLIB_LIBS" 490 + AC_TRY_LINK([ 491 +#include <glib.h> 492 +#include <stdio.h> 493 +], [ return ((glib_major_version) || (glib_minor_version) || (glib_micro_version)); ], 494 + [ echo "*** The test program compiled, but did not run. This usually means" 495 + echo "*** that the run-time linker is not finding GLIB or finding the wrong" 496 + echo "*** version of GLIB. If it is not finding GLIB, you'll need to set your" 497 + echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point" 498 + echo "*** to the installed location Also, make sure you have run ldconfig if that" 499 + echo "*** is required on your system" 500 + echo "***" 501 + echo "*** If you have an old version installed, it is best to remove it, although" 502 + echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH" ], 503 + [ echo "*** The test program failed to compile or link. See the file config.log for the" 504 + echo "*** exact error that occured. This usually means GLIB is incorrectly installed."]) 505 + CFLAGS="$ac_save_CFLAGS" 506 + LIBS="$ac_save_LIBS" 507 + fi 508 + fi 509 + GLIB_CFLAGS="" 510 + GLIB_LIBS="" 511 + GLIB_GENMARSHAL="" 512 + GOBJECT_QUERY="" 513 + GLIB_MKENUMS="" 514 + ifelse([$3], , :, [$3]) 515 + fi 516 + AC_SUBST(GLIB_CFLAGS) 517 + AC_SUBST(GLIB_LIBS) 518 + AC_SUBST(GLIB_GENMARSHAL) 519 + AC_SUBST(GOBJECT_QUERY) 520 + AC_SUBST(GLIB_MKENUMS) 521 + rm -f conf.glibtest 522 ]) 523 524 -# Generate code to set up dependency tracking. -*- Autoconf -*- 525 - 526 -# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2008 527 -# Free Software Foundation, Inc. 528 +# Copyright (C) 1995-2002 Free Software Foundation, Inc. 529 +# Copyright (C) 2001-2003,2004 Red Hat, Inc. 530 # 531 -# This file is free software; the Free Software Foundation 532 -# gives unlimited permission to copy and/or distribute it, 533 -# with or without modifications, as long as this notice is preserved. 534 - 535 -#serial 5 536 - 537 -# _AM_OUTPUT_DEPENDENCY_COMMANDS 538 -# ------------------------------ 539 -AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS], 540 -[{ 541 - # Autoconf 2.62 quotes --file arguments for eval, but not when files 542 - # are listed without --file. Let's play safe and only enable the eval 543 - # if we detect the quoting. 544 - case $CONFIG_FILES in 545 - *\'*) eval set x "$CONFIG_FILES" ;; 546 - *) set x $CONFIG_FILES ;; 547 - esac 548 - shift 549 - for mf 550 - do 551 - # Strip MF so we end up with the name of the file. 552 - mf=`echo "$mf" | sed -e 's/:.*$//'` 553 - # Check whether this is an Automake generated Makefile or not. 554 - # We used to match only the files named `Makefile.in', but 555 - # some people rename them; so instead we look at the file content. 556 - # Grep'ing the first line is not enough: some people post-process 557 - # each Makefile.in and add a new line on top of each file to say so. 558 - # Grep'ing the whole file is not good either: AIX grep has a line 559 - # limit of 2048, but all sed's we know have understand at least 4000. 560 - if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then 561 - dirpart=`AS_DIRNAME("$mf")` 562 - else 563 - continue 564 - fi 565 - # Extract the definition of DEPDIR, am__include, and am__quote 566 - # from the Makefile without running `make'. 567 - DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` 568 - test -z "$DEPDIR" && continue 569 - am__include=`sed -n 's/^am__include = //p' < "$mf"` 570 - test -z "am__include" && continue 571 - am__quote=`sed -n 's/^am__quote = //p' < "$mf"` 572 - # When using ansi2knr, U may be empty or an underscore; expand it 573 - U=`sed -n 's/^U = //p' < "$mf"` 574 - # Find all dependency output files, they are included files with 575 - # $(DEPDIR) in their names. We invoke sed twice because it is the 576 - # simplest approach to changing $(DEPDIR) to its actual value in the 577 - # expansion. 578 - for file in `sed -n " 579 - s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ 580 - sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do 581 - # Make sure the directory exists. 582 - test -f "$dirpart/$file" && continue 583 - fdir=`AS_DIRNAME(["$file"])` 584 - AS_MKDIR_P([$dirpart/$fdir]) 585 - # echo "creating $dirpart/$file" 586 - echo '# dummy' > "$dirpart/$file" 587 - done 588 - done 589 -} 590 -])# _AM_OUTPUT_DEPENDENCY_COMMANDS 591 - 592 - 593 -# AM_OUTPUT_DEPENDENCY_COMMANDS 594 -# ----------------------------- 595 -# This macro should only be invoked once -- use via AC_REQUIRE. 596 +# This file is free software, distributed under the terms of the GNU 597 +# General Public License. As a special exception to the GNU General 598 +# Public License, this file may be distributed as part of a program 599 +# that contains a configuration script generated by Autoconf, under 600 +# the same distribution terms as the rest of that program. 601 # 602 -# This code is only required when automatic dependency tracking 603 -# is enabled. FIXME. This creates each `.P' file that we will 604 -# need in order to bootstrap the dependency handling code. 605 -AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS], 606 -[AC_CONFIG_COMMANDS([depfiles], 607 - [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS], 608 - [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"]) 609 -]) 610 - 611 -# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005 612 -# Free Software Foundation, Inc. 613 +# This file can be copied and used freely without restrictions. It can 614 +# be used in projects which are not available under the GNU Public License 615 +# but which still want to provide support for the GNU gettext functionality. 616 # 617 -# This file is free software; the Free Software Foundation 618 -# gives unlimited permission to copy and/or distribute it, 619 -# with or without modifications, as long as this notice is preserved. 620 - 621 -# serial 8 622 - 623 -# AM_CONFIG_HEADER is obsolete. It has been replaced by AC_CONFIG_HEADERS. 624 -AU_DEFUN([AM_CONFIG_HEADER], [AC_CONFIG_HEADERS($@)]) 625 - 626 -# Do all the work for Automake. -*- Autoconf -*- 627 - 628 -# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 629 -# 2005, 2006, 2008, 2009 Free Software Foundation, Inc. 630 +# Macro to add for using GNU gettext. 631 +# Ulrich Drepper <drepper@cygnus.com>, 1995, 1996 632 +# 633 +# Modified to never use included libintl. 634 +# Owen Taylor <otaylor@redhat.com>, 12/15/1998 635 +# 636 +# Major rework to remove unused code 637 +# Owen Taylor <otaylor@redhat.com>, 12/11/2002 638 +# 639 +# Added better handling of ALL_LINGUAS from GNU gettext version 640 +# written by Bruno Haible, Owen Taylor <otaylor.redhat.com> 5/30/3002 641 +# 642 +# Modified to require ngettext 643 +# Matthias Clasen <mclasen@redhat.com> 08/06/2004 644 # 645 -# This file is free software; the Free Software Foundation 646 -# gives unlimited permission to copy and/or distribute it, 647 -# with or without modifications, as long as this notice is preserved. 648 - 649 -# serial 16 650 +# We need this here as well, since someone might use autoconf-2.5x 651 +# to configure GLib then an older version to configure a package 652 +# using AM_GLIB_GNU_GETTEXT 653 +AC_PREREQ(2.53) 654 655 -# This macro actually does too much. Some checks are only needed if 656 -# your package does certain things. But this isn't really a big deal. 657 +dnl 658 +dnl We go to great lengths to make sure that aclocal won't 659 +dnl try to pull in the installed version of these macros 660 +dnl when running aclocal in the glib directory. 661 +dnl 662 +m4_copy([AC_DEFUN],[glib_DEFUN]) 663 +m4_copy([AC_REQUIRE],[glib_REQUIRE]) 664 +dnl 665 +dnl At the end, if we're not within glib, we'll define the public 666 +dnl definitions in terms of our private definitions. 667 +dnl 668 669 -# AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE]) 670 -# AM_INIT_AUTOMAKE([OPTIONS]) 671 -# ----------------------------------------------- 672 -# The call with PACKAGE and VERSION arguments is the old style 673 -# call (pre autoconf-2.50), which is being phased out. PACKAGE 674 -# and VERSION should now be passed to AC_INIT and removed from 675 -# the call to AM_INIT_AUTOMAKE. 676 -# We support both call styles for the transition. After 677 -# the next Automake release, Autoconf can make the AC_INIT 678 -# arguments mandatory, and then we can depend on a new Autoconf 679 -# release and drop the old call support. 680 -AC_DEFUN([AM_INIT_AUTOMAKE], 681 -[AC_PREREQ([2.62])dnl 682 -dnl Autoconf wants to disallow AM_ names. We explicitly allow 683 -dnl the ones we care about. 684 -m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl 685 -AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl 686 -AC_REQUIRE([AC_PROG_INSTALL])dnl 687 -if test "`cd $srcdir && pwd`" != "`pwd`"; then 688 - # Use -I$(srcdir) only when $(srcdir) != ., so that make's output 689 - # is not polluted with repeated "-I." 690 - AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl 691 - # test to see if srcdir already configured 692 - if test -f $srcdir/config.status; then 693 - AC_MSG_ERROR([source directory already configured; run "make distclean" there first]) 694 - fi 695 -fi 696 +# GLIB_LC_MESSAGES 697 +#-------------------- 698 +glib_DEFUN([GLIB_LC_MESSAGES], 699 + [AC_CHECK_HEADERS([locale.h]) 700 + if test $ac_cv_header_locale_h = yes; then 701 + AC_CACHE_CHECK([for LC_MESSAGES], am_cv_val_LC_MESSAGES, 702 + [AC_TRY_LINK([#include <locale.h>], [return LC_MESSAGES], 703 + am_cv_val_LC_MESSAGES=yes, am_cv_val_LC_MESSAGES=no)]) 704 + if test $am_cv_val_LC_MESSAGES = yes; then 705 + AC_DEFINE(HAVE_LC_MESSAGES, 1, 706 + [Define if your <locale.h> file defines LC_MESSAGES.]) 707 + fi 708 + fi]) 709 710 -# test whether we have cygpath 711 -if test -z "$CYGPATH_W"; then 712 - if (cygpath --version) >/dev/null 2>/dev/null; then 713 - CYGPATH_W='cygpath -w' 714 - else 715 - CYGPATH_W=echo 716 - fi 717 +# GLIB_PATH_PROG_WITH_TEST 718 +#---------------------------- 719 +dnl GLIB_PATH_PROG_WITH_TEST(VARIABLE, PROG-TO-CHECK-FOR, 720 +dnl TEST-PERFORMED-ON-FOUND_PROGRAM [, VALUE-IF-NOT-FOUND [, PATH]]) 721 +glib_DEFUN([GLIB_PATH_PROG_WITH_TEST], 722 +[# Extract the first word of "$2", so it can be a program name with args. 723 +set dummy $2; ac_word=[$]2 724 +AC_MSG_CHECKING([for $ac_word]) 725 +AC_CACHE_VAL(ac_cv_path_$1, 726 +[case "[$]$1" in 727 + /*) 728 + ac_cv_path_$1="[$]$1" # Let the user override the test with a path. 729 + ;; 730 + *) 731 + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" 732 + for ac_dir in ifelse([$5], , $PATH, [$5]); do 733 + test -z "$ac_dir" && ac_dir=. 734 + if test -f $ac_dir/$ac_word; then 735 + if [$3]; then 736 + ac_cv_path_$1="$ac_dir/$ac_word" 737 + break 738 + fi 739 + fi 740 + done 741 + IFS="$ac_save_ifs" 742 +dnl If no 4th arg is given, leave the cache variable unset, 743 +dnl so AC_PATH_PROGS will keep looking. 744 +ifelse([$4], , , [ test -z "[$]ac_cv_path_$1" && ac_cv_path_$1="$4" 745 +])dnl 746 + ;; 747 +esac])dnl 748 +$1="$ac_cv_path_$1" 749 +if test ifelse([$4], , [-n "[$]$1"], ["[$]$1" != "$4"]); then 750 + AC_MSG_RESULT([$]$1) 751 +else 752 + AC_MSG_RESULT(no) 753 fi 754 -AC_SUBST([CYGPATH_W]) 755 +AC_SUBST($1)dnl 756 +]) 757 758 -# Define the identity of the package. 759 -dnl Distinguish between old-style and new-style calls. 760 -m4_ifval([$2], 761 -[m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl 762 - AC_SUBST([PACKAGE], [$1])dnl 763 - AC_SUBST([VERSION], [$2])], 764 -[_AM_SET_OPTIONS([$1])dnl 765 -dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT. 766 -m4_if(m4_ifdef([AC_PACKAGE_NAME], 1)m4_ifdef([AC_PACKAGE_VERSION], 1), 11,, 767 - [m4_fatal([AC_INIT should be called with package and version arguments])])dnl 768 - AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl 769 - AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl 770 +# GLIB_WITH_NLS 771 +#----------------- 772 +glib_DEFUN([GLIB_WITH_NLS], 773 + dnl NLS is obligatory 774 + [USE_NLS=yes 775 + AC_SUBST(USE_NLS) 776 777 -_AM_IF_OPTION([no-define],, 778 -[AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package]) 779 - AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl 780 + gt_cv_have_gettext=no 781 782 -# Some tools Automake needs. 783 -AC_REQUIRE([AM_SANITY_CHECK])dnl 784 -AC_REQUIRE([AC_ARG_PROGRAM])dnl 785 -AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version}) 786 -AM_MISSING_PROG(AUTOCONF, autoconf) 787 -AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version}) 788 -AM_MISSING_PROG(AUTOHEADER, autoheader) 789 -AM_MISSING_PROG(MAKEINFO, makeinfo) 790 -AC_REQUIRE([AM_PROG_INSTALL_SH])dnl 791 -AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl 792 -AC_REQUIRE([AM_PROG_MKDIR_P])dnl 793 -# We need awk for the "check" target. The system "awk" is bad on 794 -# some platforms. 795 -AC_REQUIRE([AC_PROG_AWK])dnl 796 -AC_REQUIRE([AC_PROG_MAKE_SET])dnl 797 -AC_REQUIRE([AM_SET_LEADING_DOT])dnl 798 -_AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])], 799 - [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])], 800 - [_AM_PROG_TAR([v7])])]) 801 -_AM_IF_OPTION([no-dependencies],, 802 -[AC_PROVIDE_IFELSE([AC_PROG_CC], 803 - [_AM_DEPENDENCIES(CC)], 804 - [define([AC_PROG_CC], 805 - defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl 806 -AC_PROVIDE_IFELSE([AC_PROG_CXX], 807 - [_AM_DEPENDENCIES(CXX)], 808 - [define([AC_PROG_CXX], 809 - defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl 810 -AC_PROVIDE_IFELSE([AC_PROG_OBJC], 811 - [_AM_DEPENDENCIES(OBJC)], 812 - [define([AC_PROG_OBJC], 813 - defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl 814 -]) 815 -_AM_IF_OPTION([silent-rules], [AC_REQUIRE([AM_SILENT_RULES])])dnl 816 -dnl The `parallel-tests' driver may need to know about EXEEXT, so add the 817 -dnl `am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This macro 818 -dnl is hooked onto _AC_COMPILER_EXEEXT early, see below. 819 -AC_CONFIG_COMMANDS_PRE(dnl 820 -[m4_provide_if([_AM_COMPILER_EXEEXT], 821 - [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl 822 -]) 823 + CATOBJEXT=NONE 824 + XGETTEXT=: 825 + INTLLIBS= 826 827 -dnl Hook into `_AC_COMPILER_EXEEXT' early to learn its expansion. Do not 828 -dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further 829 -dnl mangled by Autoconf and run in a shell conditional statement. 830 -m4_define([_AC_COMPILER_EXEEXT], 831 -m4_defn([_AC_COMPILER_EXEEXT])[m4_provide([_AM_COMPILER_EXEEXT])]) 832 + AC_CHECK_HEADER(libintl.h, 833 + [gt_cv_func_dgettext_libintl="no" 834 + libintl_extra_libs="" 835 836 + # 837 + # First check in libc 838 + # 839 + AC_CACHE_CHECK([for ngettext in libc], gt_cv_func_ngettext_libc, 840 + [AC_TRY_LINK([ 841 +#include <libintl.h> 842 +], 843 + [return !ngettext ("","", 1)], 844 + gt_cv_func_ngettext_libc=yes, 845 + gt_cv_func_ngettext_libc=no) 846 + ]) 847 + 848 + if test "$gt_cv_func_ngettext_libc" = "yes" ; then 849 + AC_CACHE_CHECK([for dgettext in libc], gt_cv_func_dgettext_libc, 850 + [AC_TRY_LINK([ 851 +#include <libintl.h> 852 +], 853 + [return !dgettext ("","")], 854 + gt_cv_func_dgettext_libc=yes, 855 + gt_cv_func_dgettext_libc=no) 856 + ]) 857 + fi 858 + 859 + if test "$gt_cv_func_ngettext_libc" = "yes" ; then 860 + AC_CHECK_FUNCS(bind_textdomain_codeset) 861 + fi 862 863 -# When config.status generates a header, we must update the stamp-h file. 864 -# This file resides in the same directory as the config header 865 -# that is generated. The stamp files are numbered to have different names. 866 + # 867 + # If we don't have everything we want, check in libintl 868 + # 869 + if test "$gt_cv_func_dgettext_libc" != "yes" \ 870 + || test "$gt_cv_func_ngettext_libc" != "yes" \ 871 + || test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then 872 + 873 + AC_CHECK_LIB(intl, bindtextdomain, 874 + [AC_CHECK_LIB(intl, ngettext, 875 + [AC_CHECK_LIB(intl, dgettext, 876 + gt_cv_func_dgettext_libintl=yes)])]) 877 878 -# Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the 879 -# loop where config.status creates the headers, so we can generate 880 -# our stamp files there. 881 -AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK], 882 -[# Compute $1's index in $config_headers. 883 -_am_arg=$1 884 -_am_stamp_count=1 885 -for _am_header in $config_headers :; do 886 - case $_am_header in 887 - $_am_arg | $_am_arg:* ) 888 - break ;; 889 - * ) 890 - _am_stamp_count=`expr $_am_stamp_count + 1` ;; 891 - esac 892 -done 893 -echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count]) 894 + if test "$gt_cv_func_dgettext_libintl" != "yes" ; then 895 + AC_MSG_CHECKING([if -liconv is needed to use gettext]) 896 + AC_MSG_RESULT([]) 897 + AC_CHECK_LIB(intl, ngettext, 898 + [AC_CHECK_LIB(intl, dcgettext, 899 + [gt_cv_func_dgettext_libintl=yes 900 + libintl_extra_libs=-liconv], 901 + :,-liconv)], 902 + :,-liconv) 903 + fi 904 905 -# Copyright (C) 2001, 2003, 2005, 2008 Free Software Foundation, Inc. 906 -# 907 -# This file is free software; the Free Software Foundation 908 -# gives unlimited permission to copy and/or distribute it, 909 -# with or without modifications, as long as this notice is preserved. 910 + # 911 + # If we found libintl, then check in it for bind_textdomain_codeset(); 912 + # we'll prefer libc if neither have bind_textdomain_codeset(), 913 + # and both have dgettext and ngettext 914 + # 915 + if test "$gt_cv_func_dgettext_libintl" = "yes" ; then 916 + glib_save_LIBS="$LIBS" 917 + LIBS="$LIBS -lintl $libintl_extra_libs" 918 + unset ac_cv_func_bind_textdomain_codeset 919 + AC_CHECK_FUNCS(bind_textdomain_codeset) 920 + LIBS="$glib_save_LIBS" 921 922 -# AM_PROG_INSTALL_SH 923 -# ------------------ 924 -# Define $install_sh. 925 -AC_DEFUN([AM_PROG_INSTALL_SH], 926 -[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl 927 -if test x"${install_sh}" != xset; then 928 - case $am_aux_dir in 929 - *\ * | *\ *) 930 - install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; 931 - *) 932 - install_sh="\${SHELL} $am_aux_dir/install-sh" 933 - esac 934 -fi 935 -AC_SUBST(install_sh)]) 936 + if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then 937 + gt_cv_func_dgettext_libc=no 938 + else 939 + if test "$gt_cv_func_dgettext_libc" = "yes" \ 940 + && test "$gt_cv_func_ngettext_libc" = "yes"; then 941 + gt_cv_func_dgettext_libintl=no 942 + fi 943 + fi 944 + fi 945 + fi 946 947 -# Copyright (C) 2003, 2005 Free Software Foundation, Inc. 948 -# 949 -# This file is free software; the Free Software Foundation 950 -# gives unlimited permission to copy and/or distribute it, 951 -# with or without modifications, as long as this notice is preserved. 952 + if test "$gt_cv_func_dgettext_libc" = "yes" \ 953 + || test "$gt_cv_func_dgettext_libintl" = "yes"; then 954 + gt_cv_have_gettext=yes 955 + fi 956 + 957 + if test "$gt_cv_func_dgettext_libintl" = "yes"; then 958 + INTLLIBS="-lintl $libintl_extra_libs" 959 + fi 960 + 961 + if test "$gt_cv_have_gettext" = "yes"; then 962 + AC_DEFINE(HAVE_GETTEXT,1, 963 + [Define if the GNU gettext() function is already present or preinstalled.]) 964 + GLIB_PATH_PROG_WITH_TEST(MSGFMT, msgfmt, 965 + [test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"], no)dnl 966 + if test "$MSGFMT" != "no"; then 967 + glib_save_LIBS="$LIBS" 968 + LIBS="$LIBS $INTLLIBS" 969 + AC_CHECK_FUNCS(dcgettext) 970 + MSGFMT_OPTS= 971 + AC_MSG_CHECKING([if msgfmt accepts -c]) 972 + GLIB_RUN_PROG([$MSGFMT -c -o /dev/null],[ 973 +msgid "" 974 +msgstr "" 975 +"Content-Type: text/plain; charset=UTF-8\n" 976 +"Project-Id-Version: test 1.0\n" 977 +"PO-Revision-Date: 2007-02-15 12:01+0100\n" 978 +"Last-Translator: test <foo@bar.xx>\n" 979 +"Language-Team: C <LL@li.org>\n" 980 +"MIME-Version: 1.0\n" 981 +"Content-Transfer-Encoding: 8bit\n" 982 +], [MSGFMT_OPTS=-c; AC_MSG_RESULT([yes])], [AC_MSG_RESULT([no])]) 983 + AC_SUBST(MSGFMT_OPTS) 984 + AC_PATH_PROG(GMSGFMT, gmsgfmt, $MSGFMT) 985 + GLIB_PATH_PROG_WITH_TEST(XGETTEXT, xgettext, 986 + [test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"], :) 987 + AC_TRY_LINK(, [extern int _nl_msg_cat_cntr; 988 + return _nl_msg_cat_cntr], 989 + [CATOBJEXT=.gmo 990 + DATADIRNAME=share], 991 + [case $host in 992 + *-*-solaris*) 993 + dnl On Solaris, if bind_textdomain_codeset is in libc, 994 + dnl GNU format message catalog is always supported, 995 + dnl since both are added to the libc all together. 996 + dnl Hence, we'd like to go with DATADIRNAME=share and 997 + dnl and CATOBJEXT=.gmo in this case. 998 + AC_CHECK_FUNC(bind_textdomain_codeset, 999 + [CATOBJEXT=.gmo 1000 + DATADIRNAME=share], 1001 + [CATOBJEXT=.mo 1002 + DATADIRNAME=lib]) 1003 + ;; 1004 + *) 1005 + CATOBJEXT=.mo 1006 + DATADIRNAME=lib 1007 + ;; 1008 + esac]) 1009 + LIBS="$glib_save_LIBS" 1010 + INSTOBJEXT=.mo 1011 + else 1012 + gt_cv_have_gettext=no 1013 + fi 1014 + fi 1015 + ]) 1016 1017 -# serial 2 1018 + if test "$gt_cv_have_gettext" = "yes" ; then 1019 + AC_DEFINE(ENABLE_NLS, 1, 1020 + [always defined to indicate that i18n is enabled]) 1021 + fi 1022 1023 -# Check whether the underlying file-system supports filenames 1024 -# with a leading dot. For instance MS-DOS doesn't. 1025 -AC_DEFUN([AM_SET_LEADING_DOT], 1026 -[rm -rf .tst 2>/dev/null 1027 -mkdir .tst 2>/dev/null 1028 -if test -d .tst; then 1029 - am__leading_dot=. 1030 -else 1031 - am__leading_dot=_ 1032 -fi 1033 -rmdir .tst 2>/dev/null 1034 -AC_SUBST([am__leading_dot])]) 1035 + dnl Test whether we really found GNU xgettext. 1036 + if test "$XGETTEXT" != ":"; then 1037 + dnl If it is not GNU xgettext we define it as : so that the 1038 + dnl Makefiles still can work. 1039 + if $XGETTEXT --omit-header /dev/null 2> /dev/null; then 1040 + : ; 1041 + else 1042 + AC_MSG_RESULT( 1043 + [found xgettext program is not GNU xgettext; ignore it]) 1044 + XGETTEXT=":" 1045 + fi 1046 + fi 1047 1048 -# Check to see how 'make' treats includes. -*- Autoconf -*- 1049 + # We need to process the po/ directory. 1050 + POSUB=po 1051 1052 -# Copyright (C) 2001, 2002, 2003, 2005, 2009 Free Software Foundation, Inc. 1053 -# 1054 -# This file is free software; the Free Software Foundation 1055 -# gives unlimited permission to copy and/or distribute it, 1056 -# with or without modifications, as long as this notice is preserved. 1057 + AC_OUTPUT_COMMANDS( 1058 + [case "$CONFIG_FILES" in *po/Makefile.in*) 1059 + sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile 1060 + esac]) 1061 1062 -# serial 4 1063 + dnl These rules are solely for the distribution goal. While doing this 1064 + dnl we only have to keep exactly one list of the available catalogs 1065 + dnl in configure.in. 1066 + for lang in $ALL_LINGUAS; do 1067 + GMOFILES="$GMOFILES $lang.gmo" 1068 + POFILES="$POFILES $lang.po" 1069 + done 1070 1071 -# AM_MAKE_INCLUDE() 1072 -# ----------------- 1073 -# Check to see how make treats includes. 1074 -AC_DEFUN([AM_MAKE_INCLUDE], 1075 -[am_make=${MAKE-make} 1076 -cat > confinc << 'END' 1077 -am__doit: 1078 - @echo this is the am__doit target 1079 -.PHONY: am__doit 1080 -END 1081 -# If we don't find an include directive, just comment out the code. 1082 -AC_MSG_CHECKING([for style of include used by $am_make]) 1083 -am__include="#" 1084 -am__quote= 1085 -_am_result=none 1086 -# First try GNU make style include. 1087 -echo "include confinc" > confmf 1088 -# Ignore all kinds of additional output from `make'. 1089 -case `$am_make -s -f confmf 2> /dev/null` in #( 1090 -*the\ am__doit\ target*) 1091 - am__include=include 1092 - am__quote= 1093 - _am_result=GNU 1094 - ;; 1095 -esac 1096 -# Now try BSD make style include. 1097 -if test "$am__include" = "#"; then 1098 - echo '.include "confinc"' > confmf 1099 - case `$am_make -s -f confmf 2> /dev/null` in #( 1100 - *the\ am__doit\ target*) 1101 - am__include=.include 1102 - am__quote="\"" 1103 - _am_result=BSD 1104 - ;; 1105 - esac 1106 -fi 1107 -AC_SUBST([am__include]) 1108 -AC_SUBST([am__quote]) 1109 -AC_MSG_RESULT([$_am_result]) 1110 -rm -f confinc confmf 1111 -]) 1112 + dnl Make all variables we use known to autoconf. 1113 + AC_SUBST(CATALOGS) 1114 + AC_SUBST(CATOBJEXT) 1115 + AC_SUBST(DATADIRNAME) 1116 + AC_SUBST(GMOFILES) 1117 + AC_SUBST(INSTOBJEXT) 1118 + AC_SUBST(INTLLIBS) 1119 + AC_SUBST(PO_IN_DATADIR_TRUE) 1120 + AC_SUBST(PO_IN_DATADIR_FALSE) 1121 + AC_SUBST(POFILES) 1122 + AC_SUBST(POSUB) 1123 + ]) 1124 1125 -# Fake the existence of programs that GNU maintainers use. -*- Autoconf -*- 1126 +# AM_GLIB_GNU_GETTEXT 1127 +# ------------------- 1128 +# Do checks necessary for use of gettext. If a suitable implementation 1129 +# of gettext is found in either in libintl or in the C library, 1130 +# it will set INTLLIBS to the libraries needed for use of gettext 1131 +# and AC_DEFINE() HAVE_GETTEXT and ENABLE_NLS. (The shell variable 1132 +# gt_cv_have_gettext will be set to "yes".) It will also call AC_SUBST() 1133 +# on various variables needed by the Makefile.in.in installed by 1134 +# glib-gettextize. 1135 +dnl 1136 +glib_DEFUN([GLIB_GNU_GETTEXT], 1137 + [AC_REQUIRE([AC_PROG_CC])dnl 1138 + AC_REQUIRE([AC_HEADER_STDC])dnl 1139 + 1140 + GLIB_LC_MESSAGES 1141 + GLIB_WITH_NLS 1142 1143 -# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005, 2008 1144 -# Free Software Foundation, Inc. 1145 -# 1146 -# This file is free software; the Free Software Foundation 1147 -# gives unlimited permission to copy and/or distribute it, 1148 -# with or without modifications, as long as this notice is preserved. 1149 + if test "$gt_cv_have_gettext" = "yes"; then 1150 + if test "x$ALL_LINGUAS" = "x"; then 1151 + LINGUAS= 1152 + else 1153 + AC_MSG_CHECKING(for catalogs to be installed) 1154 + NEW_LINGUAS= 1155 + for presentlang in $ALL_LINGUAS; do 1156 + useit=no 1157 + if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then 1158 + desiredlanguages="$LINGUAS" 1159 + else 1160 + desiredlanguages="$ALL_LINGUAS" 1161 + fi 1162 + for desiredlang in $desiredlanguages; do 1163 + # Use the presentlang catalog if desiredlang is 1164 + # a. equal to presentlang, or 1165 + # b. a variant of presentlang (because in this case, 1166 + # presentlang can be used as a fallback for messages 1167 + # which are not translated in the desiredlang catalog). 1168 + case "$desiredlang" in 1169 + "$presentlang"*) useit=yes;; 1170 + esac 1171 + done 1172 + if test $useit = yes; then 1173 + NEW_LINGUAS="$NEW_LINGUAS $presentlang" 1174 + fi 1175 + done 1176 + LINGUAS=$NEW_LINGUAS 1177 + AC_MSG_RESULT($LINGUAS) 1178 + fi 1179 1180 -# serial 6 1181 + dnl Construct list of names of catalog files to be constructed. 1182 + if test -n "$LINGUAS"; then 1183 + for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done 1184 + fi 1185 + fi 1186 1187 -# AM_MISSING_PROG(NAME, PROGRAM) 1188 -# ------------------------------ 1189 -AC_DEFUN([AM_MISSING_PROG], 1190 -[AC_REQUIRE([AM_MISSING_HAS_RUN]) 1191 -$1=${$1-"${am_missing_run}$2"} 1192 -AC_SUBST($1)]) 1193 + dnl If the AC_CONFIG_AUX_DIR macro for autoconf is used we possibly 1194 + dnl find the mkinstalldirs script in another subdir but ($top_srcdir). 1195 + dnl Try to locate is. 1196 + MKINSTALLDIRS= 1197 + if test -n "$ac_aux_dir"; then 1198 + MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs" 1199 + fi 1200 + if test -z "$MKINSTALLDIRS"; then 1201 + MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs" 1202 + fi 1203 + AC_SUBST(MKINSTALLDIRS) 1204 1205 + dnl Generate list of files to be processed by xgettext which will 1206 + dnl be included in po/Makefile. 1207 + test -d po || mkdir po 1208 + if test "x$srcdir" != "x."; then 1209 + if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then 1210 + posrcprefix="$srcdir/" 1211 + else 1212 + posrcprefix="../$srcdir/" 1213 + fi 1214 + else 1215 + posrcprefix="../" 1216 + fi 1217 + rm -f po/POTFILES 1218 + sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \ 1219 + < $srcdir/po/POTFILES.in > po/POTFILES 1220 + ]) 1221 1222 -# AM_MISSING_HAS_RUN 1223 -# ------------------ 1224 -# Define MISSING if not defined so far and test if it supports --run. 1225 -# If it does, set am_missing_run to use it, otherwise, to nothing. 1226 -AC_DEFUN([AM_MISSING_HAS_RUN], 1227 -[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl 1228 -AC_REQUIRE_AUX_FILE([missing])dnl 1229 -if test x"${MISSING+set}" != xset; then 1230 - case $am_aux_dir in 1231 - *\ * | *\ *) 1232 - MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; 1233 - *) 1234 - MISSING="\${SHELL} $am_aux_dir/missing" ;; 1235 - esac 1236 -fi 1237 -# Use eval to expand $SHELL 1238 -if eval "$MISSING --run true"; then 1239 - am_missing_run="$MISSING --run " 1240 +# AM_GLIB_DEFINE_LOCALEDIR(VARIABLE) 1241 +# ------------------------------- 1242 +# Define VARIABLE to the location where catalog files will 1243 +# be installed by po/Makefile. 1244 +glib_DEFUN([GLIB_DEFINE_LOCALEDIR], 1245 +[glib_REQUIRE([GLIB_GNU_GETTEXT])dnl 1246 +glib_save_prefix="$prefix" 1247 +glib_save_exec_prefix="$exec_prefix" 1248 +glib_save_datarootdir="$datarootdir" 1249 +test "x$prefix" = xNONE && prefix=$ac_default_prefix 1250 +test "x$exec_prefix" = xNONE && exec_prefix=$prefix 1251 +datarootdir=`eval echo "${datarootdir}"` 1252 +if test "x$CATOBJEXT" = "x.mo" ; then 1253 + localedir=`eval echo "${libdir}/locale"` 1254 else 1255 - am_missing_run= 1256 - AC_MSG_WARN([`missing' script is too old or missing]) 1257 + localedir=`eval echo "${datadir}/locale"` 1258 fi 1259 +prefix="$glib_save_prefix" 1260 +exec_prefix="$glib_save_exec_prefix" 1261 +datarootdir="$glib_save_datarootdir" 1262 +AC_DEFINE_UNQUOTED($1, "$localedir", 1263 + [Define the location where the catalogs will be installed]) 1264 ]) 1265 1266 -# Copyright (C) 2003, 2004, 2005, 2006 Free Software Foundation, Inc. 1267 -# 1268 -# This file is free software; the Free Software Foundation 1269 -# gives unlimited permission to copy and/or distribute it, 1270 -# with or without modifications, as long as this notice is preserved. 1271 +dnl 1272 +dnl Now the definitions that aclocal will find 1273 +dnl 1274 +ifdef(glib_configure_in,[],[ 1275 +AC_DEFUN([AM_GLIB_GNU_GETTEXT],[GLIB_GNU_GETTEXT($@)]) 1276 +AC_DEFUN([AM_GLIB_DEFINE_LOCALEDIR],[GLIB_DEFINE_LOCALEDIR($@)]) 1277 +])dnl 1278 1279 -# AM_PROG_MKDIR_P 1280 -# --------------- 1281 -# Check for `mkdir -p'. 1282 -AC_DEFUN([AM_PROG_MKDIR_P], 1283 -[AC_PREREQ([2.60])dnl 1284 -AC_REQUIRE([AC_PROG_MKDIR_P])dnl 1285 -dnl Automake 1.8 to 1.9.6 used to define mkdir_p. We now use MKDIR_P, 1286 -dnl while keeping a definition of mkdir_p for backward compatibility. 1287 -dnl @MKDIR_P@ is magic: AC_OUTPUT adjusts its value for each Makefile. 1288 -dnl However we cannot define mkdir_p as $(MKDIR_P) for the sake of 1289 -dnl Makefile.ins that do not define MKDIR_P, so we do our own 1290 -dnl adjustment using top_builddir (which is defined more often than 1291 -dnl MKDIR_P). 1292 -AC_SUBST([mkdir_p], ["$MKDIR_P"])dnl 1293 -case $mkdir_p in 1294 - [[\\/$]]* | ?:[[\\/]]*) ;; 1295 - */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; 1296 -esac 1297 -]) 1298 +# GLIB_RUN_PROG(PROGRAM, TEST-FILE, [ACTION-IF-PASS], [ACTION-IF-FAIL]) 1299 +# 1300 +# Create a temporary file with TEST-FILE as its contents and pass the 1301 +# file name to PROGRAM. Perform ACTION-IF-PASS if PROGRAM exits with 1302 +# 0 and perform ACTION-IF-FAIL for any other exit status. 1303 +AC_DEFUN([GLIB_RUN_PROG], 1304 +[cat >conftest.foo <<_ACEOF 1305 +$2 1306 +_ACEOF 1307 +if AC_RUN_LOG([$1 conftest.foo]); then 1308 + m4_ifval([$3], [$3], [:]) 1309 +m4_ifvaln([$4], [else $4])dnl 1310 +echo "$as_me: failed input was:" >&AS_MESSAGE_LOG_FD 1311 +sed 's/^/| /' conftest.foo >&AS_MESSAGE_LOG_FD 1312 +fi]) 1313 1314 -# Helper functions for option handling. -*- Autoconf -*- 1315 1316 -# Copyright (C) 2001, 2002, 2003, 2005, 2008 Free Software Foundation, Inc. 1317 +# pkg.m4 - Macros to locate and utilise pkg-config. -*- Autoconf -*- 1318 +# 1319 +# Copyright © 2004 Scott James Remnant <scott@netsplit.com>. 1320 # 1321 -# This file is free software; the Free Software Foundation 1322 -# gives unlimited permission to copy and/or distribute it, 1323 -# with or without modifications, as long as this notice is preserved. 1324 +# This program is free software; you can redistribute it and/or modify 1325 +# it under the terms of the GNU General Public License as published by 1326 +# the Free Software Foundation; either version 2 of the License, or 1327 +# (at your option) any later version. 1328 +# 1329 +# This program is distributed in the hope that it will be useful, but 1330 +# WITHOUT ANY WARRANTY; without even the implied warranty of 1331 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 1332 +# General Public License for more details. 1333 +# 1334 +# You should have received a copy of the GNU General Public License 1335 +# along with this program; if not, write to the Free Software 1336 +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 1337 +# 1338 +# As a special exception to the GNU General Public License, if you 1339 +# distribute this file as part of a program that contains a 1340 +# configuration script generated by Autoconf, you may include it under 1341 +# the same distribution terms that you use for the rest of that program. 1342 1343 -# serial 4 1344 +# PKG_PROG_PKG_CONFIG([MIN-VERSION]) 1345 +# ---------------------------------- 1346 +AC_DEFUN([PKG_PROG_PKG_CONFIG], 1347 +[m4_pattern_forbid([^_?PKG_[A-Z_]+$]) 1348 +m4_pattern_allow([^PKG_CONFIG(_PATH)?$]) 1349 +AC_ARG_VAR([PKG_CONFIG], [path to pkg-config utility])dnl 1350 +if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then 1351 + AC_PATH_TOOL([PKG_CONFIG], [pkg-config]) 1352 +fi 1353 +if test -n "$PKG_CONFIG"; then 1354 + _pkg_min_version=m4_default([$1], [0.9.0]) 1355 + AC_MSG_CHECKING([pkg-config is at least version $_pkg_min_version]) 1356 + if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then 1357 + AC_MSG_RESULT([yes]) 1358 + else 1359 + AC_MSG_RESULT([no]) 1360 + PKG_CONFIG="" 1361 + fi 1362 + 1363 +fi[]dnl 1364 +])# PKG_PROG_PKG_CONFIG 1365 1366 -# _AM_MANGLE_OPTION(NAME) 1367 -# ----------------------- 1368 -AC_DEFUN([_AM_MANGLE_OPTION], 1369 -[[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])]) 1370 +# PKG_CHECK_EXISTS(MODULES, [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND]) 1371 +# 1372 +# Check to see whether a particular set of modules exists. Similar 1373 +# to PKG_CHECK_MODULES(), but does not set variables or print errors. 1374 +# 1375 +# 1376 +# Similar to PKG_CHECK_MODULES, make sure that the first instance of 1377 +# this or PKG_CHECK_MODULES is called, or make sure to call 1378 +# PKG_CHECK_EXISTS manually 1379 +# -------------------------------------------------------------- 1380 +AC_DEFUN([PKG_CHECK_EXISTS], 1381 +[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl 1382 +if test -n "$PKG_CONFIG" && \ 1383 + AC_RUN_LOG([$PKG_CONFIG --exists --print-errors "$1"]); then 1384 + m4_ifval([$2], [$2], [:]) 1385 +m4_ifvaln([$3], [else 1386 + $3])dnl 1387 +fi]) 1388 1389 -# _AM_SET_OPTION(NAME) 1390 -# ------------------------------ 1391 -# Set option NAME. Presently that only means defining a flag for this option. 1392 -AC_DEFUN([_AM_SET_OPTION], 1393 -[m4_define(_AM_MANGLE_OPTION([$1]), 1)]) 1394 1395 -# _AM_SET_OPTIONS(OPTIONS) 1396 -# ---------------------------------- 1397 -# OPTIONS is a space-separated list of Automake options. 1398 -AC_DEFUN([_AM_SET_OPTIONS], 1399 -[m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])]) 1400 +# _PKG_CONFIG([VARIABLE], [COMMAND], [MODULES]) 1401 +# --------------------------------------------- 1402 +m4_define([_PKG_CONFIG], 1403 +[if test -n "$PKG_CONFIG"; then 1404 + if test -n "$$1"; then 1405 + pkg_cv_[]$1="$$1" 1406 + else 1407 + PKG_CHECK_EXISTS([$3], 1408 + [pkg_cv_[]$1=`$PKG_CONFIG --[]$2 "$3" 2>/dev/null`], 1409 + [pkg_failed=yes]) 1410 + fi 1411 +else 1412 + pkg_failed=untried 1413 +fi[]dnl 1414 +])# _PKG_CONFIG 1415 1416 -# _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET]) 1417 -# ------------------------------------------- 1418 -# Execute IF-SET if OPTION is set, IF-NOT-SET otherwise. 1419 -AC_DEFUN([_AM_IF_OPTION], 1420 -[m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])]) 1421 +# _PKG_SHORT_ERRORS_SUPPORTED 1422 +# ----------------------------- 1423 +AC_DEFUN([_PKG_SHORT_ERRORS_SUPPORTED], 1424 +[AC_REQUIRE([PKG_PROG_PKG_CONFIG]) 1425 +if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 1426 + _pkg_short_errors_supported=yes 1427 +else 1428 + _pkg_short_errors_supported=no 1429 +fi[]dnl 1430 +])# _PKG_SHORT_ERRORS_SUPPORTED 1431 + 1432 + 1433 +# PKG_CHECK_MODULES(VARIABLE-PREFIX, MODULES, [ACTION-IF-FOUND], 1434 +# [ACTION-IF-NOT-FOUND]) 1435 +# 1436 +# 1437 +# Note that if there is a possibility the first call to 1438 +# PKG_CHECK_MODULES might not happen, you should be sure to include an 1439 +# explicit call to PKG_PROG_PKG_CONFIG in your configure.ac 1440 +# 1441 +# 1442 +# -------------------------------------------------------------- 1443 +AC_DEFUN([PKG_CHECK_MODULES], 1444 +[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl 1445 +AC_ARG_VAR([$1][_CFLAGS], [C compiler flags for $1, overriding pkg-config])dnl 1446 +AC_ARG_VAR([$1][_LIBS], [linker flags for $1, overriding pkg-config])dnl 1447 + 1448 +pkg_failed=no 1449 +AC_MSG_CHECKING([for $1]) 1450 1451 -# Check to make sure that the build environment is sane. -*- Autoconf -*- 1452 +_PKG_CONFIG([$1][_CFLAGS], [cflags], [$2]) 1453 +_PKG_CONFIG([$1][_LIBS], [libs], [$2]) 1454 1455 -# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005, 2008 1456 -# Free Software Foundation, Inc. 1457 -# 1458 -# This file is free software; the Free Software Foundation 1459 -# gives unlimited permission to copy and/or distribute it, 1460 -# with or without modifications, as long as this notice is preserved. 1461 +m4_define([_PKG_TEXT], [Alternatively, you may set the environment variables $1[]_CFLAGS 1462 +and $1[]_LIBS to avoid the need to call pkg-config. 1463 +See the pkg-config man page for more details.]) 1464 1465 -# serial 5 1466 +if test $pkg_failed = yes; then 1467 + _PKG_SHORT_ERRORS_SUPPORTED 1468 + if test $_pkg_short_errors_supported = yes; then 1469 + $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$2"` 1470 + else 1471 + $1[]_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$2"` 1472 + fi 1473 + # Put the nasty error message in config.log where it belongs 1474 + echo "$$1[]_PKG_ERRORS" >&AS_MESSAGE_LOG_FD 1475 1476 -# AM_SANITY_CHECK 1477 -# --------------- 1478 -AC_DEFUN([AM_SANITY_CHECK], 1479 -[AC_MSG_CHECKING([whether build environment is sane]) 1480 -# Just in case 1481 -sleep 1 1482 -echo timestamp > conftest.file 1483 -# Reject unsafe characters in $srcdir or the absolute working directory 1484 -# name. Accept space and tab only in the latter. 1485 -am_lf=' 1486 -' 1487 -case `pwd` in 1488 - *[[\\\"\#\$\&\'\`$am_lf]]*) 1489 - AC_MSG_ERROR([unsafe absolute working directory name]);; 1490 -esac 1491 -case $srcdir in 1492 - *[[\\\"\#\$\&\'\`$am_lf\ \ ]]*) 1493 - AC_MSG_ERROR([unsafe srcdir value: `$srcdir']);; 1494 -esac 1495 + ifelse([$4], , [AC_MSG_ERROR(dnl 1496 +[Package requirements ($2) were not met: 1497 1498 -# Do `set' in a subshell so we don't clobber the current shell's 1499 -# arguments. Must try -L first in case configure is actually a 1500 -# symlink; some systems play weird games with the mod time of symlinks 1501 -# (eg FreeBSD returns the mod time of the symlink's containing 1502 -# directory). 1503 -if ( 1504 - set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` 1505 - if test "$[*]" = "X"; then 1506 - # -L didn't work. 1507 - set X `ls -t "$srcdir/configure" conftest.file` 1508 - fi 1509 - rm -f conftest.file 1510 - if test "$[*]" != "X $srcdir/configure conftest.file" \ 1511 - && test "$[*]" != "X conftest.file $srcdir/configure"; then 1512 +$$1_PKG_ERRORS 1513 1514 - # If neither matched, then we have a broken ls. This can happen 1515 - # if, for instance, CONFIG_SHELL is bash and it inherits a 1516 - # broken ls alias from the environment. This has actually 1517 - # happened. Such a system could not be considered "sane". 1518 - AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken 1519 -alias in your environment]) 1520 - fi 1521 +Consider adjusting the PKG_CONFIG_PATH environment variable if you 1522 +installed software in a non-standard prefix. 1523 1524 - test "$[2]" = conftest.file 1525 - ) 1526 -then 1527 - # Ok. 1528 - : 1529 -else 1530 - AC_MSG_ERROR([newly created file is older than distributed files! 1531 -Check your system clock]) 1532 -fi 1533 -AC_MSG_RESULT(yes)]) 1534 +_PKG_TEXT 1535 +])], 1536 + [AC_MSG_RESULT([no]) 1537 + $4]) 1538 +elif test $pkg_failed = untried; then 1539 + ifelse([$4], , [AC_MSG_FAILURE(dnl 1540 +[The pkg-config script could not be found or is too old. Make sure it 1541 +is in your PATH or set the PKG_CONFIG environment variable to the full 1542 +path to pkg-config. 1543 1544 -# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc. 1545 -# 1546 -# This file is free software; the Free Software Foundation 1547 -# gives unlimited permission to copy and/or distribute it, 1548 -# with or without modifications, as long as this notice is preserved. 1549 +_PKG_TEXT 1550 1551 -# AM_PROG_INSTALL_STRIP 1552 -# --------------------- 1553 -# One issue with vendor `install' (even GNU) is that you can't 1554 -# specify the program used to strip binaries. This is especially 1555 -# annoying in cross-compiling environments, where the build's strip 1556 -# is unlikely to handle the host's binaries. 1557 -# Fortunately install-sh will honor a STRIPPROG variable, so we 1558 -# always use install-sh in `make install-strip', and initialize 1559 -# STRIPPROG with the value of the STRIP variable (set by the user). 1560 -AC_DEFUN([AM_PROG_INSTALL_STRIP], 1561 -[AC_REQUIRE([AM_PROG_INSTALL_SH])dnl 1562 -# Installed binaries are usually stripped using `strip' when the user 1563 -# run `make install-strip'. However `strip' might not be the right 1564 -# tool to use in cross-compilation environments, therefore Automake 1565 -# will honor the `STRIP' environment variable to overrule this program. 1566 -dnl Don't test for $cross_compiling = yes, because it might be `maybe'. 1567 -if test "$cross_compiling" != no; then 1568 - AC_CHECK_TOOL([STRIP], [strip], :) 1569 -fi 1570 -INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 1571 -AC_SUBST([INSTALL_STRIP_PROGRAM])]) 1572 +To get pkg-config, see <http://pkg-config.freedesktop.org/>.])], 1573 + [$4]) 1574 +else 1575 + $1[]_CFLAGS=$pkg_cv_[]$1[]_CFLAGS 1576 + $1[]_LIBS=$pkg_cv_[]$1[]_LIBS 1577 + AC_MSG_RESULT([yes]) 1578 + ifelse([$3], , :, [$3]) 1579 +fi[]dnl 1580 +])# PKG_CHECK_MODULES 1581 1582 -# Copyright (C) 2006, 2008 Free Software Foundation, Inc. 1583 +# Copyright (C) 2002, 2003, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. 1584 # 1585 # This file is free software; the Free Software Foundation 1586 # gives unlimited permission to copy and/or distribute it, 1587 # with or without modifications, as long as this notice is preserved. 1588 1589 -# serial 2 1590 +# AM_AUTOMAKE_VERSION(VERSION) 1591 +# ---------------------------- 1592 +# Automake X.Y traces this macro to ensure aclocal.m4 has been 1593 +# generated from the m4 files accompanying Automake X.Y. 1594 +# (This private macro should not be called outside this file.) 1595 +AC_DEFUN([AM_AUTOMAKE_VERSION], 1596 +[am__api_version='1.11' 1597 +dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to 1598 +dnl require some minimum version. Point them to the right macro. 1599 +m4_if([$1], [1.11.1], [], 1600 + [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl 1601 +]) 1602 1603 -# _AM_SUBST_NOTMAKE(VARIABLE) 1604 -# --------------------------- 1605 -# Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in. 1606 -# This macro is traced by Automake. 1607 -AC_DEFUN([_AM_SUBST_NOTMAKE]) 1608 +# _AM_AUTOCONF_VERSION(VERSION) 1609 +# ----------------------------- 1610 +# aclocal traces this macro to find the Autoconf version. 1611 +# This is a private macro too. Using m4_define simplifies 1612 +# the logic in aclocal, which can simply ignore this definition. 1613 +m4_define([_AM_AUTOCONF_VERSION], []) 1614 1615 -# AM_SUBST_NOTMAKE(VARIABLE) 1616 -# --------------------------- 1617 -# Public sister of _AM_SUBST_NOTMAKE. 1618 -AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)]) 1619 +# AM_SET_CURRENT_AUTOMAKE_VERSION 1620 +# ------------------------------- 1621 +# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced. 1622 +# This function is AC_REQUIREd by AM_INIT_AUTOMAKE. 1623 +AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], 1624 +[AM_AUTOMAKE_VERSION([1.11.1])dnl 1625 +m4_ifndef([AC_AUTOCONF_VERSION], 1626 + [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl 1627 +_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))]) 1628 1629 -# Check how to create a tarball. -*- Autoconf -*- 1630 +# AM_AUX_DIR_EXPAND -*- Autoconf -*- 1631 1632 -# Copyright (C) 2004, 2005 Free Software Foundation, Inc. 1633 +# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc. 1634 # 1635 # This file is free software; the Free Software Foundation 1636 # gives unlimited permission to copy and/or distribute it, 1637 # with or without modifications, as long as this notice is preserved. 1638 1639 -# serial 2 1640 - 1641 -# _AM_PROG_TAR(FORMAT) 1642 -# -------------------- 1643 -# Check how to create a tarball in format FORMAT. 1644 -# FORMAT should be one of `v7', `ustar', or `pax'. 1645 -# 1646 -# Substitute a variable $(am__tar) that is a command 1647 -# writing to stdout a FORMAT-tarball containing the directory 1648 -# $tardir. 1649 -# tardir=directory && $(am__tar) > result.tar 1650 +# For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets 1651 +# $ac_aux_dir to `$srcdir/foo'. In other projects, it is set to 1652 +# `$srcdir', `$srcdir/..', or `$srcdir/../..'. 1653 # 1654 -# Substitute a variable $(am__untar) that extract such 1655 -# a tarball read from stdin. 1656 -# $(am__untar) < result.tar 1657 -AC_DEFUN([_AM_PROG_TAR], 1658 -[# Always define AMTAR for backward compatibility. 1659 -AM_MISSING_PROG([AMTAR], [tar]) 1660 -m4_if([$1], [v7], 1661 - [am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'], 1662 - [m4_case([$1], [ustar],, [pax],, 1663 - [m4_fatal([Unknown tar format])]) 1664 -AC_MSG_CHECKING([how to create a $1 tar archive]) 1665 -# Loop over all known methods to create a tar archive until one works. 1666 -_am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none' 1667 -_am_tools=${am_cv_prog_tar_$1-$_am_tools} 1668 -# Do not fold the above two line into one, because Tru64 sh and 1669 -# Solaris sh will not grok spaces in the rhs of `-'. 1670 -for _am_tool in $_am_tools 1671 -do 1672 - case $_am_tool in 1673 - gnutar) 1674 - for _am_tar in tar gnutar gtar; 1675 - do 1676 - AM_RUN_LOG([$_am_tar --version]) && break 1677 - done 1678 - am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"' 1679 - am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"' 1680 - am__untar="$_am_tar -xf -" 1681 - ;; 1682 - plaintar) 1683 - # Must skip GNU tar: if it does not support --format= it doesn't create 1684 - # ustar tarball either. 1685 - (tar --version) >/dev/null 2>&1 && continue 1686 - am__tar='tar chf - "$$tardir"' 1687 - am__tar_='tar chf - "$tardir"' 1688 - am__untar='tar xf -' 1689 - ;; 1690 - pax) 1691 - am__tar='pax -L -x $1 -w "$$tardir"' 1692 - am__tar_='pax -L -x $1 -w "$tardir"' 1693 - am__untar='pax -r' 1694 - ;; 1695 - cpio) 1696 - am__tar='find "$$tardir" -print | cpio -o -H $1 -L' 1697 - am__tar_='find "$tardir" -print | cpio -o -H $1 -L' 1698 - am__untar='cpio -i -H $1 -d' 1699 - ;; 1700 - none) 1701 - am__tar=false 1702 - am__tar_=false 1703 - am__untar=false 1704 - ;; 1705 - esac 1706 - 1707 - # If the value was cached, stop now. We just wanted to have am__tar 1708 - # and am__untar set. 1709 - test -n "${am_cv_prog_tar_$1}" && break 1710 - 1711 - # tar/untar a dummy directory, and stop if the command works 1712 - rm -rf conftest.dir 1713 - mkdir conftest.dir 1714 - echo GrepMe > conftest.dir/file 1715 - AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar]) 1716 - rm -rf conftest.dir 1717 - if test -s conftest.tar; then 1718 - AM_RUN_LOG([$am__untar <conftest.tar]) 1719 - grep GrepMe conftest.dir/file >/dev/null 2>&1 && break 1720 - fi 1721 -done 1722 -rm -rf conftest.dir 1723 - 1724 -AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool]) 1725 -AC_MSG_RESULT([$am_cv_prog_tar_$1])]) 1726 -AC_SUBST([am__tar]) 1727 -AC_SUBST([am__untar]) 1728 -]) # _AM_PROG_TAR 1729 - 1730 -# pkg.m4 - Macros to locate and utilise pkg-config. -*- Autoconf -*- 1731 -# 1732 -# Copyright © 2004 Scott James Remnant <scott@netsplit.com>. 1733 +# Of course, Automake must honor this variable whenever it calls a 1734 +# tool from the auxiliary directory. The problem is that $srcdir (and 1735 +# therefore $ac_aux_dir as well) can be either absolute or relative, 1736 +# depending on how configure is run. This is pretty annoying, since 1737 +# it makes $ac_aux_dir quite unusable in subdirectories: in the top 1738 +# source directory, any form will work fine, but in subdirectories a 1739 +# relative path needs to be adjusted first. 1740 # 1741 -# This program is free software; you can redistribute it and/or modify 1742 -# it under the terms of the GNU General Public License as published by 1743 -# the Free Software Foundation; either version 2 of the License, or 1744 -# (at your option) any later version. 1745 +# $ac_aux_dir/missing 1746 +# fails when called from a subdirectory if $ac_aux_dir is relative 1747 +# $top_srcdir/$ac_aux_dir/missing 1748 +# fails if $ac_aux_dir is absolute, 1749 +# fails when called from a subdirectory in a VPATH build with 1750 +# a relative $ac_aux_dir 1751 # 1752 -# This program is distributed in the hope that it will be useful, but 1753 -# WITHOUT ANY WARRANTY; without even the implied warranty of 1754 -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 1755 -# General Public License for more details. 1756 +# The reason of the latter failure is that $top_srcdir and $ac_aux_dir 1757 +# are both prefixed by $srcdir. In an in-source build this is usually 1758 +# harmless because $srcdir is `.', but things will broke when you 1759 +# start a VPATH build or use an absolute $srcdir. 1760 # 1761 -# You should have received a copy of the GNU General Public License 1762 -# along with this program; if not, write to the Free Software 1763 -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 1764 +# So we could use something similar to $top_srcdir/$ac_aux_dir/missing, 1765 +# iff we strip the leading $srcdir from $ac_aux_dir. That would be: 1766 +# am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"` 1767 +# and then we would define $MISSING as 1768 +# MISSING="\${SHELL} $am_aux_dir/missing" 1769 +# This will work as long as MISSING is not called from configure, because 1770 +# unfortunately $(top_srcdir) has no meaning in configure. 1771 +# However there are other variables, like CC, which are often used in 1772 +# configure, and could therefore not use this "fixed" $ac_aux_dir. 1773 # 1774 -# As a special exception to the GNU General Public License, if you 1775 -# distribute this file as part of a program that contains a 1776 -# configuration script generated by Autoconf, you may include it under 1777 -# the same distribution terms that you use for the rest of that program. 1778 +# Another solution, used here, is to always expand $ac_aux_dir to an 1779 +# absolute PATH. The drawback is that using absolute paths prevent a 1780 +# configured tree to be moved without reconfiguration. 1781 1782 -# PKG_PROG_PKG_CONFIG([MIN-VERSION]) 1783 -# ---------------------------------- 1784 -AC_DEFUN([PKG_PROG_PKG_CONFIG], 1785 -[m4_pattern_forbid([^_?PKG_[A-Z_]+$]) 1786 -m4_pattern_allow([^PKG_CONFIG(_PATH)?$]) 1787 -AC_ARG_VAR([PKG_CONFIG], [path to pkg-config utility])dnl 1788 -if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then 1789 - AC_PATH_TOOL([PKG_CONFIG], [pkg-config]) 1790 -fi 1791 -if test -n "$PKG_CONFIG"; then 1792 - _pkg_min_version=m4_default([$1], [0.9.0]) 1793 - AC_MSG_CHECKING([pkg-config is at least version $_pkg_min_version]) 1794 - if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then 1795 - AC_MSG_RESULT([yes]) 1796 - else 1797 - AC_MSG_RESULT([no]) 1798 - PKG_CONFIG="" 1799 - fi 1800 - 1801 -fi[]dnl 1802 -])# PKG_PROG_PKG_CONFIG 1803 +AC_DEFUN([AM_AUX_DIR_EXPAND], 1804 +[dnl Rely on autoconf to set up CDPATH properly. 1805 +AC_PREREQ([2.50])dnl 1806 +# expand $ac_aux_dir to an absolute path 1807 +am_aux_dir=`cd $ac_aux_dir && pwd` 1808 +]) 1809 1810 -# PKG_CHECK_EXISTS(MODULES, [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND]) 1811 +# AM_CONDITIONAL -*- Autoconf -*- 1812 + 1813 +# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006, 2008 1814 +# Free Software Foundation, Inc. 1815 # 1816 -# Check to see whether a particular set of modules exists. Similar 1817 -# to PKG_CHECK_MODULES(), but does not set variables or print errors. 1818 +# This file is free software; the Free Software Foundation 1819 +# gives unlimited permission to copy and/or distribute it, 1820 +# with or without modifications, as long as this notice is preserved. 1821 + 1822 +# serial 9 1823 + 1824 +# AM_CONDITIONAL(NAME, SHELL-CONDITION) 1825 +# ------------------------------------- 1826 +# Define a conditional. 1827 +AC_DEFUN([AM_CONDITIONAL], 1828 +[AC_PREREQ(2.52)dnl 1829 + ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])], 1830 + [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl 1831 +AC_SUBST([$1_TRUE])dnl 1832 +AC_SUBST([$1_FALSE])dnl 1833 +_AM_SUBST_NOTMAKE([$1_TRUE])dnl 1834 +_AM_SUBST_NOTMAKE([$1_FALSE])dnl 1835 +m4_define([_AM_COND_VALUE_$1], [$2])dnl 1836 +if $2; then 1837 + $1_TRUE= 1838 + $1_FALSE='#' 1839 +else 1840 + $1_TRUE='#' 1841 + $1_FALSE= 1842 +fi 1843 +AC_CONFIG_COMMANDS_PRE( 1844 +[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then 1845 + AC_MSG_ERROR([[conditional "$1" was never defined. 1846 +Usually this means the macro was only invoked conditionally.]]) 1847 +fi])]) 1848 + 1849 +# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2009 1850 +# Free Software Foundation, Inc. 1851 # 1852 +# This file is free software; the Free Software Foundation 1853 +# gives unlimited permission to copy and/or distribute it, 1854 +# with or without modifications, as long as this notice is preserved. 1855 + 1856 +# serial 10 1857 + 1858 +# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be 1859 +# written in clear, in which case automake, when reading aclocal.m4, 1860 +# will think it sees a *use*, and therefore will trigger all it's 1861 +# C support machinery. Also note that it means that autoscan, seeing 1862 +# CC etc. in the Makefile, will ask for an AC_PROG_CC use... 1863 + 1864 + 1865 +# _AM_DEPENDENCIES(NAME) 1866 +# ---------------------- 1867 +# See how the compiler implements dependency checking. 1868 +# NAME is "CC", "CXX", "GCJ", or "OBJC". 1869 +# We try a few techniques and use that to set a single cache variable. 1870 # 1871 -# Similar to PKG_CHECK_MODULES, make sure that the first instance of 1872 -# this or PKG_CHECK_MODULES is called, or make sure to call 1873 -# PKG_CHECK_EXISTS manually 1874 -# -------------------------------------------------------------- 1875 -AC_DEFUN([PKG_CHECK_EXISTS], 1876 -[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl 1877 -if test -n "$PKG_CONFIG" && \ 1878 - AC_RUN_LOG([$PKG_CONFIG --exists --print-errors "$1"]); then 1879 - m4_ifval([$2], [$2], [:]) 1880 -m4_ifvaln([$3], [else 1881 - $3])dnl 1882 -fi]) 1883 +# We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was 1884 +# modified to invoke _AM_DEPENDENCIES(CC); we would have a circular 1885 +# dependency, and given that the user is not expected to run this macro, 1886 +# just rely on AC_PROG_CC. 1887 +AC_DEFUN([_AM_DEPENDENCIES], 1888 +[AC_REQUIRE([AM_SET_DEPDIR])dnl 1889 +AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl 1890 +AC_REQUIRE([AM_MAKE_INCLUDE])dnl 1891 +AC_REQUIRE([AM_DEP_TRACK])dnl 1892 1893 +ifelse([$1], CC, [depcc="$CC" am_compiler_list=], 1894 + [$1], CXX, [depcc="$CXX" am_compiler_list=], 1895 + [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'], 1896 + [$1], UPC, [depcc="$UPC" am_compiler_list=], 1897 + [$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'], 1898 + [depcc="$$1" am_compiler_list=]) 1899 1900 -# _PKG_CONFIG([VARIABLE], [COMMAND], [MODULES]) 1901 -# --------------------------------------------- 1902 -m4_define([_PKG_CONFIG], 1903 -[if test -n "$PKG_CONFIG"; then 1904 - if test -n "$$1"; then 1905 - pkg_cv_[]$1="$$1" 1906 - else 1907 - PKG_CHECK_EXISTS([$3], 1908 - [pkg_cv_[]$1=`$PKG_CONFIG --[]$2 "$3" 2>/dev/null`], 1909 - [pkg_failed=yes]) 1910 +AC_CACHE_CHECK([dependency style of $depcc], 1911 + [am_cv_$1_dependencies_compiler_type], 1912 +[if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 1913 + # We make a subdir and do the tests there. Otherwise we can end up 1914 + # making bogus files that we don't know about and never remove. For 1915 + # instance it was reported that on HP-UX the gcc test will end up 1916 + # making a dummy file named `D' -- because `-MD' means `put the output 1917 + # in D'. 1918 + mkdir conftest.dir 1919 + # Copy depcomp to subdir because otherwise we won't find it if we're 1920 + # using a relative directory. 1921 + cp "$am_depcomp" conftest.dir 1922 + cd conftest.dir 1923 + # We will build objects and dependencies in a subdirectory because 1924 + # it helps to detect inapplicable dependency modes. For instance 1925 + # both Tru64's cc and ICC support -MD to output dependencies as a 1926 + # side effect of compilation, but ICC will put the dependencies in 1927 + # the current directory while Tru64 will put them in the object 1928 + # directory. 1929 + mkdir sub 1930 + 1931 + am_cv_$1_dependencies_compiler_type=none 1932 + if test "$am_compiler_list" = ""; then 1933 + am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp` 1934 + fi 1935 + am__universal=false 1936 + m4_case([$1], [CC], 1937 + [case " $depcc " in #( 1938 + *\ -arch\ *\ -arch\ *) am__universal=true ;; 1939 + esac], 1940 + [CXX], 1941 + [case " $depcc " in #( 1942 + *\ -arch\ *\ -arch\ *) am__universal=true ;; 1943 + esac]) 1944 + 1945 + for depmode in $am_compiler_list; do 1946 + # Setup a source with many dependencies, because some compilers 1947 + # like to wrap large dependency lists on column 80 (with \), and 1948 + # we should not choose a depcomp mode which is confused by this. 1949 + # 1950 + # We need to recreate these files for each test, as the compiler may 1951 + # overwrite some of them when testing with obscure command lines. 1952 + # This happens at least with the AIX C compiler. 1953 + : > sub/conftest.c 1954 + for i in 1 2 3 4 5 6; do 1955 + echo '#include "conftst'$i'.h"' >> sub/conftest.c 1956 + # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with 1957 + # Solaris 8's {/usr,}/bin/sh. 1958 + touch sub/conftst$i.h 1959 + done 1960 + echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 1961 + 1962 + # We check with `-c' and `-o' for the sake of the "dashmstdout" 1963 + # mode. It turns out that the SunPro C++ compiler does not properly 1964 + # handle `-M -o', and we need to detect this. Also, some Intel 1965 + # versions had trouble with output in subdirs 1966 + am__obj=sub/conftest.${OBJEXT-o} 1967 + am__minus_obj="-o $am__obj" 1968 + case $depmode in 1969 + gcc) 1970 + # This depmode causes a compiler race in universal mode. 1971 + test "$am__universal" = false || continue 1972 + ;; 1973 + nosideeffect) 1974 + # after this tag, mechanisms are not by side-effect, so they'll 1975 + # only be used when explicitly requested 1976 + if test "x$enable_dependency_tracking" = xyes; then 1977 + continue 1978 + else 1979 + break 1980 + fi 1981 + ;; 1982 + msvisualcpp | msvcmsys) 1983 + # This compiler won't grok `-c -o', but also, the minuso test has 1984 + # not run yet. These depmodes are late enough in the game, and 1985 + # so weak that their functioning should not be impacted. 1986 + am__obj=conftest.${OBJEXT-o} 1987 + am__minus_obj= 1988 + ;; 1989 + none) break ;; 1990 + esac 1991 + if depmode=$depmode \ 1992 + source=sub/conftest.c object=$am__obj \ 1993 + depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 1994 + $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 1995 + >/dev/null 2>conftest.err && 1996 + grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 1997 + grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 1998 + grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 1999 + ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 2000 + # icc doesn't choke on unknown options, it will just issue warnings 2001 + # or remarks (even with -Werror). So we grep stderr for any message 2002 + # that says an option was ignored or not supported. 2003 + # When given -MP, icc 7.0 and 7.1 complain thusly: 2004 + # icc: Command line warning: ignoring option '-M'; no argument required 2005 + # The diagnosis changed in icc 8.0: 2006 + # icc: Command line remark: option '-MP' not supported 2007 + if (grep 'ignoring option' conftest.err || 2008 + grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 2009 + am_cv_$1_dependencies_compiler_type=$depmode 2010 + break 2011 + fi 2012 fi 2013 -else 2014 - pkg_failed=untried 2015 -fi[]dnl 2016 -])# _PKG_CONFIG 2017 + done 2018 2019 -# _PKG_SHORT_ERRORS_SUPPORTED 2020 -# ----------------------------- 2021 -AC_DEFUN([_PKG_SHORT_ERRORS_SUPPORTED], 2022 -[AC_REQUIRE([PKG_PROG_PKG_CONFIG]) 2023 -if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 2024 - _pkg_short_errors_supported=yes 2025 + cd .. 2026 + rm -rf conftest.dir 2027 else 2028 - _pkg_short_errors_supported=no 2029 -fi[]dnl 2030 -])# _PKG_SHORT_ERRORS_SUPPORTED 2031 + am_cv_$1_dependencies_compiler_type=none 2032 +fi 2033 +]) 2034 +AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type]) 2035 +AM_CONDITIONAL([am__fastdep$1], [ 2036 + test "x$enable_dependency_tracking" != xno \ 2037 + && test "$am_cv_$1_dependencies_compiler_type" = gcc3]) 2038 +]) 2039 2040 2041 -# PKG_CHECK_MODULES(VARIABLE-PREFIX, MODULES, [ACTION-IF-FOUND], 2042 -# [ACTION-IF-NOT-FOUND]) 2043 -# 2044 -# 2045 -# Note that if there is a possibility the first call to 2046 -# PKG_CHECK_MODULES might not happen, you should be sure to include an 2047 -# explicit call to PKG_PROG_PKG_CONFIG in your configure.ac 2048 -# 2049 -# 2050 -# -------------------------------------------------------------- 2051 -AC_DEFUN([PKG_CHECK_MODULES], 2052 -[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl 2053 -AC_ARG_VAR([$1][_CFLAGS], [C compiler flags for $1, overriding pkg-config])dnl 2054 -AC_ARG_VAR([$1][_LIBS], [linker flags for $1, overriding pkg-config])dnl 2055 +# AM_SET_DEPDIR 2056 +# ------------- 2057 +# Choose a directory name for dependency files. 2058 +# This macro is AC_REQUIREd in _AM_DEPENDENCIES 2059 +AC_DEFUN([AM_SET_DEPDIR], 2060 +[AC_REQUIRE([AM_SET_LEADING_DOT])dnl 2061 +AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl 2062 +]) 2063 2064 -pkg_failed=no 2065 -AC_MSG_CHECKING([for $1]) 2066 2067 -_PKG_CONFIG([$1][_CFLAGS], [cflags], [$2]) 2068 -_PKG_CONFIG([$1][_LIBS], [libs], [$2]) 2069 +# AM_DEP_TRACK 2070 +# ------------ 2071 +AC_DEFUN([AM_DEP_TRACK], 2072 +[AC_ARG_ENABLE(dependency-tracking, 2073 +[ --disable-dependency-tracking speeds up one-time build 2074 + --enable-dependency-tracking do not reject slow dependency extractors]) 2075 +if test "x$enable_dependency_tracking" != xno; then 2076 + am_depcomp="$ac_aux_dir/depcomp" 2077 + AMDEPBACKSLASH='\' 2078 +fi 2079 +AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno]) 2080 +AC_SUBST([AMDEPBACKSLASH])dnl 2081 +_AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl 2082 +]) 2083 2084 -m4_define([_PKG_TEXT], [Alternatively, you may set the environment variables $1[]_CFLAGS 2085 -and $1[]_LIBS to avoid the need to call pkg-config. 2086 -See the pkg-config man page for more details.]) 2087 +# Generate code to set up dependency tracking. -*- Autoconf -*- 2088 2089 -if test $pkg_failed = yes; then 2090 - _PKG_SHORT_ERRORS_SUPPORTED 2091 - if test $_pkg_short_errors_supported = yes; then 2092 - $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$2"` 2093 - else 2094 - $1[]_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$2"` 2095 - fi 2096 - # Put the nasty error message in config.log where it belongs 2097 - echo "$$1[]_PKG_ERRORS" >&AS_MESSAGE_LOG_FD 2098 +# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2008 2099 +# Free Software Foundation, Inc. 2100 +# 2101 +# This file is free software; the Free Software Foundation 2102 +# gives unlimited permission to copy and/or distribute it, 2103 +# with or without modifications, as long as this notice is preserved. 2104 2105 - ifelse([$4], , [AC_MSG_ERROR(dnl 2106 -[Package requirements ($2) were not met: 2107 +#serial 5 2108 2109 -$$1_PKG_ERRORS 2110 +# _AM_OUTPUT_DEPENDENCY_COMMANDS 2111 +# ------------------------------ 2112 +AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS], 2113 +[{ 2114 + # Autoconf 2.62 quotes --file arguments for eval, but not when files 2115 + # are listed without --file. Let's play safe and only enable the eval 2116 + # if we detect the quoting. 2117 + case $CONFIG_FILES in 2118 + *\'*) eval set x "$CONFIG_FILES" ;; 2119 + *) set x $CONFIG_FILES ;; 2120 + esac 2121 + shift 2122 + for mf 2123 + do 2124 + # Strip MF so we end up with the name of the file. 2125 + mf=`echo "$mf" | sed -e 's/:.*$//'` 2126 + # Check whether this is an Automake generated Makefile or not. 2127 + # We used to match only the files named `Makefile.in', but 2128 + # some people rename them; so instead we look at the file content. 2129 + # Grep'ing the first line is not enough: some people post-process 2130 + # each Makefile.in and add a new line on top of each file to say so. 2131 + # Grep'ing the whole file is not good either: AIX grep has a line 2132 + # limit of 2048, but all sed's we know have understand at least 4000. 2133 + if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then 2134 + dirpart=`AS_DIRNAME("$mf")` 2135 + else 2136 + continue 2137 + fi 2138 + # Extract the definition of DEPDIR, am__include, and am__quote 2139 + # from the Makefile without running `make'. 2140 + DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` 2141 + test -z "$DEPDIR" && continue 2142 + am__include=`sed -n 's/^am__include = //p' < "$mf"` 2143 + test -z "am__include" && continue 2144 + am__quote=`sed -n 's/^am__quote = //p' < "$mf"` 2145 + # When using ansi2knr, U may be empty or an underscore; expand it 2146 + U=`sed -n 's/^U = //p' < "$mf"` 2147 + # Find all dependency output files, they are included files with 2148 + # $(DEPDIR) in their names. We invoke sed twice because it is the 2149 + # simplest approach to changing $(DEPDIR) to its actual value in the 2150 + # expansion. 2151 + for file in `sed -n " 2152 + s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ 2153 + sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do 2154 + # Make sure the directory exists. 2155 + test -f "$dirpart/$file" && continue 2156 + fdir=`AS_DIRNAME(["$file"])` 2157 + AS_MKDIR_P([$dirpart/$fdir]) 2158 + # echo "creating $dirpart/$file" 2159 + echo '# dummy' > "$dirpart/$file" 2160 + done 2161 + done 2162 +} 2163 +])# _AM_OUTPUT_DEPENDENCY_COMMANDS 2164 2165 -Consider adjusting the PKG_CONFIG_PATH environment variable if you 2166 -installed software in a non-standard prefix. 2167 2168 -_PKG_TEXT 2169 -])], 2170 - [AC_MSG_RESULT([no]) 2171 - $4]) 2172 -elif test $pkg_failed = untried; then 2173 - ifelse([$4], , [AC_MSG_FAILURE(dnl 2174 -[The pkg-config script could not be found or is too old. Make sure it 2175 -is in your PATH or set the PKG_CONFIG environment variable to the full 2176 -path to pkg-config. 2177 +# AM_OUTPUT_DEPENDENCY_COMMANDS 2178 +# ----------------------------- 2179 +# This macro should only be invoked once -- use via AC_REQUIRE. 2180 +# 2181 +# This code is only required when automatic dependency tracking 2182 +# is enabled. FIXME. This creates each `.P' file that we will 2183 +# need in order to bootstrap the dependency handling code. 2184 +AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS], 2185 +[AC_CONFIG_COMMANDS([depfiles], 2186 + [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS], 2187 + [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"]) 2188 +]) 2189 2190 -_PKG_TEXT 2191 +# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005 2192 +# Free Software Foundation, Inc. 2193 +# 2194 +# This file is free software; the Free Software Foundation 2195 +# gives unlimited permission to copy and/or distribute it, 2196 +# with or without modifications, as long as this notice is preserved. 2197 2198 -To get pkg-config, see <http://pkg-config.freedesktop.org/>.])], 2199 - [$4]) 2200 -else 2201 - $1[]_CFLAGS=$pkg_cv_[]$1[]_CFLAGS 2202 - $1[]_LIBS=$pkg_cv_[]$1[]_LIBS 2203 - AC_MSG_RESULT([yes]) 2204 - ifelse([$3], , :, [$3]) 2205 -fi[]dnl 2206 -])# PKG_CHECK_MODULES 2207 +# serial 8 2208 2209 -# Configure paths for GLIB 2210 -# Owen Taylor 1997-2001 2211 +# AM_CONFIG_HEADER is obsolete. It has been replaced by AC_CONFIG_HEADERS. 2212 +AU_DEFUN([AM_CONFIG_HEADER], [AC_CONFIG_HEADERS($@)]) 2213 2214 -dnl AM_PATH_GLIB_2_0([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND [, MODULES]]]]) 2215 -dnl Test for GLIB, and define GLIB_CFLAGS and GLIB_LIBS, if gmodule, gobject, 2216 -dnl gthread, or gio is specified in MODULES, pass to pkg-config 2217 -dnl 2218 -AC_DEFUN([AM_PATH_GLIB_2_0], 2219 -[dnl 2220 -dnl Get the cflags and libraries from pkg-config 2221 -dnl 2222 -AC_ARG_ENABLE(glibtest, [ --disable-glibtest do not try to compile and run a test GLIB program], 2223 - , enable_glibtest=yes) 2224 +# Do all the work for Automake. -*- Autoconf -*- 2225 2226 - pkg_config_args=glib-2.0 2227 - for module in . $4 2228 - do 2229 - case "$module" in 2230 - gmodule) 2231 - pkg_config_args="$pkg_config_args gmodule-2.0" 2232 - ;; 2233 - gmodule-no-export) 2234 - pkg_config_args="$pkg_config_args gmodule-no-export-2.0" 2235 - ;; 2236 - gobject) 2237 - pkg_config_args="$pkg_config_args gobject-2.0" 2238 - ;; 2239 - gthread) 2240 - pkg_config_args="$pkg_config_args gthread-2.0" 2241 - ;; 2242 - gio*) 2243 - pkg_config_args="$pkg_config_args $module-2.0" 2244 - ;; 2245 - esac 2246 - done 2247 +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2248 +# 2005, 2006, 2008, 2009 Free Software Foundation, Inc. 2249 +# 2250 +# This file is free software; the Free Software Foundation 2251 +# gives unlimited permission to copy and/or distribute it, 2252 +# with or without modifications, as long as this notice is preserved. 2253 2254 - PKG_PROG_PKG_CONFIG([0.16]) 2255 +# serial 16 2256 2257 - no_glib="" 2258 +# This macro actually does too much. Some checks are only needed if 2259 +# your package does certain things. But this isn't really a big deal. 2260 2261 - if test "x$PKG_CONFIG" = x ; then 2262 - no_glib=yes 2263 - PKG_CONFIG=no 2264 +# AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE]) 2265 +# AM_INIT_AUTOMAKE([OPTIONS]) 2266 +# ----------------------------------------------- 2267 +# The call with PACKAGE and VERSION arguments is the old style 2268 +# call (pre autoconf-2.50), which is being phased out. PACKAGE 2269 +# and VERSION should now be passed to AC_INIT and removed from 2270 +# the call to AM_INIT_AUTOMAKE. 2271 +# We support both call styles for the transition. After 2272 +# the next Automake release, Autoconf can make the AC_INIT 2273 +# arguments mandatory, and then we can depend on a new Autoconf 2274 +# release and drop the old call support. 2275 +AC_DEFUN([AM_INIT_AUTOMAKE], 2276 +[AC_PREREQ([2.62])dnl 2277 +dnl Autoconf wants to disallow AM_ names. We explicitly allow 2278 +dnl the ones we care about. 2279 +m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl 2280 +AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl 2281 +AC_REQUIRE([AC_PROG_INSTALL])dnl 2282 +if test "`cd $srcdir && pwd`" != "`pwd`"; then 2283 + # Use -I$(srcdir) only when $(srcdir) != ., so that make's output 2284 + # is not polluted with repeated "-I." 2285 + AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl 2286 + # test to see if srcdir already configured 2287 + if test -f $srcdir/config.status; then 2288 + AC_MSG_ERROR([source directory already configured; run "make distclean" there first]) 2289 fi 2290 +fi 2291 2292 - min_glib_version=ifelse([$1], ,2.0.0,$1) 2293 - AC_MSG_CHECKING(for GLIB - version >= $min_glib_version) 2294 - 2295 - if test x$PKG_CONFIG != xno ; then 2296 - ## don't try to run the test against uninstalled libtool libs 2297 - if $PKG_CONFIG --uninstalled $pkg_config_args; then 2298 - echo "Will use uninstalled version of GLib found in PKG_CONFIG_PATH" 2299 - enable_glibtest=no 2300 - fi 2301 - 2302 - if $PKG_CONFIG --atleast-version $min_glib_version $pkg_config_args; then 2303 - : 2304 - else 2305 - no_glib=yes 2306 - fi 2307 +# test whether we have cygpath 2308 +if test -z "$CYGPATH_W"; then 2309 + if (cygpath --version) >/dev/null 2>/dev/null; then 2310 + CYGPATH_W='cygpath -w' 2311 + else 2312 + CYGPATH_W=echo 2313 fi 2314 +fi 2315 +AC_SUBST([CYGPATH_W]) 2316 2317 - if test x"$no_glib" = x ; then 2318 - GLIB_GENMARSHAL=`$PKG_CONFIG --variable=glib_genmarshal glib-2.0` 2319 - GOBJECT_QUERY=`$PKG_CONFIG --variable=gobject_query glib-2.0` 2320 - GLIB_MKENUMS=`$PKG_CONFIG --variable=glib_mkenums glib-2.0` 2321 +# Define the identity of the package. 2322 +dnl Distinguish between old-style and new-style calls. 2323 +m4_ifval([$2], 2324 +[m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl 2325 + AC_SUBST([PACKAGE], [$1])dnl 2326 + AC_SUBST([VERSION], [$2])], 2327 +[_AM_SET_OPTIONS([$1])dnl 2328 +dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT. 2329 +m4_if(m4_ifdef([AC_PACKAGE_NAME], 1)m4_ifdef([AC_PACKAGE_VERSION], 1), 11,, 2330 + [m4_fatal([AC_INIT should be called with package and version arguments])])dnl 2331 + AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl 2332 + AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl 2333 2334 - GLIB_CFLAGS=`$PKG_CONFIG --cflags $pkg_config_args` 2335 - GLIB_LIBS=`$PKG_CONFIG --libs $pkg_config_args` 2336 - glib_config_major_version=`$PKG_CONFIG --modversion glib-2.0 | \ 2337 - sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\1/'` 2338 - glib_config_minor_version=`$PKG_CONFIG --modversion glib-2.0 | \ 2339 - sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\2/'` 2340 - glib_config_micro_version=`$PKG_CONFIG --modversion glib-2.0 | \ 2341 - sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\3/'` 2342 - if test "x$enable_glibtest" = "xyes" ; then 2343 - ac_save_CFLAGS="$CFLAGS" 2344 - ac_save_LIBS="$LIBS" 2345 - CFLAGS="$CFLAGS $GLIB_CFLAGS" 2346 - LIBS="$GLIB_LIBS $LIBS" 2347 -dnl 2348 -dnl Now check if the installed GLIB is sufficiently new. (Also sanity 2349 -dnl checks the results of pkg-config to some extent) 2350 -dnl 2351 - rm -f conf.glibtest 2352 - AC_TRY_RUN([ 2353 -#include <glib.h> 2354 -#include <stdio.h> 2355 -#include <stdlib.h> 2356 +_AM_IF_OPTION([no-define],, 2357 +[AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package]) 2358 + AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl 2359 2360 -int 2361 -main () 2362 -{ 2363 - int major, minor, micro; 2364 - char *tmp_version; 2365 +# Some tools Automake needs. 2366 +AC_REQUIRE([AM_SANITY_CHECK])dnl 2367 +AC_REQUIRE([AC_ARG_PROGRAM])dnl 2368 +AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version}) 2369 +AM_MISSING_PROG(AUTOCONF, autoconf) 2370 +AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version}) 2371 +AM_MISSING_PROG(AUTOHEADER, autoheader) 2372 +AM_MISSING_PROG(MAKEINFO, makeinfo) 2373 +AC_REQUIRE([AM_PROG_INSTALL_SH])dnl 2374 +AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl 2375 +AC_REQUIRE([AM_PROG_MKDIR_P])dnl 2376 +# We need awk for the "check" target. The system "awk" is bad on 2377 +# some platforms. 2378 +AC_REQUIRE([AC_PROG_AWK])dnl 2379 +AC_REQUIRE([AC_PROG_MAKE_SET])dnl 2380 +AC_REQUIRE([AM_SET_LEADING_DOT])dnl 2381 +_AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])], 2382 + [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])], 2383 + [_AM_PROG_TAR([v7])])]) 2384 +_AM_IF_OPTION([no-dependencies],, 2385 +[AC_PROVIDE_IFELSE([AC_PROG_CC], 2386 + [_AM_DEPENDENCIES(CC)], 2387 + [define([AC_PROG_CC], 2388 + defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl 2389 +AC_PROVIDE_IFELSE([AC_PROG_CXX], 2390 + [_AM_DEPENDENCIES(CXX)], 2391 + [define([AC_PROG_CXX], 2392 + defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl 2393 +AC_PROVIDE_IFELSE([AC_PROG_OBJC], 2394 + [_AM_DEPENDENCIES(OBJC)], 2395 + [define([AC_PROG_OBJC], 2396 + defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl 2397 +]) 2398 +_AM_IF_OPTION([silent-rules], [AC_REQUIRE([AM_SILENT_RULES])])dnl 2399 +dnl The `parallel-tests' driver may need to know about EXEEXT, so add the 2400 +dnl `am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This macro 2401 +dnl is hooked onto _AC_COMPILER_EXEEXT early, see below. 2402 +AC_CONFIG_COMMANDS_PRE(dnl 2403 +[m4_provide_if([_AM_COMPILER_EXEEXT], 2404 + [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl 2405 +]) 2406 2407 - fclose (fopen ("conf.glibtest", "w")); 2408 +dnl Hook into `_AC_COMPILER_EXEEXT' early to learn its expansion. Do not 2409 +dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further 2410 +dnl mangled by Autoconf and run in a shell conditional statement. 2411 +m4_define([_AC_COMPILER_EXEEXT], 2412 +m4_defn([_AC_COMPILER_EXEEXT])[m4_provide([_AM_COMPILER_EXEEXT])]) 2413 2414 - /* HP/UX 9 (%@#!) writes to sscanf strings */ 2415 - tmp_version = g_strdup("$min_glib_version"); 2416 - if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) { 2417 - printf("%s, bad version string\n", "$min_glib_version"); 2418 - exit(1); 2419 - } 2420 2421 - if ((glib_major_version != $glib_config_major_version) || 2422 - (glib_minor_version != $glib_config_minor_version) || 2423 - (glib_micro_version != $glib_config_micro_version)) 2424 - { 2425 - printf("\n*** 'pkg-config --modversion glib-2.0' returned %d.%d.%d, but GLIB (%d.%d.%d)\n", 2426 - $glib_config_major_version, $glib_config_minor_version, $glib_config_micro_version, 2427 - glib_major_version, glib_minor_version, glib_micro_version); 2428 - printf ("*** was found! If pkg-config was correct, then it is best\n"); 2429 - printf ("*** to remove the old version of GLib. You may also be able to fix the error\n"); 2430 - printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n"); 2431 - printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n"); 2432 - printf("*** required on your system.\n"); 2433 - printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n"); 2434 - printf("*** to point to the correct configuration files\n"); 2435 - } 2436 - else if ((glib_major_version != GLIB_MAJOR_VERSION) || 2437 - (glib_minor_version != GLIB_MINOR_VERSION) || 2438 - (glib_micro_version != GLIB_MICRO_VERSION)) 2439 - { 2440 - printf("*** GLIB header files (version %d.%d.%d) do not match\n", 2441 - GLIB_MAJOR_VERSION, GLIB_MINOR_VERSION, GLIB_MICRO_VERSION); 2442 - printf("*** library (version %d.%d.%d)\n", 2443 - glib_major_version, glib_minor_version, glib_micro_version); 2444 - } 2445 - else 2446 - { 2447 - if ((glib_major_version > major) || 2448 - ((glib_major_version == major) && (glib_minor_version > minor)) || 2449 - ((glib_major_version == major) && (glib_minor_version == minor) && (glib_micro_version >= micro))) 2450 - { 2451 - return 0; 2452 - } 2453 - else 2454 - { 2455 - printf("\n*** An old version of GLIB (%d.%d.%d) was found.\n", 2456 - glib_major_version, glib_minor_version, glib_micro_version); 2457 - printf("*** You need a version of GLIB newer than %d.%d.%d. The latest version of\n", 2458 - major, minor, micro); 2459 - printf("*** GLIB is always available from ftp://ftp.gtk.org.\n"); 2460 - printf("***\n"); 2461 - printf("*** If you have already installed a sufficiently new version, this error\n"); 2462 - printf("*** probably means that the wrong copy of the pkg-config shell script is\n"); 2463 - printf("*** being found. The easiest way to fix this is to remove the old version\n"); 2464 - printf("*** of GLIB, but you can also set the PKG_CONFIG environment to point to the\n"); 2465 - printf("*** correct copy of pkg-config. (In this case, you will have to\n"); 2466 - printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n"); 2467 - printf("*** so that the correct libraries are found at run-time))\n"); 2468 - } 2469 - } 2470 - return 1; 2471 -} 2472 -],, no_glib=yes,[echo $ac_n "cross compiling; assumed OK... $ac_c"]) 2473 - CFLAGS="$ac_save_CFLAGS" 2474 - LIBS="$ac_save_LIBS" 2475 - fi 2476 - fi 2477 - if test "x$no_glib" = x ; then 2478 - AC_MSG_RESULT(yes (version $glib_config_major_version.$glib_config_minor_version.$glib_config_micro_version)) 2479 - ifelse([$2], , :, [$2]) 2480 - else 2481 - AC_MSG_RESULT(no) 2482 - if test "$PKG_CONFIG" = "no" ; then 2483 - echo "*** A new enough version of pkg-config was not found." 2484 - echo "*** See http://www.freedesktop.org/software/pkgconfig/" 2485 - else 2486 - if test -f conf.glibtest ; then 2487 - : 2488 - else 2489 - echo "*** Could not run GLIB test program, checking why..." 2490 - ac_save_CFLAGS="$CFLAGS" 2491 - ac_save_LIBS="$LIBS" 2492 - CFLAGS="$CFLAGS $GLIB_CFLAGS" 2493 - LIBS="$LIBS $GLIB_LIBS" 2494 - AC_TRY_LINK([ 2495 -#include <glib.h> 2496 -#include <stdio.h> 2497 -], [ return ((glib_major_version) || (glib_minor_version) || (glib_micro_version)); ], 2498 - [ echo "*** The test program compiled, but did not run. This usually means" 2499 - echo "*** that the run-time linker is not finding GLIB or finding the wrong" 2500 - echo "*** version of GLIB. If it is not finding GLIB, you'll need to set your" 2501 - echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point" 2502 - echo "*** to the installed location Also, make sure you have run ldconfig if that" 2503 - echo "*** is required on your system" 2504 - echo "***" 2505 - echo "*** If you have an old version installed, it is best to remove it, although" 2506 - echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH" ], 2507 - [ echo "*** The test program failed to compile or link. See the file config.log for the" 2508 - echo "*** exact error that occured. This usually means GLIB is incorrectly installed."]) 2509 - CFLAGS="$ac_save_CFLAGS" 2510 - LIBS="$ac_save_LIBS" 2511 - fi 2512 - fi 2513 - GLIB_CFLAGS="" 2514 - GLIB_LIBS="" 2515 - GLIB_GENMARSHAL="" 2516 - GOBJECT_QUERY="" 2517 - GLIB_MKENUMS="" 2518 - ifelse([$3], , :, [$3]) 2519 - fi 2520 - AC_SUBST(GLIB_CFLAGS) 2521 - AC_SUBST(GLIB_LIBS) 2522 - AC_SUBST(GLIB_GENMARSHAL) 2523 - AC_SUBST(GOBJECT_QUERY) 2524 - AC_SUBST(GLIB_MKENUMS) 2525 - rm -f conf.glibtest 2526 -]) 2527 +# When config.status generates a header, we must update the stamp-h file. 2528 +# This file resides in the same directory as the config header 2529 +# that is generated. The stamp files are numbered to have different names. 2530 + 2531 +# Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the 2532 +# loop where config.status creates the headers, so we can generate 2533 +# our stamp files there. 2534 +AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK], 2535 +[# Compute $1's index in $config_headers. 2536 +_am_arg=$1 2537 +_am_stamp_count=1 2538 +for _am_header in $config_headers :; do 2539 + case $_am_header in 2540 + $_am_arg | $_am_arg:* ) 2541 + break ;; 2542 + * ) 2543 + _am_stamp_count=`expr $_am_stamp_count + 1` ;; 2544 + esac 2545 +done 2546 +echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count]) 2547 2548 -# Copyright (C) 1995-2002 Free Software Foundation, Inc. 2549 -# Copyright (C) 2001-2003,2004 Red Hat, Inc. 2550 -# 2551 -# This file is free software, distributed under the terms of the GNU 2552 -# General Public License. As a special exception to the GNU General 2553 -# Public License, this file may be distributed as part of a program 2554 -# that contains a configuration script generated by Autoconf, under 2555 -# the same distribution terms as the rest of that program. 2556 -# 2557 -# This file can be copied and used freely without restrictions. It can 2558 -# be used in projects which are not available under the GNU Public License 2559 -# but which still want to provide support for the GNU gettext functionality. 2560 -# 2561 -# Macro to add for using GNU gettext. 2562 -# Ulrich Drepper <drepper@cygnus.com>, 1995, 1996 2563 -# 2564 -# Modified to never use included libintl. 2565 -# Owen Taylor <otaylor@redhat.com>, 12/15/1998 2566 +# Copyright (C) 2001, 2003, 2005, 2008 Free Software Foundation, Inc. 2567 # 2568 -# Major rework to remove unused code 2569 -# Owen Taylor <otaylor@redhat.com>, 12/11/2002 2570 +# This file is free software; the Free Software Foundation 2571 +# gives unlimited permission to copy and/or distribute it, 2572 +# with or without modifications, as long as this notice is preserved. 2573 + 2574 +# AM_PROG_INSTALL_SH 2575 +# ------------------ 2576 +# Define $install_sh. 2577 +AC_DEFUN([AM_PROG_INSTALL_SH], 2578 +[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl 2579 +if test x"${install_sh}" != xset; then 2580 + case $am_aux_dir in 2581 + *\ * | *\ *) 2582 + install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; 2583 + *) 2584 + install_sh="\${SHELL} $am_aux_dir/install-sh" 2585 + esac 2586 +fi 2587 +AC_SUBST(install_sh)]) 2588 + 2589 +# Copyright (C) 2003, 2005 Free Software Foundation, Inc. 2590 # 2591 -# Added better handling of ALL_LINGUAS from GNU gettext version 2592 -# written by Bruno Haible, Owen Taylor <otaylor.redhat.com> 5/30/3002 2593 +# This file is free software; the Free Software Foundation 2594 +# gives unlimited permission to copy and/or distribute it, 2595 +# with or without modifications, as long as this notice is preserved. 2596 + 2597 +# serial 2 2598 + 2599 +# Check whether the underlying file-system supports filenames 2600 +# with a leading dot. For instance MS-DOS doesn't. 2601 +AC_DEFUN([AM_SET_LEADING_DOT], 2602 +[rm -rf .tst 2>/dev/null 2603 +mkdir .tst 2>/dev/null 2604 +if test -d .tst; then 2605 + am__leading_dot=. 2606 +else 2607 + am__leading_dot=_ 2608 +fi 2609 +rmdir .tst 2>/dev/null 2610 +AC_SUBST([am__leading_dot])]) 2611 + 2612 +# Check to see how 'make' treats includes. -*- Autoconf -*- 2613 + 2614 +# Copyright (C) 2001, 2002, 2003, 2005, 2009 Free Software Foundation, Inc. 2615 # 2616 -# Modified to require ngettext 2617 -# Matthias Clasen <mclasen@redhat.com> 08/06/2004 2618 +# This file is free software; the Free Software Foundation 2619 +# gives unlimited permission to copy and/or distribute it, 2620 +# with or without modifications, as long as this notice is preserved. 2621 + 2622 +# serial 4 2623 + 2624 +# AM_MAKE_INCLUDE() 2625 +# ----------------- 2626 +# Check to see how make treats includes. 2627 +AC_DEFUN([AM_MAKE_INCLUDE], 2628 +[am_make=${MAKE-make} 2629 +cat > confinc << 'END' 2630 +am__doit: 2631 + @echo this is the am__doit target 2632 +.PHONY: am__doit 2633 +END 2634 +# If we don't find an include directive, just comment out the code. 2635 +AC_MSG_CHECKING([for style of include used by $am_make]) 2636 +am__include="#" 2637 +am__quote= 2638 +_am_result=none 2639 +# First try GNU make style include. 2640 +echo "include confinc" > confmf 2641 +# Ignore all kinds of additional output from `make'. 2642 +case `$am_make -s -f confmf 2> /dev/null` in #( 2643 +*the\ am__doit\ target*) 2644 + am__include=include 2645 + am__quote= 2646 + _am_result=GNU 2647 + ;; 2648 +esac 2649 +# Now try BSD make style include. 2650 +if test "$am__include" = "#"; then 2651 + echo '.include "confinc"' > confmf 2652 + case `$am_make -s -f confmf 2> /dev/null` in #( 2653 + *the\ am__doit\ target*) 2654 + am__include=.include 2655 + am__quote="\"" 2656 + _am_result=BSD 2657 + ;; 2658 + esac 2659 +fi 2660 +AC_SUBST([am__include]) 2661 +AC_SUBST([am__quote]) 2662 +AC_MSG_RESULT([$_am_result]) 2663 +rm -f confinc confmf 2664 +]) 2665 + 2666 +# Fake the existence of programs that GNU maintainers use. -*- Autoconf -*- 2667 + 2668 +# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005, 2008 2669 +# Free Software Foundation, Inc. 2670 # 2671 -# We need this here as well, since someone might use autoconf-2.5x 2672 -# to configure GLib then an older version to configure a package 2673 -# using AM_GLIB_GNU_GETTEXT 2674 -AC_PREREQ(2.53) 2675 +# This file is free software; the Free Software Foundation 2676 +# gives unlimited permission to copy and/or distribute it, 2677 +# with or without modifications, as long as this notice is preserved. 2678 2679 -dnl 2680 -dnl We go to great lengths to make sure that aclocal won't 2681 -dnl try to pull in the installed version of these macros 2682 -dnl when running aclocal in the glib directory. 2683 -dnl 2684 -m4_copy([AC_DEFUN],[glib_DEFUN]) 2685 -m4_copy([AC_REQUIRE],[glib_REQUIRE]) 2686 -dnl 2687 -dnl At the end, if we're not within glib, we'll define the public 2688 -dnl definitions in terms of our private definitions. 2689 -dnl 2690 +# serial 6 2691 2692 -# GLIB_LC_MESSAGES 2693 -#-------------------- 2694 -glib_DEFUN([GLIB_LC_MESSAGES], 2695 - [AC_CHECK_HEADERS([locale.h]) 2696 - if test $ac_cv_header_locale_h = yes; then 2697 - AC_CACHE_CHECK([for LC_MESSAGES], am_cv_val_LC_MESSAGES, 2698 - [AC_TRY_LINK([#include <locale.h>], [return LC_MESSAGES], 2699 - am_cv_val_LC_MESSAGES=yes, am_cv_val_LC_MESSAGES=no)]) 2700 - if test $am_cv_val_LC_MESSAGES = yes; then 2701 - AC_DEFINE(HAVE_LC_MESSAGES, 1, 2702 - [Define if your <locale.h> file defines LC_MESSAGES.]) 2703 - fi 2704 - fi]) 2705 +# AM_MISSING_PROG(NAME, PROGRAM) 2706 +# ------------------------------ 2707 +AC_DEFUN([AM_MISSING_PROG], 2708 +[AC_REQUIRE([AM_MISSING_HAS_RUN]) 2709 +$1=${$1-"${am_missing_run}$2"} 2710 +AC_SUBST($1)]) 2711 2712 -# GLIB_PATH_PROG_WITH_TEST 2713 -#---------------------------- 2714 -dnl GLIB_PATH_PROG_WITH_TEST(VARIABLE, PROG-TO-CHECK-FOR, 2715 -dnl TEST-PERFORMED-ON-FOUND_PROGRAM [, VALUE-IF-NOT-FOUND [, PATH]]) 2716 -glib_DEFUN([GLIB_PATH_PROG_WITH_TEST], 2717 -[# Extract the first word of "$2", so it can be a program name with args. 2718 -set dummy $2; ac_word=[$]2 2719 -AC_MSG_CHECKING([for $ac_word]) 2720 -AC_CACHE_VAL(ac_cv_path_$1, 2721 -[case "[$]$1" in 2722 - /*) 2723 - ac_cv_path_$1="[$]$1" # Let the user override the test with a path. 2724 - ;; 2725 + 2726 +# AM_MISSING_HAS_RUN 2727 +# ------------------ 2728 +# Define MISSING if not defined so far and test if it supports --run. 2729 +# If it does, set am_missing_run to use it, otherwise, to nothing. 2730 +AC_DEFUN([AM_MISSING_HAS_RUN], 2731 +[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl 2732 +AC_REQUIRE_AUX_FILE([missing])dnl 2733 +if test x"${MISSING+set}" != xset; then 2734 + case $am_aux_dir in 2735 + *\ * | *\ *) 2736 + MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; 2737 *) 2738 - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" 2739 - for ac_dir in ifelse([$5], , $PATH, [$5]); do 2740 - test -z "$ac_dir" && ac_dir=. 2741 - if test -f $ac_dir/$ac_word; then 2742 - if [$3]; then 2743 - ac_cv_path_$1="$ac_dir/$ac_word" 2744 - break 2745 - fi 2746 - fi 2747 - done 2748 - IFS="$ac_save_ifs" 2749 -dnl If no 4th arg is given, leave the cache variable unset, 2750 -dnl so AC_PATH_PROGS will keep looking. 2751 -ifelse([$4], , , [ test -z "[$]ac_cv_path_$1" && ac_cv_path_$1="$4" 2752 -])dnl 2753 - ;; 2754 -esac])dnl 2755 -$1="$ac_cv_path_$1" 2756 -if test ifelse([$4], , [-n "[$]$1"], ["[$]$1" != "$4"]); then 2757 - AC_MSG_RESULT([$]$1) 2758 + MISSING="\${SHELL} $am_aux_dir/missing" ;; 2759 + esac 2760 +fi 2761 +# Use eval to expand $SHELL 2762 +if eval "$MISSING --run true"; then 2763 + am_missing_run="$MISSING --run " 2764 else 2765 - AC_MSG_RESULT(no) 2766 + am_missing_run= 2767 + AC_MSG_WARN([`missing' script is too old or missing]) 2768 fi 2769 -AC_SUBST($1)dnl 2770 ]) 2771 2772 -# GLIB_WITH_NLS 2773 -#----------------- 2774 -glib_DEFUN([GLIB_WITH_NLS], 2775 - dnl NLS is obligatory 2776 - [USE_NLS=yes 2777 - AC_SUBST(USE_NLS) 2778 +# Copyright (C) 2003, 2004, 2005, 2006 Free Software Foundation, Inc. 2779 +# 2780 +# This file is free software; the Free Software Foundation 2781 +# gives unlimited permission to copy and/or distribute it, 2782 +# with or without modifications, as long as this notice is preserved. 2783 + 2784 +# AM_PROG_MKDIR_P 2785 +# --------------- 2786 +# Check for `mkdir -p'. 2787 +AC_DEFUN([AM_PROG_MKDIR_P], 2788 +[AC_PREREQ([2.60])dnl 2789 +AC_REQUIRE([AC_PROG_MKDIR_P])dnl 2790 +dnl Automake 1.8 to 1.9.6 used to define mkdir_p. We now use MKDIR_P, 2791 +dnl while keeping a definition of mkdir_p for backward compatibility. 2792 +dnl @MKDIR_P@ is magic: AC_OUTPUT adjusts its value for each Makefile. 2793 +dnl However we cannot define mkdir_p as $(MKDIR_P) for the sake of 2794 +dnl Makefile.ins that do not define MKDIR_P, so we do our own 2795 +dnl adjustment using top_builddir (which is defined more often than 2796 +dnl MKDIR_P). 2797 +AC_SUBST([mkdir_p], ["$MKDIR_P"])dnl 2798 +case $mkdir_p in 2799 + [[\\/$]]* | ?:[[\\/]]*) ;; 2800 + */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; 2801 +esac 2802 +]) 2803 + 2804 +# Helper functions for option handling. -*- Autoconf -*- 2805 + 2806 +# Copyright (C) 2001, 2002, 2003, 2005, 2008 Free Software Foundation, Inc. 2807 +# 2808 +# This file is free software; the Free Software Foundation 2809 +# gives unlimited permission to copy and/or distribute it, 2810 +# with or without modifications, as long as this notice is preserved. 2811 2812 - gt_cv_have_gettext=no 2813 +# serial 4 2814 2815 - CATOBJEXT=NONE 2816 - XGETTEXT=: 2817 - INTLLIBS= 2818 +# _AM_MANGLE_OPTION(NAME) 2819 +# ----------------------- 2820 +AC_DEFUN([_AM_MANGLE_OPTION], 2821 +[[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])]) 2822 2823 - AC_CHECK_HEADER(libintl.h, 2824 - [gt_cv_func_dgettext_libintl="no" 2825 - libintl_extra_libs="" 2826 +# _AM_SET_OPTION(NAME) 2827 +# ------------------------------ 2828 +# Set option NAME. Presently that only means defining a flag for this option. 2829 +AC_DEFUN([_AM_SET_OPTION], 2830 +[m4_define(_AM_MANGLE_OPTION([$1]), 1)]) 2831 2832 - # 2833 - # First check in libc 2834 - # 2835 - AC_CACHE_CHECK([for ngettext in libc], gt_cv_func_ngettext_libc, 2836 - [AC_TRY_LINK([ 2837 -#include <libintl.h> 2838 -], 2839 - [return !ngettext ("","", 1)], 2840 - gt_cv_func_ngettext_libc=yes, 2841 - gt_cv_func_ngettext_libc=no) 2842 - ]) 2843 - 2844 - if test "$gt_cv_func_ngettext_libc" = "yes" ; then 2845 - AC_CACHE_CHECK([for dgettext in libc], gt_cv_func_dgettext_libc, 2846 - [AC_TRY_LINK([ 2847 -#include <libintl.h> 2848 -], 2849 - [return !dgettext ("","")], 2850 - gt_cv_func_dgettext_libc=yes, 2851 - gt_cv_func_dgettext_libc=no) 2852 - ]) 2853 - fi 2854 - 2855 - if test "$gt_cv_func_ngettext_libc" = "yes" ; then 2856 - AC_CHECK_FUNCS(bind_textdomain_codeset) 2857 - fi 2858 +# _AM_SET_OPTIONS(OPTIONS) 2859 +# ---------------------------------- 2860 +# OPTIONS is a space-separated list of Automake options. 2861 +AC_DEFUN([_AM_SET_OPTIONS], 2862 +[m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])]) 2863 2864 - # 2865 - # If we don't have everything we want, check in libintl 2866 - # 2867 - if test "$gt_cv_func_dgettext_libc" != "yes" \ 2868 - || test "$gt_cv_func_ngettext_libc" != "yes" \ 2869 - || test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then 2870 - 2871 - AC_CHECK_LIB(intl, bindtextdomain, 2872 - [AC_CHECK_LIB(intl, ngettext, 2873 - [AC_CHECK_LIB(intl, dgettext, 2874 - gt_cv_func_dgettext_libintl=yes)])]) 2875 +# _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET]) 2876 +# ------------------------------------------- 2877 +# Execute IF-SET if OPTION is set, IF-NOT-SET otherwise. 2878 +AC_DEFUN([_AM_IF_OPTION], 2879 +[m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])]) 2880 2881 - if test "$gt_cv_func_dgettext_libintl" != "yes" ; then 2882 - AC_MSG_CHECKING([if -liconv is needed to use gettext]) 2883 - AC_MSG_RESULT([]) 2884 - AC_CHECK_LIB(intl, ngettext, 2885 - [AC_CHECK_LIB(intl, dcgettext, 2886 - [gt_cv_func_dgettext_libintl=yes 2887 - libintl_extra_libs=-liconv], 2888 - :,-liconv)], 2889 - :,-liconv) 2890 - fi 2891 +# Check to make sure that the build environment is sane. -*- Autoconf -*- 2892 2893 - # 2894 - # If we found libintl, then check in it for bind_textdomain_codeset(); 2895 - # we'll prefer libc if neither have bind_textdomain_codeset(), 2896 - # and both have dgettext and ngettext 2897 - # 2898 - if test "$gt_cv_func_dgettext_libintl" = "yes" ; then 2899 - glib_save_LIBS="$LIBS" 2900 - LIBS="$LIBS -lintl $libintl_extra_libs" 2901 - unset ac_cv_func_bind_textdomain_codeset 2902 - AC_CHECK_FUNCS(bind_textdomain_codeset) 2903 - LIBS="$glib_save_LIBS" 2904 +# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005, 2008 2905 +# Free Software Foundation, Inc. 2906 +# 2907 +# This file is free software; the Free Software Foundation 2908 +# gives unlimited permission to copy and/or distribute it, 2909 +# with or without modifications, as long as this notice is preserved. 2910 2911 - if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then 2912 - gt_cv_func_dgettext_libc=no 2913 - else 2914 - if test "$gt_cv_func_dgettext_libc" = "yes" \ 2915 - && test "$gt_cv_func_ngettext_libc" = "yes"; then 2916 - gt_cv_func_dgettext_libintl=no 2917 - fi 2918 - fi 2919 - fi 2920 - fi 2921 +# serial 5 2922 2923 - if test "$gt_cv_func_dgettext_libc" = "yes" \ 2924 - || test "$gt_cv_func_dgettext_libintl" = "yes"; then 2925 - gt_cv_have_gettext=yes 2926 - fi 2927 - 2928 - if test "$gt_cv_func_dgettext_libintl" = "yes"; then 2929 - INTLLIBS="-lintl $libintl_extra_libs" 2930 - fi 2931 - 2932 - if test "$gt_cv_have_gettext" = "yes"; then 2933 - AC_DEFINE(HAVE_GETTEXT,1, 2934 - [Define if the GNU gettext() function is already present or preinstalled.]) 2935 - GLIB_PATH_PROG_WITH_TEST(MSGFMT, msgfmt, 2936 - [test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"], no)dnl 2937 - if test "$MSGFMT" != "no"; then 2938 - glib_save_LIBS="$LIBS" 2939 - LIBS="$LIBS $INTLLIBS" 2940 - AC_CHECK_FUNCS(dcgettext) 2941 - MSGFMT_OPTS= 2942 - AC_MSG_CHECKING([if msgfmt accepts -c]) 2943 - GLIB_RUN_PROG([$MSGFMT -c -o /dev/null],[ 2944 -msgid "" 2945 -msgstr "" 2946 -"Content-Type: text/plain; charset=UTF-8\n" 2947 -"Project-Id-Version: test 1.0\n" 2948 -"PO-Revision-Date: 2007-02-15 12:01+0100\n" 2949 -"Last-Translator: test <foo@bar.xx>\n" 2950 -"Language-Team: C <LL@li.org>\n" 2951 -"MIME-Version: 1.0\n" 2952 -"Content-Transfer-Encoding: 8bit\n" 2953 -], [MSGFMT_OPTS=-c; AC_MSG_RESULT([yes])], [AC_MSG_RESULT([no])]) 2954 - AC_SUBST(MSGFMT_OPTS) 2955 - AC_PATH_PROG(GMSGFMT, gmsgfmt, $MSGFMT) 2956 - GLIB_PATH_PROG_WITH_TEST(XGETTEXT, xgettext, 2957 - [test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"], :) 2958 - AC_TRY_LINK(, [extern int _nl_msg_cat_cntr; 2959 - return _nl_msg_cat_cntr], 2960 - [CATOBJEXT=.gmo 2961 - DATADIRNAME=share], 2962 - [case $host in 2963 - *-*-solaris*) 2964 - dnl On Solaris, if bind_textdomain_codeset is in libc, 2965 - dnl GNU format message catalog is always supported, 2966 - dnl since both are added to the libc all together. 2967 - dnl Hence, we'd like to go with DATADIRNAME=share and 2968 - dnl and CATOBJEXT=.gmo in this case. 2969 - AC_CHECK_FUNC(bind_textdomain_codeset, 2970 - [CATOBJEXT=.gmo 2971 - DATADIRNAME=share], 2972 - [CATOBJEXT=.mo 2973 - DATADIRNAME=lib]) 2974 - ;; 2975 - *) 2976 - CATOBJEXT=.mo 2977 - DATADIRNAME=lib 2978 - ;; 2979 - esac]) 2980 - LIBS="$glib_save_LIBS" 2981 - INSTOBJEXT=.mo 2982 - else 2983 - gt_cv_have_gettext=no 2984 - fi 2985 - fi 2986 - ]) 2987 +# AM_SANITY_CHECK 2988 +# --------------- 2989 +AC_DEFUN([AM_SANITY_CHECK], 2990 +[AC_MSG_CHECKING([whether build environment is sane]) 2991 +# Just in case 2992 +sleep 1 2993 +echo timestamp > conftest.file 2994 +# Reject unsafe characters in $srcdir or the absolute working directory 2995 +# name. Accept space and tab only in the latter. 2996 +am_lf=' 2997 +' 2998 +case `pwd` in 2999 + *[[\\\"\#\$\&\'\`$am_lf]]*) 3000 + AC_MSG_ERROR([unsafe absolute working directory name]);; 3001 +esac 3002 +case $srcdir in 3003 + *[[\\\"\#\$\&\'\`$am_lf\ \ ]]*) 3004 + AC_MSG_ERROR([unsafe srcdir value: `$srcdir']);; 3005 +esac 3006 3007 - if test "$gt_cv_have_gettext" = "yes" ; then 3008 - AC_DEFINE(ENABLE_NLS, 1, 3009 - [always defined to indicate that i18n is enabled]) 3010 - fi 3011 +# Do `set' in a subshell so we don't clobber the current shell's 3012 +# arguments. Must try -L first in case configure is actually a 3013 +# symlink; some systems play weird games with the mod time of symlinks 3014 +# (eg FreeBSD returns the mod time of the symlink's containing 3015 +# directory). 3016 +if ( 3017 + set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` 3018 + if test "$[*]" = "X"; then 3019 + # -L didn't work. 3020 + set X `ls -t "$srcdir/configure" conftest.file` 3021 + fi 3022 + rm -f conftest.file 3023 + if test "$[*]" != "X $srcdir/configure conftest.file" \ 3024 + && test "$[*]" != "X conftest.file $srcdir/configure"; then 3025 3026 - dnl Test whether we really found GNU xgettext. 3027 - if test "$XGETTEXT" != ":"; then 3028 - dnl If it is not GNU xgettext we define it as : so that the 3029 - dnl Makefiles still can work. 3030 - if $XGETTEXT --omit-header /dev/null 2> /dev/null; then 3031 - : ; 3032 - else 3033 - AC_MSG_RESULT( 3034 - [found xgettext program is not GNU xgettext; ignore it]) 3035 - XGETTEXT=":" 3036 - fi 3037 - fi 3038 + # If neither matched, then we have a broken ls. This can happen 3039 + # if, for instance, CONFIG_SHELL is bash and it inherits a 3040 + # broken ls alias from the environment. This has actually 3041 + # happened. Such a system could not be considered "sane". 3042 + AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken 3043 +alias in your environment]) 3044 + fi 3045 3046 - # We need to process the po/ directory. 3047 - POSUB=po 3048 + test "$[2]" = conftest.file 3049 + ) 3050 +then 3051 + # Ok. 3052 + : 3053 +else 3054 + AC_MSG_ERROR([newly created file is older than distributed files! 3055 +Check your system clock]) 3056 +fi 3057 +AC_MSG_RESULT(yes)]) 3058 3059 - AC_OUTPUT_COMMANDS( 3060 - [case "$CONFIG_FILES" in *po/Makefile.in*) 3061 - sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile 3062 - esac]) 3063 +# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc. 3064 +# 3065 +# This file is free software; the Free Software Foundation 3066 +# gives unlimited permission to copy and/or distribute it, 3067 +# with or without modifications, as long as this notice is preserved. 3068 + 3069 +# AM_PROG_INSTALL_STRIP 3070 +# --------------------- 3071 +# One issue with vendor `install' (even GNU) is that you can't 3072 +# specify the program used to strip binaries. This is especially 3073 +# annoying in cross-compiling environments, where the build's strip 3074 +# is unlikely to handle the host's binaries. 3075 +# Fortunately install-sh will honor a STRIPPROG variable, so we 3076 +# always use install-sh in `make install-strip', and initialize 3077 +# STRIPPROG with the value of the STRIP variable (set by the user). 3078 +AC_DEFUN([AM_PROG_INSTALL_STRIP], 3079 +[AC_REQUIRE([AM_PROG_INSTALL_SH])dnl 3080 +# Installed binaries are usually stripped using `strip' when the user 3081 +# run `make install-strip'. However `strip' might not be the right 3082 +# tool to use in cross-compilation environments, therefore Automake 3083 +# will honor the `STRIP' environment variable to overrule this program. 3084 +dnl Don't test for $cross_compiling = yes, because it might be `maybe'. 3085 +if test "$cross_compiling" != no; then 3086 + AC_CHECK_TOOL([STRIP], [strip], :) 3087 +fi 3088 +INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 3089 +AC_SUBST([INSTALL_STRIP_PROGRAM])]) 3090 3091 - dnl These rules are solely for the distribution goal. While doing this 3092 - dnl we only have to keep exactly one list of the available catalogs 3093 - dnl in configure.in. 3094 - for lang in $ALL_LINGUAS; do 3095 - GMOFILES="$GMOFILES $lang.gmo" 3096 - POFILES="$POFILES $lang.po" 3097 - done 3098 +# Copyright (C) 2006, 2008 Free Software Foundation, Inc. 3099 +# 3100 +# This file is free software; the Free Software Foundation 3101 +# gives unlimited permission to copy and/or distribute it, 3102 +# with or without modifications, as long as this notice is preserved. 3103 3104 - dnl Make all variables we use known to autoconf. 3105 - AC_SUBST(CATALOGS) 3106 - AC_SUBST(CATOBJEXT) 3107 - AC_SUBST(DATADIRNAME) 3108 - AC_SUBST(GMOFILES) 3109 - AC_SUBST(INSTOBJEXT) 3110 - AC_SUBST(INTLLIBS) 3111 - AC_SUBST(PO_IN_DATADIR_TRUE) 3112 - AC_SUBST(PO_IN_DATADIR_FALSE) 3113 - AC_SUBST(POFILES) 3114 - AC_SUBST(POSUB) 3115 - ]) 3116 +# serial 2 3117 3118 -# AM_GLIB_GNU_GETTEXT 3119 -# ------------------- 3120 -# Do checks necessary for use of gettext. If a suitable implementation 3121 -# of gettext is found in either in libintl or in the C library, 3122 -# it will set INTLLIBS to the libraries needed for use of gettext 3123 -# and AC_DEFINE() HAVE_GETTEXT and ENABLE_NLS. (The shell variable 3124 -# gt_cv_have_gettext will be set to "yes".) It will also call AC_SUBST() 3125 -# on various variables needed by the Makefile.in.in installed by 3126 -# glib-gettextize. 3127 -dnl 3128 -glib_DEFUN([GLIB_GNU_GETTEXT], 3129 - [AC_REQUIRE([AC_PROG_CC])dnl 3130 - AC_REQUIRE([AC_HEADER_STDC])dnl 3131 - 3132 - GLIB_LC_MESSAGES 3133 - GLIB_WITH_NLS 3134 +# _AM_SUBST_NOTMAKE(VARIABLE) 3135 +# --------------------------- 3136 +# Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in. 3137 +# This macro is traced by Automake. 3138 +AC_DEFUN([_AM_SUBST_NOTMAKE]) 3139 3140 - if test "$gt_cv_have_gettext" = "yes"; then 3141 - if test "x$ALL_LINGUAS" = "x"; then 3142 - LINGUAS= 3143 - else 3144 - AC_MSG_CHECKING(for catalogs to be installed) 3145 - NEW_LINGUAS= 3146 - for presentlang in $ALL_LINGUAS; do 3147 - useit=no 3148 - if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then 3149 - desiredlanguages="$LINGUAS" 3150 - else 3151 - desiredlanguages="$ALL_LINGUAS" 3152 - fi 3153 - for desiredlang in $desiredlanguages; do 3154 - # Use the presentlang catalog if desiredlang is 3155 - # a. equal to presentlang, or 3156 - # b. a variant of presentlang (because in this case, 3157 - # presentlang can be used as a fallback for messages 3158 - # which are not translated in the desiredlang catalog). 3159 - case "$desiredlang" in 3160 - "$presentlang"*) useit=yes;; 3161 - esac 3162 - done 3163 - if test $useit = yes; then 3164 - NEW_LINGUAS="$NEW_LINGUAS $presentlang" 3165 - fi 3166 - done 3167 - LINGUAS=$NEW_LINGUAS 3168 - AC_MSG_RESULT($LINGUAS) 3169 - fi 3170 +# AM_SUBST_NOTMAKE(VARIABLE) 3171 +# --------------------------- 3172 +# Public sister of _AM_SUBST_NOTMAKE. 3173 +AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)]) 3174 3175 - dnl Construct list of names of catalog files to be constructed. 3176 - if test -n "$LINGUAS"; then 3177 - for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done 3178 - fi 3179 - fi 3180 +# Check how to create a tarball. -*- Autoconf -*- 3181 3182 - dnl If the AC_CONFIG_AUX_DIR macro for autoconf is used we possibly 3183 - dnl find the mkinstalldirs script in another subdir but ($top_srcdir). 3184 - dnl Try to locate is. 3185 - MKINSTALLDIRS= 3186 - if test -n "$ac_aux_dir"; then 3187 - MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs" 3188 - fi 3189 - if test -z "$MKINSTALLDIRS"; then 3190 - MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs" 3191 - fi 3192 - AC_SUBST(MKINSTALLDIRS) 3193 +# Copyright (C) 2004, 2005 Free Software Foundation, Inc. 3194 +# 3195 +# This file is free software; the Free Software Foundation 3196 +# gives unlimited permission to copy and/or distribute it, 3197 +# with or without modifications, as long as this notice is preserved. 3198 3199 - dnl Generate list of files to be processed by xgettext which will 3200 - dnl be included in po/Makefile. 3201 - test -d po || mkdir po 3202 - if test "x$srcdir" != "x."; then 3203 - if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then 3204 - posrcprefix="$srcdir/" 3205 - else 3206 - posrcprefix="../$srcdir/" 3207 - fi 3208 - else 3209 - posrcprefix="../" 3210 - fi 3211 - rm -f po/POTFILES 3212 - sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \ 3213 - < $srcdir/po/POTFILES.in > po/POTFILES 3214 - ]) 3215 +# serial 2 3216 3217 -# AM_GLIB_DEFINE_LOCALEDIR(VARIABLE) 3218 -# ------------------------------- 3219 -# Define VARIABLE to the location where catalog files will 3220 -# be installed by po/Makefile. 3221 -glib_DEFUN([GLIB_DEFINE_LOCALEDIR], 3222 -[glib_REQUIRE([GLIB_GNU_GETTEXT])dnl 3223 -glib_save_prefix="$prefix" 3224 -glib_save_exec_prefix="$exec_prefix" 3225 -glib_save_datarootdir="$datarootdir" 3226 -test "x$prefix" = xNONE && prefix=$ac_default_prefix 3227 -test "x$exec_prefix" = xNONE && exec_prefix=$prefix 3228 -datarootdir=`eval echo "${datarootdir}"` 3229 -if test "x$CATOBJEXT" = "x.mo" ; then 3230 - localedir=`eval echo "${libdir}/locale"` 3231 -else 3232 - localedir=`eval echo "${datadir}/locale"` 3233 -fi 3234 -prefix="$glib_save_prefix" 3235 -exec_prefix="$glib_save_exec_prefix" 3236 -datarootdir="$glib_save_datarootdir" 3237 -AC_DEFINE_UNQUOTED($1, "$localedir", 3238 - [Define the location where the catalogs will be installed]) 3239 -]) 3240 +# _AM_PROG_TAR(FORMAT) 3241 +# -------------------- 3242 +# Check how to create a tarball in format FORMAT. 3243 +# FORMAT should be one of `v7', `ustar', or `pax'. 3244 +# 3245 +# Substitute a variable $(am__tar) that is a command 3246 +# writing to stdout a FORMAT-tarball containing the directory 3247 +# $tardir. 3248 +# tardir=directory && $(am__tar) > result.tar 3249 +# 3250 +# Substitute a variable $(am__untar) that extract such 3251 +# a tarball read from stdin. 3252 +# $(am__untar) < result.tar 3253 +AC_DEFUN([_AM_PROG_TAR], 3254 +[# Always define AMTAR for backward compatibility. 3255 +AM_MISSING_PROG([AMTAR], [tar]) 3256 +m4_if([$1], [v7], 3257 + [am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'], 3258 + [m4_case([$1], [ustar],, [pax],, 3259 + [m4_fatal([Unknown tar format])]) 3260 +AC_MSG_CHECKING([how to create a $1 tar archive]) 3261 +# Loop over all known methods to create a tar archive until one works. 3262 +_am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none' 3263 +_am_tools=${am_cv_prog_tar_$1-$_am_tools} 3264 +# Do not fold the above two line into one, because Tru64 sh and 3265 +# Solaris sh will not grok spaces in the rhs of `-'. 3266 +for _am_tool in $_am_tools 3267 +do 3268 + case $_am_tool in 3269 + gnutar) 3270 + for _am_tar in tar gnutar gtar; 3271 + do 3272 + AM_RUN_LOG([$_am_tar --version]) && break 3273 + done 3274 + am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"' 3275 + am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"' 3276 + am__untar="$_am_tar -xf -" 3277 + ;; 3278 + plaintar) 3279 + # Must skip GNU tar: if it does not support --format= it doesn't create 3280 + # ustar tarball either. 3281 + (tar --version) >/dev/null 2>&1 && continue 3282 + am__tar='tar chf - "$$tardir"' 3283 + am__tar_='tar chf - "$tardir"' 3284 + am__untar='tar xf -' 3285 + ;; 3286 + pax) 3287 + am__tar='pax -L -x $1 -w "$$tardir"' 3288 + am__tar_='pax -L -x $1 -w "$tardir"' 3289 + am__untar='pax -r' 3290 + ;; 3291 + cpio) 3292 + am__tar='find "$$tardir" -print | cpio -o -H $1 -L' 3293 + am__tar_='find "$tardir" -print | cpio -o -H $1 -L' 3294 + am__untar='cpio -i -H $1 -d' 3295 + ;; 3296 + none) 3297 + am__tar=false 3298 + am__tar_=false 3299 + am__untar=false 3300 + ;; 3301 + esac 3302 3303 -dnl 3304 -dnl Now the definitions that aclocal will find 3305 -dnl 3306 -ifdef(glib_configure_in,[],[ 3307 -AC_DEFUN([AM_GLIB_GNU_GETTEXT],[GLIB_GNU_GETTEXT($@)]) 3308 -AC_DEFUN([AM_GLIB_DEFINE_LOCALEDIR],[GLIB_DEFINE_LOCALEDIR($@)]) 3309 -])dnl 3310 + # If the value was cached, stop now. We just wanted to have am__tar 3311 + # and am__untar set. 3312 + test -n "${am_cv_prog_tar_$1}" && break 3313 3314 -# GLIB_RUN_PROG(PROGRAM, TEST-FILE, [ACTION-IF-PASS], [ACTION-IF-FAIL]) 3315 -# 3316 -# Create a temporary file with TEST-FILE as its contents and pass the 3317 -# file name to PROGRAM. Perform ACTION-IF-PASS if PROGRAM exits with 3318 -# 0 and perform ACTION-IF-FAIL for any other exit status. 3319 -AC_DEFUN([GLIB_RUN_PROG], 3320 -[cat >conftest.foo <<_ACEOF 3321 -$2 3322 -_ACEOF 3323 -if AC_RUN_LOG([$1 conftest.foo]); then 3324 - m4_ifval([$3], [$3], [:]) 3325 -m4_ifvaln([$4], [else $4])dnl 3326 -echo "$as_me: failed input was:" >&AS_MESSAGE_LOG_FD 3327 -sed 's/^/| /' conftest.foo >&AS_MESSAGE_LOG_FD 3328 -fi]) 3329 + # tar/untar a dummy directory, and stop if the command works 3330 + rm -rf conftest.dir 3331 + mkdir conftest.dir 3332 + echo GrepMe > conftest.dir/file 3333 + AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar]) 3334 + rm -rf conftest.dir 3335 + if test -s conftest.tar; then 3336 + AM_RUN_LOG([$am__untar <conftest.tar]) 3337 + grep GrepMe conftest.dir/file >/dev/null 2>&1 && break 3338 + fi 3339 +done 3340 +rm -rf conftest.dir 3341 3342 +AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool]) 3343 +AC_MSG_RESULT([$am_cv_prog_tar_$1])]) 3344 +AC_SUBST([am__tar]) 3345 +AC_SUBST([am__untar]) 3346 +]) # _AM_PROG_TAR 3347 3348 m4_include([m4/gtk-doc.m4]) 3349 m4_include([m4/introspection.m4]) 3350 diff -Naur atk1.0-1.30.0.old/atk/Makefile.in atk1.0-1.30.0/atk/Makefile.in 3351 --- atk1.0-1.30.0.old/atk/Makefile.in 2010-03-30 00:53:48.000000000 +0200 3352 +++ atk1.0-1.30.0/atk/Makefile.in 2010-03-31 09:05:42.238286460 +0200 3353 @@ -1,4 +1,4 @@ 3354 -# Makefile.in generated by automake 1.11 from Makefile.am. 3355 +# Makefile.in generated by automake 1.11.1 from Makefile.am. 3356 # @configure_input@ 3357 3358 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 3359 @@ -166,6 +166,8 @@ 3360 GOBJECT_QUERY = @GOBJECT_QUERY@ 3361 GREP = @GREP@ 3362 GTKDOC_CHECK = @GTKDOC_CHECK@ 3363 +GTKDOC_MKPDF = @GTKDOC_MKPDF@ 3364 +GTKDOC_REBASE = @GTKDOC_REBASE@ 3365 HTML_DIR = @HTML_DIR@ 3366 INSTALL = @INSTALL@ 3367 INSTALL_DATA = @INSTALL_DATA@ 3368 diff -Naur atk1.0-1.30.0.old/config.guess atk1.0-1.30.0/config.guess 3369 diff -Naur atk1.0-1.30.0.old/config.sub atk1.0-1.30.0/config.sub 3370 diff -Naur atk1.0-1.30.0.old/configure atk1.0-1.30.0/configure 3371 --- atk1.0-1.30.0.old/configure 2010-03-30 00:53:47.000000000 +0200 3372 +++ atk1.0-1.30.0/configure 2010-03-31 09:05:41.049285773 +0200 3373 @@ -1,12 +1,14 @@ 3374 #! /bin/sh 3375 # Guess values for system-dependent variables and create Makefiles. 3376 -# Generated by GNU Autoconf 2.64 for atk 1.30.0. 3377 +# Generated by GNU Autoconf 2.65 for atk 1.30.0. 3378 # 3379 # Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=atk>. 3380 # 3381 +# 3382 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 3383 -# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software 3384 -# Foundation, Inc. 3385 +# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, 3386 +# Inc. 3387 +# 3388 # 3389 # This configure script is free software; the Free Software Foundation 3390 # gives unlimited permission to copy, distribute and modify it. 3391 @@ -677,7 +679,8 @@ 3392 3393 3394 3395 -exec 7<&0 </dev/null 6>&1 3396 +test -n "$DJDIR" || exec 7<&0 </dev/null 3397 +exec 6>&1 3398 3399 # Name of the host. 3400 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status, 3401 @@ -747,12 +750,20 @@ 3402 LIBOBJS 3403 REBUILD 3404 PERL 3405 +GTK_DOC_USE_REBASE_FALSE 3406 +GTK_DOC_USE_REBASE_TRUE 3407 GTK_DOC_USE_LIBTOOL_FALSE 3408 GTK_DOC_USE_LIBTOOL_TRUE 3409 +GTK_DOC_BUILD_PDF_FALSE 3410 +GTK_DOC_BUILD_PDF_TRUE 3411 +GTK_DOC_BUILD_HTML_FALSE 3412 +GTK_DOC_BUILD_HTML_TRUE 3413 ENABLE_GTK_DOC_FALSE 3414 ENABLE_GTK_DOC_TRUE 3415 -GTKDOC_CHECK 3416 HTML_DIR 3417 +GTKDOC_MKPDF 3418 +GTKDOC_REBASE 3419 +GTKDOC_CHECK 3420 HAVE_INTROSPECTION_FALSE 3421 HAVE_INTROSPECTION_TRUE 3422 INTROSPECTION_MAKEFILE 3423 @@ -930,6 +941,8 @@ 3424 enable_introspection 3425 with_html_dir 3426 enable_gtk_doc 3427 +enable_gtk_doc_html 3428 +enable_gtk_doc_pdf 3429 ' 3430 ac_precious_vars='build_alias 3431 host_alias 3432 @@ -1573,7 +1586,9 @@ 3433 --disable-glibtest do not try to compile and run a test GLIB program 3434 --enable-introspection=[no/auto/yes] 3435 Enable introspection for this build 3436 - --enable-gtk-doc use gtk-doc to build documentation [default=no] 3437 + --enable-gtk-doc use gtk-doc to build documentation [[default=no]] 3438 + --enable-gtk-doc-html build documentation in html format [[default=yes]] 3439 + --enable-gtk-doc-pdf build documentation in pdf format [[default=no]] 3440 3441 Optional Packages: 3442 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 3443 @@ -1589,7 +1604,7 @@ 3444 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 3445 nonstandard directory <lib dir> 3446 LIBS libraries to pass to the linker, e.g. -l<library> 3447 - CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if 3448 + CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 3449 you have headers in a nonstandard directory <include dir> 3450 CPP C preprocessor 3451 PKG_CONFIG path to pkg-config utility 3452 @@ -1663,7 +1678,7 @@ 3453 if $ac_init_version; then 3454 cat <<\_ACEOF 3455 atk configure 1.30.0 3456 -generated by GNU Autoconf 2.64 3457 +generated by GNU Autoconf 2.65 3458 3459 Copyright (C) 2009 Free Software Foundation, Inc. 3460 This configure script is free software; the Free Software Foundation 3461 @@ -1710,7 +1725,7 @@ 3462 ac_retval=1 3463 fi 3464 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 3465 - return $ac_retval 3466 + as_fn_set_status $ac_retval 3467 3468 } # ac_fn_c_try_compile 3469 3470 @@ -1756,7 +1771,7 @@ 3471 # left behind by Apple's compiler. We do this before executing the actions. 3472 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 3473 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 3474 - return $ac_retval 3475 + as_fn_set_status $ac_retval 3476 3477 } # ac_fn_c_try_link 3478 3479 @@ -1824,7 +1839,7 @@ 3480 ac_retval=1 3481 fi 3482 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 3483 - return $ac_retval 3484 + as_fn_set_status $ac_retval 3485 3486 } # ac_fn_c_try_cpp 3487 3488 @@ -1866,7 +1881,7 @@ 3489 fi 3490 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 3491 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 3492 - return $ac_retval 3493 + as_fn_set_status $ac_retval 3494 3495 } # ac_fn_c_try_run 3496 3497 @@ -2034,7 +2049,7 @@ 3498 running configure, to aid debugging if configure makes a mistake. 3499 3500 It was created by atk $as_me 1.30.0, which was 3501 -generated by GNU Autoconf 2.64. Invocation command line was 3502 +generated by GNU Autoconf 2.65. Invocation command line was 3503 3504 $ $0 $@ 3505 3506 @@ -2287,7 +2302,7 @@ 3507 for ac_site_file in "$ac_site_file1" "$ac_site_file2" 3508 do 3509 test "x$ac_site_file" = xNONE && continue 3510 - if test -r "$ac_site_file"; then 3511 + if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 3512 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 3513 $as_echo "$as_me: loading site script $ac_site_file" >&6;} 3514 sed 's/^/| /' "$ac_site_file" >&5 3515 @@ -2296,9 +2311,9 @@ 3516 done 3517 3518 if test -r "$cache_file"; then 3519 - # Some versions of bash will fail to source /dev/null (special 3520 - # files actually), so we avoid doing that. 3521 - if test -f "$cache_file"; then 3522 + # Some versions of bash will fail to source /dev/null (special files 3523 + # actually), so we avoid doing that. DJGPP emulates it as a regular file. 3524 + if test /dev/null != "$cache_file" && test -f "$cache_file"; then 3525 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 3526 $as_echo "$as_me: loading cache $cache_file" >&6;} 3527 case $cache_file in 3528 @@ -2724,6 +2739,7 @@ 3529 3530 fi 3531 3532 + test -d ./--version && rmdir ./--version 3533 if test "${ac_cv_path_mkdir+set}" = set; then 3534 MKDIR_P="$ac_cv_path_mkdir -p" 3535 else 3536 @@ -2731,7 +2747,6 @@ 3537 # value for MKDIR_P within a source directory, because that will 3538 # break other packages using the cache if that directory is 3539 # removed, or if the value is a relative name. 3540 - test -d ./--version && rmdir ./--version 3541 MKDIR_P="$ac_install_sh -d" 3542 fi 3543 fi 3544 @@ -3242,32 +3257,30 @@ 3545 ... rest of stderr output deleted ... 3546 10q' conftest.err >conftest.er1 3547 cat conftest.er1 >&5 3548 - rm -f conftest.er1 conftest.err 3549 fi 3550 + rm -f conftest.er1 conftest.err 3551 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3552 test $ac_status = 0; } 3553 done 3554 3555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3556 /* end confdefs.h. */ 3557 -#include <stdio.h> 3558 + 3559 int 3560 main () 3561 { 3562 -FILE *f = fopen ("conftest.out", "w"); 3563 - return ferror (f) || fclose (f) != 0; 3564 3565 ; 3566 return 0; 3567 } 3568 _ACEOF 3569 ac_clean_files_save=$ac_clean_files 3570 -ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out" 3571 +ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 3572 # Try to create an executable without -o first, disregard a.out. 3573 # It will help us diagnose broken compilers, and finding out an intuition 3574 # of exeext. 3575 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 3576 -$as_echo_n "checking for C compiler default output file name... " >&6; } 3577 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 3578 +$as_echo_n "checking whether the C compiler works... " >&6; } 3579 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 3580 3581 # The possible output files: 3582 @@ -3329,10 +3342,10 @@ 3583 else 3584 ac_file='' 3585 fi 3586 -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 3587 -$as_echo "$ac_file" >&6; } 3588 if test -z "$ac_file"; then : 3589 - $as_echo "$as_me: failed program was:" >&5 3590 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3591 +$as_echo "no" >&6; } 3592 +$as_echo "$as_me: failed program was:" >&5 3593 sed 's/^/| /' conftest.$ac_ext >&5 3594 3595 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3596 @@ -3340,51 +3353,18 @@ 3597 { as_fn_set_status 77 3598 as_fn_error "C compiler cannot create executables 3599 See \`config.log' for more details." "$LINENO" 5; }; } 3600 +else 3601 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3602 +$as_echo "yes" >&6; } 3603 fi 3604 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 3605 +$as_echo_n "checking for C compiler default output file name... " >&6; } 3606 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 3607 +$as_echo "$ac_file" >&6; } 3608 ac_exeext=$ac_cv_exeext 3609 3610 -# Check that the compiler produces executables we can run. If not, either 3611 -# the compiler is broken, or we cross compile. 3612 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 3613 -$as_echo_n "checking whether the C compiler works... " >&6; } 3614 -# If not cross compiling, check that we can run a simple program. 3615 -if test "$cross_compiling" != yes; then 3616 - if { ac_try='./$ac_file' 3617 - { { case "(($ac_try" in 3618 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3619 - *) ac_try_echo=$ac_try;; 3620 -esac 3621 -eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3622 -$as_echo "$ac_try_echo"; } >&5 3623 - (eval "$ac_try") 2>&5 3624 - ac_status=$? 3625 - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3626 - test $ac_status = 0; }; }; then 3627 - cross_compiling=no 3628 - else 3629 - if test "$cross_compiling" = maybe; then 3630 - cross_compiling=yes 3631 - else 3632 - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3633 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3634 -as_fn_error "cannot run C compiled programs. 3635 -If you meant to cross compile, use \`--host'. 3636 -See \`config.log' for more details." "$LINENO" 5; } 3637 - fi 3638 - fi 3639 -fi 3640 -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3641 -$as_echo "yes" >&6; } 3642 - 3643 -rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out 3644 +rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 3645 ac_clean_files=$ac_clean_files_save 3646 -# Check that the compiler produces executables we can run. If not, either 3647 -# the compiler is broken, or we cross compile. 3648 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 3649 -$as_echo_n "checking whether we are cross compiling... " >&6; } 3650 -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 3651 -$as_echo "$cross_compiling" >&6; } 3652 - 3653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 3654 $as_echo_n "checking for suffix of executables... " >&6; } 3655 if { { ac_try="$ac_link" 3656 @@ -3417,13 +3397,72 @@ 3657 as_fn_error "cannot compute suffix of executables: cannot compile and link 3658 See \`config.log' for more details." "$LINENO" 5; } 3659 fi 3660 -rm -f conftest$ac_cv_exeext 3661 +rm -f conftest conftest$ac_cv_exeext 3662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 3663 $as_echo "$ac_cv_exeext" >&6; } 3664 3665 rm -f conftest.$ac_ext 3666 EXEEXT=$ac_cv_exeext 3667 ac_exeext=$EXEEXT 3668 +cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3669 +/* end confdefs.h. */ 3670 +#include <stdio.h> 3671 +int 3672 +main () 3673 +{ 3674 +FILE *f = fopen ("conftest.out", "w"); 3675 + return ferror (f) || fclose (f) != 0; 3676 + 3677 + ; 3678 + return 0; 3679 +} 3680 +_ACEOF 3681 +ac_clean_files="$ac_clean_files conftest.out" 3682 +# Check that the compiler produces executables we can run. If not, either 3683 +# the compiler is broken, or we cross compile. 3684 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 3685 +$as_echo_n "checking whether we are cross compiling... " >&6; } 3686 +if test "$cross_compiling" != yes; then 3687 + { { ac_try="$ac_link" 3688 +case "(($ac_try" in 3689 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3690 + *) ac_try_echo=$ac_try;; 3691 +esac 3692 +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3693 +$as_echo "$ac_try_echo"; } >&5 3694 + (eval "$ac_link") 2>&5 3695 + ac_status=$? 3696 + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3697 + test $ac_status = 0; } 3698 + if { ac_try='./conftest$ac_cv_exeext' 3699 + { { case "(($ac_try" in 3700 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3701 + *) ac_try_echo=$ac_try;; 3702 +esac 3703 +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3704 +$as_echo "$ac_try_echo"; } >&5 3705 + (eval "$ac_try") 2>&5 3706 + ac_status=$? 3707 + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3708 + test $ac_status = 0; }; }; then 3709 + cross_compiling=no 3710 + else 3711 + if test "$cross_compiling" = maybe; then 3712 + cross_compiling=yes 3713 + else 3714 + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3715 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3716 +as_fn_error "cannot run C compiled programs. 3717 +If you meant to cross compile, use \`--host'. 3718 +See \`config.log' for more details." "$LINENO" 5; } 3719 + fi 3720 + fi 3721 +fi 3722 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 3723 +$as_echo "$cross_compiling" >&6; } 3724 + 3725 +rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 3726 +ac_clean_files=$ac_clean_files_save 3727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 3728 $as_echo_n "checking for suffix of object files... " >&6; } 3729 if test "${ac_cv_objext+set}" = set; then : 3730 @@ -4289,8 +4328,8 @@ 3731 3732 3733 3734 -macro_version='2.2.6' 3735 -macro_revision='1.3012' 3736 +macro_version='2.2.6b' 3737 +macro_revision='1.3017' 3738 3739 3740 3741 @@ -4890,13 +4929,13 @@ 3742 else 3743 lt_cv_nm_interface="BSD nm" 3744 echo "int some_variable = 0;" > conftest.$ac_ext 3745 - (eval echo "\"\$as_me:4893: $ac_compile\"" >&5) 3746 + (eval echo "\"\$as_me:4932: $ac_compile\"" >&5) 3747 (eval "$ac_compile" 2>conftest.err) 3748 cat conftest.err >&5 3749 - (eval echo "\"\$as_me:4896: $NM \\\"conftest.$ac_objext\\\"\"" >&5) 3750 + (eval echo "\"\$as_me:4935: $NM \\\"conftest.$ac_objext\\\"\"" >&5) 3751 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) 3752 cat conftest.err >&5 3753 - (eval echo "\"\$as_me:4899: output\"" >&5) 3754 + (eval echo "\"\$as_me:4938: output\"" >&5) 3755 cat conftest.out >&5 3756 if $GREP 'External.*some_variable' conftest.out > /dev/null; then 3757 lt_cv_nm_interface="MS dumpbin" 3758 @@ -5359,7 +5398,7 @@ 3759 ;; 3760 3761 # This must be Linux ELF. 3762 -linux* | k*bsd*-gnu) 3763 +linux* | k*bsd*-gnu | kopensolaris*-gnu) 3764 lt_cv_deplibs_check_method=pass_all 3765 ;; 3766 3767 @@ -6099,7 +6138,7 @@ 3768 ;; 3769 *-*-irix6*) 3770 # Find out which ABI we are using. 3771 - echo '#line 6102 "configure"' > conftest.$ac_ext 3772 + echo '#line 6141 "configure"' > conftest.$ac_ext 3773 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 3774 (eval $ac_compile) 2>&5 3775 ac_status=$? 3776 @@ -7597,11 +7636,11 @@ 3777 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 3778 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 3779 -e 's:$: $lt_compiler_flag:'` 3780 - (eval echo "\"\$as_me:7600: $lt_compile\"" >&5) 3781 + (eval echo "\"\$as_me:7639: $lt_compile\"" >&5) 3782 (eval "$lt_compile" 2>conftest.err) 3783 ac_status=$? 3784 cat conftest.err >&5 3785 - echo "$as_me:7604: \$? = $ac_status" >&5 3786 + echo "$as_me:7643: \$? = $ac_status" >&5 3787 if (exit $ac_status) && test -s "$ac_outfile"; then 3788 # The compiler can only warn and ignore the option if not recognized 3789 # So say no if there are warnings other than the usual output. 3790 @@ -7766,7 +7805,7 @@ 3791 lt_prog_compiler_static='-non_shared' 3792 ;; 3793 3794 - linux* | k*bsd*-gnu) 3795 + linux* | k*bsd*-gnu | kopensolaris*-gnu) 3796 case $cc_basename in 3797 # old Intel for x86_64 which still supported -KPIC. 3798 ecc*) 3799 @@ -7936,11 +7975,11 @@ 3800 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 3801 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 3802 -e 's:$: $lt_compiler_flag:'` 3803 - (eval echo "\"\$as_me:7939: $lt_compile\"" >&5) 3804 + (eval echo "\"\$as_me:7978: $lt_compile\"" >&5) 3805 (eval "$lt_compile" 2>conftest.err) 3806 ac_status=$? 3807 cat conftest.err >&5 3808 - echo "$as_me:7943: \$? = $ac_status" >&5 3809 + echo "$as_me:7982: \$? = $ac_status" >&5 3810 if (exit $ac_status) && test -s "$ac_outfile"; then 3811 # The compiler can only warn and ignore the option if not recognized 3812 # So say no if there are warnings other than the usual output. 3813 @@ -8041,11 +8080,11 @@ 3814 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 3815 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 3816 -e 's:$: $lt_compiler_flag:'` 3817 - (eval echo "\"\$as_me:8044: $lt_compile\"" >&5) 3818 + (eval echo "\"\$as_me:8083: $lt_compile\"" >&5) 3819 (eval "$lt_compile" 2>out/conftest.err) 3820 ac_status=$? 3821 cat out/conftest.err >&5 3822 - echo "$as_me:8048: \$? = $ac_status" >&5 3823 + echo "$as_me:8087: \$? = $ac_status" >&5 3824 if (exit $ac_status) && test -s out/conftest2.$ac_objext 3825 then 3826 # The compiler can only warn and ignore the option if not recognized 3827 @@ -8096,11 +8135,11 @@ 3828 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 3829 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 3830 -e 's:$: $lt_compiler_flag:'` 3831 - (eval echo "\"\$as_me:8099: $lt_compile\"" >&5) 3832 + (eval echo "\"\$as_me:8138: $lt_compile\"" >&5) 3833 (eval "$lt_compile" 2>out/conftest.err) 3834 ac_status=$? 3835 cat out/conftest.err >&5 3836 - echo "$as_me:8103: \$? = $ac_status" >&5 3837 + echo "$as_me:8142: \$? = $ac_status" >&5 3838 if (exit $ac_status) && test -s out/conftest2.$ac_objext 3839 then 3840 # The compiler can only warn and ignore the option if not recognized 3841 @@ -8239,6 +8278,7 @@ 3842 fi 3843 supports_anon_versioning=no 3844 case `$LD -v 2>&1` in 3845 + *GNU\ gold*) supports_anon_versioning=yes ;; 3846 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 3847 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... 3848 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... 3849 @@ -8330,7 +8370,7 @@ 3850 archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' 3851 ;; 3852 3853 - gnu* | linux* | tpf* | k*bsd*-gnu) 3854 + gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu) 3855 tmp_diet=no 3856 if test "$host_os" = linux-dietlibc; then 3857 case $cc_basename in 3858 @@ -9792,7 +9832,7 @@ 3859 ;; 3860 3861 # This must be Linux ELF. 3862 -linux* | k*bsd*-gnu) 3863 +linux* | k*bsd*-gnu | kopensolaris*-gnu) 3864 version_type=linux 3865 need_lib_prefix=no 3866 need_version=no 3867 @@ -10479,7 +10519,7 @@ 3868 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 3869 lt_status=$lt_dlunknown 3870 cat > conftest.$ac_ext <<_LT_EOF 3871 -#line 10482 "configure" 3872 +#line 10522 "configure" 3873 #include "confdefs.h" 3874 3875 #if HAVE_DLFCN_H 3876 @@ -10575,7 +10615,7 @@ 3877 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 3878 lt_status=$lt_dlunknown 3879 cat > conftest.$ac_ext <<_LT_EOF 3880 -#line 10578 "configure" 3881 +#line 10618 "configure" 3882 #include "confdefs.h" 3883 3884 #if HAVE_DLFCN_H 3885 @@ -12284,54 +12324,58 @@ 3886 3887 3888 3889 -# Check whether --with-html-dir was given. 3890 -if test "${with_html_dir+set}" = set; then : 3891 - withval=$with_html_dir; 3892 + # Extract the first word of "gtkdoc-check", so it can be a program name with args. 3893 +set dummy gtkdoc-check; ac_word=$2 3894 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3895 +$as_echo_n "checking for $ac_word... " >&6; } 3896 +if test "${ac_cv_path_GTKDOC_CHECK+set}" = set; then : 3897 + $as_echo_n "(cached) " >&6 3898 else 3899 - with_html_dir='${datadir}/gtk-doc/html' 3900 -fi 3901 - 3902 - HTML_DIR="$with_html_dir" 3903 - 3904 + case $GTKDOC_CHECK in 3905 + [\\/]* | ?:[\\/]*) 3906 + ac_cv_path_GTKDOC_CHECK="$GTKDOC_CHECK" # Let the user override the test with a path. 3907 + ;; 3908 + *) 3909 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3910 +for as_dir in $PATH 3911 +do 3912 + IFS=$as_save_IFS 3913 + test -z "$as_dir" && as_dir=. 3914 + for ac_exec_ext in '' $ac_executable_extensions; do 3915 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3916 + ac_cv_path_GTKDOC_CHECK="$as_dir/$ac_word$ac_exec_ext" 3917 + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3918 + break 2 3919 + fi 3920 +done 3921 + done 3922 +IFS=$as_save_IFS 3923 3924 - # Check whether --enable-gtk-doc was given. 3925 -if test "${enable_gtk_doc+set}" = set; then : 3926 - enableval=$enable_gtk_doc; 3927 -else 3928 - enable_gtk_doc=no 3929 + ;; 3930 +esac 3931 fi 3932 - 3933 - 3934 - if test x$enable_gtk_doc = xyes; then 3935 - if test -n "$PKG_CONFIG" && \ 3936 - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk-doc >= 1.0\""; } >&5 3937 - ($PKG_CONFIG --exists --print-errors "gtk-doc >= 1.0") 2>&5 3938 - ac_status=$? 3939 - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3940 - test $ac_status = 0; }; then 3941 - : 3942 +GTKDOC_CHECK=$ac_cv_path_GTKDOC_CHECK 3943 +if test -n "$GTKDOC_CHECK"; then 3944 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_CHECK" >&5 3945 +$as_echo "$GTKDOC_CHECK" >&6; } 3946 else 3947 - as_fn_error "You need to have gtk-doc >= 1.0 installed to build gtk-doc" "$LINENO" 5 3948 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3949 +$as_echo "no" >&6; } 3950 fi 3951 - fi 3952 3953 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build gtk-doc documentation" >&5 3954 -$as_echo_n "checking whether to build gtk-doc documentation... " >&6; } 3955 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_gtk_doc" >&5 3956 -$as_echo "$enable_gtk_doc" >&6; } 3957 3958 - for ac_prog in gtkdoc-check 3959 + for ac_prog in gtkdoc-rebase 3960 do 3961 # Extract the first word of "$ac_prog", so it can be a program name with args. 3962 set dummy $ac_prog; ac_word=$2 3963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3964 $as_echo_n "checking for $ac_word... " >&6; } 3965 -if test "${ac_cv_path_GTKDOC_CHECK+set}" = set; then : 3966 +if test "${ac_cv_path_GTKDOC_REBASE+set}" = set; then : 3967 $as_echo_n "(cached) " >&6 3968 else 3969 - case $GTKDOC_CHECK in 3970 + case $GTKDOC_REBASE in 3971 [\\/]* | ?:[\\/]*) 3972 - ac_cv_path_GTKDOC_CHECK="$GTKDOC_CHECK" # Let the user override the test with a path. 3973 + ac_cv_path_GTKDOC_REBASE="$GTKDOC_REBASE" # Let the user override the test with a path. 3974 ;; 3975 *) 3976 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3977 @@ -12341,7 +12385,7 @@ 3978 test -z "$as_dir" && as_dir=. 3979 for ac_exec_ext in '' $ac_executable_extensions; do 3980 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3981 - ac_cv_path_GTKDOC_CHECK="$as_dir/$ac_word$ac_exec_ext" 3982 + ac_cv_path_GTKDOC_REBASE="$as_dir/$ac_word$ac_exec_ext" 3983 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3984 break 2 3985 fi 3986 @@ -12352,18 +12396,116 @@ 3987 ;; 3988 esac 3989 fi 3990 -GTKDOC_CHECK=$ac_cv_path_GTKDOC_CHECK 3991 -if test -n "$GTKDOC_CHECK"; then 3992 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_CHECK" >&5 3993 -$as_echo "$GTKDOC_CHECK" >&6; } 3994 +GTKDOC_REBASE=$ac_cv_path_GTKDOC_REBASE 3995 +if test -n "$GTKDOC_REBASE"; then 3996 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_REBASE" >&5 3997 +$as_echo "$GTKDOC_REBASE" >&6; } 3998 else 3999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4000 $as_echo "no" >&6; } 4001 fi 4002 4003 4004 - test -n "$GTKDOC_CHECK" && break 4005 + test -n "$GTKDOC_REBASE" && break 4006 +done 4007 +test -n "$GTKDOC_REBASE" || GTKDOC_REBASE="true" 4008 + 4009 + # Extract the first word of "gtkdoc-mkpdf", so it can be a program name with args. 4010 +set dummy gtkdoc-mkpdf; ac_word=$2 4011 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4012 +$as_echo_n "checking for $ac_word... " >&6; } 4013 +if test "${ac_cv_path_GTKDOC_MKPDF+set}" = set; then : 4014 + $as_echo_n "(cached) " >&6 4015 +else 4016 + case $GTKDOC_MKPDF in 4017 + [\\/]* | ?:[\\/]*) 4018 + ac_cv_path_GTKDOC_MKPDF="$GTKDOC_MKPDF" # Let the user override the test with a path. 4019 + ;; 4020 + *) 4021 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4022 +for as_dir in $PATH 4023 +do 4024 + IFS=$as_save_IFS 4025 + test -z "$as_dir" && as_dir=. 4026 + for ac_exec_ext in '' $ac_executable_extensions; do 4027 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4028 + ac_cv_path_GTKDOC_MKPDF="$as_dir/$ac_word$ac_exec_ext" 4029 + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4030 + break 2 4031 + fi 4032 done 4033 + done 4034 +IFS=$as_save_IFS 4035 + 4036 + ;; 4037 +esac 4038 +fi 4039 +GTKDOC_MKPDF=$ac_cv_path_GTKDOC_MKPDF 4040 +if test -n "$GTKDOC_MKPDF"; then 4041 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_MKPDF" >&5 4042 +$as_echo "$GTKDOC_MKPDF" >&6; } 4043 +else 4044 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4045 +$as_echo "no" >&6; } 4046 +fi 4047 + 4048 + 4049 + 4050 + 4051 +# Check whether --with-html-dir was given. 4052 +if test "${with_html_dir+set}" = set; then : 4053 + withval=$with_html_dir; 4054 +else 4055 + with_html_dir='${datadir}/gtk-doc/html' 4056 +fi 4057 + 4058 + HTML_DIR="$with_html_dir" 4059 + 4060 + 4061 + # Check whether --enable-gtk-doc was given. 4062 +if test "${enable_gtk_doc+set}" = set; then : 4063 + enableval=$enable_gtk_doc; 4064 +else 4065 + enable_gtk_doc=no 4066 +fi 4067 + 4068 + 4069 + if test x$enable_gtk_doc = xyes; then 4070 + if test -n "$PKG_CONFIG" && \ 4071 + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk-doc >= 1.0\""; } >&5 4072 + ($PKG_CONFIG --exists --print-errors "gtk-doc >= 1.0") 2>&5 4073 + ac_status=$? 4074 + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4075 + test $ac_status = 0; }; then 4076 + : 4077 +else 4078 + as_fn_error "You need to have gtk-doc >= 1.0 installed to build $PACKAGE_NAME" "$LINENO" 5 4079 +fi 4080 + fi 4081 + 4082 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build gtk-doc documentation" >&5 4083 +$as_echo_n "checking whether to build gtk-doc documentation... " >&6; } 4084 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_gtk_doc" >&5 4085 +$as_echo "$enable_gtk_doc" >&6; } 4086 + 4087 + # Check whether --enable-gtk-doc-html was given. 4088 +if test "${enable_gtk_doc_html+set}" = set; then : 4089 + enableval=$enable_gtk_doc_html; 4090 +else 4091 + enable_gtk_doc_html=yes 4092 +fi 4093 + 4094 + # Check whether --enable-gtk-doc-pdf was given. 4095 +if test "${enable_gtk_doc_pdf+set}" = set; then : 4096 + enableval=$enable_gtk_doc_pdf; 4097 +else 4098 + enable_gtk_doc_pdf=no 4099 +fi 4100 + 4101 + 4102 + if test -z "$GTKDOC_MKPDF"; then 4103 + enable_gtk_doc_pdf=no 4104 + fi 4105 4106 4107 if test x$enable_gtk_doc = xyes; then 4108 @@ -12374,6 +12516,22 @@ 4109 ENABLE_GTK_DOC_FALSE= 4110 fi 4111 4112 + if test x$enable_gtk_doc_html = xyes; then 4113 + GTK_DOC_BUILD_HTML_TRUE= 4114 + GTK_DOC_BUILD_HTML_FALSE='#' 4115 +else 4116 + GTK_DOC_BUILD_HTML_TRUE='#' 4117 + GTK_DOC_BUILD_HTML_FALSE= 4118 +fi 4119 + 4120 + if test x$enable_gtk_doc_pdf = xyes; then 4121 + GTK_DOC_BUILD_PDF_TRUE= 4122 + GTK_DOC_BUILD_PDF_FALSE='#' 4123 +else 4124 + GTK_DOC_BUILD_PDF_TRUE='#' 4125 + GTK_DOC_BUILD_PDF_FALSE= 4126 +fi 4127 + 4128 if test -n "$LIBTOOL"; then 4129 GTK_DOC_USE_LIBTOOL_TRUE= 4130 GTK_DOC_USE_LIBTOOL_FALSE='#' 4131 @@ -12382,6 +12540,14 @@ 4132 GTK_DOC_USE_LIBTOOL_FALSE= 4133 fi 4134 4135 + if test -n "$GTKDOC_REBASE"; then 4136 + GTK_DOC_USE_REBASE_TRUE= 4137 + GTK_DOC_USE_REBASE_FALSE='#' 4138 +else 4139 + GTK_DOC_USE_REBASE_TRUE='#' 4140 + GTK_DOC_USE_REBASE_FALSE= 4141 +fi 4142 + 4143 4144 4145 # define a MAINT-like variable REBUILD which is set if Perl 4146 @@ -12617,10 +12783,22 @@ 4147 as_fn_error "conditional \"ENABLE_GTK_DOC\" was never defined. 4148 Usually this means the macro was only invoked conditionally." "$LINENO" 5 4149 fi 4150 +if test -z "${GTK_DOC_BUILD_HTML_TRUE}" && test -z "${GTK_DOC_BUILD_HTML_FALSE}"; then 4151 + as_fn_error "conditional \"GTK_DOC_BUILD_HTML\" was never defined. 4152 +Usually this means the macro was only invoked conditionally." "$LINENO" 5 4153 +fi 4154 +if test -z "${GTK_DOC_BUILD_PDF_TRUE}" && test -z "${GTK_DOC_BUILD_PDF_FALSE}"; then 4155 + as_fn_error "conditional \"GTK_DOC_BUILD_PDF\" was never defined. 4156 +Usually this means the macro was only invoked conditionally." "$LINENO" 5 4157 +fi 4158 if test -z "${GTK_DOC_USE_LIBTOOL_TRUE}" && test -z "${GTK_DOC_USE_LIBTOOL_FALSE}"; then 4159 as_fn_error "conditional \"GTK_DOC_USE_LIBTOOL\" was never defined. 4160 Usually this means the macro was only invoked conditionally." "$LINENO" 5 4161 fi 4162 +if test -z "${GTK_DOC_USE_REBASE_TRUE}" && test -z "${GTK_DOC_USE_REBASE_FALSE}"; then 4163 + as_fn_error "conditional \"GTK_DOC_USE_REBASE\" was never defined. 4164 +Usually this means the macro was only invoked conditionally." "$LINENO" 5 4165 +fi 4166 4167 : ${CONFIG_STATUS=./config.status} 4168 ac_write_fail=0 4169 @@ -13030,7 +13208,7 @@ 4170 # values after options handling. 4171 ac_log=" 4172 This file was extended by atk $as_me 1.30.0, which was 4173 -generated by GNU Autoconf 2.64. Invocation command line was 4174 +generated by GNU Autoconf 2.65. Invocation command line was 4175 4176 CONFIG_FILES = $CONFIG_FILES 4177 CONFIG_HEADERS = $CONFIG_HEADERS 4178 @@ -13070,6 +13248,7 @@ 4179 4180 -h, --help print this help, then exit 4181 -V, --version print version number and configuration settings, then exit 4182 + --config print configuration, then exit 4183 -q, --quiet, --silent 4184 do not print progress messages 4185 -d, --debug don't remove temporary files 4186 @@ -13092,10 +13271,11 @@ 4187 4188 _ACEOF 4189 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 4190 +ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 4191 ac_cs_version="\\ 4192 atk config.status 1.30.0 4193 -configured by $0, generated by GNU Autoconf 2.64, 4194 - with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" 4195 +configured by $0, generated by GNU Autoconf 2.65, 4196 + with options \\"\$ac_cs_config\\" 4197 4198 Copyright (C) 2009 Free Software Foundation, Inc. 4199 This config.status script is free software; the Free Software Foundation 4200 @@ -13133,6 +13313,8 @@ 4201 ac_cs_recheck=: ;; 4202 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 4203 $as_echo "$ac_cs_version"; exit ;; 4204 + --config | --confi | --conf | --con | --co | --c ) 4205 + $as_echo "$ac_cs_config"; exit ;; 4206 --debug | --debu | --deb | --de | --d | -d ) 4207 debug=: ;; 4208 --file | --fil | --fi | --f ) 4209 @@ -13589,7 +13771,7 @@ 4210 t delim 4211 :nl 4212 h 4213 -s/\(.\{148\}\).*/\1/ 4214 +s/\(.\{148\}\)..*/\1/ 4215 t more1 4216 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 4217 p 4218 @@ -13603,7 +13785,7 @@ 4219 t nl 4220 :delim 4221 h 4222 -s/\(.\{148\}\).*/\1/ 4223 +s/\(.\{148\}\)..*/\1/ 4224 t more2 4225 s/["\\]/\\&/g; s/^/"/; s/$/"/ 4226 p 4227 diff -Naur atk1.0-1.30.0.old/docs/Makefile.in atk1.0-1.30.0/docs/Makefile.in 4228 --- atk1.0-1.30.0.old/docs/Makefile.in 2010-03-30 00:53:48.000000000 +0200 4229 +++ atk1.0-1.30.0/docs/Makefile.in 2010-03-31 09:05:42.294286032 +0200 4230 @@ -1,4 +1,4 @@ 4231 -# Makefile.in generated by automake 1.11 from Makefile.am. 4232 +# Makefile.in generated by automake 1.11.1 from Makefile.am. 4233 # @configure_input@ 4234 4235 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 4236 @@ -106,6 +106,8 @@ 4237 GOBJECT_QUERY = @GOBJECT_QUERY@ 4238 GREP = @GREP@ 4239 GTKDOC_CHECK = @GTKDOC_CHECK@ 4240 +GTKDOC_MKPDF = @GTKDOC_MKPDF@ 4241 +GTKDOC_REBASE = @GTKDOC_REBASE@ 4242 HTML_DIR = @HTML_DIR@ 4243 INSTALL = @INSTALL@ 4244 INSTALL_DATA = @INSTALL_DATA@ 4245 @@ -246,7 +248,7 @@ 1 --- a/docs/Makefile.in 2 +++ b/docs/Makefile.in 3 @@ -250,7 +250,7 @@ 4246 4 -I$(top_builddir) \ 4247 5 $(DEP_CFLAGS) … … 4252 10 # gtkdoc-mkdb related varaibles 4253 11 MKDB_OPTIONS = 4254 @@ -255,10 +257,10 @@4255 4256 HTML_IMAGES =4257 @GTK_DOC_USE_LIBTOOL_FALSE@GTKDOC_CC = $(CC) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)4258 -@GTK_DOC_USE_LIBTOOL_TRUE@GTKDOC_CC = $(LIBTOOL) --mode=compile $(CC) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)4259 +@GTK_DOC_USE_LIBTOOL_TRUE@GTKDOC_CC = $(LIBTOOL) --tag=CC --mode=compile $(CC) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)4260 @GTK_DOC_USE_LIBTOOL_FALSE@GTKDOC_LD = $(CC) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS)4261 -@GTK_DOC_USE_LIBTOOL_TRUE@GTKDOC_LD = $(LIBTOOL) --mode=link $(CC) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS)4262 -@GTK_DOC_USE_LIBTOOL_FALSE@GTKDOC_RUN = sh -c4263 +@GTK_DOC_USE_LIBTOOL_TRUE@GTKDOC_LD = $(LIBTOOL) --tag=CC --mode=link $(CC) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS)4264 +@GTK_DOC_USE_LIBTOOL_FALSE@GTKDOC_RUN =4265 @GTK_DOC_USE_LIBTOOL_TRUE@GTKDOC_RUN = $(LIBTOOL) --mode=execute4266 4267 # We set GPATH here; this gives us semantics for GNU make4268 @@ -274,7 +276,9 @@4269 $(DOC_MODULE)-sections.txt $(DOC_MODULE)-overrides.txt \4270 version.xml.in4271 DOC_STAMPS = scan-build.stamp tmpl-build.stamp sgml-build.stamp html-build.stamp \4272 - $(srcdir)/tmpl.stamp $(srcdir)/sgml.stamp $(srcdir)/html.stamp4273 + pdf-build.stamp \4274 + $(srcdir)/tmpl.stamp $(srcdir)/sgml.stamp $(srcdir)/html.stamp \4275 + $(srcdir)/pdf.stamp4276 4277 SCANOBJ_FILES = \4278 $(DOC_MODULE).args \4279 @@ -289,6 +293,10 @@4280 $(DOC_MODULE)-unused.txt4281 4282 CLEANFILES = $(SCANOBJ_FILES) $(REPORT_FILES) $(DOC_STAMPS)4283 +@ENABLE_GTK_DOC_TRUE@@GTK_DOC_BUILD_HTML_FALSE@HTML_BUILD_STAMP =4284 +@ENABLE_GTK_DOC_TRUE@@GTK_DOC_BUILD_HTML_TRUE@HTML_BUILD_STAMP = html-build.stamp4285 +@ENABLE_GTK_DOC_TRUE@@GTK_DOC_BUILD_PDF_FALSE@PDF_BUILD_STAMP =4286 +@ENABLE_GTK_DOC_TRUE@@GTK_DOC_BUILD_PDF_TRUE@PDF_BUILD_STAMP = pdf-build.stamp4287 all: all-am4288 4289 .SUFFIXES:4290 @@ -484,10 +492,10 @@4291 uninstall-local4292 4293 4294 -@ENABLE_GTK_DOC_TRUE@all-local: html-build.stamp4295 +@ENABLE_GTK_DOC_TRUE@all-local: $(HTML_BUILD_STAMP) $(PDF_BUILD_STAMP)4296 @ENABLE_GTK_DOC_FALSE@all-local:4297 4298 -docs: html-build.stamp4299 +docs: $(HTML_BUILD_STAMP) $(PDF_BUILD_STAMP)4300 4301 $(REPORT_FILES): sgml-build.stamp4302 4303 @@ -496,9 +504,9 @@4304 scan-build.stamp: $(HFILE_GLOB) $(CFILE_GLOB)4305 @echo 'gtk-doc: Scanning header files'4306 @-chmod -R u+w $(srcdir)4307 - cd $(srcdir) && \4308 + @cd $(srcdir) && \4309 gtkdoc-scan --module=$(DOC_MODULE) --source-dir=$(DOC_SOURCE_DIR) --ignore-headers="$(IGNORE_HFILES)" $(SCAN_OPTIONS) $(EXTRA_HFILES)4310 - if grep -l '^..*$$' $(srcdir)/$(DOC_MODULE).types > /dev/null 2>&1 ; then \4311 + @if grep -l '^..*$$' $(srcdir)/$(DOC_MODULE).types > /dev/null 2>&1 ; then \4312 CC="$(GTKDOC_CC)" LD="$(GTKDOC_LD)" RUN="$(GTKDOC_RUN)" CFLAGS="$(GTKDOC_CFLAGS) $(CFLAGS)" LDFLAGS="$(GTKDOC_LIBS) $(LDFLAGS)" gtkdoc-scangobj $(SCANGOBJ_OPTIONS) --module=$(DOC_MODULE) --output-dir=$(srcdir) ; \4313 else \4314 cd $(srcdir) ; \4315 @@ -506,7 +514,7 @@4316 test -f $$i || touch $$i ; \4317 done \4318 fi4319 - touch scan-build.stamp4320 + @touch scan-build.stamp4321 4322 $(DOC_MODULE)-decl.txt $(SCANOBJ_FILES) $(DOC_MODULE)-sections.txt $(DOC_MODULE)-overrides.txt: scan-build.stamp4323 @true4324 @@ -516,23 +524,23 @@4325 tmpl-build.stamp: $(DOC_MODULE)-decl.txt $(SCANOBJ_FILES) $(DOC_MODULE)-sections.txt $(DOC_MODULE)-overrides.txt4326 @echo 'gtk-doc: Rebuilding template files'4327 @-chmod -R u+w $(srcdir)4328 - cd $(srcdir) && gtkdoc-mktmpl --module=$(DOC_MODULE) $(MKTMPL_OPTIONS)4329 - touch tmpl-build.stamp4330 + @cd $(srcdir) && gtkdoc-mktmpl --module=$(DOC_MODULE) $(MKTMPL_OPTIONS)4331 + @touch tmpl-build.stamp4332 4333 tmpl.stamp: tmpl-build.stamp4334 @true4335 4336 -tmpl/*.sgml:4337 +$(srcdir)/tmpl/*.sgml:4338 @true4339 4340 #### xml ####4341 4342 -sgml-build.stamp: tmpl.stamp $(HFILE_GLOB) $(CFILE_GLOB) $(DOC_MODULE)-sections.txt $(srcdir)/tmpl/*.sgml $(expand_content_files)4343 +sgml-build.stamp: tmpl.stamp $(DOC_MODULE)-sections.txt $(srcdir)/tmpl/*.sgml $(expand_content_files)4344 @echo 'gtk-doc: Building XML'4345 @-chmod -R u+w $(srcdir)4346 - cd $(srcdir) && \4347 + @cd $(srcdir) && \4348 gtkdoc-mkdb --module=$(DOC_MODULE) --source-dir=$(DOC_SOURCE_DIR) --output-format=xml --expand-content-files="$(expand_content_files)" --main-sgml-file=$(DOC_MAIN_SGML_FILE) $(MKDB_OPTIONS)4349 - touch sgml-build.stamp4350 + @touch sgml-build.stamp4351 4352 sgml.stamp: sgml-build.stamp4353 @true4354 @@ -542,18 +550,37 @@4355 html-build.stamp: sgml.stamp $(DOC_MAIN_SGML_FILE) $(content_files)4356 @echo 'gtk-doc: Building HTML'4357 @-chmod -R u+w $(srcdir)4358 - rm -rf $(srcdir)/html4359 - mkdir $(srcdir)/html4360 - mkhtml_options=""; \4361 + @rm -rf $(srcdir)/html4362 + @mkdir $(srcdir)/html4363 + @mkhtml_options=""; \4364 gtkdoc-mkhtml 2>&1 --help | grep >/dev/null "\-\-path"; \4365 if test "$(?)" = "0"; then \4366 mkhtml_options=--path="$(srcdir)"; \4367 - fi4368 - cd $(srcdir)/html && gtkdoc-mkhtml $(mkhtml_options) $(MKHTML_OPTIONS) $(DOC_MODULE) ../$(DOC_MAIN_SGML_FILE)4369 - test "x$(HTML_IMAGES)" = "x" || ( cd $(srcdir) && cp $(HTML_IMAGES) html )4370 + fi; \4371 + cd $(srcdir)/html && gtkdoc-mkhtml $$mkhtml_options $(MKHTML_OPTIONS) $(DOC_MODULE) ../$(DOC_MAIN_SGML_FILE)4372 + @test "x$(HTML_IMAGES)" = "x" || ( cd $(srcdir) && cp $(HTML_IMAGES) html )4373 @echo 'gtk-doc: Fixing cross-references'4374 - cd $(srcdir) && gtkdoc-fixxref --module-dir=html --html-dir=$(HTML_DIR) $(FIXXREF_OPTIONS)4375 - touch html-build.stamp4376 + @cd $(srcdir) && gtkdoc-fixxref --module=$(DOC_MODULE) --module-dir=html --html-dir=$(HTML_DIR) $(FIXXREF_OPTIONS)4377 + @touch html-build.stamp4378 +4379 +#### pdf ####4380 +4381 +pdf-build.stamp: sgml.stamp $(DOC_MAIN_SGML_FILE) $(content_files)4382 + @echo 'gtk-doc: Building PDF'4383 + @-chmod -R u+w $(srcdir)4384 + @rm -rf $(srcdir)/$(DOC_MODULE).pdf4385 + @mkpdf_imgdirs=""; \4386 + if test "x$(HTML_IMAGES)" != "x"; then \4387 + for img in $(HTML_IMAGES); do \4388 + part=`dirname $$img`; \4389 + echo $$mkpdf_imgdirs | grep >/dev/null "\-\-imgdir=$$part "; \4390 + if test $$? != 0; then \4391 + mkpdf_imgdirs="$$mkpdf_imgdirs --imgdir=$$part"; \4392 + fi; \4393 + done; \4394 + fi; \4395 + cd $(srcdir) && gtkdoc-mkpdf --path="$(abs_srcdir)" $$mkpdf_imgdirs $(DOC_MODULE) $(DOC_MAIN_SGML_FILE) $(MKPDF_OPTIONS)4396 + @touch pdf-build.stamp4397 4398 ##############4399 4400 @@ -563,14 +590,14 @@4401 4402 distclean-local:4403 cd $(srcdir) && \4404 - rm -rf xml $(REPORT_FILES) \4405 + rm -rf xml $(REPORT_FILES) $(DOC_MODULE).pdf \4406 $(DOC_MODULE)-decl-list.txt $(DOC_MODULE)-decl.txt4407 4408 maintainer-clean-local: clean4409 cd $(srcdir) && rm -rf xml html4410 4411 install-data-local:4412 - installfiles=`echo $(srcdir)/html/*`; \4413 + @installfiles=`echo $(srcdir)/html/*`; \4414 if test "$$installfiles" = '$(srcdir)/html/*'; \4415 then echo '-- Nothing to install' ; \4416 else \4417 @@ -590,12 +617,11 @@4418 mv -f $${installdir}/$(DOC_MODULE).devhelp \4419 $${installdir}/$(DOC_MODULE)-$(DOC_MODULE_VERSION).devhelp; \4420 fi; \4421 - ! which gtkdoc-rebase >/dev/null 2>&1 || \4422 - gtkdoc-rebase --relative --dest-dir=$(DESTDIR) --html-dir=$${installdir} ; \4423 + $(GTKDOC_REBASE) --relative --dest-dir=$(DESTDIR) --html-dir=$${installdir}; \4424 fi4425 4426 uninstall-local:4427 - if test -n "$(DOC_MODULE_VERSION)"; then \4428 + @if test -n "$(DOC_MODULE_VERSION)"; then \4429 installdir="$(DESTDIR)$(TARGET_DIR)-$(DOC_MODULE_VERSION)"; \4430 else \4431 installdir="$(DESTDIR)$(TARGET_DIR)"; \4432 @@ -612,16 +638,14 @@4433 4434 dist-hook: dist-check-gtkdoc dist-hook-local4435 mkdir $(distdir)/tmpl4436 - mkdir $(distdir)/xml4437 mkdir $(distdir)/html4438 -cp $(srcdir)/tmpl/*.sgml $(distdir)/tmpl4439 - -cp $(srcdir)/xml/*.xml $(distdir)/xml4440 cp $(srcdir)/html/* $(distdir)/html4441 + -cp $(srcdir)/$(DOC_MODULE).pdf $(distdir)/4442 -cp $(srcdir)/$(DOC_MODULE).types $(distdir)/4443 -cp $(srcdir)/$(DOC_MODULE)-sections.txt $(distdir)/4444 cd $(distdir) && rm -f $(DISTCLEANFILES)4445 - ! which gtkdoc-rebase >/dev/null 2>&1 || \4446 - gtkdoc-rebase --online --relative --html-dir=$(distdir)/html4447 + $(GTKDOC_REBASE) --online --relative --html-dir=$(distdir)/html4448 4449 .PHONY : dist-hook-local docs4450 4451 diff -Naur atk1.0-1.30.0.old/gtk-doc.make atk1.0-1.30.0/gtk-doc.make4452 --- atk1.0-1.30.0.old/gtk-doc.make 2010-03-30 00:53:44.000000000 +02004453 +++ atk1.0-1.30.0/gtk-doc.make 2010-03-31 09:05:37.909289896 +02004454 @@ -5,13 +5,13 @@4455 ####################################4456 4457 if GTK_DOC_USE_LIBTOOL4458 -GTKDOC_CC = $(LIBTOOL) --mode=compile $(CC) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)4459 -GTKDOC_LD = $(LIBTOOL) --mode=link $(CC) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS)4460 +GTKDOC_CC = $(LIBTOOL) --tag=CC --mode=compile $(CC) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)4461 +GTKDOC_LD = $(LIBTOOL) --tag=CC --mode=link $(CC) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS)4462 GTKDOC_RUN = $(LIBTOOL) --mode=execute4463 else4464 GTKDOC_CC = $(CC) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)4465 GTKDOC_LD = $(CC) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS)4466 -GTKDOC_RUN = sh -c4467 +GTKDOC_RUN =4468 endif4469 4470 # We set GPATH here; this gives us semantics for GNU make4471 @@ -31,7 +31,9 @@4472 $(DOC_MODULE)-overrides.txt4473 4474 DOC_STAMPS=scan-build.stamp tmpl-build.stamp sgml-build.stamp html-build.stamp \4475 - $(srcdir)/tmpl.stamp $(srcdir)/sgml.stamp $(srcdir)/html.stamp4476 + pdf-build.stamp \4477 + $(srcdir)/tmpl.stamp $(srcdir)/sgml.stamp $(srcdir)/html.stamp \4478 + $(srcdir)/pdf.stamp4479 4480 SCANOBJ_FILES = \4481 $(DOC_MODULE).args \4482 @@ -48,12 +50,23 @@4483 CLEANFILES = $(SCANOBJ_FILES) $(REPORT_FILES) $(DOC_STAMPS)4484 4485 if ENABLE_GTK_DOC4486 -all-local: html-build.stamp4487 +if GTK_DOC_BUILD_HTML4488 +HTML_BUILD_STAMP=html-build.stamp4489 +else4490 +HTML_BUILD_STAMP=4491 +endif4492 +if GTK_DOC_BUILD_PDF4493 +PDF_BUILD_STAMP=pdf-build.stamp4494 +else4495 +PDF_BUILD_STAMP=4496 +endif4497 +4498 +all-local: $(HTML_BUILD_STAMP) $(PDF_BUILD_STAMP)4499 else4500 all-local:4501 endif4502 4503 -docs: html-build.stamp4504 +docs: $(HTML_BUILD_STAMP) $(PDF_BUILD_STAMP)4505 4506 $(REPORT_FILES): sgml-build.stamp4507 4508 @@ -62,9 +75,9 @@4509 scan-build.stamp: $(HFILE_GLOB) $(CFILE_GLOB)4510 @echo 'gtk-doc: Scanning header files'4511 @-chmod -R u+w $(srcdir)4512 - cd $(srcdir) && \4513 + @cd $(srcdir) && \4514 gtkdoc-scan --module=$(DOC_MODULE) --source-dir=$(DOC_SOURCE_DIR) --ignore-headers="$(IGNORE_HFILES)" $(SCAN_OPTIONS) $(EXTRA_HFILES)4515 - if grep -l '^..*$$' $(srcdir)/$(DOC_MODULE).types > /dev/null 2>&1 ; then \4516 + @if grep -l '^..*$$' $(srcdir)/$(DOC_MODULE).types > /dev/null 2>&1 ; then \4517 CC="$(GTKDOC_CC)" LD="$(GTKDOC_LD)" RUN="$(GTKDOC_RUN)" CFLAGS="$(GTKDOC_CFLAGS) $(CFLAGS)" LDFLAGS="$(GTKDOC_LIBS) $(LDFLAGS)" gtkdoc-scangobj $(SCANGOBJ_OPTIONS) --module=$(DOC_MODULE) --output-dir=$(srcdir) ; \4518 else \4519 cd $(srcdir) ; \4520 @@ -72,7 +85,7 @@4521 test -f $$i || touch $$i ; \4522 done \4523 fi4524 - touch scan-build.stamp4525 + @touch scan-build.stamp4526 4527 $(DOC_MODULE)-decl.txt $(SCANOBJ_FILES) $(DOC_MODULE)-sections.txt $(DOC_MODULE)-overrides.txt: scan-build.stamp4528 @true4529 @@ -82,24 +95,23 @@4530 tmpl-build.stamp: $(DOC_MODULE)-decl.txt $(SCANOBJ_FILES) $(DOC_MODULE)-sections.txt $(DOC_MODULE)-overrides.txt4531 @echo 'gtk-doc: Rebuilding template files'4532 @-chmod -R u+w $(srcdir)4533 - cd $(srcdir) && gtkdoc-mktmpl --module=$(DOC_MODULE) $(MKTMPL_OPTIONS)4534 - touch tmpl-build.stamp4535 + @cd $(srcdir) && gtkdoc-mktmpl --module=$(DOC_MODULE) $(MKTMPL_OPTIONS)4536 + @touch tmpl-build.stamp4537 4538 tmpl.stamp: tmpl-build.stamp4539 @true4540 4541 -tmpl/*.sgml:4542 +$(srcdir)/tmpl/*.sgml:4543 @true4544 4545 -4546 #### xml ####4547 4548 -sgml-build.stamp: tmpl.stamp $(HFILE_GLOB) $(CFILE_GLOB) $(DOC_MODULE)-sections.txt $(srcdir)/tmpl/*.sgml $(expand_content_files)4549 +sgml-build.stamp: tmpl.stamp $(DOC_MODULE)-sections.txt $(srcdir)/tmpl/*.sgml $(expand_content_files)4550 @echo 'gtk-doc: Building XML'4551 @-chmod -R u+w $(srcdir)4552 - cd $(srcdir) && \4553 + @cd $(srcdir) && \4554 gtkdoc-mkdb --module=$(DOC_MODULE) --source-dir=$(DOC_SOURCE_DIR) --output-format=xml --expand-content-files="$(expand_content_files)" --main-sgml-file=$(DOC_MAIN_SGML_FILE) $(MKDB_OPTIONS)4555 - touch sgml-build.stamp4556 + @touch sgml-build.stamp4557 4558 sgml.stamp: sgml-build.stamp4559 @true4560 @@ -109,18 +121,37 @@4561 html-build.stamp: sgml.stamp $(DOC_MAIN_SGML_FILE) $(content_files)4562 @echo 'gtk-doc: Building HTML'4563 @-chmod -R u+w $(srcdir)4564 - rm -rf $(srcdir)/html4565 - mkdir $(srcdir)/html4566 - mkhtml_options=""; \4567 + @rm -rf $(srcdir)/html4568 + @mkdir $(srcdir)/html4569 + @mkhtml_options=""; \4570 gtkdoc-mkhtml 2>&1 --help | grep >/dev/null "\-\-path"; \4571 if test "$(?)" = "0"; then \4572 mkhtml_options=--path="$(srcdir)"; \4573 - fi4574 - cd $(srcdir)/html && gtkdoc-mkhtml $(mkhtml_options) $(MKHTML_OPTIONS) $(DOC_MODULE) ../$(DOC_MAIN_SGML_FILE)4575 - test "x$(HTML_IMAGES)" = "x" || ( cd $(srcdir) && cp $(HTML_IMAGES) html )4576 + fi; \4577 + cd $(srcdir)/html && gtkdoc-mkhtml $$mkhtml_options $(MKHTML_OPTIONS) $(DOC_MODULE) ../$(DOC_MAIN_SGML_FILE)4578 + @test "x$(HTML_IMAGES)" = "x" || ( cd $(srcdir) && cp $(HTML_IMAGES) html )4579 @echo 'gtk-doc: Fixing cross-references'4580 - cd $(srcdir) && gtkdoc-fixxref --module-dir=html --html-dir=$(HTML_DIR) $(FIXXREF_OPTIONS)4581 - touch html-build.stamp4582 + @cd $(srcdir) && gtkdoc-fixxref --module=$(DOC_MODULE) --module-dir=html --html-dir=$(HTML_DIR) $(FIXXREF_OPTIONS)4583 + @touch html-build.stamp4584 +4585 +#### pdf ####4586 +4587 +pdf-build.stamp: sgml.stamp $(DOC_MAIN_SGML_FILE) $(content_files)4588 + @echo 'gtk-doc: Building PDF'4589 + @-chmod -R u+w $(srcdir)4590 + @rm -rf $(srcdir)/$(DOC_MODULE).pdf4591 + @mkpdf_imgdirs=""; \4592 + if test "x$(HTML_IMAGES)" != "x"; then \4593 + for img in $(HTML_IMAGES); do \4594 + part=`dirname $$img`; \4595 + echo $$mkpdf_imgdirs | grep >/dev/null "\-\-imgdir=$$part "; \4596 + if test $$? != 0; then \4597 + mkpdf_imgdirs="$$mkpdf_imgdirs --imgdir=$$part"; \4598 + fi; \4599 + done; \4600 + fi; \4601 + cd $(srcdir) && gtkdoc-mkpdf --path="$(abs_srcdir)" $$mkpdf_imgdirs $(DOC_MODULE) $(DOC_MAIN_SGML_FILE) $(MKPDF_OPTIONS)4602 + @touch pdf-build.stamp4603 4604 ##############4605 4606 @@ -130,14 +161,14 @@4607 4608 distclean-local:4609 cd $(srcdir) && \4610 - rm -rf xml $(REPORT_FILES) \4611 + rm -rf xml $(REPORT_FILES) $(DOC_MODULE).pdf \4612 $(DOC_MODULE)-decl-list.txt $(DOC_MODULE)-decl.txt4613 4614 maintainer-clean-local: clean4615 cd $(srcdir) && rm -rf xml html4616 4617 install-data-local:4618 - installfiles=`echo $(srcdir)/html/*`; \4619 + @installfiles=`echo $(srcdir)/html/*`; \4620 if test "$$installfiles" = '$(srcdir)/html/*'; \4621 then echo '-- Nothing to install' ; \4622 else \4623 @@ -157,12 +188,11 @@4624 mv -f $${installdir}/$(DOC_MODULE).devhelp \4625 $${installdir}/$(DOC_MODULE)-$(DOC_MODULE_VERSION).devhelp; \4626 fi; \4627 - ! which gtkdoc-rebase >/dev/null 2>&1 || \4628 - gtkdoc-rebase --relative --dest-dir=$(DESTDIR) --html-dir=$${installdir} ; \4629 + $(GTKDOC_REBASE) --relative --dest-dir=$(DESTDIR) --html-dir=$${installdir}; \4630 fi4631 4632 uninstall-local:4633 - if test -n "$(DOC_MODULE_VERSION)"; then \4634 + @if test -n "$(DOC_MODULE_VERSION)"; then \4635 installdir="$(DESTDIR)$(TARGET_DIR)-$(DOC_MODULE_VERSION)"; \4636 else \4637 installdir="$(DESTDIR)$(TARGET_DIR)"; \4638 @@ -182,15 +212,13 @@4639 4640 dist-hook: dist-check-gtkdoc dist-hook-local4641 mkdir $(distdir)/tmpl4642 - mkdir $(distdir)/xml4643 mkdir $(distdir)/html4644 -cp $(srcdir)/tmpl/*.sgml $(distdir)/tmpl4645 - -cp $(srcdir)/xml/*.xml $(distdir)/xml4646 cp $(srcdir)/html/* $(distdir)/html4647 + -cp $(srcdir)/$(DOC_MODULE).pdf $(distdir)/4648 -cp $(srcdir)/$(DOC_MODULE).types $(distdir)/4649 -cp $(srcdir)/$(DOC_MODULE)-sections.txt $(distdir)/4650 cd $(distdir) && rm -f $(DISTCLEANFILES)4651 - ! which gtkdoc-rebase >/dev/null 2>&1 || \4652 - gtkdoc-rebase --online --relative --html-dir=$(distdir)/html4653 + $(GTKDOC_REBASE) --online --relative --html-dir=$(distdir)/html4654 4655 .PHONY : dist-hook-local docs4656 diff -Naur atk1.0-1.30.0.old/ltmain.sh atk1.0-1.30.0/ltmain.sh4657 --- atk1.0-1.30.0.old/ltmain.sh 2010-03-30 00:53:43.000000000 +02004658 +++ atk1.0-1.30.0/ltmain.sh 2010-03-31 09:05:37.397286554 +02004659 @@ -1,6 +1,6 @@4660 # Generated from ltmain.m4sh.4661 4662 -# ltmain.sh (GNU libtool) 2.2.64663 +# ltmain.sh (GNU libtool) 2.2.6b4664 # Written by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 19964665 4666 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 2006, 2007 2008 Free Software Foundation, Inc.4667 @@ -65,7 +65,7 @@4668 # compiler: $LTCC4669 # compiler flags: $LTCFLAGS4670 # linker: $LD (gnu? $with_gnu_ld)4671 -# $progname: (GNU libtool) 2.2.6 Debian-2.2.6a-44672 +# $progname: (GNU libtool) 2.2.6b Debian-2.2.6b-24673 # automake: $automake_version4674 # autoconf: $autoconf_version4675 #4676 @@ -73,9 +73,9 @@4677 4678 PROGRAM=ltmain.sh4679 PACKAGE=libtool4680 -VERSION="2.2.6 Debian-2.2.6a-4"4681 +VERSION="2.2.6b Debian-2.2.6b-2"4682 TIMESTAMP=""4683 -package_revision=1.30124684 +package_revision=1.30174685 4686 # Be Bourne compatible4687 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then4688 diff -Naur atk1.0-1.30.0.old/m4/gtk-doc.m4 atk1.0-1.30.0/m4/gtk-doc.m44689 --- atk1.0-1.30.0.old/m4/gtk-doc.m4 2010-03-30 00:53:44.000000000 +02004690 +++ atk1.0-1.30.0/m4/gtk-doc.m4 2010-03-31 09:05:37.893288840 +02004691 @@ -8,6 +8,12 @@4692 [4693 AC_BEFORE([AC_PROG_LIBTOOL],[$0])dnl setup libtool first4694 AC_BEFORE([AM_PROG_LIBTOOL],[$0])dnl setup libtool first4695 +4696 + dnl check for tools we added during development4697 + AC_PATH_PROG([GTKDOC_CHECK],[gtkdoc-check])4698 + AC_PATH_PROGS([GTKDOC_REBASE],[gtkdoc-rebase],[true])4699 + AC_PATH_PROG([GTKDOC_MKPDF],[gtkdoc-mkpdf])4700 +4701 dnl for overriding the documentation installation directory4702 AC_ARG_WITH([html-dir],4703 AS_HELP_STRING([--with-html-dir=PATH], [path to installed docs]),,4704 @@ -26,14 +32,30 @@4705 [PKG_CHECK_EXISTS([gtk-doc],,4706 AC_MSG_ERROR([gtk-doc not installed and --enable-gtk-doc requested]))],4707 [PKG_CHECK_EXISTS([gtk-doc >= $1],,4708 - AC_MSG_ERROR([You need to have gtk-doc >= $1 installed to build gtk-doc]))])4709 + AC_MSG_ERROR([You need to have gtk-doc >= $1 installed to build $PACKAGE_NAME]))])4710 fi4711 4712 AC_MSG_CHECKING([whether to build gtk-doc documentation])4713 AC_MSG_RESULT($enable_gtk_doc)4714 4715 - AC_PATH_PROGS(GTKDOC_CHECK,gtkdoc-check,)4716 + dnl enable/disable output formats4717 + AC_ARG_ENABLE([gtk-doc-html],4718 + AS_HELP_STRING([--enable-gtk-doc-html],4719 + [build documentation in html format [[default=yes]]]),,4720 + [enable_gtk_doc_html=yes])4721 + AC_ARG_ENABLE([gtk-doc-pdf],4722 + AS_HELP_STRING([--enable-gtk-doc-pdf],4723 + [build documentation in pdf format [[default=no]]]),,4724 + [enable_gtk_doc_pdf=no])4725 +4726 + if test -z "$GTKDOC_MKPDF"; then4727 + enable_gtk_doc_pdf=no4728 + fi4729 +4730 4731 AM_CONDITIONAL([ENABLE_GTK_DOC], [test x$enable_gtk_doc = xyes])4732 + AM_CONDITIONAL([GTK_DOC_BUILD_HTML], [test x$enable_gtk_doc_html = xyes])4733 + AM_CONDITIONAL([GTK_DOC_BUILD_PDF], [test x$enable_gtk_doc_pdf = xyes])4734 AM_CONDITIONAL([GTK_DOC_USE_LIBTOOL], [test -n "$LIBTOOL"])4735 + AM_CONDITIONAL([GTK_DOC_USE_REBASE], [test -n "$GTKDOC_REBASE"])4736 ])4737 diff -Naur atk1.0-1.30.0.old/m4/libtool.m4 atk1.0-1.30.0/m4/libtool.m44738 --- atk1.0-1.30.0.old/m4/libtool.m4 2010-03-30 00:53:43.000000000 +02004739 +++ atk1.0-1.30.0/m4/libtool.m4 2010-03-31 09:05:37.441287539 +02004740 @@ -2445,7 +2445,7 @@4741 ;;4742 4743 # This must be Linux ELF.4744 -linux* | k*bsd*-gnu)4745 +linux* | k*bsd*-gnu | kopensolaris*-gnu)4746 version_type=linux4747 need_lib_prefix=no4748 need_version=no4749 @@ -3084,7 +3084,7 @@4750 ;;4751 4752 # This must be Linux ELF.4753 -linux* | k*bsd*-gnu)4754 +linux* | k*bsd*-gnu | kopensolaris*-gnu)4755 lt_cv_deplibs_check_method=pass_all4756 ;;4757 4758 @@ -3705,7 +3705,7 @@4759 ;;4760 esac4761 ;;4762 - linux* | k*bsd*-gnu)4763 + linux* | k*bsd*-gnu | kopensolaris*-gnu)4764 case $cc_basename in4765 KCC*)4766 # KAI C++ Compiler4767 @@ -3989,7 +3989,7 @@4768 _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'4769 ;;4770 4771 - linux* | k*bsd*-gnu)4772 + linux* | k*bsd*-gnu | kopensolaris*-gnu)4773 case $cc_basename in4774 # old Intel for x86_64 which still supported -KPIC.4775 ecc*)4776 @@ -4285,6 +4285,7 @@4777 fi4778 supports_anon_versioning=no4779 case `$LD -v 2>&1` in4780 + *GNU\ gold*) supports_anon_versioning=yes ;;4781 *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.10.*) ;; # catch versions < 2.114782 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...4783 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...4784 @@ -4376,7 +4377,7 @@4785 _LT_TAGVAR(archive_expsym_cmds, $1)='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'4786 ;;4787 4788 - gnu* | linux* | tpf* | k*bsd*-gnu)4789 + gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)4790 tmp_diet=no4791 if test "$host_os" = linux-dietlibc; then4792 case $cc_basename in4793 @@ -5860,7 +5861,7 @@4794 _LT_TAGVAR(inherit_rpath, $1)=yes4795 ;;4796 4797 - linux* | k*bsd*-gnu)4798 + linux* | k*bsd*-gnu | kopensolaris*-gnu)4799 case $cc_basename in4800 KCC*)4801 # Kuck and Associates, Inc. (KAI) C++ Compiler4802 diff -Naur atk1.0-1.30.0.old/m4/ltversion.m4 atk1.0-1.30.0/m4/ltversion.m44803 --- atk1.0-1.30.0.old/m4/ltversion.m4 2010-03-30 00:53:44.000000000 +02004804 +++ atk1.0-1.30.0/m4/ltversion.m4 2010-03-31 09:05:37.621315178 +02004805 @@ -9,15 +9,15 @@4806 4807 # Generated from ltversion.in.4808 4809 -# serial 3012 ltversion.m44810 +# serial 3017 ltversion.m44811 # This file is part of GNU Libtool4812 4813 -m4_define([LT_PACKAGE_VERSION], [2.2.6])4814 -m4_define([LT_PACKAGE_REVISION], [1.3012])4815 +m4_define([LT_PACKAGE_VERSION], [2.2.6b])4816 +m4_define([LT_PACKAGE_REVISION], [1.3017])4817 4818 AC_DEFUN([LTVERSION_VERSION],4819 -[macro_version='2.2.6'4820 -macro_revision='1.3012'4821 +[macro_version='2.2.6b'4822 +macro_revision='1.3017'4823 _LT_DECL(, macro_version, 0, [Which release of libtool.m4 was used?])4824 _LT_DECL(, macro_revision, 0)4825 ])4826 diff -Naur atk1.0-1.30.0.old/Makefile.in atk1.0-1.30.0/Makefile.in4827 --- atk1.0-1.30.0.old/Makefile.in 2010-03-30 00:53:48.000000000 +02004828 +++ atk1.0-1.30.0/Makefile.in 2010-03-31 09:05:42.490286369 +02004829 @@ -1,4 +1,4 @@4830 -# Makefile.in generated by automake 1.11 from Makefile.am.4831 +# Makefile.in generated by automake 1.11.1 from Makefile.am.4832 # @configure_input@4833 4834 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,4835 @@ -181,6 +181,8 @@4836 GOBJECT_QUERY = @GOBJECT_QUERY@4837 GREP = @GREP@4838 GTKDOC_CHECK = @GTKDOC_CHECK@4839 +GTKDOC_MKPDF = @GTKDOC_MKPDF@4840 +GTKDOC_REBASE = @GTKDOC_REBASE@4841 HTML_DIR = @HTML_DIR@4842 INSTALL = @INSTALL@4843 INSTALL_DATA = @INSTALL_DATA@4844 @@ -418,7 +420,7 @@4845 # (which will cause the Makefiles to be regenerated when you run `make');4846 # (2) otherwise, pass the desired values on the `make' command line.4847 $(RECURSIVE_TARGETS):4848 - @failcom='exit 1'; \4849 + @fail= failcom='exit 1'; \4850 for f in x $$MAKEFLAGS; do \4851 case $$f in \4852 *=* | --[!k]*);; \4853 @@ -443,7 +445,7 @@4854 fi; test -z "$$fail"4855 4856 $(RECURSIVE_CLEAN_TARGETS):4857 - @failcom='exit 1'; \4858 + @fail= failcom='exit 1'; \4859 for f in x $$MAKEFLAGS; do \4860 case $$f in \4861 *=* | --[!k]*);; \4862 @@ -607,7 +609,8 @@4863 fi; \4864 done4865 -test -n "$(am__skip_mode_fix)" \4866 - || find "$(distdir)" -type d ! -perm -777 -exec chmod a+rwx {} \; -o \4867 + || find "$(distdir)" -type d ! -perm -755 \4868 + -exec chmod u+rwx,go+rx {} \; -o \4869 ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \4870 ! -type d ! -perm -400 -exec chmod a+r {} \; -o \4871 ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \4872 @@ -651,17 +654,17 @@4873 distcheck: dist4874 case '$(DIST_ARCHIVES)' in \4875 *.tar.gz*) \4876 - GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(am__untar) ;;\4877 + GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\4878 *.tar.bz2*) \4879 - bunzip2 -c $(distdir).tar.bz2 | $(am__untar) ;;\4880 + bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\4881 *.tar.lzma*) \4882 - unlzma -c $(distdir).tar.lzma | $(am__untar) ;;\4883 + lzma -dc $(distdir).tar.lzma | $(am__untar) ;;\4884 *.tar.xz*) \4885 xz -dc $(distdir).tar.xz | $(am__untar) ;;\4886 *.tar.Z*) \4887 uncompress -c $(distdir).tar.Z | $(am__untar) ;;\4888 *.shar.gz*) \4889 - GZIP=$(GZIP_ENV) gunzip -c $(distdir).shar.gz | unshar ;;\4890 + GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\4891 *.zip*) \4892 unzip $(distdir).zip ;;\4893 esac4894 diff -Naur atk1.0-1.30.0.old/tests/Makefile.in atk1.0-1.30.0/tests/Makefile.in4895 --- atk1.0-1.30.0.old/tests/Makefile.in 2010-03-30 00:53:48.000000000 +02004896 +++ atk1.0-1.30.0/tests/Makefile.in 2010-03-31 09:05:42.358286417 +02004897 @@ -1,4 +1,4 @@4898 -# Makefile.in generated by automake 1.11 from Makefile.am.4899 +# Makefile.in generated by automake 1.11.1 from Makefile.am.4900 # @configure_input@4901 4902 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,4903 @@ -130,6 +130,8 @@4904 GOBJECT_QUERY = @GOBJECT_QUERY@4905 GREP = @GREP@4906 GTKDOC_CHECK = @GTKDOC_CHECK@4907 +GTKDOC_MKPDF = @GTKDOC_MKPDF@4908 +GTKDOC_REBASE = @GTKDOC_REBASE@4909 HTML_DIR = @HTML_DIR@4910 INSTALL = @INSTALL@4911 INSTALL_DATA = @INSTALL_DATA@ -
pkg/raul/main/atk1.0/trunk/debian/rules
r6599 r7000 2 2 3 3 include /usr/share/cdbs/1/rules/debhelper.mk 4 include /usr/share/cdbs/1/rules/simple-patchsys.mk5 4 include /usr/share/cdbs/1/class/gnome.mk 6 5 include /usr/share/gnome-pkg-tools/1/rules/uploaders.mk … … 13 12 14 13 # build static stuff: 15 DEB_CONFIGURE_EXTRA_FLAGS += --enable-gtk-doc --enable-static 14 DEB_CONFIGURE_EXTRA_FLAGS += --enable-gtk-doc --enable-static --enable-introspection 16 15 17 SHLIB_VERSION := 1. 29.316 SHLIB_VERSION := 1.32.0 18 17 DEB_DH_MAKESHLIBS_ARGS_libatk1.0-0 += -V"libatk1.0-0 (>= $(SHLIB_VERSION))" --add-udeb="libatk1.0-udeb" 19 18 20 19 DEB_DBG_PACKAGE_ALL := libatk1.0-dbg 21 20 21 $(patsubst %,binary-predeb/%,$(DEB_ALL_PACKAGES)) :: 22 dh_girepository -p$(cdbs_curpkg) 23
Note: See TracChangeset
for help on using the changeset viewer.


