Merge lp:~rodrigo-moya/ubuntu/natty/gsettings-desktop-schemas/0_1_4_release into lp:ubuntu/natty/gsettings-desktop-schemas
- Natty (11.04)
- 0_1_4_release
- Merge into natty
Proposed by
Rodrigo Moya
Status: | Rejected |
---|---|
Rejected by: | Artur Rona |
Proposed branch: | lp:~rodrigo-moya/ubuntu/natty/gsettings-desktop-schemas/0_1_4_release |
Merge into: | lp:ubuntu/natty/gsettings-desktop-schemas |
Diff against target: |
2494 lines (+891/-823) 10 files modified
NEWS (+6/-0) aclocal.m4 (+710/-709) configure (+133/-109) configure.ac (+1/-1) debian/changelog (+6/-0) schemas/Makefile.am (+2/-1) schemas/Makefile.in (+2/-1) schemas/gsettings-desktop-schemas.convert (+4/-0) schemas/org.gnome.desktop.background.gschema.xml.in (+2/-2) schemas/org.gnome.desktop.thumbnailers.gschema.xml (+25/-0) |
To merge this branch: | bzr merge lp:~rodrigo-moya/ubuntu/natty/gsettings-desktop-schemas/0_1_4_release |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Artur Rona (community) | Disapprove | ||
Review via email: mp+45715@code.launchpad.net |
Commit message
Description of the change
To post a comment you must log in.
Unmerged revisions
- 8. By Rodrigo Moya
-
New upstream release.
- 7. By Rodrigo Moya
-
blah
- 6. By Rodrigo Moya
-
New upstream release
Preview Diff
[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1 | === modified file 'NEWS' | |||
2 | --- NEWS 2010-12-23 12:40:25 +0000 | |||
3 | +++ NEWS 2011-01-10 17:05:40 +0000 | |||
4 | @@ -1,3 +1,9 @@ | |||
5 | 1 | Major changes in 0.1.4 | ||
6 | 2 | ====================== | ||
7 | 3 | |||
8 | 4 | * Add thumbnailer schemas | ||
9 | 5 | * Don't show icons on the desktop by default | ||
10 | 6 | |||
11 | 1 | Major changes in 0.1.3 | 7 | Major changes in 0.1.3 |
12 | 2 | ====================== | 8 | ====================== |
13 | 3 | 9 | ||
14 | 4 | 10 | ||
15 | === modified file 'aclocal.m4' | |||
16 | --- aclocal.m4 2010-12-23 12:40:25 +0000 | |||
17 | +++ aclocal.m4 2011-01-10 17:05:40 +0000 | |||
18 | @@ -13,12 +13,720 @@ | |||
19 | 13 | 13 | ||
20 | 14 | m4_ifndef([AC_AUTOCONF_VERSION], | 14 | m4_ifndef([AC_AUTOCONF_VERSION], |
21 | 15 | [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl | 15 | [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl |
24 | 16 | m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.67],, | 16 | m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.68],, |
25 | 17 | [m4_warning([this file was generated for autoconf 2.67. | 17 | [m4_warning([this file was generated for autoconf 2.68. |
26 | 18 | You have another version of autoconf. It may work, but is not guaranteed to. | 18 | You have another version of autoconf. It may work, but is not guaranteed to. |
27 | 19 | If you have problems, you may need to regenerate the build system entirely. | 19 | If you have problems, you may need to regenerate the build system entirely. |
28 | 20 | To do so, use the procedure documented by the package, typically `autoreconf'.])]) | 20 | To do so, use the procedure documented by the package, typically `autoreconf'.])]) |
29 | 21 | 21 | ||
30 | 22 | # Copyright (C) 1995-2002 Free Software Foundation, Inc. | ||
31 | 23 | # Copyright (C) 2001-2003,2004 Red Hat, Inc. | ||
32 | 24 | # | ||
33 | 25 | # This file is free software, distributed under the terms of the GNU | ||
34 | 26 | # General Public License. As a special exception to the GNU General | ||
35 | 27 | # Public License, this file may be distributed as part of a program | ||
36 | 28 | # that contains a configuration script generated by Autoconf, under | ||
37 | 29 | # the same distribution terms as the rest of that program. | ||
38 | 30 | # | ||
39 | 31 | # This file can be copied and used freely without restrictions. It can | ||
40 | 32 | # be used in projects which are not available under the GNU Public License | ||
41 | 33 | # but which still want to provide support for the GNU gettext functionality. | ||
42 | 34 | # | ||
43 | 35 | # Macro to add for using GNU gettext. | ||
44 | 36 | # Ulrich Drepper <drepper@cygnus.com>, 1995, 1996 | ||
45 | 37 | # | ||
46 | 38 | # Modified to never use included libintl. | ||
47 | 39 | # Owen Taylor <otaylor@redhat.com>, 12/15/1998 | ||
48 | 40 | # | ||
49 | 41 | # Major rework to remove unused code | ||
50 | 42 | # Owen Taylor <otaylor@redhat.com>, 12/11/2002 | ||
51 | 43 | # | ||
52 | 44 | # Added better handling of ALL_LINGUAS from GNU gettext version | ||
53 | 45 | # written by Bruno Haible, Owen Taylor <otaylor.redhat.com> 5/30/3002 | ||
54 | 46 | # | ||
55 | 47 | # Modified to require ngettext | ||
56 | 48 | # Matthias Clasen <mclasen@redhat.com> 08/06/2004 | ||
57 | 49 | # | ||
58 | 50 | # We need this here as well, since someone might use autoconf-2.5x | ||
59 | 51 | # to configure GLib then an older version to configure a package | ||
60 | 52 | # using AM_GLIB_GNU_GETTEXT | ||
61 | 53 | AC_PREREQ(2.53) | ||
62 | 54 | |||
63 | 55 | dnl | ||
64 | 56 | dnl We go to great lengths to make sure that aclocal won't | ||
65 | 57 | dnl try to pull in the installed version of these macros | ||
66 | 58 | dnl when running aclocal in the glib directory. | ||
67 | 59 | dnl | ||
68 | 60 | m4_copy([AC_DEFUN],[glib_DEFUN]) | ||
69 | 61 | m4_copy([AC_REQUIRE],[glib_REQUIRE]) | ||
70 | 62 | dnl | ||
71 | 63 | dnl At the end, if we're not within glib, we'll define the public | ||
72 | 64 | dnl definitions in terms of our private definitions. | ||
73 | 65 | dnl | ||
74 | 66 | |||
75 | 67 | # GLIB_LC_MESSAGES | ||
76 | 68 | #-------------------- | ||
77 | 69 | glib_DEFUN([GLIB_LC_MESSAGES], | ||
78 | 70 | [AC_CHECK_HEADERS([locale.h]) | ||
79 | 71 | if test $ac_cv_header_locale_h = yes; then | ||
80 | 72 | AC_CACHE_CHECK([for LC_MESSAGES], am_cv_val_LC_MESSAGES, | ||
81 | 73 | [AC_TRY_LINK([#include <locale.h>], [return LC_MESSAGES], | ||
82 | 74 | am_cv_val_LC_MESSAGES=yes, am_cv_val_LC_MESSAGES=no)]) | ||
83 | 75 | if test $am_cv_val_LC_MESSAGES = yes; then | ||
84 | 76 | AC_DEFINE(HAVE_LC_MESSAGES, 1, | ||
85 | 77 | [Define if your <locale.h> file defines LC_MESSAGES.]) | ||
86 | 78 | fi | ||
87 | 79 | fi]) | ||
88 | 80 | |||
89 | 81 | # GLIB_PATH_PROG_WITH_TEST | ||
90 | 82 | #---------------------------- | ||
91 | 83 | dnl GLIB_PATH_PROG_WITH_TEST(VARIABLE, PROG-TO-CHECK-FOR, | ||
92 | 84 | dnl TEST-PERFORMED-ON-FOUND_PROGRAM [, VALUE-IF-NOT-FOUND [, PATH]]) | ||
93 | 85 | glib_DEFUN([GLIB_PATH_PROG_WITH_TEST], | ||
94 | 86 | [# Extract the first word of "$2", so it can be a program name with args. | ||
95 | 87 | set dummy $2; ac_word=[$]2 | ||
96 | 88 | AC_MSG_CHECKING([for $ac_word]) | ||
97 | 89 | AC_CACHE_VAL(ac_cv_path_$1, | ||
98 | 90 | [case "[$]$1" in | ||
99 | 91 | /*) | ||
100 | 92 | ac_cv_path_$1="[$]$1" # Let the user override the test with a path. | ||
101 | 93 | ;; | ||
102 | 94 | *) | ||
103 | 95 | IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | ||
104 | 96 | for ac_dir in ifelse([$5], , $PATH, [$5]); do | ||
105 | 97 | test -z "$ac_dir" && ac_dir=. | ||
106 | 98 | if test -f $ac_dir/$ac_word; then | ||
107 | 99 | if [$3]; then | ||
108 | 100 | ac_cv_path_$1="$ac_dir/$ac_word" | ||
109 | 101 | break | ||
110 | 102 | fi | ||
111 | 103 | fi | ||
112 | 104 | done | ||
113 | 105 | IFS="$ac_save_ifs" | ||
114 | 106 | dnl If no 4th arg is given, leave the cache variable unset, | ||
115 | 107 | dnl so AC_PATH_PROGS will keep looking. | ||
116 | 108 | ifelse([$4], , , [ test -z "[$]ac_cv_path_$1" && ac_cv_path_$1="$4" | ||
117 | 109 | ])dnl | ||
118 | 110 | ;; | ||
119 | 111 | esac])dnl | ||
120 | 112 | $1="$ac_cv_path_$1" | ||
121 | 113 | if test ifelse([$4], , [-n "[$]$1"], ["[$]$1" != "$4"]); then | ||
122 | 114 | AC_MSG_RESULT([$]$1) | ||
123 | 115 | else | ||
124 | 116 | AC_MSG_RESULT(no) | ||
125 | 117 | fi | ||
126 | 118 | AC_SUBST($1)dnl | ||
127 | 119 | ]) | ||
128 | 120 | |||
129 | 121 | # GLIB_WITH_NLS | ||
130 | 122 | #----------------- | ||
131 | 123 | glib_DEFUN([GLIB_WITH_NLS], | ||
132 | 124 | dnl NLS is obligatory | ||
133 | 125 | [USE_NLS=yes | ||
134 | 126 | AC_SUBST(USE_NLS) | ||
135 | 127 | |||
136 | 128 | gt_cv_have_gettext=no | ||
137 | 129 | |||
138 | 130 | CATOBJEXT=NONE | ||
139 | 131 | XGETTEXT=: | ||
140 | 132 | INTLLIBS= | ||
141 | 133 | |||
142 | 134 | AC_CHECK_HEADER(libintl.h, | ||
143 | 135 | [gt_cv_func_dgettext_libintl="no" | ||
144 | 136 | libintl_extra_libs="" | ||
145 | 137 | |||
146 | 138 | # | ||
147 | 139 | # First check in libc | ||
148 | 140 | # | ||
149 | 141 | AC_CACHE_CHECK([for ngettext in libc], gt_cv_func_ngettext_libc, | ||
150 | 142 | [AC_TRY_LINK([ | ||
151 | 143 | #include <libintl.h> | ||
152 | 144 | ], | ||
153 | 145 | [return !ngettext ("","", 1)], | ||
154 | 146 | gt_cv_func_ngettext_libc=yes, | ||
155 | 147 | gt_cv_func_ngettext_libc=no) | ||
156 | 148 | ]) | ||
157 | 149 | |||
158 | 150 | if test "$gt_cv_func_ngettext_libc" = "yes" ; then | ||
159 | 151 | AC_CACHE_CHECK([for dgettext in libc], gt_cv_func_dgettext_libc, | ||
160 | 152 | [AC_TRY_LINK([ | ||
161 | 153 | #include <libintl.h> | ||
162 | 154 | ], | ||
163 | 155 | [return !dgettext ("","")], | ||
164 | 156 | gt_cv_func_dgettext_libc=yes, | ||
165 | 157 | gt_cv_func_dgettext_libc=no) | ||
166 | 158 | ]) | ||
167 | 159 | fi | ||
168 | 160 | |||
169 | 161 | if test "$gt_cv_func_ngettext_libc" = "yes" ; then | ||
170 | 162 | AC_CHECK_FUNCS(bind_textdomain_codeset) | ||
171 | 163 | fi | ||
172 | 164 | |||
173 | 165 | # | ||
174 | 166 | # If we don't have everything we want, check in libintl | ||
175 | 167 | # | ||
176 | 168 | if test "$gt_cv_func_dgettext_libc" != "yes" \ | ||
177 | 169 | || test "$gt_cv_func_ngettext_libc" != "yes" \ | ||
178 | 170 | || test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then | ||
179 | 171 | |||
180 | 172 | AC_CHECK_LIB(intl, bindtextdomain, | ||
181 | 173 | [AC_CHECK_LIB(intl, ngettext, | ||
182 | 174 | [AC_CHECK_LIB(intl, dgettext, | ||
183 | 175 | gt_cv_func_dgettext_libintl=yes)])]) | ||
184 | 176 | |||
185 | 177 | if test "$gt_cv_func_dgettext_libintl" != "yes" ; then | ||
186 | 178 | AC_MSG_CHECKING([if -liconv is needed to use gettext]) | ||
187 | 179 | AC_MSG_RESULT([]) | ||
188 | 180 | AC_CHECK_LIB(intl, ngettext, | ||
189 | 181 | [AC_CHECK_LIB(intl, dcgettext, | ||
190 | 182 | [gt_cv_func_dgettext_libintl=yes | ||
191 | 183 | libintl_extra_libs=-liconv], | ||
192 | 184 | :,-liconv)], | ||
193 | 185 | :,-liconv) | ||
194 | 186 | fi | ||
195 | 187 | |||
196 | 188 | # | ||
197 | 189 | # If we found libintl, then check in it for bind_textdomain_codeset(); | ||
198 | 190 | # we'll prefer libc if neither have bind_textdomain_codeset(), | ||
199 | 191 | # and both have dgettext and ngettext | ||
200 | 192 | # | ||
201 | 193 | if test "$gt_cv_func_dgettext_libintl" = "yes" ; then | ||
202 | 194 | glib_save_LIBS="$LIBS" | ||
203 | 195 | LIBS="$LIBS -lintl $libintl_extra_libs" | ||
204 | 196 | unset ac_cv_func_bind_textdomain_codeset | ||
205 | 197 | AC_CHECK_FUNCS(bind_textdomain_codeset) | ||
206 | 198 | LIBS="$glib_save_LIBS" | ||
207 | 199 | |||
208 | 200 | if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then | ||
209 | 201 | gt_cv_func_dgettext_libc=no | ||
210 | 202 | else | ||
211 | 203 | if test "$gt_cv_func_dgettext_libc" = "yes" \ | ||
212 | 204 | && test "$gt_cv_func_ngettext_libc" = "yes"; then | ||
213 | 205 | gt_cv_func_dgettext_libintl=no | ||
214 | 206 | fi | ||
215 | 207 | fi | ||
216 | 208 | fi | ||
217 | 209 | fi | ||
218 | 210 | |||
219 | 211 | if test "$gt_cv_func_dgettext_libc" = "yes" \ | ||
220 | 212 | || test "$gt_cv_func_dgettext_libintl" = "yes"; then | ||
221 | 213 | gt_cv_have_gettext=yes | ||
222 | 214 | fi | ||
223 | 215 | |||
224 | 216 | if test "$gt_cv_func_dgettext_libintl" = "yes"; then | ||
225 | 217 | INTLLIBS="-lintl $libintl_extra_libs" | ||
226 | 218 | fi | ||
227 | 219 | |||
228 | 220 | if test "$gt_cv_have_gettext" = "yes"; then | ||
229 | 221 | AC_DEFINE(HAVE_GETTEXT,1, | ||
230 | 222 | [Define if the GNU gettext() function is already present or preinstalled.]) | ||
231 | 223 | GLIB_PATH_PROG_WITH_TEST(MSGFMT, msgfmt, | ||
232 | 224 | [test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"], no)dnl | ||
233 | 225 | if test "$MSGFMT" != "no"; then | ||
234 | 226 | glib_save_LIBS="$LIBS" | ||
235 | 227 | LIBS="$LIBS $INTLLIBS" | ||
236 | 228 | AC_CHECK_FUNCS(dcgettext) | ||
237 | 229 | MSGFMT_OPTS= | ||
238 | 230 | AC_MSG_CHECKING([if msgfmt accepts -c]) | ||
239 | 231 | GLIB_RUN_PROG([$MSGFMT -c -o /dev/null],[ | ||
240 | 232 | msgid "" | ||
241 | 233 | msgstr "" | ||
242 | 234 | "Content-Type: text/plain; charset=UTF-8\n" | ||
243 | 235 | "Project-Id-Version: test 1.0\n" | ||
244 | 236 | "PO-Revision-Date: 2007-02-15 12:01+0100\n" | ||
245 | 237 | "Last-Translator: test <foo@bar.xx>\n" | ||
246 | 238 | "Language-Team: C <LL@li.org>\n" | ||
247 | 239 | "MIME-Version: 1.0\n" | ||
248 | 240 | "Content-Transfer-Encoding: 8bit\n" | ||
249 | 241 | ], [MSGFMT_OPTS=-c; AC_MSG_RESULT([yes])], [AC_MSG_RESULT([no])]) | ||
250 | 242 | AC_SUBST(MSGFMT_OPTS) | ||
251 | 243 | AC_PATH_PROG(GMSGFMT, gmsgfmt, $MSGFMT) | ||
252 | 244 | GLIB_PATH_PROG_WITH_TEST(XGETTEXT, xgettext, | ||
253 | 245 | [test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"], :) | ||
254 | 246 | AC_TRY_LINK(, [extern int _nl_msg_cat_cntr; | ||
255 | 247 | return _nl_msg_cat_cntr], | ||
256 | 248 | [CATOBJEXT=.gmo | ||
257 | 249 | DATADIRNAME=share], | ||
258 | 250 | [case $host in | ||
259 | 251 | *-*-solaris*) | ||
260 | 252 | dnl On Solaris, if bind_textdomain_codeset is in libc, | ||
261 | 253 | dnl GNU format message catalog is always supported, | ||
262 | 254 | dnl since both are added to the libc all together. | ||
263 | 255 | dnl Hence, we'd like to go with DATADIRNAME=share and | ||
264 | 256 | dnl and CATOBJEXT=.gmo in this case. | ||
265 | 257 | AC_CHECK_FUNC(bind_textdomain_codeset, | ||
266 | 258 | [CATOBJEXT=.gmo | ||
267 | 259 | DATADIRNAME=share], | ||
268 | 260 | [CATOBJEXT=.mo | ||
269 | 261 | DATADIRNAME=lib]) | ||
270 | 262 | ;; | ||
271 | 263 | *) | ||
272 | 264 | CATOBJEXT=.mo | ||
273 | 265 | DATADIRNAME=lib | ||
274 | 266 | ;; | ||
275 | 267 | esac]) | ||
276 | 268 | LIBS="$glib_save_LIBS" | ||
277 | 269 | INSTOBJEXT=.mo | ||
278 | 270 | else | ||
279 | 271 | gt_cv_have_gettext=no | ||
280 | 272 | fi | ||
281 | 273 | fi | ||
282 | 274 | ]) | ||
283 | 275 | |||
284 | 276 | if test "$gt_cv_have_gettext" = "yes" ; then | ||
285 | 277 | AC_DEFINE(ENABLE_NLS, 1, | ||
286 | 278 | [always defined to indicate that i18n is enabled]) | ||
287 | 279 | fi | ||
288 | 280 | |||
289 | 281 | dnl Test whether we really found GNU xgettext. | ||
290 | 282 | if test "$XGETTEXT" != ":"; then | ||
291 | 283 | dnl If it is not GNU xgettext we define it as : so that the | ||
292 | 284 | dnl Makefiles still can work. | ||
293 | 285 | if $XGETTEXT --omit-header /dev/null 2> /dev/null; then | ||
294 | 286 | : ; | ||
295 | 287 | else | ||
296 | 288 | AC_MSG_RESULT( | ||
297 | 289 | [found xgettext program is not GNU xgettext; ignore it]) | ||
298 | 290 | XGETTEXT=":" | ||
299 | 291 | fi | ||
300 | 292 | fi | ||
301 | 293 | |||
302 | 294 | # We need to process the po/ directory. | ||
303 | 295 | POSUB=po | ||
304 | 296 | |||
305 | 297 | AC_OUTPUT_COMMANDS( | ||
306 | 298 | [case "$CONFIG_FILES" in *po/Makefile.in*) | ||
307 | 299 | sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile | ||
308 | 300 | esac]) | ||
309 | 301 | |||
310 | 302 | dnl These rules are solely for the distribution goal. While doing this | ||
311 | 303 | dnl we only have to keep exactly one list of the available catalogs | ||
312 | 304 | dnl in configure.ac. | ||
313 | 305 | for lang in $ALL_LINGUAS; do | ||
314 | 306 | GMOFILES="$GMOFILES $lang.gmo" | ||
315 | 307 | POFILES="$POFILES $lang.po" | ||
316 | 308 | done | ||
317 | 309 | |||
318 | 310 | dnl Make all variables we use known to autoconf. | ||
319 | 311 | AC_SUBST(CATALOGS) | ||
320 | 312 | AC_SUBST(CATOBJEXT) | ||
321 | 313 | AC_SUBST(DATADIRNAME) | ||
322 | 314 | AC_SUBST(GMOFILES) | ||
323 | 315 | AC_SUBST(INSTOBJEXT) | ||
324 | 316 | AC_SUBST(INTLLIBS) | ||
325 | 317 | AC_SUBST(PO_IN_DATADIR_TRUE) | ||
326 | 318 | AC_SUBST(PO_IN_DATADIR_FALSE) | ||
327 | 319 | AC_SUBST(POFILES) | ||
328 | 320 | AC_SUBST(POSUB) | ||
329 | 321 | ]) | ||
330 | 322 | |||
331 | 323 | # AM_GLIB_GNU_GETTEXT | ||
332 | 324 | # ------------------- | ||
333 | 325 | # Do checks necessary for use of gettext. If a suitable implementation | ||
334 | 326 | # of gettext is found in either in libintl or in the C library, | ||
335 | 327 | # it will set INTLLIBS to the libraries needed for use of gettext | ||
336 | 328 | # and AC_DEFINE() HAVE_GETTEXT and ENABLE_NLS. (The shell variable | ||
337 | 329 | # gt_cv_have_gettext will be set to "yes".) It will also call AC_SUBST() | ||
338 | 330 | # on various variables needed by the Makefile.in.in installed by | ||
339 | 331 | # glib-gettextize. | ||
340 | 332 | dnl | ||
341 | 333 | glib_DEFUN([GLIB_GNU_GETTEXT], | ||
342 | 334 | [AC_REQUIRE([AC_PROG_CC])dnl | ||
343 | 335 | AC_REQUIRE([AC_HEADER_STDC])dnl | ||
344 | 336 | |||
345 | 337 | GLIB_LC_MESSAGES | ||
346 | 338 | GLIB_WITH_NLS | ||
347 | 339 | |||
348 | 340 | if test "$gt_cv_have_gettext" = "yes"; then | ||
349 | 341 | if test "x$ALL_LINGUAS" = "x"; then | ||
350 | 342 | LINGUAS= | ||
351 | 343 | else | ||
352 | 344 | AC_MSG_CHECKING(for catalogs to be installed) | ||
353 | 345 | NEW_LINGUAS= | ||
354 | 346 | for presentlang in $ALL_LINGUAS; do | ||
355 | 347 | useit=no | ||
356 | 348 | if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then | ||
357 | 349 | desiredlanguages="$LINGUAS" | ||
358 | 350 | else | ||
359 | 351 | desiredlanguages="$ALL_LINGUAS" | ||
360 | 352 | fi | ||
361 | 353 | for desiredlang in $desiredlanguages; do | ||
362 | 354 | # Use the presentlang catalog if desiredlang is | ||
363 | 355 | # a. equal to presentlang, or | ||
364 | 356 | # b. a variant of presentlang (because in this case, | ||
365 | 357 | # presentlang can be used as a fallback for messages | ||
366 | 358 | # which are not translated in the desiredlang catalog). | ||
367 | 359 | case "$desiredlang" in | ||
368 | 360 | "$presentlang"*) useit=yes;; | ||
369 | 361 | esac | ||
370 | 362 | done | ||
371 | 363 | if test $useit = yes; then | ||
372 | 364 | NEW_LINGUAS="$NEW_LINGUAS $presentlang" | ||
373 | 365 | fi | ||
374 | 366 | done | ||
375 | 367 | LINGUAS=$NEW_LINGUAS | ||
376 | 368 | AC_MSG_RESULT($LINGUAS) | ||
377 | 369 | fi | ||
378 | 370 | |||
379 | 371 | dnl Construct list of names of catalog files to be constructed. | ||
380 | 372 | if test -n "$LINGUAS"; then | ||
381 | 373 | for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done | ||
382 | 374 | fi | ||
383 | 375 | fi | ||
384 | 376 | |||
385 | 377 | dnl If the AC_CONFIG_AUX_DIR macro for autoconf is used we possibly | ||
386 | 378 | dnl find the mkinstalldirs script in another subdir but ($top_srcdir). | ||
387 | 379 | dnl Try to locate is. | ||
388 | 380 | MKINSTALLDIRS= | ||
389 | 381 | if test -n "$ac_aux_dir"; then | ||
390 | 382 | MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs" | ||
391 | 383 | fi | ||
392 | 384 | if test -z "$MKINSTALLDIRS"; then | ||
393 | 385 | MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs" | ||
394 | 386 | fi | ||
395 | 387 | AC_SUBST(MKINSTALLDIRS) | ||
396 | 388 | |||
397 | 389 | dnl Generate list of files to be processed by xgettext which will | ||
398 | 390 | dnl be included in po/Makefile. | ||
399 | 391 | test -d po || mkdir po | ||
400 | 392 | if test "x$srcdir" != "x."; then | ||
401 | 393 | if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then | ||
402 | 394 | posrcprefix="$srcdir/" | ||
403 | 395 | else | ||
404 | 396 | posrcprefix="../$srcdir/" | ||
405 | 397 | fi | ||
406 | 398 | else | ||
407 | 399 | posrcprefix="../" | ||
408 | 400 | fi | ||
409 | 401 | rm -f po/POTFILES | ||
410 | 402 | sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \ | ||
411 | 403 | < $srcdir/po/POTFILES.in > po/POTFILES | ||
412 | 404 | ]) | ||
413 | 405 | |||
414 | 406 | # AM_GLIB_DEFINE_LOCALEDIR(VARIABLE) | ||
415 | 407 | # ------------------------------- | ||
416 | 408 | # Define VARIABLE to the location where catalog files will | ||
417 | 409 | # be installed by po/Makefile. | ||
418 | 410 | glib_DEFUN([GLIB_DEFINE_LOCALEDIR], | ||
419 | 411 | [glib_REQUIRE([GLIB_GNU_GETTEXT])dnl | ||
420 | 412 | glib_save_prefix="$prefix" | ||
421 | 413 | glib_save_exec_prefix="$exec_prefix" | ||
422 | 414 | glib_save_datarootdir="$datarootdir" | ||
423 | 415 | test "x$prefix" = xNONE && prefix=$ac_default_prefix | ||
424 | 416 | test "x$exec_prefix" = xNONE && exec_prefix=$prefix | ||
425 | 417 | datarootdir=`eval echo "${datarootdir}"` | ||
426 | 418 | if test "x$CATOBJEXT" = "x.mo" ; then | ||
427 | 419 | localedir=`eval echo "${libdir}/locale"` | ||
428 | 420 | else | ||
429 | 421 | localedir=`eval echo "${datadir}/locale"` | ||
430 | 422 | fi | ||
431 | 423 | prefix="$glib_save_prefix" | ||
432 | 424 | exec_prefix="$glib_save_exec_prefix" | ||
433 | 425 | datarootdir="$glib_save_datarootdir" | ||
434 | 426 | AC_DEFINE_UNQUOTED($1, "$localedir", | ||
435 | 427 | [Define the location where the catalogs will be installed]) | ||
436 | 428 | ]) | ||
437 | 429 | |||
438 | 430 | dnl | ||
439 | 431 | dnl Now the definitions that aclocal will find | ||
440 | 432 | dnl | ||
441 | 433 | ifdef(glib_configure_ac,[],[ | ||
442 | 434 | AC_DEFUN([AM_GLIB_GNU_GETTEXT],[GLIB_GNU_GETTEXT($@)]) | ||
443 | 435 | AC_DEFUN([AM_GLIB_DEFINE_LOCALEDIR],[GLIB_DEFINE_LOCALEDIR($@)]) | ||
444 | 436 | ])dnl | ||
445 | 437 | |||
446 | 438 | # GLIB_RUN_PROG(PROGRAM, TEST-FILE, [ACTION-IF-PASS], [ACTION-IF-FAIL]) | ||
447 | 439 | # | ||
448 | 440 | # Create a temporary file with TEST-FILE as its contents and pass the | ||
449 | 441 | # file name to PROGRAM. Perform ACTION-IF-PASS if PROGRAM exits with | ||
450 | 442 | # 0 and perform ACTION-IF-FAIL for any other exit status. | ||
451 | 443 | AC_DEFUN([GLIB_RUN_PROG], | ||
452 | 444 | [cat >conftest.foo <<_ACEOF | ||
453 | 445 | $2 | ||
454 | 446 | _ACEOF | ||
455 | 447 | if AC_RUN_LOG([$1 conftest.foo]); then | ||
456 | 448 | m4_ifval([$3], [$3], [:]) | ||
457 | 449 | m4_ifvaln([$4], [else $4])dnl | ||
458 | 450 | echo "$as_me: failed input was:" >&AS_MESSAGE_LOG_FD | ||
459 | 451 | sed 's/^/| /' conftest.foo >&AS_MESSAGE_LOG_FD | ||
460 | 452 | fi]) | ||
461 | 453 | |||
462 | 454 | |||
463 | 455 | dnl GLIB_GSETTINGS | ||
464 | 456 | dnl Defines GSETTINGS_SCHEMAS_INSTALL which controls whether | ||
465 | 457 | dnl the schema should be compiled | ||
466 | 458 | dnl | ||
467 | 459 | |||
468 | 460 | AC_DEFUN([GLIB_GSETTINGS], | ||
469 | 461 | [ | ||
470 | 462 | m4_pattern_allow([AM_V_GEN]) | ||
471 | 463 | AC_ARG_ENABLE(schemas-compile, | ||
472 | 464 | AC_HELP_STRING([--disable-schemas-compile], | ||
473 | 465 | [Disable regeneration of gschemas.compiled on install]), | ||
474 | 466 | [case ${enableval} in | ||
475 | 467 | yes) GSETTINGS_DISABLE_SCHEMAS_COMPILE="" ;; | ||
476 | 468 | no) GSETTINGS_DISABLE_SCHEMAS_COMPILE="1" ;; | ||
477 | 469 | *) AC_MSG_ERROR([bad value ${enableval} for --enable-schemas-compile]) ;; | ||
478 | 470 | esac]) | ||
479 | 471 | AC_SUBST([GSETTINGS_DISABLE_SCHEMAS_COMPILE]) | ||
480 | 472 | PKG_PROG_PKG_CONFIG([0.16]) | ||
481 | 473 | AC_SUBST(gsettingsschemadir, [${datadir}/glib-2.0/schemas]) | ||
482 | 474 | if test x$cross_compiling != xyes; then | ||
483 | 475 | GLIB_COMPILE_SCHEMAS=`$PKG_CONFIG --variable glib_compile_schemas gio-2.0` | ||
484 | 476 | else | ||
485 | 477 | AC_PATH_PROG(GLIB_COMPILE_SCHEMAS, glib-compile-schemas) | ||
486 | 478 | fi | ||
487 | 479 | AC_SUBST(GLIB_COMPILE_SCHEMAS) | ||
488 | 480 | if test "x$GLIB_COMPILE_SCHEMAS" = "x"; then | ||
489 | 481 | ifelse([$2],,[AC_MSG_ERROR([glib-compile-schemas not found.])],[$2]) | ||
490 | 482 | else | ||
491 | 483 | ifelse([$1],,[:],[$1]) | ||
492 | 484 | fi | ||
493 | 485 | |||
494 | 486 | GSETTINGS_RULES=' | ||
495 | 487 | .PHONY : uninstall-gsettings-schemas install-gsettings-schemas clean-gsettings-schemas | ||
496 | 488 | |||
497 | 489 | mostlyclean-am: clean-gsettings-schemas | ||
498 | 490 | |||
499 | 491 | gsettings__enum_file = $(addsuffix .enums.xml,$(gsettings_ENUM_NAMESPACE)) | ||
500 | 492 | |||
501 | 493 | %.gschema.valid: %.gschema.xml $(gsettings__enum_file) | ||
502 | 494 | $(AM_V_GEN) if test -f "$<"; then d=; else d="$(srcdir)/"; fi; $(GLIB_COMPILE_SCHEMAS) --strict --dry-run $(addprefix --schema-file=,$(gsettings__enum_file)) --schema-file=$${d}$< && touch [$]@ | ||
503 | 495 | |||
504 | 496 | all-am: $(gsettings_SCHEMAS:.xml=.valid) | ||
505 | 497 | uninstall-am: uninstall-gsettings-schemas | ||
506 | 498 | install-data-am: install-gsettings-schemas | ||
507 | 499 | |||
508 | 500 | .SECONDARY: $(gsettings_SCHEMAS) | ||
509 | 501 | |||
510 | 502 | install-gsettings-schemas: $(gsettings_SCHEMAS) $(gsettings__enum_file) | ||
511 | 503 | @$(NORMAL_INSTALL) | ||
512 | 504 | if test -n "$^"; then \ | ||
513 | 505 | test -z "$(gsettingsschemadir)" || $(MKDIR_P) "$(DESTDIR)$(gsettingsschemadir)"; \ | ||
514 | 506 | $(INSTALL_DATA) $^ "$(DESTDIR)$(gsettingsschemadir)"; \ | ||
515 | 507 | test -n "$(GSETTINGS_DISABLE_SCHEMAS_COMPILE)$(DESTDIR)" || $(GLIB_COMPILE_SCHEMAS) $(gsettingsschemadir); \ | ||
516 | 508 | fi | ||
517 | 509 | |||
518 | 510 | uninstall-gsettings-schemas: | ||
519 | 511 | @$(NORMAL_UNINSTALL) | ||
520 | 512 | @list='\''$(gsettings_SCHEMAS) $(gsettings__enum_file)'\''; test -n "$(gsettingsschemadir)" || list=; \ | ||
521 | 513 | files=`for p in $$list; do echo $$p; done | sed -e '\''s|^.*/||'\''`; \ | ||
522 | 514 | test -n "$$files" || exit 0; \ | ||
523 | 515 | echo " ( cd '\''$(DESTDIR)$(gsettingsschemadir)'\'' && rm -f" $$files ")"; \ | ||
524 | 516 | cd "$(DESTDIR)$(gsettingsschemadir)" && rm -f $$files | ||
525 | 517 | test -n "$(GSETTINGS_DISABLE_SCHEMAS_COMPILE)$(DESTDIR)" || $(GLIB_COMPILE_SCHEMAS) $(gsettingsschemadir) | ||
526 | 518 | |||
527 | 519 | clean-gsettings-schemas: | ||
528 | 520 | rm -f $(gsettings_SCHEMAS:.xml=.valid) $(gsettings__enum_file) | ||
529 | 521 | |||
530 | 522 | ifdef gsettings_ENUM_NAMESPACE | ||
531 | 523 | $(gsettings__enum_file): $(gsettings_ENUM_FILES) | ||
532 | 524 | $(AM_V_GEN) glib-mkenums --comments '\''<!-- @comment@ -->'\'' --fhead "<schemalist>" --vhead " <@type@ id='\''$(gsettings_ENUM_NAMESPACE).@EnumName@'\''>" --vprod " <value nick='\''@valuenick@'\'' value='\''@valuenum@'\''/>" --vtail " </@type@>" --ftail "</schemalist>" [$]^ > [$]@.tmp && mv [$]@.tmp [$]@ | ||
533 | 525 | endif | ||
534 | 526 | ' | ||
535 | 527 | _GSETTINGS_SUBST(GSETTINGS_RULES) | ||
536 | 528 | ]) | ||
537 | 529 | |||
538 | 530 | dnl _GSETTINGS_SUBST(VARIABLE) | ||
539 | 531 | dnl Abstract macro to do either _AM_SUBST_NOTMAKE or AC_SUBST | ||
540 | 532 | AC_DEFUN([_GSETTINGS_SUBST], | ||
541 | 533 | [ | ||
542 | 534 | AC_SUBST([$1]) | ||
543 | 535 | m4_ifdef([_AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE([$1])]) | ||
544 | 536 | ] | ||
545 | 537 | ) | ||
546 | 538 | |||
547 | 539 | # nls.m4 serial 5 (gettext-0.18) | ||
548 | 540 | dnl Copyright (C) 1995-2003, 2005-2006, 2008-2010 Free Software Foundation, | ||
549 | 541 | dnl Inc. | ||
550 | 542 | dnl This file is free software; the Free Software Foundation | ||
551 | 543 | dnl gives unlimited permission to copy and/or distribute it, | ||
552 | 544 | dnl with or without modifications, as long as this notice is preserved. | ||
553 | 545 | dnl | ||
554 | 546 | dnl This file can can be used in projects which are not available under | ||
555 | 547 | dnl the GNU General Public License or the GNU Library General Public | ||
556 | 548 | dnl License but which still want to provide support for the GNU gettext | ||
557 | 549 | dnl functionality. | ||
558 | 550 | dnl Please note that the actual code of the GNU gettext library is covered | ||
559 | 551 | dnl by the GNU Library General Public License, and the rest of the GNU | ||
560 | 552 | dnl gettext package package is covered by the GNU General Public License. | ||
561 | 553 | dnl They are *not* in the public domain. | ||
562 | 554 | |||
563 | 555 | dnl Authors: | ||
564 | 556 | dnl Ulrich Drepper <drepper@cygnus.com>, 1995-2000. | ||
565 | 557 | dnl Bruno Haible <haible@clisp.cons.org>, 2000-2003. | ||
566 | 558 | |||
567 | 559 | AC_PREREQ([2.50]) | ||
568 | 560 | |||
569 | 561 | AC_DEFUN([AM_NLS], | ||
570 | 562 | [ | ||
571 | 563 | AC_MSG_CHECKING([whether NLS is requested]) | ||
572 | 564 | dnl Default is enabled NLS | ||
573 | 565 | AC_ARG_ENABLE([nls], | ||
574 | 566 | [ --disable-nls do not use Native Language Support], | ||
575 | 567 | USE_NLS=$enableval, USE_NLS=yes) | ||
576 | 568 | AC_MSG_RESULT([$USE_NLS]) | ||
577 | 569 | AC_SUBST([USE_NLS]) | ||
578 | 570 | ]) | ||
579 | 571 | |||
580 | 572 | # pkg.m4 - Macros to locate and utilise pkg-config. -*- Autoconf -*- | ||
581 | 573 | # serial 1 (pkg-config-0.24) | ||
582 | 574 | # | ||
583 | 575 | # Copyright © 2004 Scott James Remnant <scott@netsplit.com>. | ||
584 | 576 | # | ||
585 | 577 | # This program is free software; you can redistribute it and/or modify | ||
586 | 578 | # it under the terms of the GNU General Public License as published by | ||
587 | 579 | # the Free Software Foundation; either version 2 of the License, or | ||
588 | 580 | # (at your option) any later version. | ||
589 | 581 | # | ||
590 | 582 | # This program is distributed in the hope that it will be useful, but | ||
591 | 583 | # WITHOUT ANY WARRANTY; without even the implied warranty of | ||
592 | 584 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
593 | 585 | # General Public License for more details. | ||
594 | 586 | # | ||
595 | 587 | # You should have received a copy of the GNU General Public License | ||
596 | 588 | # along with this program; if not, write to the Free Software | ||
597 | 589 | # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | ||
598 | 590 | # | ||
599 | 591 | # As a special exception to the GNU General Public License, if you | ||
600 | 592 | # distribute this file as part of a program that contains a | ||
601 | 593 | # configuration script generated by Autoconf, you may include it under | ||
602 | 594 | # the same distribution terms that you use for the rest of that program. | ||
603 | 595 | |||
604 | 596 | # PKG_PROG_PKG_CONFIG([MIN-VERSION]) | ||
605 | 597 | # ---------------------------------- | ||
606 | 598 | AC_DEFUN([PKG_PROG_PKG_CONFIG], | ||
607 | 599 | [m4_pattern_forbid([^_?PKG_[A-Z_]+$]) | ||
608 | 600 | m4_pattern_allow([^PKG_CONFIG(_PATH)?$]) | ||
609 | 601 | AC_ARG_VAR([PKG_CONFIG], [path to pkg-config utility]) | ||
610 | 602 | AC_ARG_VAR([PKG_CONFIG_PATH], [directories to add to pkg-config's search path]) | ||
611 | 603 | AC_ARG_VAR([PKG_CONFIG_LIBDIR], [path overriding pkg-config's built-in search path]) | ||
612 | 604 | |||
613 | 605 | if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then | ||
614 | 606 | AC_PATH_TOOL([PKG_CONFIG], [pkg-config]) | ||
615 | 607 | fi | ||
616 | 608 | if test -n "$PKG_CONFIG"; then | ||
617 | 609 | _pkg_min_version=m4_default([$1], [0.9.0]) | ||
618 | 610 | AC_MSG_CHECKING([pkg-config is at least version $_pkg_min_version]) | ||
619 | 611 | if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then | ||
620 | 612 | AC_MSG_RESULT([yes]) | ||
621 | 613 | else | ||
622 | 614 | AC_MSG_RESULT([no]) | ||
623 | 615 | PKG_CONFIG="" | ||
624 | 616 | fi | ||
625 | 617 | fi[]dnl | ||
626 | 618 | ])# PKG_PROG_PKG_CONFIG | ||
627 | 619 | |||
628 | 620 | # PKG_CHECK_EXISTS(MODULES, [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND]) | ||
629 | 621 | # | ||
630 | 622 | # Check to see whether a particular set of modules exists. Similar | ||
631 | 623 | # to PKG_CHECK_MODULES(), but does not set variables or print errors. | ||
632 | 624 | # | ||
633 | 625 | # Please remember that m4 expands AC_REQUIRE([PKG_PROG_PKG_CONFIG]) | ||
634 | 626 | # only at the first occurence in configure.ac, so if the first place | ||
635 | 627 | # it's called might be skipped (such as if it is within an "if", you | ||
636 | 628 | # have to call PKG_CHECK_EXISTS manually | ||
637 | 629 | # -------------------------------------------------------------- | ||
638 | 630 | AC_DEFUN([PKG_CHECK_EXISTS], | ||
639 | 631 | [AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl | ||
640 | 632 | if test -n "$PKG_CONFIG" && \ | ||
641 | 633 | AC_RUN_LOG([$PKG_CONFIG --exists --print-errors "$1"]); then | ||
642 | 634 | m4_default([$2], [:]) | ||
643 | 635 | m4_ifvaln([$3], [else | ||
644 | 636 | $3])dnl | ||
645 | 637 | fi]) | ||
646 | 638 | |||
647 | 639 | # _PKG_CONFIG([VARIABLE], [COMMAND], [MODULES]) | ||
648 | 640 | # --------------------------------------------- | ||
649 | 641 | m4_define([_PKG_CONFIG], | ||
650 | 642 | [if test -n "$$1"; then | ||
651 | 643 | pkg_cv_[]$1="$$1" | ||
652 | 644 | elif test -n "$PKG_CONFIG"; then | ||
653 | 645 | PKG_CHECK_EXISTS([$3], | ||
654 | 646 | [pkg_cv_[]$1=`$PKG_CONFIG --[]$2 "$3" 2>/dev/null`], | ||
655 | 647 | [pkg_failed=yes]) | ||
656 | 648 | else | ||
657 | 649 | pkg_failed=untried | ||
658 | 650 | fi[]dnl | ||
659 | 651 | ])# _PKG_CONFIG | ||
660 | 652 | |||
661 | 653 | # _PKG_SHORT_ERRORS_SUPPORTED | ||
662 | 654 | # ----------------------------- | ||
663 | 655 | AC_DEFUN([_PKG_SHORT_ERRORS_SUPPORTED], | ||
664 | 656 | [AC_REQUIRE([PKG_PROG_PKG_CONFIG]) | ||
665 | 657 | if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then | ||
666 | 658 | _pkg_short_errors_supported=yes | ||
667 | 659 | else | ||
668 | 660 | _pkg_short_errors_supported=no | ||
669 | 661 | fi[]dnl | ||
670 | 662 | ])# _PKG_SHORT_ERRORS_SUPPORTED | ||
671 | 663 | |||
672 | 664 | |||
673 | 665 | # PKG_CHECK_MODULES(VARIABLE-PREFIX, MODULES, [ACTION-IF-FOUND], | ||
674 | 666 | # [ACTION-IF-NOT-FOUND]) | ||
675 | 667 | # | ||
676 | 668 | # | ||
677 | 669 | # Note that if there is a possibility the first call to | ||
678 | 670 | # PKG_CHECK_MODULES might not happen, you should be sure to include an | ||
679 | 671 | # explicit call to PKG_PROG_PKG_CONFIG in your configure.ac | ||
680 | 672 | # | ||
681 | 673 | # | ||
682 | 674 | # -------------------------------------------------------------- | ||
683 | 675 | AC_DEFUN([PKG_CHECK_MODULES], | ||
684 | 676 | [AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl | ||
685 | 677 | AC_ARG_VAR([$1][_CFLAGS], [C compiler flags for $1, overriding pkg-config])dnl | ||
686 | 678 | AC_ARG_VAR([$1][_LIBS], [linker flags for $1, overriding pkg-config])dnl | ||
687 | 679 | |||
688 | 680 | pkg_failed=no | ||
689 | 681 | AC_MSG_CHECKING([for $1]) | ||
690 | 682 | |||
691 | 683 | _PKG_CONFIG([$1][_CFLAGS], [cflags], [$2]) | ||
692 | 684 | _PKG_CONFIG([$1][_LIBS], [libs], [$2]) | ||
693 | 685 | |||
694 | 686 | m4_define([_PKG_TEXT], [Alternatively, you may set the environment variables $1[]_CFLAGS | ||
695 | 687 | and $1[]_LIBS to avoid the need to call pkg-config. | ||
696 | 688 | See the pkg-config man page for more details.]) | ||
697 | 689 | |||
698 | 690 | if test $pkg_failed = yes; then | ||
699 | 691 | AC_MSG_RESULT([no]) | ||
700 | 692 | _PKG_SHORT_ERRORS_SUPPORTED | ||
701 | 693 | if test $_pkg_short_errors_supported = yes; then | ||
702 | 694 | $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "$2" 2>&1` | ||
703 | 695 | else | ||
704 | 696 | $1[]_PKG_ERRORS=`$PKG_CONFIG --print-errors "$2" 2>&1` | ||
705 | 697 | fi | ||
706 | 698 | # Put the nasty error message in config.log where it belongs | ||
707 | 699 | echo "$$1[]_PKG_ERRORS" >&AS_MESSAGE_LOG_FD | ||
708 | 700 | |||
709 | 701 | m4_default([$4], [AC_MSG_ERROR( | ||
710 | 702 | [Package requirements ($2) were not met: | ||
711 | 703 | |||
712 | 704 | $$1_PKG_ERRORS | ||
713 | 705 | |||
714 | 706 | Consider adjusting the PKG_CONFIG_PATH environment variable if you | ||
715 | 707 | installed software in a non-standard prefix. | ||
716 | 708 | |||
717 | 709 | _PKG_TEXT]) | ||
718 | 710 | ]) | ||
719 | 711 | elif test $pkg_failed = untried; then | ||
720 | 712 | AC_MSG_RESULT([no]) | ||
721 | 713 | m4_default([$4], [AC_MSG_FAILURE( | ||
722 | 714 | [The pkg-config script could not be found or is too old. Make sure it | ||
723 | 715 | is in your PATH or set the PKG_CONFIG environment variable to the full | ||
724 | 716 | path to pkg-config. | ||
725 | 717 | |||
726 | 718 | _PKG_TEXT | ||
727 | 719 | |||
728 | 720 | To get pkg-config, see <http://pkg-config.freedesktop.org/>.]) | ||
729 | 721 | ]) | ||
730 | 722 | else | ||
731 | 723 | $1[]_CFLAGS=$pkg_cv_[]$1[]_CFLAGS | ||
732 | 724 | $1[]_LIBS=$pkg_cv_[]$1[]_LIBS | ||
733 | 725 | AC_MSG_RESULT([yes]) | ||
734 | 726 | $3 | ||
735 | 727 | fi[]dnl | ||
736 | 728 | ])# PKG_CHECK_MODULES | ||
737 | 729 | |||
738 | 22 | # Copyright (C) 2002, 2003, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. | 730 | # Copyright (C) 2002, 2003, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. |
739 | 23 | # | 731 | # |
740 | 24 | # This file is free software; the Free Software Foundation | 732 | # This file is free software; the Free Software Foundation |
741 | @@ -1016,711 +1724,4 @@ | |||
742 | 1016 | AC_SUBST([am__untar]) | 1724 | AC_SUBST([am__untar]) |
743 | 1017 | ]) # _AM_PROG_TAR | 1725 | ]) # _AM_PROG_TAR |
744 | 1018 | 1726 | ||
745 | 1019 | # nls.m4 serial 3 (gettext-0.15) | ||
746 | 1020 | dnl Copyright (C) 1995-2003, 2005-2006 Free Software Foundation, Inc. | ||
747 | 1021 | dnl This file is free software; the Free Software Foundation | ||
748 | 1022 | dnl gives unlimited permission to copy and/or distribute it, | ||
749 | 1023 | dnl with or without modifications, as long as this notice is preserved. | ||
750 | 1024 | dnl | ||
751 | 1025 | dnl This file can can be used in projects which are not available under | ||
752 | 1026 | dnl the GNU General Public License or the GNU Library General Public | ||
753 | 1027 | dnl License but which still want to provide support for the GNU gettext | ||
754 | 1028 | dnl functionality. | ||
755 | 1029 | dnl Please note that the actual code of the GNU gettext library is covered | ||
756 | 1030 | dnl by the GNU Library General Public License, and the rest of the GNU | ||
757 | 1031 | dnl gettext package package is covered by the GNU General Public License. | ||
758 | 1032 | dnl They are *not* in the public domain. | ||
759 | 1033 | |||
760 | 1034 | dnl Authors: | ||
761 | 1035 | dnl Ulrich Drepper <drepper@cygnus.com>, 1995-2000. | ||
762 | 1036 | dnl Bruno Haible <haible@clisp.cons.org>, 2000-2003. | ||
763 | 1037 | |||
764 | 1038 | AC_PREREQ(2.50) | ||
765 | 1039 | |||
766 | 1040 | AC_DEFUN([AM_NLS], | ||
767 | 1041 | [ | ||
768 | 1042 | AC_MSG_CHECKING([whether NLS is requested]) | ||
769 | 1043 | dnl Default is enabled NLS | ||
770 | 1044 | AC_ARG_ENABLE(nls, | ||
771 | 1045 | [ --disable-nls do not use Native Language Support], | ||
772 | 1046 | USE_NLS=$enableval, USE_NLS=yes) | ||
773 | 1047 | AC_MSG_RESULT($USE_NLS) | ||
774 | 1048 | AC_SUBST(USE_NLS) | ||
775 | 1049 | ]) | ||
776 | 1050 | |||
777 | 1051 | # pkg.m4 - Macros to locate and utilise pkg-config. -*- Autoconf -*- | ||
778 | 1052 | # serial 1 (pkg-config-0.24) | ||
779 | 1053 | # | ||
780 | 1054 | # Copyright © 2004 Scott James Remnant <scott@netsplit.com>. | ||
781 | 1055 | # | ||
782 | 1056 | # This program is free software; you can redistribute it and/or modify | ||
783 | 1057 | # it under the terms of the GNU General Public License as published by | ||
784 | 1058 | # the Free Software Foundation; either version 2 of the License, or | ||
785 | 1059 | # (at your option) any later version. | ||
786 | 1060 | # | ||
787 | 1061 | # This program is distributed in the hope that it will be useful, but | ||
788 | 1062 | # WITHOUT ANY WARRANTY; without even the implied warranty of | ||
789 | 1063 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
790 | 1064 | # General Public License for more details. | ||
791 | 1065 | # | ||
792 | 1066 | # You should have received a copy of the GNU General Public License | ||
793 | 1067 | # along with this program; if not, write to the Free Software | ||
794 | 1068 | # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | ||
795 | 1069 | # | ||
796 | 1070 | # As a special exception to the GNU General Public License, if you | ||
797 | 1071 | # distribute this file as part of a program that contains a | ||
798 | 1072 | # configuration script generated by Autoconf, you may include it under | ||
799 | 1073 | # the same distribution terms that you use for the rest of that program. | ||
800 | 1074 | |||
801 | 1075 | # PKG_PROG_PKG_CONFIG([MIN-VERSION]) | ||
802 | 1076 | # ---------------------------------- | ||
803 | 1077 | AC_DEFUN([PKG_PROG_PKG_CONFIG], | ||
804 | 1078 | [m4_pattern_forbid([^_?PKG_[A-Z_]+$]) | ||
805 | 1079 | m4_pattern_allow([^PKG_CONFIG(_PATH)?$]) | ||
806 | 1080 | AC_ARG_VAR([PKG_CONFIG], [path to pkg-config utility]) | ||
807 | 1081 | AC_ARG_VAR([PKG_CONFIG_PATH], [directories to add to pkg-config's search path]) | ||
808 | 1082 | AC_ARG_VAR([PKG_CONFIG_LIBDIR], [path overriding pkg-config's built-in search path]) | ||
809 | 1083 | |||
810 | 1084 | if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then | ||
811 | 1085 | AC_PATH_TOOL([PKG_CONFIG], [pkg-config]) | ||
812 | 1086 | fi | ||
813 | 1087 | if test -n "$PKG_CONFIG"; then | ||
814 | 1088 | _pkg_min_version=m4_default([$1], [0.9.0]) | ||
815 | 1089 | AC_MSG_CHECKING([pkg-config is at least version $_pkg_min_version]) | ||
816 | 1090 | if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then | ||
817 | 1091 | AC_MSG_RESULT([yes]) | ||
818 | 1092 | else | ||
819 | 1093 | AC_MSG_RESULT([no]) | ||
820 | 1094 | PKG_CONFIG="" | ||
821 | 1095 | fi | ||
822 | 1096 | fi[]dnl | ||
823 | 1097 | ])# PKG_PROG_PKG_CONFIG | ||
824 | 1098 | |||
825 | 1099 | # PKG_CHECK_EXISTS(MODULES, [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND]) | ||
826 | 1100 | # | ||
827 | 1101 | # Check to see whether a particular set of modules exists. Similar | ||
828 | 1102 | # to PKG_CHECK_MODULES(), but does not set variables or print errors. | ||
829 | 1103 | # | ||
830 | 1104 | # Please remember that m4 expands AC_REQUIRE([PKG_PROG_PKG_CONFIG]) | ||
831 | 1105 | # only at the first occurence in configure.ac, so if the first place | ||
832 | 1106 | # it's called might be skipped (such as if it is within an "if", you | ||
833 | 1107 | # have to call PKG_CHECK_EXISTS manually | ||
834 | 1108 | # -------------------------------------------------------------- | ||
835 | 1109 | AC_DEFUN([PKG_CHECK_EXISTS], | ||
836 | 1110 | [AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl | ||
837 | 1111 | if test -n "$PKG_CONFIG" && \ | ||
838 | 1112 | AC_RUN_LOG([$PKG_CONFIG --exists --print-errors "$1"]); then | ||
839 | 1113 | m4_default([$2], [:]) | ||
840 | 1114 | m4_ifvaln([$3], [else | ||
841 | 1115 | $3])dnl | ||
842 | 1116 | fi]) | ||
843 | 1117 | |||
844 | 1118 | # _PKG_CONFIG([VARIABLE], [COMMAND], [MODULES]) | ||
845 | 1119 | # --------------------------------------------- | ||
846 | 1120 | m4_define([_PKG_CONFIG], | ||
847 | 1121 | [if test -n "$$1"; then | ||
848 | 1122 | pkg_cv_[]$1="$$1" | ||
849 | 1123 | elif test -n "$PKG_CONFIG"; then | ||
850 | 1124 | PKG_CHECK_EXISTS([$3], | ||
851 | 1125 | [pkg_cv_[]$1=`$PKG_CONFIG --[]$2 "$3" 2>/dev/null`], | ||
852 | 1126 | [pkg_failed=yes]) | ||
853 | 1127 | else | ||
854 | 1128 | pkg_failed=untried | ||
855 | 1129 | fi[]dnl | ||
856 | 1130 | ])# _PKG_CONFIG | ||
857 | 1131 | |||
858 | 1132 | # _PKG_SHORT_ERRORS_SUPPORTED | ||
859 | 1133 | # ----------------------------- | ||
860 | 1134 | AC_DEFUN([_PKG_SHORT_ERRORS_SUPPORTED], | ||
861 | 1135 | [AC_REQUIRE([PKG_PROG_PKG_CONFIG]) | ||
862 | 1136 | if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then | ||
863 | 1137 | _pkg_short_errors_supported=yes | ||
864 | 1138 | else | ||
865 | 1139 | _pkg_short_errors_supported=no | ||
866 | 1140 | fi[]dnl | ||
867 | 1141 | ])# _PKG_SHORT_ERRORS_SUPPORTED | ||
868 | 1142 | |||
869 | 1143 | |||
870 | 1144 | # PKG_CHECK_MODULES(VARIABLE-PREFIX, MODULES, [ACTION-IF-FOUND], | ||
871 | 1145 | # [ACTION-IF-NOT-FOUND]) | ||
872 | 1146 | # | ||
873 | 1147 | # | ||
874 | 1148 | # Note that if there is a possibility the first call to | ||
875 | 1149 | # PKG_CHECK_MODULES might not happen, you should be sure to include an | ||
876 | 1150 | # explicit call to PKG_PROG_PKG_CONFIG in your configure.ac | ||
877 | 1151 | # | ||
878 | 1152 | # | ||
879 | 1153 | # -------------------------------------------------------------- | ||
880 | 1154 | AC_DEFUN([PKG_CHECK_MODULES], | ||
881 | 1155 | [AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl | ||
882 | 1156 | AC_ARG_VAR([$1][_CFLAGS], [C compiler flags for $1, overriding pkg-config])dnl | ||
883 | 1157 | AC_ARG_VAR([$1][_LIBS], [linker flags for $1, overriding pkg-config])dnl | ||
884 | 1158 | |||
885 | 1159 | pkg_failed=no | ||
886 | 1160 | AC_MSG_CHECKING([for $1]) | ||
887 | 1161 | |||
888 | 1162 | _PKG_CONFIG([$1][_CFLAGS], [cflags], [$2]) | ||
889 | 1163 | _PKG_CONFIG([$1][_LIBS], [libs], [$2]) | ||
890 | 1164 | |||
891 | 1165 | m4_define([_PKG_TEXT], [Alternatively, you may set the environment variables $1[]_CFLAGS | ||
892 | 1166 | and $1[]_LIBS to avoid the need to call pkg-config. | ||
893 | 1167 | See the pkg-config man page for more details.]) | ||
894 | 1168 | |||
895 | 1169 | if test $pkg_failed = yes; then | ||
896 | 1170 | AC_MSG_RESULT([no]) | ||
897 | 1171 | _PKG_SHORT_ERRORS_SUPPORTED | ||
898 | 1172 | if test $_pkg_short_errors_supported = yes; then | ||
899 | 1173 | $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "$2" 2>&1` | ||
900 | 1174 | else | ||
901 | 1175 | $1[]_PKG_ERRORS=`$PKG_CONFIG --print-errors "$2" 2>&1` | ||
902 | 1176 | fi | ||
903 | 1177 | # Put the nasty error message in config.log where it belongs | ||
904 | 1178 | echo "$$1[]_PKG_ERRORS" >&AS_MESSAGE_LOG_FD | ||
905 | 1179 | |||
906 | 1180 | m4_default([$4], [AC_MSG_ERROR( | ||
907 | 1181 | [Package requirements ($2) were not met: | ||
908 | 1182 | |||
909 | 1183 | $$1_PKG_ERRORS | ||
910 | 1184 | |||
911 | 1185 | Consider adjusting the PKG_CONFIG_PATH environment variable if you | ||
912 | 1186 | installed software in a non-standard prefix. | ||
913 | 1187 | |||
914 | 1188 | _PKG_TEXT])[]dnl | ||
915 | 1189 | ]) | ||
916 | 1190 | elif test $pkg_failed = untried; then | ||
917 | 1191 | AC_MSG_RESULT([no]) | ||
918 | 1192 | m4_default([$4], [AC_MSG_FAILURE( | ||
919 | 1193 | [The pkg-config script could not be found or is too old. Make sure it | ||
920 | 1194 | is in your PATH or set the PKG_CONFIG environment variable to the full | ||
921 | 1195 | path to pkg-config. | ||
922 | 1196 | |||
923 | 1197 | _PKG_TEXT | ||
924 | 1198 | |||
925 | 1199 | To get pkg-config, see <http://pkg-config.freedesktop.org/>.])[]dnl | ||
926 | 1200 | ]) | ||
927 | 1201 | else | ||
928 | 1202 | $1[]_CFLAGS=$pkg_cv_[]$1[]_CFLAGS | ||
929 | 1203 | $1[]_LIBS=$pkg_cv_[]$1[]_LIBS | ||
930 | 1204 | AC_MSG_RESULT([yes]) | ||
931 | 1205 | $3 | ||
932 | 1206 | fi[]dnl | ||
933 | 1207 | ])# PKG_CHECK_MODULES | ||
934 | 1208 | |||
935 | 1209 | # Copyright (C) 1995-2002 Free Software Foundation, Inc. | ||
936 | 1210 | # Copyright (C) 2001-2003,2004 Red Hat, Inc. | ||
937 | 1211 | # | ||
938 | 1212 | # This file is free software, distributed under the terms of the GNU | ||
939 | 1213 | # General Public License. As a special exception to the GNU General | ||
940 | 1214 | # Public License, this file may be distributed as part of a program | ||
941 | 1215 | # that contains a configuration script generated by Autoconf, under | ||
942 | 1216 | # the same distribution terms as the rest of that program. | ||
943 | 1217 | # | ||
944 | 1218 | # This file can be copied and used freely without restrictions. It can | ||
945 | 1219 | # be used in projects which are not available under the GNU Public License | ||
946 | 1220 | # but which still want to provide support for the GNU gettext functionality. | ||
947 | 1221 | # | ||
948 | 1222 | # Macro to add for using GNU gettext. | ||
949 | 1223 | # Ulrich Drepper <drepper@cygnus.com>, 1995, 1996 | ||
950 | 1224 | # | ||
951 | 1225 | # Modified to never use included libintl. | ||
952 | 1226 | # Owen Taylor <otaylor@redhat.com>, 12/15/1998 | ||
953 | 1227 | # | ||
954 | 1228 | # Major rework to remove unused code | ||
955 | 1229 | # Owen Taylor <otaylor@redhat.com>, 12/11/2002 | ||
956 | 1230 | # | ||
957 | 1231 | # Added better handling of ALL_LINGUAS from GNU gettext version | ||
958 | 1232 | # written by Bruno Haible, Owen Taylor <otaylor.redhat.com> 5/30/3002 | ||
959 | 1233 | # | ||
960 | 1234 | # Modified to require ngettext | ||
961 | 1235 | # Matthias Clasen <mclasen@redhat.com> 08/06/2004 | ||
962 | 1236 | # | ||
963 | 1237 | # We need this here as well, since someone might use autoconf-2.5x | ||
964 | 1238 | # to configure GLib then an older version to configure a package | ||
965 | 1239 | # using AM_GLIB_GNU_GETTEXT | ||
966 | 1240 | AC_PREREQ(2.53) | ||
967 | 1241 | |||
968 | 1242 | dnl | ||
969 | 1243 | dnl We go to great lengths to make sure that aclocal won't | ||
970 | 1244 | dnl try to pull in the installed version of these macros | ||
971 | 1245 | dnl when running aclocal in the glib directory. | ||
972 | 1246 | dnl | ||
973 | 1247 | m4_copy([AC_DEFUN],[glib_DEFUN]) | ||
974 | 1248 | m4_copy([AC_REQUIRE],[glib_REQUIRE]) | ||
975 | 1249 | dnl | ||
976 | 1250 | dnl At the end, if we're not within glib, we'll define the public | ||
977 | 1251 | dnl definitions in terms of our private definitions. | ||
978 | 1252 | dnl | ||
979 | 1253 | |||
980 | 1254 | # GLIB_LC_MESSAGES | ||
981 | 1255 | #-------------------- | ||
982 | 1256 | glib_DEFUN([GLIB_LC_MESSAGES], | ||
983 | 1257 | [AC_CHECK_HEADERS([locale.h]) | ||
984 | 1258 | if test $ac_cv_header_locale_h = yes; then | ||
985 | 1259 | AC_CACHE_CHECK([for LC_MESSAGES], am_cv_val_LC_MESSAGES, | ||
986 | 1260 | [AC_TRY_LINK([#include <locale.h>], [return LC_MESSAGES], | ||
987 | 1261 | am_cv_val_LC_MESSAGES=yes, am_cv_val_LC_MESSAGES=no)]) | ||
988 | 1262 | if test $am_cv_val_LC_MESSAGES = yes; then | ||
989 | 1263 | AC_DEFINE(HAVE_LC_MESSAGES, 1, | ||
990 | 1264 | [Define if your <locale.h> file defines LC_MESSAGES.]) | ||
991 | 1265 | fi | ||
992 | 1266 | fi]) | ||
993 | 1267 | |||
994 | 1268 | # GLIB_PATH_PROG_WITH_TEST | ||
995 | 1269 | #---------------------------- | ||
996 | 1270 | dnl GLIB_PATH_PROG_WITH_TEST(VARIABLE, PROG-TO-CHECK-FOR, | ||
997 | 1271 | dnl TEST-PERFORMED-ON-FOUND_PROGRAM [, VALUE-IF-NOT-FOUND [, PATH]]) | ||
998 | 1272 | glib_DEFUN([GLIB_PATH_PROG_WITH_TEST], | ||
999 | 1273 | [# Extract the first word of "$2", so it can be a program name with args. | ||
1000 | 1274 | set dummy $2; ac_word=[$]2 | ||
1001 | 1275 | AC_MSG_CHECKING([for $ac_word]) | ||
1002 | 1276 | AC_CACHE_VAL(ac_cv_path_$1, | ||
1003 | 1277 | [case "[$]$1" in | ||
1004 | 1278 | /*) | ||
1005 | 1279 | ac_cv_path_$1="[$]$1" # Let the user override the test with a path. | ||
1006 | 1280 | ;; | ||
1007 | 1281 | *) | ||
1008 | 1282 | IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | ||
1009 | 1283 | for ac_dir in ifelse([$5], , $PATH, [$5]); do | ||
1010 | 1284 | test -z "$ac_dir" && ac_dir=. | ||
1011 | 1285 | if test -f $ac_dir/$ac_word; then | ||
1012 | 1286 | if [$3]; then | ||
1013 | 1287 | ac_cv_path_$1="$ac_dir/$ac_word" | ||
1014 | 1288 | break | ||
1015 | 1289 | fi | ||
1016 | 1290 | fi | ||
1017 | 1291 | done | ||
1018 | 1292 | IFS="$ac_save_ifs" | ||
1019 | 1293 | dnl If no 4th arg is given, leave the cache variable unset, | ||
1020 | 1294 | dnl so AC_PATH_PROGS will keep looking. | ||
1021 | 1295 | ifelse([$4], , , [ test -z "[$]ac_cv_path_$1" && ac_cv_path_$1="$4" | ||
1022 | 1296 | ])dnl | ||
1023 | 1297 | ;; | ||
1024 | 1298 | esac])dnl | ||
1025 | 1299 | $1="$ac_cv_path_$1" | ||
1026 | 1300 | if test ifelse([$4], , [-n "[$]$1"], ["[$]$1" != "$4"]); then | ||
1027 | 1301 | AC_MSG_RESULT([$]$1) | ||
1028 | 1302 | else | ||
1029 | 1303 | AC_MSG_RESULT(no) | ||
1030 | 1304 | fi | ||
1031 | 1305 | AC_SUBST($1)dnl | ||
1032 | 1306 | ]) | ||
1033 | 1307 | |||
1034 | 1308 | # GLIB_WITH_NLS | ||
1035 | 1309 | #----------------- | ||
1036 | 1310 | glib_DEFUN([GLIB_WITH_NLS], | ||
1037 | 1311 | dnl NLS is obligatory | ||
1038 | 1312 | [USE_NLS=yes | ||
1039 | 1313 | AC_SUBST(USE_NLS) | ||
1040 | 1314 | |||
1041 | 1315 | gt_cv_have_gettext=no | ||
1042 | 1316 | |||
1043 | 1317 | CATOBJEXT=NONE | ||
1044 | 1318 | XGETTEXT=: | ||
1045 | 1319 | INTLLIBS= | ||
1046 | 1320 | |||
1047 | 1321 | AC_CHECK_HEADER(libintl.h, | ||
1048 | 1322 | [gt_cv_func_dgettext_libintl="no" | ||
1049 | 1323 | libintl_extra_libs="" | ||
1050 | 1324 | |||
1051 | 1325 | # | ||
1052 | 1326 | # First check in libc | ||
1053 | 1327 | # | ||
1054 | 1328 | AC_CACHE_CHECK([for ngettext in libc], gt_cv_func_ngettext_libc, | ||
1055 | 1329 | [AC_TRY_LINK([ | ||
1056 | 1330 | #include <libintl.h> | ||
1057 | 1331 | ], | ||
1058 | 1332 | [return !ngettext ("","", 1)], | ||
1059 | 1333 | gt_cv_func_ngettext_libc=yes, | ||
1060 | 1334 | gt_cv_func_ngettext_libc=no) | ||
1061 | 1335 | ]) | ||
1062 | 1336 | |||
1063 | 1337 | if test "$gt_cv_func_ngettext_libc" = "yes" ; then | ||
1064 | 1338 | AC_CACHE_CHECK([for dgettext in libc], gt_cv_func_dgettext_libc, | ||
1065 | 1339 | [AC_TRY_LINK([ | ||
1066 | 1340 | #include <libintl.h> | ||
1067 | 1341 | ], | ||
1068 | 1342 | [return !dgettext ("","")], | ||
1069 | 1343 | gt_cv_func_dgettext_libc=yes, | ||
1070 | 1344 | gt_cv_func_dgettext_libc=no) | ||
1071 | 1345 | ]) | ||
1072 | 1346 | fi | ||
1073 | 1347 | |||
1074 | 1348 | if test "$gt_cv_func_ngettext_libc" = "yes" ; then | ||
1075 | 1349 | AC_CHECK_FUNCS(bind_textdomain_codeset) | ||
1076 | 1350 | fi | ||
1077 | 1351 | |||
1078 | 1352 | # | ||
1079 | 1353 | # If we don't have everything we want, check in libintl | ||
1080 | 1354 | # | ||
1081 | 1355 | if test "$gt_cv_func_dgettext_libc" != "yes" \ | ||
1082 | 1356 | || test "$gt_cv_func_ngettext_libc" != "yes" \ | ||
1083 | 1357 | || test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then | ||
1084 | 1358 | |||
1085 | 1359 | AC_CHECK_LIB(intl, bindtextdomain, | ||
1086 | 1360 | [AC_CHECK_LIB(intl, ngettext, | ||
1087 | 1361 | [AC_CHECK_LIB(intl, dgettext, | ||
1088 | 1362 | gt_cv_func_dgettext_libintl=yes)])]) | ||
1089 | 1363 | |||
1090 | 1364 | if test "$gt_cv_func_dgettext_libintl" != "yes" ; then | ||
1091 | 1365 | AC_MSG_CHECKING([if -liconv is needed to use gettext]) | ||
1092 | 1366 | AC_MSG_RESULT([]) | ||
1093 | 1367 | AC_CHECK_LIB(intl, ngettext, | ||
1094 | 1368 | [AC_CHECK_LIB(intl, dcgettext, | ||
1095 | 1369 | [gt_cv_func_dgettext_libintl=yes | ||
1096 | 1370 | libintl_extra_libs=-liconv], | ||
1097 | 1371 | :,-liconv)], | ||
1098 | 1372 | :,-liconv) | ||
1099 | 1373 | fi | ||
1100 | 1374 | |||
1101 | 1375 | # | ||
1102 | 1376 | # If we found libintl, then check in it for bind_textdomain_codeset(); | ||
1103 | 1377 | # we'll prefer libc if neither have bind_textdomain_codeset(), | ||
1104 | 1378 | # and both have dgettext and ngettext | ||
1105 | 1379 | # | ||
1106 | 1380 | if test "$gt_cv_func_dgettext_libintl" = "yes" ; then | ||
1107 | 1381 | glib_save_LIBS="$LIBS" | ||
1108 | 1382 | LIBS="$LIBS -lintl $libintl_extra_libs" | ||
1109 | 1383 | unset ac_cv_func_bind_textdomain_codeset | ||
1110 | 1384 | AC_CHECK_FUNCS(bind_textdomain_codeset) | ||
1111 | 1385 | LIBS="$glib_save_LIBS" | ||
1112 | 1386 | |||
1113 | 1387 | if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then | ||
1114 | 1388 | gt_cv_func_dgettext_libc=no | ||
1115 | 1389 | else | ||
1116 | 1390 | if test "$gt_cv_func_dgettext_libc" = "yes" \ | ||
1117 | 1391 | && test "$gt_cv_func_ngettext_libc" = "yes"; then | ||
1118 | 1392 | gt_cv_func_dgettext_libintl=no | ||
1119 | 1393 | fi | ||
1120 | 1394 | fi | ||
1121 | 1395 | fi | ||
1122 | 1396 | fi | ||
1123 | 1397 | |||
1124 | 1398 | if test "$gt_cv_func_dgettext_libc" = "yes" \ | ||
1125 | 1399 | || test "$gt_cv_func_dgettext_libintl" = "yes"; then | ||
1126 | 1400 | gt_cv_have_gettext=yes | ||
1127 | 1401 | fi | ||
1128 | 1402 | |||
1129 | 1403 | if test "$gt_cv_func_dgettext_libintl" = "yes"; then | ||
1130 | 1404 | INTLLIBS="-lintl $libintl_extra_libs" | ||
1131 | 1405 | fi | ||
1132 | 1406 | |||
1133 | 1407 | if test "$gt_cv_have_gettext" = "yes"; then | ||
1134 | 1408 | AC_DEFINE(HAVE_GETTEXT,1, | ||
1135 | 1409 | [Define if the GNU gettext() function is already present or preinstalled.]) | ||
1136 | 1410 | GLIB_PATH_PROG_WITH_TEST(MSGFMT, msgfmt, | ||
1137 | 1411 | [test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"], no)dnl | ||
1138 | 1412 | if test "$MSGFMT" != "no"; then | ||
1139 | 1413 | glib_save_LIBS="$LIBS" | ||
1140 | 1414 | LIBS="$LIBS $INTLLIBS" | ||
1141 | 1415 | AC_CHECK_FUNCS(dcgettext) | ||
1142 | 1416 | MSGFMT_OPTS= | ||
1143 | 1417 | AC_MSG_CHECKING([if msgfmt accepts -c]) | ||
1144 | 1418 | GLIB_RUN_PROG([$MSGFMT -c -o /dev/null],[ | ||
1145 | 1419 | msgid "" | ||
1146 | 1420 | msgstr "" | ||
1147 | 1421 | "Content-Type: text/plain; charset=UTF-8\n" | ||
1148 | 1422 | "Project-Id-Version: test 1.0\n" | ||
1149 | 1423 | "PO-Revision-Date: 2007-02-15 12:01+0100\n" | ||
1150 | 1424 | "Last-Translator: test <foo@bar.xx>\n" | ||
1151 | 1425 | "Language-Team: C <LL@li.org>\n" | ||
1152 | 1426 | "MIME-Version: 1.0\n" | ||
1153 | 1427 | "Content-Transfer-Encoding: 8bit\n" | ||
1154 | 1428 | ], [MSGFMT_OPTS=-c; AC_MSG_RESULT([yes])], [AC_MSG_RESULT([no])]) | ||
1155 | 1429 | AC_SUBST(MSGFMT_OPTS) | ||
1156 | 1430 | AC_PATH_PROG(GMSGFMT, gmsgfmt, $MSGFMT) | ||
1157 | 1431 | GLIB_PATH_PROG_WITH_TEST(XGETTEXT, xgettext, | ||
1158 | 1432 | [test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"], :) | ||
1159 | 1433 | AC_TRY_LINK(, [extern int _nl_msg_cat_cntr; | ||
1160 | 1434 | return _nl_msg_cat_cntr], | ||
1161 | 1435 | [CATOBJEXT=.gmo | ||
1162 | 1436 | DATADIRNAME=share], | ||
1163 | 1437 | [case $host in | ||
1164 | 1438 | *-*-solaris*) | ||
1165 | 1439 | dnl On Solaris, if bind_textdomain_codeset is in libc, | ||
1166 | 1440 | dnl GNU format message catalog is always supported, | ||
1167 | 1441 | dnl since both are added to the libc all together. | ||
1168 | 1442 | dnl Hence, we'd like to go with DATADIRNAME=share and | ||
1169 | 1443 | dnl and CATOBJEXT=.gmo in this case. | ||
1170 | 1444 | AC_CHECK_FUNC(bind_textdomain_codeset, | ||
1171 | 1445 | [CATOBJEXT=.gmo | ||
1172 | 1446 | DATADIRNAME=share], | ||
1173 | 1447 | [CATOBJEXT=.mo | ||
1174 | 1448 | DATADIRNAME=lib]) | ||
1175 | 1449 | ;; | ||
1176 | 1450 | *) | ||
1177 | 1451 | CATOBJEXT=.mo | ||
1178 | 1452 | DATADIRNAME=lib | ||
1179 | 1453 | ;; | ||
1180 | 1454 | esac]) | ||
1181 | 1455 | LIBS="$glib_save_LIBS" | ||
1182 | 1456 | INSTOBJEXT=.mo | ||
1183 | 1457 | else | ||
1184 | 1458 | gt_cv_have_gettext=no | ||
1185 | 1459 | fi | ||
1186 | 1460 | fi | ||
1187 | 1461 | ]) | ||
1188 | 1462 | |||
1189 | 1463 | if test "$gt_cv_have_gettext" = "yes" ; then | ||
1190 | 1464 | AC_DEFINE(ENABLE_NLS, 1, | ||
1191 | 1465 | [always defined to indicate that i18n is enabled]) | ||
1192 | 1466 | fi | ||
1193 | 1467 | |||
1194 | 1468 | dnl Test whether we really found GNU xgettext. | ||
1195 | 1469 | if test "$XGETTEXT" != ":"; then | ||
1196 | 1470 | dnl If it is not GNU xgettext we define it as : so that the | ||
1197 | 1471 | dnl Makefiles still can work. | ||
1198 | 1472 | if $XGETTEXT --omit-header /dev/null 2> /dev/null; then | ||
1199 | 1473 | : ; | ||
1200 | 1474 | else | ||
1201 | 1475 | AC_MSG_RESULT( | ||
1202 | 1476 | [found xgettext program is not GNU xgettext; ignore it]) | ||
1203 | 1477 | XGETTEXT=":" | ||
1204 | 1478 | fi | ||
1205 | 1479 | fi | ||
1206 | 1480 | |||
1207 | 1481 | # We need to process the po/ directory. | ||
1208 | 1482 | POSUB=po | ||
1209 | 1483 | |||
1210 | 1484 | AC_OUTPUT_COMMANDS( | ||
1211 | 1485 | [case "$CONFIG_FILES" in *po/Makefile.in*) | ||
1212 | 1486 | sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile | ||
1213 | 1487 | esac]) | ||
1214 | 1488 | |||
1215 | 1489 | dnl These rules are solely for the distribution goal. While doing this | ||
1216 | 1490 | dnl we only have to keep exactly one list of the available catalogs | ||
1217 | 1491 | dnl in configure.ac. | ||
1218 | 1492 | for lang in $ALL_LINGUAS; do | ||
1219 | 1493 | GMOFILES="$GMOFILES $lang.gmo" | ||
1220 | 1494 | POFILES="$POFILES $lang.po" | ||
1221 | 1495 | done | ||
1222 | 1496 | |||
1223 | 1497 | dnl Make all variables we use known to autoconf. | ||
1224 | 1498 | AC_SUBST(CATALOGS) | ||
1225 | 1499 | AC_SUBST(CATOBJEXT) | ||
1226 | 1500 | AC_SUBST(DATADIRNAME) | ||
1227 | 1501 | AC_SUBST(GMOFILES) | ||
1228 | 1502 | AC_SUBST(INSTOBJEXT) | ||
1229 | 1503 | AC_SUBST(INTLLIBS) | ||
1230 | 1504 | AC_SUBST(PO_IN_DATADIR_TRUE) | ||
1231 | 1505 | AC_SUBST(PO_IN_DATADIR_FALSE) | ||
1232 | 1506 | AC_SUBST(POFILES) | ||
1233 | 1507 | AC_SUBST(POSUB) | ||
1234 | 1508 | ]) | ||
1235 | 1509 | |||
1236 | 1510 | # AM_GLIB_GNU_GETTEXT | ||
1237 | 1511 | # ------------------- | ||
1238 | 1512 | # Do checks necessary for use of gettext. If a suitable implementation | ||
1239 | 1513 | # of gettext is found in either in libintl or in the C library, | ||
1240 | 1514 | # it will set INTLLIBS to the libraries needed for use of gettext | ||
1241 | 1515 | # and AC_DEFINE() HAVE_GETTEXT and ENABLE_NLS. (The shell variable | ||
1242 | 1516 | # gt_cv_have_gettext will be set to "yes".) It will also call AC_SUBST() | ||
1243 | 1517 | # on various variables needed by the Makefile.in.in installed by | ||
1244 | 1518 | # glib-gettextize. | ||
1245 | 1519 | dnl | ||
1246 | 1520 | glib_DEFUN([GLIB_GNU_GETTEXT], | ||
1247 | 1521 | [AC_REQUIRE([AC_PROG_CC])dnl | ||
1248 | 1522 | AC_REQUIRE([AC_HEADER_STDC])dnl | ||
1249 | 1523 | |||
1250 | 1524 | GLIB_LC_MESSAGES | ||
1251 | 1525 | GLIB_WITH_NLS | ||
1252 | 1526 | |||
1253 | 1527 | if test "$gt_cv_have_gettext" = "yes"; then | ||
1254 | 1528 | if test "x$ALL_LINGUAS" = "x"; then | ||
1255 | 1529 | LINGUAS= | ||
1256 | 1530 | else | ||
1257 | 1531 | AC_MSG_CHECKING(for catalogs to be installed) | ||
1258 | 1532 | NEW_LINGUAS= | ||
1259 | 1533 | for presentlang in $ALL_LINGUAS; do | ||
1260 | 1534 | useit=no | ||
1261 | 1535 | if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then | ||
1262 | 1536 | desiredlanguages="$LINGUAS" | ||
1263 | 1537 | else | ||
1264 | 1538 | desiredlanguages="$ALL_LINGUAS" | ||
1265 | 1539 | fi | ||
1266 | 1540 | for desiredlang in $desiredlanguages; do | ||
1267 | 1541 | # Use the presentlang catalog if desiredlang is | ||
1268 | 1542 | # a. equal to presentlang, or | ||
1269 | 1543 | # b. a variant of presentlang (because in this case, | ||
1270 | 1544 | # presentlang can be used as a fallback for messages | ||
1271 | 1545 | # which are not translated in the desiredlang catalog). | ||
1272 | 1546 | case "$desiredlang" in | ||
1273 | 1547 | "$presentlang"*) useit=yes;; | ||
1274 | 1548 | esac | ||
1275 | 1549 | done | ||
1276 | 1550 | if test $useit = yes; then | ||
1277 | 1551 | NEW_LINGUAS="$NEW_LINGUAS $presentlang" | ||
1278 | 1552 | fi | ||
1279 | 1553 | done | ||
1280 | 1554 | LINGUAS=$NEW_LINGUAS | ||
1281 | 1555 | AC_MSG_RESULT($LINGUAS) | ||
1282 | 1556 | fi | ||
1283 | 1557 | |||
1284 | 1558 | dnl Construct list of names of catalog files to be constructed. | ||
1285 | 1559 | if test -n "$LINGUAS"; then | ||
1286 | 1560 | for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done | ||
1287 | 1561 | fi | ||
1288 | 1562 | fi | ||
1289 | 1563 | |||
1290 | 1564 | dnl If the AC_CONFIG_AUX_DIR macro for autoconf is used we possibly | ||
1291 | 1565 | dnl find the mkinstalldirs script in another subdir but ($top_srcdir). | ||
1292 | 1566 | dnl Try to locate is. | ||
1293 | 1567 | MKINSTALLDIRS= | ||
1294 | 1568 | if test -n "$ac_aux_dir"; then | ||
1295 | 1569 | MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs" | ||
1296 | 1570 | fi | ||
1297 | 1571 | if test -z "$MKINSTALLDIRS"; then | ||
1298 | 1572 | MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs" | ||
1299 | 1573 | fi | ||
1300 | 1574 | AC_SUBST(MKINSTALLDIRS) | ||
1301 | 1575 | |||
1302 | 1576 | dnl Generate list of files to be processed by xgettext which will | ||
1303 | 1577 | dnl be included in po/Makefile. | ||
1304 | 1578 | test -d po || mkdir po | ||
1305 | 1579 | if test "x$srcdir" != "x."; then | ||
1306 | 1580 | if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then | ||
1307 | 1581 | posrcprefix="$srcdir/" | ||
1308 | 1582 | else | ||
1309 | 1583 | posrcprefix="../$srcdir/" | ||
1310 | 1584 | fi | ||
1311 | 1585 | else | ||
1312 | 1586 | posrcprefix="../" | ||
1313 | 1587 | fi | ||
1314 | 1588 | rm -f po/POTFILES | ||
1315 | 1589 | sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \ | ||
1316 | 1590 | < $srcdir/po/POTFILES.in > po/POTFILES | ||
1317 | 1591 | ]) | ||
1318 | 1592 | |||
1319 | 1593 | # AM_GLIB_DEFINE_LOCALEDIR(VARIABLE) | ||
1320 | 1594 | # ------------------------------- | ||
1321 | 1595 | # Define VARIABLE to the location where catalog files will | ||
1322 | 1596 | # be installed by po/Makefile. | ||
1323 | 1597 | glib_DEFUN([GLIB_DEFINE_LOCALEDIR], | ||
1324 | 1598 | [glib_REQUIRE([GLIB_GNU_GETTEXT])dnl | ||
1325 | 1599 | glib_save_prefix="$prefix" | ||
1326 | 1600 | glib_save_exec_prefix="$exec_prefix" | ||
1327 | 1601 | glib_save_datarootdir="$datarootdir" | ||
1328 | 1602 | test "x$prefix" = xNONE && prefix=$ac_default_prefix | ||
1329 | 1603 | test "x$exec_prefix" = xNONE && exec_prefix=$prefix | ||
1330 | 1604 | datarootdir=`eval echo "${datarootdir}"` | ||
1331 | 1605 | if test "x$CATOBJEXT" = "x.mo" ; then | ||
1332 | 1606 | localedir=`eval echo "${libdir}/locale"` | ||
1333 | 1607 | else | ||
1334 | 1608 | localedir=`eval echo "${datadir}/locale"` | ||
1335 | 1609 | fi | ||
1336 | 1610 | prefix="$glib_save_prefix" | ||
1337 | 1611 | exec_prefix="$glib_save_exec_prefix" | ||
1338 | 1612 | datarootdir="$glib_save_datarootdir" | ||
1339 | 1613 | AC_DEFINE_UNQUOTED($1, "$localedir", | ||
1340 | 1614 | [Define the location where the catalogs will be installed]) | ||
1341 | 1615 | ]) | ||
1342 | 1616 | |||
1343 | 1617 | dnl | ||
1344 | 1618 | dnl Now the definitions that aclocal will find | ||
1345 | 1619 | dnl | ||
1346 | 1620 | ifdef(glib_configure_ac,[],[ | ||
1347 | 1621 | AC_DEFUN([AM_GLIB_GNU_GETTEXT],[GLIB_GNU_GETTEXT($@)]) | ||
1348 | 1622 | AC_DEFUN([AM_GLIB_DEFINE_LOCALEDIR],[GLIB_DEFINE_LOCALEDIR($@)]) | ||
1349 | 1623 | ])dnl | ||
1350 | 1624 | |||
1351 | 1625 | # GLIB_RUN_PROG(PROGRAM, TEST-FILE, [ACTION-IF-PASS], [ACTION-IF-FAIL]) | ||
1352 | 1626 | # | ||
1353 | 1627 | # Create a temporary file with TEST-FILE as its contents and pass the | ||
1354 | 1628 | # file name to PROGRAM. Perform ACTION-IF-PASS if PROGRAM exits with | ||
1355 | 1629 | # 0 and perform ACTION-IF-FAIL for any other exit status. | ||
1356 | 1630 | AC_DEFUN([GLIB_RUN_PROG], | ||
1357 | 1631 | [cat >conftest.foo <<_ACEOF | ||
1358 | 1632 | $2 | ||
1359 | 1633 | _ACEOF | ||
1360 | 1634 | if AC_RUN_LOG([$1 conftest.foo]); then | ||
1361 | 1635 | m4_ifval([$3], [$3], [:]) | ||
1362 | 1636 | m4_ifvaln([$4], [else $4])dnl | ||
1363 | 1637 | echo "$as_me: failed input was:" >&AS_MESSAGE_LOG_FD | ||
1364 | 1638 | sed 's/^/| /' conftest.foo >&AS_MESSAGE_LOG_FD | ||
1365 | 1639 | fi]) | ||
1366 | 1640 | |||
1367 | 1641 | |||
1368 | 1642 | dnl GLIB_GSETTINGS | ||
1369 | 1643 | dnl Defines GSETTINGS_SCHEMAS_INSTALL which controls whether | ||
1370 | 1644 | dnl the schema should be compiled | ||
1371 | 1645 | dnl | ||
1372 | 1646 | |||
1373 | 1647 | AC_DEFUN([GLIB_GSETTINGS], | ||
1374 | 1648 | [ | ||
1375 | 1649 | m4_pattern_allow([AM_V_GEN]) | ||
1376 | 1650 | AC_ARG_ENABLE(schemas-compile, | ||
1377 | 1651 | AC_HELP_STRING([--disable-schemas-compile], | ||
1378 | 1652 | [Disable regeneration of gschemas.compiled on install]), | ||
1379 | 1653 | [case ${enableval} in | ||
1380 | 1654 | yes) GSETTINGS_DISABLE_SCHEMAS_COMPILE="" ;; | ||
1381 | 1655 | no) GSETTINGS_DISABLE_SCHEMAS_COMPILE="1" ;; | ||
1382 | 1656 | *) AC_MSG_ERROR([bad value ${enableval} for --enable-schemas-compile]) ;; | ||
1383 | 1657 | esac]) | ||
1384 | 1658 | AC_SUBST([GSETTINGS_DISABLE_SCHEMAS_COMPILE]) | ||
1385 | 1659 | PKG_PROG_PKG_CONFIG([0.16]) | ||
1386 | 1660 | AC_SUBST(gsettingsschemadir, [${datadir}/glib-2.0/schemas]) | ||
1387 | 1661 | if test x$cross_compiling != xyes; then | ||
1388 | 1662 | GLIB_COMPILE_SCHEMAS=`$PKG_CONFIG --variable glib_compile_schemas gio-2.0` | ||
1389 | 1663 | else | ||
1390 | 1664 | AC_PATH_PROG(GLIB_COMPILE_SCHEMAS, glib-compile-schemas) | ||
1391 | 1665 | fi | ||
1392 | 1666 | AC_SUBST(GLIB_COMPILE_SCHEMAS) | ||
1393 | 1667 | if test "x$GLIB_COMPILE_SCHEMAS" = "x"; then | ||
1394 | 1668 | ifelse([$2],,[AC_MSG_ERROR([glib-compile-schemas not found.])],[$2]) | ||
1395 | 1669 | else | ||
1396 | 1670 | ifelse([$1],,[:],[$1]) | ||
1397 | 1671 | fi | ||
1398 | 1672 | |||
1399 | 1673 | GSETTINGS_RULES=' | ||
1400 | 1674 | .PHONY : uninstall-gsettings-schemas install-gsettings-schemas clean-gsettings-schemas | ||
1401 | 1675 | |||
1402 | 1676 | mostlyclean-am: clean-gsettings-schemas | ||
1403 | 1677 | |||
1404 | 1678 | gsettings__enum_file = $(addsuffix .enums.xml,$(gsettings_ENUM_NAMESPACE)) | ||
1405 | 1679 | |||
1406 | 1680 | %.gschema.valid: %.gschema.xml $(gsettings__enum_file) | ||
1407 | 1681 | $(AM_V_GEN) if test -f "$<"; then d=; else d="$(srcdir)/"; fi; $(GLIB_COMPILE_SCHEMAS) --strict --dry-run $(addprefix --schema-file=,$(gsettings__enum_file)) --schema-file=$${d}$< && touch [$]@ | ||
1408 | 1682 | |||
1409 | 1683 | all-am: $(gsettings_SCHEMAS:.xml=.valid) | ||
1410 | 1684 | uninstall-am: uninstall-gsettings-schemas | ||
1411 | 1685 | install-data-am: install-gsettings-schemas | ||
1412 | 1686 | |||
1413 | 1687 | .SECONDARY: $(gsettings_SCHEMAS) | ||
1414 | 1688 | |||
1415 | 1689 | install-gsettings-schemas: $(gsettings_SCHEMAS) $(gsettings__enum_file) | ||
1416 | 1690 | @$(NORMAL_INSTALL) | ||
1417 | 1691 | if test -n "$^"; then \ | ||
1418 | 1692 | test -z "$(gsettingsschemadir)" || $(MKDIR_P) "$(DESTDIR)$(gsettingsschemadir)"; \ | ||
1419 | 1693 | $(INSTALL_DATA) $^ "$(DESTDIR)$(gsettingsschemadir)"; \ | ||
1420 | 1694 | test -n "$(GSETTINGS_DISABLE_SCHEMAS_COMPILE)$(DESTDIR)" || $(GLIB_COMPILE_SCHEMAS) $(gsettingsschemadir); \ | ||
1421 | 1695 | fi | ||
1422 | 1696 | |||
1423 | 1697 | uninstall-gsettings-schemas: | ||
1424 | 1698 | @$(NORMAL_UNINSTALL) | ||
1425 | 1699 | @list='\''$(gsettings_SCHEMAS) $(gsettings__enum_file)'\''; test -n "$(gsettingsschemadir)" || list=; \ | ||
1426 | 1700 | files=`for p in $$list; do echo $$p; done | sed -e '\''s|^.*/||'\''`; \ | ||
1427 | 1701 | test -n "$$files" || exit 0; \ | ||
1428 | 1702 | echo " ( cd '\''$(DESTDIR)$(gsettingsschemadir)'\'' && rm -f" $$files ")"; \ | ||
1429 | 1703 | cd "$(DESTDIR)$(gsettingsschemadir)" && rm -f $$files | ||
1430 | 1704 | test -n "$(GSETTINGS_DISABLE_SCHEMAS_COMPILE)$(DESTDIR)" || $(GLIB_COMPILE_SCHEMAS) $(gsettingsschemadir) | ||
1431 | 1705 | |||
1432 | 1706 | clean-gsettings-schemas: | ||
1433 | 1707 | rm -f $(gsettings_SCHEMAS:.xml=.valid) $(gsettings__enum_file) | ||
1434 | 1708 | |||
1435 | 1709 | ifdef gsettings_ENUM_NAMESPACE | ||
1436 | 1710 | $(gsettings__enum_file): $(gsettings_ENUM_FILES) | ||
1437 | 1711 | $(AM_V_GEN) glib-mkenums --comments '\''<!-- @comment@ -->'\'' --fhead "<schemalist>" --vhead " <@type@ id='\''$(gsettings_ENUM_NAMESPACE).@EnumName@'\''>" --vprod " <value nick='\''@valuenick@'\'' value='\''@valuenum@'\''/>" --vtail " </@type@>" --ftail "</schemalist>" [$]^ > [$]@.tmp && mv [$]@.tmp [$]@ | ||
1438 | 1712 | endif | ||
1439 | 1713 | ' | ||
1440 | 1714 | _GSETTINGS_SUBST(GSETTINGS_RULES) | ||
1441 | 1715 | ]) | ||
1442 | 1716 | |||
1443 | 1717 | dnl _GSETTINGS_SUBST(VARIABLE) | ||
1444 | 1718 | dnl Abstract macro to do either _AM_SUBST_NOTMAKE or AC_SUBST | ||
1445 | 1719 | AC_DEFUN([_GSETTINGS_SUBST], | ||
1446 | 1720 | [ | ||
1447 | 1721 | AC_SUBST([$1]) | ||
1448 | 1722 | m4_ifdef([_AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE([$1])]) | ||
1449 | 1723 | ] | ||
1450 | 1724 | ) | ||
1451 | 1725 | |||
1452 | 1726 | m4_include([m4/intltool.m4]) | 1727 | m4_include([m4/intltool.m4]) |
1453 | 1727 | 1728 | ||
1454 | === modified file 'configure' | |||
1455 | --- configure 2010-12-23 12:40:25 +0000 | |||
1456 | +++ configure 2011-01-10 17:05:40 +0000 | |||
1457 | @@ -1,6 +1,6 @@ | |||
1458 | 1 | #! /bin/sh | 1 | #! /bin/sh |
1459 | 2 | # Guess values for system-dependent variables and create Makefiles. | 2 | # Guess values for system-dependent variables and create Makefiles. |
1461 | 3 | # Generated by GNU Autoconf 2.67 for gsettings-desktop-schemas 0.1.3. | 3 | # Generated by GNU Autoconf 2.68 for gsettings-desktop-schemas 0.1.4. |
1462 | 4 | # | 4 | # |
1463 | 5 | # Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=gsettings-desktop-schemas>. | 5 | # Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=gsettings-desktop-schemas>. |
1464 | 6 | # | 6 | # |
1465 | @@ -91,6 +91,7 @@ | |||
1466 | 91 | IFS=" "" $as_nl" | 91 | IFS=" "" $as_nl" |
1467 | 92 | 92 | ||
1468 | 93 | # Find who we are. Look in the path if we contain no directory separator. | 93 | # Find who we are. Look in the path if we contain no directory separator. |
1469 | 94 | as_myself= | ||
1470 | 94 | case $0 in #(( | 95 | case $0 in #(( |
1471 | 95 | *[\\/]* ) as_myself=$0 ;; | 96 | *[\\/]* ) as_myself=$0 ;; |
1472 | 96 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 97 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
1473 | @@ -216,11 +217,18 @@ | |||
1474 | 216 | # We cannot yet assume a decent shell, so we have to provide a | 217 | # We cannot yet assume a decent shell, so we have to provide a |
1475 | 217 | # neutralization value for shells without unset; and this also | 218 | # neutralization value for shells without unset; and this also |
1476 | 218 | # works around shells that cannot unset nonexistent variables. | 219 | # works around shells that cannot unset nonexistent variables. |
1477 | 220 | # Preserve -v and -x to the replacement shell. | ||
1478 | 219 | BASH_ENV=/dev/null | 221 | BASH_ENV=/dev/null |
1479 | 220 | ENV=/dev/null | 222 | ENV=/dev/null |
1480 | 221 | (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV | 223 | (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV |
1481 | 222 | export CONFIG_SHELL | 224 | export CONFIG_SHELL |
1483 | 223 | exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} | 225 | case $- in # (((( |
1484 | 226 | *v*x* | *x*v* ) as_opts=-vx ;; | ||
1485 | 227 | *v* ) as_opts=-v ;; | ||
1486 | 228 | *x* ) as_opts=-x ;; | ||
1487 | 229 | * ) as_opts= ;; | ||
1488 | 230 | esac | ||
1489 | 231 | exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"} | ||
1490 | 224 | fi | 232 | fi |
1491 | 225 | 233 | ||
1492 | 226 | if test x$as_have_required = xno; then : | 234 | if test x$as_have_required = xno; then : |
1493 | @@ -553,8 +561,8 @@ | |||
1494 | 553 | # Identity of this package. | 561 | # Identity of this package. |
1495 | 554 | PACKAGE_NAME='gsettings-desktop-schemas' | 562 | PACKAGE_NAME='gsettings-desktop-schemas' |
1496 | 555 | PACKAGE_TARNAME='gsettings-desktop-schemas' | 563 | PACKAGE_TARNAME='gsettings-desktop-schemas' |
1499 | 556 | PACKAGE_VERSION='0.1.3' | 564 | PACKAGE_VERSION='0.1.4' |
1500 | 557 | PACKAGE_STRING='gsettings-desktop-schemas 0.1.3' | 565 | PACKAGE_STRING='gsettings-desktop-schemas 0.1.4' |
1501 | 558 | PACKAGE_BUGREPORT='http://bugzilla.gnome.org/enter_bug.cgi?product=gsettings-desktop-schemas' | 566 | PACKAGE_BUGREPORT='http://bugzilla.gnome.org/enter_bug.cgi?product=gsettings-desktop-schemas' |
1502 | 559 | PACKAGE_URL='' | 567 | PACKAGE_URL='' |
1503 | 560 | 568 | ||
1504 | @@ -755,7 +763,8 @@ | |||
1505 | 755 | LDFLAGS | 763 | LDFLAGS |
1506 | 756 | LIBS | 764 | LIBS |
1507 | 757 | CPPFLAGS | 765 | CPPFLAGS |
1509 | 758 | CPP' | 766 | CPP |
1510 | 767 | CPPFLAGS' | ||
1511 | 759 | 768 | ||
1512 | 760 | 769 | ||
1513 | 761 | # Initialize some variables set by options. | 770 | # Initialize some variables set by options. |
1514 | @@ -1160,7 +1169,7 @@ | |||
1515 | 1160 | $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 | 1169 | $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 |
1516 | 1161 | expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && | 1170 | expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && |
1517 | 1162 | $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 | 1171 | $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 |
1519 | 1163 | : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} | 1172 | : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" |
1520 | 1164 | ;; | 1173 | ;; |
1521 | 1165 | 1174 | ||
1522 | 1166 | esac | 1175 | esac |
1523 | @@ -1298,7 +1307,7 @@ | |||
1524 | 1298 | # Omit some internal or obsolete options to make the list less imposing. | 1307 | # Omit some internal or obsolete options to make the list less imposing. |
1525 | 1299 | # This message is too long to be a string in the A/UX 3.1 sh. | 1308 | # This message is too long to be a string in the A/UX 3.1 sh. |
1526 | 1300 | cat <<_ACEOF | 1309 | cat <<_ACEOF |
1528 | 1301 | \`configure' configures gsettings-desktop-schemas 0.1.3 to adapt to many kinds of systems. | 1310 | \`configure' configures gsettings-desktop-schemas 0.1.4 to adapt to many kinds of systems. |
1529 | 1302 | 1311 | ||
1530 | 1303 | Usage: $0 [OPTION]... [VAR=VALUE]... | 1312 | Usage: $0 [OPTION]... [VAR=VALUE]... |
1531 | 1304 | 1313 | ||
1532 | @@ -1365,7 +1374,7 @@ | |||
1533 | 1365 | 1374 | ||
1534 | 1366 | if test -n "$ac_init_help"; then | 1375 | if test -n "$ac_init_help"; then |
1535 | 1367 | case $ac_init_help in | 1376 | case $ac_init_help in |
1537 | 1368 | short | recursive ) echo "Configuration of gsettings-desktop-schemas 0.1.3:";; | 1377 | short | recursive ) echo "Configuration of gsettings-desktop-schemas 0.1.4:";; |
1538 | 1369 | esac | 1378 | esac |
1539 | 1370 | cat <<\_ACEOF | 1379 | cat <<\_ACEOF |
1540 | 1371 | 1380 | ||
1541 | @@ -1464,8 +1473,8 @@ | |||
1542 | 1464 | test -n "$ac_init_help" && exit $ac_status | 1473 | test -n "$ac_init_help" && exit $ac_status |
1543 | 1465 | if $ac_init_version; then | 1474 | if $ac_init_version; then |
1544 | 1466 | cat <<\_ACEOF | 1475 | cat <<\_ACEOF |
1547 | 1467 | gsettings-desktop-schemas configure 0.1.3 | 1476 | gsettings-desktop-schemas configure 0.1.4 |
1548 | 1468 | generated by GNU Autoconf 2.67 | 1477 | generated by GNU Autoconf 2.68 |
1549 | 1469 | 1478 | ||
1550 | 1470 | Copyright (C) 2010 Free Software Foundation, Inc. | 1479 | Copyright (C) 2010 Free Software Foundation, Inc. |
1551 | 1471 | This configure script is free software; the Free Software Foundation | 1480 | This configure script is free software; the Free Software Foundation |
1552 | @@ -1511,7 +1520,7 @@ | |||
1553 | 1511 | 1520 | ||
1554 | 1512 | ac_retval=1 | 1521 | ac_retval=1 |
1555 | 1513 | fi | 1522 | fi |
1557 | 1514 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} | 1523 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1558 | 1515 | as_fn_set_status $ac_retval | 1524 | as_fn_set_status $ac_retval |
1559 | 1516 | 1525 | ||
1560 | 1517 | } # ac_fn_c_try_compile | 1526 | } # ac_fn_c_try_compile |
1561 | @@ -1548,7 +1557,7 @@ | |||
1562 | 1548 | 1557 | ||
1563 | 1549 | ac_retval=1 | 1558 | ac_retval=1 |
1564 | 1550 | fi | 1559 | fi |
1566 | 1551 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} | 1560 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1567 | 1552 | as_fn_set_status $ac_retval | 1561 | as_fn_set_status $ac_retval |
1568 | 1553 | 1562 | ||
1569 | 1554 | } # ac_fn_c_try_cpp | 1563 | } # ac_fn_c_try_cpp |
1570 | @@ -1590,7 +1599,7 @@ | |||
1571 | 1590 | ac_retval=$ac_status | 1599 | ac_retval=$ac_status |
1572 | 1591 | fi | 1600 | fi |
1573 | 1592 | rm -rf conftest.dSYM conftest_ipa8_conftest.oo | 1601 | rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
1575 | 1593 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} | 1602 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1576 | 1594 | as_fn_set_status $ac_retval | 1603 | as_fn_set_status $ac_retval |
1577 | 1595 | 1604 | ||
1578 | 1596 | } # ac_fn_c_try_run | 1605 | } # ac_fn_c_try_run |
1579 | @@ -1603,10 +1612,10 @@ | |||
1580 | 1603 | ac_fn_c_check_header_mongrel () | 1612 | ac_fn_c_check_header_mongrel () |
1581 | 1604 | { | 1613 | { |
1582 | 1605 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | 1614 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1584 | 1606 | if eval "test \"\${$3+set}\"" = set; then : | 1615 | if eval \${$3+:} false; then : |
1585 | 1607 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 | 1616 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
1586 | 1608 | $as_echo_n "checking for $2... " >&6; } | 1617 | $as_echo_n "checking for $2... " >&6; } |
1588 | 1609 | if eval "test \"\${$3+set}\"" = set; then : | 1618 | if eval \${$3+:} false; then : |
1589 | 1610 | $as_echo_n "(cached) " >&6 | 1619 | $as_echo_n "(cached) " >&6 |
1590 | 1611 | fi | 1620 | fi |
1591 | 1612 | eval ac_res=\$$3 | 1621 | eval ac_res=\$$3 |
1592 | @@ -1667,13 +1676,13 @@ | |||
1593 | 1667 | $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} | 1676 | $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} |
1594 | 1668 | ( $as_echo "## ---------------------------------------------------------------------------------------- ## | 1677 | ( $as_echo "## ---------------------------------------------------------------------------------------- ## |
1595 | 1669 | ## Report this to http://bugzilla.gnome.org/enter_bug.cgi?product=gsettings-desktop-schemas ## | 1678 | ## Report this to http://bugzilla.gnome.org/enter_bug.cgi?product=gsettings-desktop-schemas ## |
1597 | 1670 | ## ---------------------------------------------------------------------------------------- ##"[] | 1679 | ## ---------------------------------------------------------------------------------------- ##" |
1598 | 1671 | ) | sed "s/^/$as_me: WARNING: /" >&2 | 1680 | ) | sed "s/^/$as_me: WARNING: /" >&2 |
1599 | 1672 | ;; | 1681 | ;; |
1600 | 1673 | esac | 1682 | esac |
1601 | 1674 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 | 1683 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
1602 | 1675 | $as_echo_n "checking for $2... " >&6; } | 1684 | $as_echo_n "checking for $2... " >&6; } |
1604 | 1676 | if eval "test \"\${$3+set}\"" = set; then : | 1685 | if eval \${$3+:} false; then : |
1605 | 1677 | $as_echo_n "(cached) " >&6 | 1686 | $as_echo_n "(cached) " >&6 |
1606 | 1678 | else | 1687 | else |
1607 | 1679 | eval "$3=\$ac_header_compiler" | 1688 | eval "$3=\$ac_header_compiler" |
1608 | @@ -1682,7 +1691,7 @@ | |||
1609 | 1682 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | 1691 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
1610 | 1683 | $as_echo "$ac_res" >&6; } | 1692 | $as_echo "$ac_res" >&6; } |
1611 | 1684 | fi | 1693 | fi |
1613 | 1685 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} | 1694 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1614 | 1686 | 1695 | ||
1615 | 1687 | } # ac_fn_c_check_header_mongrel | 1696 | } # ac_fn_c_check_header_mongrel |
1616 | 1688 | 1697 | ||
1617 | @@ -1695,7 +1704,7 @@ | |||
1618 | 1695 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | 1704 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1619 | 1696 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 | 1705 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
1620 | 1697 | $as_echo_n "checking for $2... " >&6; } | 1706 | $as_echo_n "checking for $2... " >&6; } |
1622 | 1698 | if eval "test \"\${$3+set}\"" = set; then : | 1707 | if eval \${$3+:} false; then : |
1623 | 1699 | $as_echo_n "(cached) " >&6 | 1708 | $as_echo_n "(cached) " >&6 |
1624 | 1700 | else | 1709 | else |
1625 | 1701 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 1710 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1626 | @@ -1713,7 +1722,7 @@ | |||
1627 | 1713 | eval ac_res=\$$3 | 1722 | eval ac_res=\$$3 |
1628 | 1714 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | 1723 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
1629 | 1715 | $as_echo "$ac_res" >&6; } | 1724 | $as_echo "$ac_res" >&6; } |
1631 | 1716 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} | 1725 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1632 | 1717 | 1726 | ||
1633 | 1718 | } # ac_fn_c_check_header_compile | 1727 | } # ac_fn_c_check_header_compile |
1634 | 1719 | 1728 | ||
1635 | @@ -1758,7 +1767,7 @@ | |||
1636 | 1758 | # interfere with the next link command; also delete a directory that is | 1767 | # interfere with the next link command; also delete a directory that is |
1637 | 1759 | # left behind by Apple's compiler. We do this before executing the actions. | 1768 | # left behind by Apple's compiler. We do this before executing the actions. |
1638 | 1760 | rm -rf conftest.dSYM conftest_ipa8_conftest.oo | 1769 | rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
1640 | 1761 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} | 1770 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1641 | 1762 | as_fn_set_status $ac_retval | 1771 | as_fn_set_status $ac_retval |
1642 | 1763 | 1772 | ||
1643 | 1764 | } # ac_fn_c_try_link | 1773 | } # ac_fn_c_try_link |
1644 | @@ -1771,7 +1780,7 @@ | |||
1645 | 1771 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | 1780 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1646 | 1772 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 | 1781 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
1647 | 1773 | $as_echo_n "checking for $2... " >&6; } | 1782 | $as_echo_n "checking for $2... " >&6; } |
1649 | 1774 | if eval "test \"\${$3+set}\"" = set; then : | 1783 | if eval \${$3+:} false; then : |
1650 | 1775 | $as_echo_n "(cached) " >&6 | 1784 | $as_echo_n "(cached) " >&6 |
1651 | 1776 | else | 1785 | else |
1652 | 1777 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 1786 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1653 | @@ -1826,15 +1835,15 @@ | |||
1654 | 1826 | eval ac_res=\$$3 | 1835 | eval ac_res=\$$3 |
1655 | 1827 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | 1836 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
1656 | 1828 | $as_echo "$ac_res" >&6; } | 1837 | $as_echo "$ac_res" >&6; } |
1658 | 1829 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} | 1838 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1659 | 1830 | 1839 | ||
1660 | 1831 | } # ac_fn_c_check_func | 1840 | } # ac_fn_c_check_func |
1661 | 1832 | cat >config.log <<_ACEOF | 1841 | cat >config.log <<_ACEOF |
1662 | 1833 | This file contains any messages produced by compilers while | 1842 | This file contains any messages produced by compilers while |
1663 | 1834 | running configure, to aid debugging if configure makes a mistake. | 1843 | running configure, to aid debugging if configure makes a mistake. |
1664 | 1835 | 1844 | ||
1667 | 1836 | It was created by gsettings-desktop-schemas $as_me 0.1.3, which was | 1845 | It was created by gsettings-desktop-schemas $as_me 0.1.4, which was |
1668 | 1837 | generated by GNU Autoconf 2.67. Invocation command line was | 1846 | generated by GNU Autoconf 2.68. Invocation command line was |
1669 | 1838 | 1847 | ||
1670 | 1839 | $ $0 $@ | 1848 | $ $0 $@ |
1671 | 1840 | 1849 | ||
1672 | @@ -1946,7 +1955,7 @@ | |||
1673 | 1946 | 1955 | ||
1674 | 1947 | $as_echo "## ---------------- ## | 1956 | $as_echo "## ---------------- ## |
1675 | 1948 | ## Cache variables. ## | 1957 | ## Cache variables. ## |
1677 | 1949 | ## ---------------- ##"[] | 1958 | ## ---------------- ##" |
1678 | 1950 | echo | 1959 | echo |
1679 | 1951 | # The following way of writing the cache mishandles newlines in values, | 1960 | # The following way of writing the cache mishandles newlines in values, |
1680 | 1952 | ( | 1961 | ( |
1681 | @@ -1982,7 +1991,7 @@ | |||
1682 | 1982 | 1991 | ||
1683 | 1983 | $as_echo "## ----------------- ## | 1992 | $as_echo "## ----------------- ## |
1684 | 1984 | ## Output variables. ## | 1993 | ## Output variables. ## |
1686 | 1985 | ## ----------------- ##"[] | 1994 | ## ----------------- ##" |
1687 | 1986 | echo | 1995 | echo |
1688 | 1987 | for ac_var in $ac_subst_vars | 1996 | for ac_var in $ac_subst_vars |
1689 | 1988 | do | 1997 | do |
1690 | @@ -1997,7 +2006,7 @@ | |||
1691 | 1997 | if test -n "$ac_subst_files"; then | 2006 | if test -n "$ac_subst_files"; then |
1692 | 1998 | $as_echo "## ------------------- ## | 2007 | $as_echo "## ------------------- ## |
1693 | 1999 | ## File substitutions. ## | 2008 | ## File substitutions. ## |
1695 | 2000 | ## ------------------- ##"[] | 2009 | ## ------------------- ##" |
1696 | 2001 | echo | 2010 | echo |
1697 | 2002 | for ac_var in $ac_subst_files | 2011 | for ac_var in $ac_subst_files |
1698 | 2003 | do | 2012 | do |
1699 | @@ -2013,7 +2022,7 @@ | |||
1700 | 2013 | if test -s confdefs.h; then | 2022 | if test -s confdefs.h; then |
1701 | 2014 | $as_echo "## ----------- ## | 2023 | $as_echo "## ----------- ## |
1702 | 2015 | ## confdefs.h. ## | 2024 | ## confdefs.h. ## |
1704 | 2016 | ## ----------- ##"[] | 2025 | ## ----------- ##" |
1705 | 2017 | echo | 2026 | echo |
1706 | 2018 | cat confdefs.h | 2027 | cat confdefs.h |
1707 | 2019 | echo | 2028 | echo |
1708 | @@ -2230,7 +2239,7 @@ | |||
1709 | 2230 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 | 2239 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 |
1710 | 2231 | $as_echo_n "checking for a BSD-compatible install... " >&6; } | 2240 | $as_echo_n "checking for a BSD-compatible install... " >&6; } |
1711 | 2232 | if test -z "$INSTALL"; then | 2241 | if test -z "$INSTALL"; then |
1713 | 2233 | if test "${ac_cv_path_install+set}" = set; then : | 2242 | if ${ac_cv_path_install+:} false; then : |
1714 | 2234 | $as_echo_n "(cached) " >&6 | 2243 | $as_echo_n "(cached) " >&6 |
1715 | 2235 | else | 2244 | else |
1716 | 2236 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 2245 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
1717 | @@ -2407,7 +2416,7 @@ | |||
1718 | 2407 | set dummy ${ac_tool_prefix}strip; ac_word=$2 | 2416 | set dummy ${ac_tool_prefix}strip; ac_word=$2 |
1719 | 2408 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 2417 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
1720 | 2409 | $as_echo_n "checking for $ac_word... " >&6; } | 2418 | $as_echo_n "checking for $ac_word... " >&6; } |
1722 | 2410 | if test "${ac_cv_prog_STRIP+set}" = set; then : | 2419 | if ${ac_cv_prog_STRIP+:} false; then : |
1723 | 2411 | $as_echo_n "(cached) " >&6 | 2420 | $as_echo_n "(cached) " >&6 |
1724 | 2412 | else | 2421 | else |
1725 | 2413 | if test -n "$STRIP"; then | 2422 | if test -n "$STRIP"; then |
1726 | @@ -2447,7 +2456,7 @@ | |||
1727 | 2447 | set dummy strip; ac_word=$2 | 2456 | set dummy strip; ac_word=$2 |
1728 | 2448 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 2457 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
1729 | 2449 | $as_echo_n "checking for $ac_word... " >&6; } | 2458 | $as_echo_n "checking for $ac_word... " >&6; } |
1731 | 2450 | if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then : | 2459 | if ${ac_cv_prog_ac_ct_STRIP+:} false; then : |
1732 | 2451 | $as_echo_n "(cached) " >&6 | 2460 | $as_echo_n "(cached) " >&6 |
1733 | 2452 | else | 2461 | else |
1734 | 2453 | if test -n "$ac_ct_STRIP"; then | 2462 | if test -n "$ac_ct_STRIP"; then |
1735 | @@ -2500,7 +2509,7 @@ | |||
1736 | 2500 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 | 2509 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 |
1737 | 2501 | $as_echo_n "checking for a thread-safe mkdir -p... " >&6; } | 2510 | $as_echo_n "checking for a thread-safe mkdir -p... " >&6; } |
1738 | 2502 | if test -z "$MKDIR_P"; then | 2511 | if test -z "$MKDIR_P"; then |
1740 | 2503 | if test "${ac_cv_path_mkdir+set}" = set; then : | 2512 | if ${ac_cv_path_mkdir+:} false; then : |
1741 | 2504 | $as_echo_n "(cached) " >&6 | 2513 | $as_echo_n "(cached) " >&6 |
1742 | 2505 | else | 2514 | else |
1743 | 2506 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 2515 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
1744 | @@ -2551,7 +2560,7 @@ | |||
1745 | 2551 | set dummy $ac_prog; ac_word=$2 | 2560 | set dummy $ac_prog; ac_word=$2 |
1746 | 2552 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 2561 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
1747 | 2553 | $as_echo_n "checking for $ac_word... " >&6; } | 2562 | $as_echo_n "checking for $ac_word... " >&6; } |
1749 | 2554 | if test "${ac_cv_prog_AWK+set}" = set; then : | 2563 | if ${ac_cv_prog_AWK+:} false; then : |
1750 | 2555 | $as_echo_n "(cached) " >&6 | 2564 | $as_echo_n "(cached) " >&6 |
1751 | 2556 | else | 2565 | else |
1752 | 2557 | if test -n "$AWK"; then | 2566 | if test -n "$AWK"; then |
1753 | @@ -2591,7 +2600,7 @@ | |||
1754 | 2591 | $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } | 2600 | $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } |
1755 | 2592 | set x ${MAKE-make} | 2601 | set x ${MAKE-make} |
1756 | 2593 | ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` | 2602 | ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` |
1758 | 2594 | if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then : | 2603 | if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : |
1759 | 2595 | $as_echo_n "(cached) " >&6 | 2604 | $as_echo_n "(cached) " >&6 |
1760 | 2596 | else | 2605 | else |
1761 | 2597 | cat >conftest.make <<\_ACEOF | 2606 | cat >conftest.make <<\_ACEOF |
1762 | @@ -2649,7 +2658,7 @@ | |||
1763 | 2649 | 2658 | ||
1764 | 2650 | # Define the identity of the package. | 2659 | # Define the identity of the package. |
1765 | 2651 | PACKAGE='gsettings-desktop-schemas' | 2660 | PACKAGE='gsettings-desktop-schemas' |
1767 | 2652 | VERSION='0.1.3' | 2661 | VERSION='0.1.4' |
1768 | 2653 | 2662 | ||
1769 | 2654 | 2663 | ||
1770 | 2655 | cat >>confdefs.h <<_ACEOF | 2664 | cat >>confdefs.h <<_ACEOF |
1771 | @@ -2732,7 +2741,7 @@ | |||
1772 | 2732 | 2741 | ||
1773 | 2733 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 | 2742 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 |
1774 | 2734 | $as_echo_n "checking for a sed that does not truncate output... " >&6; } | 2743 | $as_echo_n "checking for a sed that does not truncate output... " >&6; } |
1776 | 2735 | if test "${ac_cv_path_SED+set}" = set; then : | 2744 | if ${ac_cv_path_SED+:} false; then : |
1777 | 2736 | $as_echo_n "(cached) " >&6 | 2745 | $as_echo_n "(cached) " >&6 |
1778 | 2737 | else | 2746 | else |
1779 | 2738 | ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ | 2747 | ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ |
1780 | @@ -2824,7 +2833,7 @@ | |||
1781 | 2824 | set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 | 2833 | set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 |
1782 | 2825 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 2834 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
1783 | 2826 | $as_echo_n "checking for $ac_word... " >&6; } | 2835 | $as_echo_n "checking for $ac_word... " >&6; } |
1785 | 2827 | if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : | 2836 | if ${ac_cv_path_PKG_CONFIG+:} false; then : |
1786 | 2828 | $as_echo_n "(cached) " >&6 | 2837 | $as_echo_n "(cached) " >&6 |
1787 | 2829 | else | 2838 | else |
1788 | 2830 | case $PKG_CONFIG in | 2839 | case $PKG_CONFIG in |
1789 | @@ -2867,7 +2876,7 @@ | |||
1790 | 2867 | set dummy pkg-config; ac_word=$2 | 2876 | set dummy pkg-config; ac_word=$2 |
1791 | 2868 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 2877 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
1792 | 2869 | $as_echo_n "checking for $ac_word... " >&6; } | 2878 | $as_echo_n "checking for $ac_word... " >&6; } |
1794 | 2870 | if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then : | 2879 | if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then : |
1795 | 2871 | $as_echo_n "(cached) " >&6 | 2880 | $as_echo_n "(cached) " >&6 |
1796 | 2872 | else | 2881 | else |
1797 | 2873 | case $ac_pt_PKG_CONFIG in | 2882 | case $ac_pt_PKG_CONFIG in |
1798 | @@ -2940,7 +2949,7 @@ | |||
1799 | 2940 | set dummy glib-compile-schemas; ac_word=$2 | 2949 | set dummy glib-compile-schemas; ac_word=$2 |
1800 | 2941 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 2950 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
1801 | 2942 | $as_echo_n "checking for $ac_word... " >&6; } | 2951 | $as_echo_n "checking for $ac_word... " >&6; } |
1803 | 2943 | if test "${ac_cv_path_GLIB_COMPILE_SCHEMAS+set}" = set; then : | 2952 | if ${ac_cv_path_GLIB_COMPILE_SCHEMAS+:} false; then : |
1804 | 2944 | $as_echo_n "(cached) " >&6 | 2953 | $as_echo_n "(cached) " >&6 |
1805 | 2945 | else | 2954 | else |
1806 | 2946 | case $GLIB_COMPILE_SCHEMAS in | 2955 | case $GLIB_COMPILE_SCHEMAS in |
1807 | @@ -3106,7 +3115,7 @@ | |||
1808 | 3106 | set dummy ${ac_tool_prefix}gcc; ac_word=$2 | 3115 | set dummy ${ac_tool_prefix}gcc; ac_word=$2 |
1809 | 3107 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 3116 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
1810 | 3108 | $as_echo_n "checking for $ac_word... " >&6; } | 3117 | $as_echo_n "checking for $ac_word... " >&6; } |
1812 | 3109 | if test "${ac_cv_prog_CC+set}" = set; then : | 3118 | if ${ac_cv_prog_CC+:} false; then : |
1813 | 3110 | $as_echo_n "(cached) " >&6 | 3119 | $as_echo_n "(cached) " >&6 |
1814 | 3111 | else | 3120 | else |
1815 | 3112 | if test -n "$CC"; then | 3121 | if test -n "$CC"; then |
1816 | @@ -3146,7 +3155,7 @@ | |||
1817 | 3146 | set dummy gcc; ac_word=$2 | 3155 | set dummy gcc; ac_word=$2 |
1818 | 3147 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 3156 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
1819 | 3148 | $as_echo_n "checking for $ac_word... " >&6; } | 3157 | $as_echo_n "checking for $ac_word... " >&6; } |
1821 | 3149 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : | 3158 | if ${ac_cv_prog_ac_ct_CC+:} false; then : |
1822 | 3150 | $as_echo_n "(cached) " >&6 | 3159 | $as_echo_n "(cached) " >&6 |
1823 | 3151 | else | 3160 | else |
1824 | 3152 | if test -n "$ac_ct_CC"; then | 3161 | if test -n "$ac_ct_CC"; then |
1825 | @@ -3199,7 +3208,7 @@ | |||
1826 | 3199 | set dummy ${ac_tool_prefix}cc; ac_word=$2 | 3208 | set dummy ${ac_tool_prefix}cc; ac_word=$2 |
1827 | 3200 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 3209 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
1828 | 3201 | $as_echo_n "checking for $ac_word... " >&6; } | 3210 | $as_echo_n "checking for $ac_word... " >&6; } |
1830 | 3202 | if test "${ac_cv_prog_CC+set}" = set; then : | 3211 | if ${ac_cv_prog_CC+:} false; then : |
1831 | 3203 | $as_echo_n "(cached) " >&6 | 3212 | $as_echo_n "(cached) " >&6 |
1832 | 3204 | else | 3213 | else |
1833 | 3205 | if test -n "$CC"; then | 3214 | if test -n "$CC"; then |
1834 | @@ -3239,7 +3248,7 @@ | |||
1835 | 3239 | set dummy cc; ac_word=$2 | 3248 | set dummy cc; ac_word=$2 |
1836 | 3240 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 3249 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
1837 | 3241 | $as_echo_n "checking for $ac_word... " >&6; } | 3250 | $as_echo_n "checking for $ac_word... " >&6; } |
1839 | 3242 | if test "${ac_cv_prog_CC+set}" = set; then : | 3251 | if ${ac_cv_prog_CC+:} false; then : |
1840 | 3243 | $as_echo_n "(cached) " >&6 | 3252 | $as_echo_n "(cached) " >&6 |
1841 | 3244 | else | 3253 | else |
1842 | 3245 | if test -n "$CC"; then | 3254 | if test -n "$CC"; then |
1843 | @@ -3298,7 +3307,7 @@ | |||
1844 | 3298 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 | 3307 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
1845 | 3299 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 3308 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
1846 | 3300 | $as_echo_n "checking for $ac_word... " >&6; } | 3309 | $as_echo_n "checking for $ac_word... " >&6; } |
1848 | 3301 | if test "${ac_cv_prog_CC+set}" = set; then : | 3310 | if ${ac_cv_prog_CC+:} false; then : |
1849 | 3302 | $as_echo_n "(cached) " >&6 | 3311 | $as_echo_n "(cached) " >&6 |
1850 | 3303 | else | 3312 | else |
1851 | 3304 | if test -n "$CC"; then | 3313 | if test -n "$CC"; then |
1852 | @@ -3342,7 +3351,7 @@ | |||
1853 | 3342 | set dummy $ac_prog; ac_word=$2 | 3351 | set dummy $ac_prog; ac_word=$2 |
1854 | 3343 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 3352 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
1855 | 3344 | $as_echo_n "checking for $ac_word... " >&6; } | 3353 | $as_echo_n "checking for $ac_word... " >&6; } |
1857 | 3345 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : | 3354 | if ${ac_cv_prog_ac_ct_CC+:} false; then : |
1858 | 3346 | $as_echo_n "(cached) " >&6 | 3355 | $as_echo_n "(cached) " >&6 |
1859 | 3347 | else | 3356 | else |
1860 | 3348 | if test -n "$ac_ct_CC"; then | 3357 | if test -n "$ac_ct_CC"; then |
1861 | @@ -3625,7 +3634,7 @@ | |||
1862 | 3625 | ac_clean_files=$ac_clean_files_save | 3634 | ac_clean_files=$ac_clean_files_save |
1863 | 3626 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 | 3635 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 |
1864 | 3627 | $as_echo_n "checking for suffix of object files... " >&6; } | 3636 | $as_echo_n "checking for suffix of object files... " >&6; } |
1866 | 3628 | if test "${ac_cv_objext+set}" = set; then : | 3637 | if ${ac_cv_objext+:} false; then : |
1867 | 3629 | $as_echo_n "(cached) " >&6 | 3638 | $as_echo_n "(cached) " >&6 |
1868 | 3630 | else | 3639 | else |
1869 | 3631 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 3640 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1870 | @@ -3676,7 +3685,7 @@ | |||
1871 | 3676 | ac_objext=$OBJEXT | 3685 | ac_objext=$OBJEXT |
1872 | 3677 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 | 3686 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 |
1873 | 3678 | $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } | 3687 | $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } |
1875 | 3679 | if test "${ac_cv_c_compiler_gnu+set}" = set; then : | 3688 | if ${ac_cv_c_compiler_gnu+:} false; then : |
1876 | 3680 | $as_echo_n "(cached) " >&6 | 3689 | $as_echo_n "(cached) " >&6 |
1877 | 3681 | else | 3690 | else |
1878 | 3682 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 3691 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1879 | @@ -3713,7 +3722,7 @@ | |||
1880 | 3713 | ac_save_CFLAGS=$CFLAGS | 3722 | ac_save_CFLAGS=$CFLAGS |
1881 | 3714 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 | 3723 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 |
1882 | 3715 | $as_echo_n "checking whether $CC accepts -g... " >&6; } | 3724 | $as_echo_n "checking whether $CC accepts -g... " >&6; } |
1884 | 3716 | if test "${ac_cv_prog_cc_g+set}" = set; then : | 3725 | if ${ac_cv_prog_cc_g+:} false; then : |
1885 | 3717 | $as_echo_n "(cached) " >&6 | 3726 | $as_echo_n "(cached) " >&6 |
1886 | 3718 | else | 3727 | else |
1887 | 3719 | ac_save_c_werror_flag=$ac_c_werror_flag | 3728 | ac_save_c_werror_flag=$ac_c_werror_flag |
1888 | @@ -3791,7 +3800,7 @@ | |||
1889 | 3791 | fi | 3800 | fi |
1890 | 3792 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 | 3801 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 |
1891 | 3793 | $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } | 3802 | $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } |
1893 | 3794 | if test "${ac_cv_prog_cc_c89+set}" = set; then : | 3803 | if ${ac_cv_prog_cc_c89+:} false; then : |
1894 | 3795 | $as_echo_n "(cached) " >&6 | 3804 | $as_echo_n "(cached) " >&6 |
1895 | 3796 | else | 3805 | else |
1896 | 3797 | ac_cv_prog_cc_c89=no | 3806 | ac_cv_prog_cc_c89=no |
1897 | @@ -3890,7 +3899,7 @@ | |||
1898 | 3890 | 3899 | ||
1899 | 3891 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 | 3900 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 |
1900 | 3892 | $as_echo_n "checking dependency style of $depcc... " >&6; } | 3901 | $as_echo_n "checking dependency style of $depcc... " >&6; } |
1902 | 3893 | if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then : | 3902 | if ${am_cv_CC_dependencies_compiler_type+:} false; then : |
1903 | 3894 | $as_echo_n "(cached) " >&6 | 3903 | $as_echo_n "(cached) " >&6 |
1904 | 3895 | else | 3904 | else |
1905 | 3896 | if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then | 3905 | if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then |
1906 | @@ -4026,7 +4035,7 @@ | |||
1907 | 4026 | CPP= | 4035 | CPP= |
1908 | 4027 | fi | 4036 | fi |
1909 | 4028 | if test -z "$CPP"; then | 4037 | if test -z "$CPP"; then |
1911 | 4029 | if test "${ac_cv_prog_CPP+set}" = set; then : | 4038 | if ${ac_cv_prog_CPP+:} false; then : |
1912 | 4030 | $as_echo_n "(cached) " >&6 | 4039 | $as_echo_n "(cached) " >&6 |
1913 | 4031 | else | 4040 | else |
1914 | 4032 | # Double quotes because CPP needs to be expanded | 4041 | # Double quotes because CPP needs to be expanded |
1915 | @@ -4154,7 +4163,7 @@ | |||
1916 | 4154 | 4163 | ||
1917 | 4155 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 | 4164 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 |
1918 | 4156 | $as_echo_n "checking for grep that handles long lines and -e... " >&6; } | 4165 | $as_echo_n "checking for grep that handles long lines and -e... " >&6; } |
1920 | 4157 | if test "${ac_cv_path_GREP+set}" = set; then : | 4166 | if ${ac_cv_path_GREP+:} false; then : |
1921 | 4158 | $as_echo_n "(cached) " >&6 | 4167 | $as_echo_n "(cached) " >&6 |
1922 | 4159 | else | 4168 | else |
1923 | 4160 | if test -z "$GREP"; then | 4169 | if test -z "$GREP"; then |
1924 | @@ -4217,7 +4226,7 @@ | |||
1925 | 4217 | 4226 | ||
1926 | 4218 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 | 4227 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 |
1927 | 4219 | $as_echo_n "checking for egrep... " >&6; } | 4228 | $as_echo_n "checking for egrep... " >&6; } |
1929 | 4220 | if test "${ac_cv_path_EGREP+set}" = set; then : | 4229 | if ${ac_cv_path_EGREP+:} false; then : |
1930 | 4221 | $as_echo_n "(cached) " >&6 | 4230 | $as_echo_n "(cached) " >&6 |
1931 | 4222 | else | 4231 | else |
1932 | 4223 | if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 | 4232 | if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 |
1933 | @@ -4284,7 +4293,7 @@ | |||
1934 | 4284 | 4293 | ||
1935 | 4285 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 | 4294 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 |
1936 | 4286 | $as_echo_n "checking for ANSI C header files... " >&6; } | 4295 | $as_echo_n "checking for ANSI C header files... " >&6; } |
1938 | 4287 | if test "${ac_cv_header_stdc+set}" = set; then : | 4296 | if ${ac_cv_header_stdc+:} false; then : |
1939 | 4288 | $as_echo_n "(cached) " >&6 | 4297 | $as_echo_n "(cached) " >&6 |
1940 | 4289 | else | 4298 | else |
1941 | 4290 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 4299 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1942 | @@ -4415,7 +4424,7 @@ | |||
1943 | 4415 | for ac_header in locale.h | 4424 | for ac_header in locale.h |
1944 | 4416 | do : | 4425 | do : |
1945 | 4417 | ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default" | 4426 | ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default" |
1947 | 4418 | if test "x$ac_cv_header_locale_h" = x""yes; then : | 4427 | if test "x$ac_cv_header_locale_h" = xyes; then : |
1948 | 4419 | cat >>confdefs.h <<_ACEOF | 4428 | cat >>confdefs.h <<_ACEOF |
1949 | 4420 | #define HAVE_LOCALE_H 1 | 4429 | #define HAVE_LOCALE_H 1 |
1950 | 4421 | _ACEOF | 4430 | _ACEOF |
1951 | @@ -4427,7 +4436,7 @@ | |||
1952 | 4427 | if test $ac_cv_header_locale_h = yes; then | 4436 | if test $ac_cv_header_locale_h = yes; then |
1953 | 4428 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5 | 4437 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5 |
1954 | 4429 | $as_echo_n "checking for LC_MESSAGES... " >&6; } | 4438 | $as_echo_n "checking for LC_MESSAGES... " >&6; } |
1956 | 4430 | if test "${am_cv_val_LC_MESSAGES+set}" = set; then : | 4439 | if ${am_cv_val_LC_MESSAGES+:} false; then : |
1957 | 4431 | $as_echo_n "(cached) " >&6 | 4440 | $as_echo_n "(cached) " >&6 |
1958 | 4432 | else | 4441 | else |
1959 | 4433 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 4442 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1960 | @@ -4467,7 +4476,7 @@ | |||
1961 | 4467 | INTLLIBS= | 4476 | INTLLIBS= |
1962 | 4468 | 4477 | ||
1963 | 4469 | ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default" | 4478 | ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default" |
1965 | 4470 | if test "x$ac_cv_header_libintl_h" = x""yes; then : | 4479 | if test "x$ac_cv_header_libintl_h" = xyes; then : |
1966 | 4471 | gt_cv_func_dgettext_libintl="no" | 4480 | gt_cv_func_dgettext_libintl="no" |
1967 | 4472 | libintl_extra_libs="" | 4481 | libintl_extra_libs="" |
1968 | 4473 | 4482 | ||
1969 | @@ -4476,7 +4485,7 @@ | |||
1970 | 4476 | # | 4485 | # |
1971 | 4477 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in libc" >&5 | 4486 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in libc" >&5 |
1972 | 4478 | $as_echo_n "checking for ngettext in libc... " >&6; } | 4487 | $as_echo_n "checking for ngettext in libc... " >&6; } |
1974 | 4479 | if test "${gt_cv_func_ngettext_libc+set}" = set; then : | 4488 | if ${gt_cv_func_ngettext_libc+:} false; then : |
1975 | 4480 | $as_echo_n "(cached) " >&6 | 4489 | $as_echo_n "(cached) " >&6 |
1976 | 4481 | else | 4490 | else |
1977 | 4482 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 4491 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1978 | @@ -4507,7 +4516,7 @@ | |||
1979 | 4507 | if test "$gt_cv_func_ngettext_libc" = "yes" ; then | 4516 | if test "$gt_cv_func_ngettext_libc" = "yes" ; then |
1980 | 4508 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in libc" >&5 | 4517 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in libc" >&5 |
1981 | 4509 | $as_echo_n "checking for dgettext in libc... " >&6; } | 4518 | $as_echo_n "checking for dgettext in libc... " >&6; } |
1983 | 4510 | if test "${gt_cv_func_dgettext_libc+set}" = set; then : | 4519 | if ${gt_cv_func_dgettext_libc+:} false; then : |
1984 | 4511 | $as_echo_n "(cached) " >&6 | 4520 | $as_echo_n "(cached) " >&6 |
1985 | 4512 | else | 4521 | else |
1986 | 4513 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 4522 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1987 | @@ -4540,7 +4549,7 @@ | |||
1988 | 4540 | for ac_func in bind_textdomain_codeset | 4549 | for ac_func in bind_textdomain_codeset |
1989 | 4541 | do : | 4550 | do : |
1990 | 4542 | ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset" | 4551 | ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset" |
1992 | 4543 | if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then : | 4552 | if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then : |
1993 | 4544 | cat >>confdefs.h <<_ACEOF | 4553 | cat >>confdefs.h <<_ACEOF |
1994 | 4545 | #define HAVE_BIND_TEXTDOMAIN_CODESET 1 | 4554 | #define HAVE_BIND_TEXTDOMAIN_CODESET 1 |
1995 | 4546 | _ACEOF | 4555 | _ACEOF |
1996 | @@ -4559,7 +4568,7 @@ | |||
1997 | 4559 | 4568 | ||
1998 | 4560 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bindtextdomain in -lintl" >&5 | 4569 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bindtextdomain in -lintl" >&5 |
1999 | 4561 | $as_echo_n "checking for bindtextdomain in -lintl... " >&6; } | 4570 | $as_echo_n "checking for bindtextdomain in -lintl... " >&6; } |
2001 | 4562 | if test "${ac_cv_lib_intl_bindtextdomain+set}" = set; then : | 4571 | if ${ac_cv_lib_intl_bindtextdomain+:} false; then : |
2002 | 4563 | $as_echo_n "(cached) " >&6 | 4572 | $as_echo_n "(cached) " >&6 |
2003 | 4564 | else | 4573 | else |
2004 | 4565 | ac_check_lib_save_LIBS=$LIBS | 4574 | ac_check_lib_save_LIBS=$LIBS |
2005 | @@ -4593,10 +4602,10 @@ | |||
2006 | 4593 | fi | 4602 | fi |
2007 | 4594 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_bindtextdomain" >&5 | 4603 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_bindtextdomain" >&5 |
2008 | 4595 | $as_echo "$ac_cv_lib_intl_bindtextdomain" >&6; } | 4604 | $as_echo "$ac_cv_lib_intl_bindtextdomain" >&6; } |
2010 | 4596 | if test "x$ac_cv_lib_intl_bindtextdomain" = x""yes; then : | 4605 | if test "x$ac_cv_lib_intl_bindtextdomain" = xyes; then : |
2011 | 4597 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5 | 4606 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5 |
2012 | 4598 | $as_echo_n "checking for ngettext in -lintl... " >&6; } | 4607 | $as_echo_n "checking for ngettext in -lintl... " >&6; } |
2014 | 4599 | if test "${ac_cv_lib_intl_ngettext+set}" = set; then : | 4608 | if ${ac_cv_lib_intl_ngettext+:} false; then : |
2015 | 4600 | $as_echo_n "(cached) " >&6 | 4609 | $as_echo_n "(cached) " >&6 |
2016 | 4601 | else | 4610 | else |
2017 | 4602 | ac_check_lib_save_LIBS=$LIBS | 4611 | ac_check_lib_save_LIBS=$LIBS |
2018 | @@ -4630,10 +4639,10 @@ | |||
2019 | 4630 | fi | 4639 | fi |
2020 | 4631 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5 | 4640 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5 |
2021 | 4632 | $as_echo "$ac_cv_lib_intl_ngettext" >&6; } | 4641 | $as_echo "$ac_cv_lib_intl_ngettext" >&6; } |
2023 | 4633 | if test "x$ac_cv_lib_intl_ngettext" = x""yes; then : | 4642 | if test "x$ac_cv_lib_intl_ngettext" = xyes; then : |
2024 | 4634 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in -lintl" >&5 | 4643 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in -lintl" >&5 |
2025 | 4635 | $as_echo_n "checking for dgettext in -lintl... " >&6; } | 4644 | $as_echo_n "checking for dgettext in -lintl... " >&6; } |
2027 | 4636 | if test "${ac_cv_lib_intl_dgettext+set}" = set; then : | 4645 | if ${ac_cv_lib_intl_dgettext+:} false; then : |
2028 | 4637 | $as_echo_n "(cached) " >&6 | 4646 | $as_echo_n "(cached) " >&6 |
2029 | 4638 | else | 4647 | else |
2030 | 4639 | ac_check_lib_save_LIBS=$LIBS | 4648 | ac_check_lib_save_LIBS=$LIBS |
2031 | @@ -4667,7 +4676,7 @@ | |||
2032 | 4667 | fi | 4676 | fi |
2033 | 4668 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dgettext" >&5 | 4677 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dgettext" >&5 |
2034 | 4669 | $as_echo "$ac_cv_lib_intl_dgettext" >&6; } | 4678 | $as_echo "$ac_cv_lib_intl_dgettext" >&6; } |
2036 | 4670 | if test "x$ac_cv_lib_intl_dgettext" = x""yes; then : | 4679 | if test "x$ac_cv_lib_intl_dgettext" = xyes; then : |
2037 | 4671 | gt_cv_func_dgettext_libintl=yes | 4680 | gt_cv_func_dgettext_libintl=yes |
2038 | 4672 | fi | 4681 | fi |
2039 | 4673 | 4682 | ||
2040 | @@ -4683,7 +4692,7 @@ | |||
2041 | 4683 | $as_echo "" >&6; } | 4692 | $as_echo "" >&6; } |
2042 | 4684 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5 | 4693 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5 |
2043 | 4685 | $as_echo_n "checking for ngettext in -lintl... " >&6; } | 4694 | $as_echo_n "checking for ngettext in -lintl... " >&6; } |
2045 | 4686 | if test "${ac_cv_lib_intl_ngettext+set}" = set; then : | 4695 | if ${ac_cv_lib_intl_ngettext+:} false; then : |
2046 | 4687 | $as_echo_n "(cached) " >&6 | 4696 | $as_echo_n "(cached) " >&6 |
2047 | 4688 | else | 4697 | else |
2048 | 4689 | ac_check_lib_save_LIBS=$LIBS | 4698 | ac_check_lib_save_LIBS=$LIBS |
2049 | @@ -4717,10 +4726,10 @@ | |||
2050 | 4717 | fi | 4726 | fi |
2051 | 4718 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5 | 4727 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5 |
2052 | 4719 | $as_echo "$ac_cv_lib_intl_ngettext" >&6; } | 4728 | $as_echo "$ac_cv_lib_intl_ngettext" >&6; } |
2054 | 4720 | if test "x$ac_cv_lib_intl_ngettext" = x""yes; then : | 4729 | if test "x$ac_cv_lib_intl_ngettext" = xyes; then : |
2055 | 4721 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dcgettext in -lintl" >&5 | 4730 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dcgettext in -lintl" >&5 |
2056 | 4722 | $as_echo_n "checking for dcgettext in -lintl... " >&6; } | 4731 | $as_echo_n "checking for dcgettext in -lintl... " >&6; } |
2058 | 4723 | if test "${ac_cv_lib_intl_dcgettext+set}" = set; then : | 4732 | if ${ac_cv_lib_intl_dcgettext+:} false; then : |
2059 | 4724 | $as_echo_n "(cached) " >&6 | 4733 | $as_echo_n "(cached) " >&6 |
2060 | 4725 | else | 4734 | else |
2061 | 4726 | ac_check_lib_save_LIBS=$LIBS | 4735 | ac_check_lib_save_LIBS=$LIBS |
2062 | @@ -4754,7 +4763,7 @@ | |||
2063 | 4754 | fi | 4763 | fi |
2064 | 4755 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dcgettext" >&5 | 4764 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dcgettext" >&5 |
2065 | 4756 | $as_echo "$ac_cv_lib_intl_dcgettext" >&6; } | 4765 | $as_echo "$ac_cv_lib_intl_dcgettext" >&6; } |
2067 | 4757 | if test "x$ac_cv_lib_intl_dcgettext" = x""yes; then : | 4766 | if test "x$ac_cv_lib_intl_dcgettext" = xyes; then : |
2068 | 4758 | gt_cv_func_dgettext_libintl=yes | 4767 | gt_cv_func_dgettext_libintl=yes |
2069 | 4759 | libintl_extra_libs=-liconv | 4768 | libintl_extra_libs=-liconv |
2070 | 4760 | else | 4769 | else |
2071 | @@ -4779,7 +4788,7 @@ | |||
2072 | 4779 | for ac_func in bind_textdomain_codeset | 4788 | for ac_func in bind_textdomain_codeset |
2073 | 4780 | do : | 4789 | do : |
2074 | 4781 | ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset" | 4790 | ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset" |
2076 | 4782 | if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then : | 4791 | if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then : |
2077 | 4783 | cat >>confdefs.h <<_ACEOF | 4792 | cat >>confdefs.h <<_ACEOF |
2078 | 4784 | #define HAVE_BIND_TEXTDOMAIN_CODESET 1 | 4793 | #define HAVE_BIND_TEXTDOMAIN_CODESET 1 |
2079 | 4785 | _ACEOF | 4794 | _ACEOF |
2080 | @@ -4817,7 +4826,7 @@ | |||
2081 | 4817 | set dummy msgfmt; ac_word=$2 | 4826 | set dummy msgfmt; ac_word=$2 |
2082 | 4818 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 4827 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2083 | 4819 | $as_echo_n "checking for $ac_word... " >&6; } | 4828 | $as_echo_n "checking for $ac_word... " >&6; } |
2085 | 4820 | if test "${ac_cv_path_MSGFMT+set}" = set; then : | 4829 | if ${ac_cv_path_MSGFMT+:} false; then : |
2086 | 4821 | $as_echo_n "(cached) " >&6 | 4830 | $as_echo_n "(cached) " >&6 |
2087 | 4822 | else | 4831 | else |
2088 | 4823 | case "$MSGFMT" in | 4832 | case "$MSGFMT" in |
2089 | @@ -4854,7 +4863,7 @@ | |||
2090 | 4854 | for ac_func in dcgettext | 4863 | for ac_func in dcgettext |
2091 | 4855 | do : | 4864 | do : |
2092 | 4856 | ac_fn_c_check_func "$LINENO" "dcgettext" "ac_cv_func_dcgettext" | 4865 | ac_fn_c_check_func "$LINENO" "dcgettext" "ac_cv_func_dcgettext" |
2094 | 4857 | if test "x$ac_cv_func_dcgettext" = x""yes; then : | 4866 | if test "x$ac_cv_func_dcgettext" = xyes; then : |
2095 | 4858 | cat >>confdefs.h <<_ACEOF | 4867 | cat >>confdefs.h <<_ACEOF |
2096 | 4859 | #define HAVE_DCGETTEXT 1 | 4868 | #define HAVE_DCGETTEXT 1 |
2097 | 4860 | _ACEOF | 4869 | _ACEOF |
2098 | @@ -4895,7 +4904,7 @@ | |||
2099 | 4895 | set dummy gmsgfmt; ac_word=$2 | 4904 | set dummy gmsgfmt; ac_word=$2 |
2100 | 4896 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 4905 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2101 | 4897 | $as_echo_n "checking for $ac_word... " >&6; } | 4906 | $as_echo_n "checking for $ac_word... " >&6; } |
2103 | 4898 | if test "${ac_cv_path_GMSGFMT+set}" = set; then : | 4907 | if ${ac_cv_path_GMSGFMT+:} false; then : |
2104 | 4899 | $as_echo_n "(cached) " >&6 | 4908 | $as_echo_n "(cached) " >&6 |
2105 | 4900 | else | 4909 | else |
2106 | 4901 | case $GMSGFMT in | 4910 | case $GMSGFMT in |
2107 | @@ -4936,7 +4945,7 @@ | |||
2108 | 4936 | set dummy xgettext; ac_word=$2 | 4945 | set dummy xgettext; ac_word=$2 |
2109 | 4937 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 4946 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2110 | 4938 | $as_echo_n "checking for $ac_word... " >&6; } | 4947 | $as_echo_n "checking for $ac_word... " >&6; } |
2112 | 4939 | if test "${ac_cv_path_XGETTEXT+set}" = set; then : | 4948 | if ${ac_cv_path_XGETTEXT+:} false; then : |
2113 | 4940 | $as_echo_n "(cached) " >&6 | 4949 | $as_echo_n "(cached) " >&6 |
2114 | 4941 | else | 4950 | else |
2115 | 4942 | case "$XGETTEXT" in | 4951 | case "$XGETTEXT" in |
2116 | @@ -4987,7 +4996,7 @@ | |||
2117 | 4987 | case $host in | 4996 | case $host in |
2118 | 4988 | *-*-solaris*) | 4997 | *-*-solaris*) |
2119 | 4989 | ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset" | 4998 | ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset" |
2121 | 4990 | if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then : | 4999 | if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then : |
2122 | 4991 | CATOBJEXT=.gmo | 5000 | CATOBJEXT=.gmo |
2123 | 4992 | DATADIRNAME=share | 5001 | DATADIRNAME=share |
2124 | 4993 | else | 5002 | else |
2125 | @@ -5157,7 +5166,7 @@ | |||
2126 | 5157 | set dummy intltool-update; ac_word=$2 | 5166 | set dummy intltool-update; ac_word=$2 |
2127 | 5158 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 5167 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2128 | 5159 | $as_echo_n "checking for $ac_word... " >&6; } | 5168 | $as_echo_n "checking for $ac_word... " >&6; } |
2130 | 5160 | if test "${ac_cv_path_INTLTOOL_UPDATE+set}" = set; then : | 5169 | if ${ac_cv_path_INTLTOOL_UPDATE+:} false; then : |
2131 | 5161 | $as_echo_n "(cached) " >&6 | 5170 | $as_echo_n "(cached) " >&6 |
2132 | 5162 | else | 5171 | else |
2133 | 5163 | case $INTLTOOL_UPDATE in | 5172 | case $INTLTOOL_UPDATE in |
2134 | @@ -5197,7 +5206,7 @@ | |||
2135 | 5197 | set dummy intltool-merge; ac_word=$2 | 5206 | set dummy intltool-merge; ac_word=$2 |
2136 | 5198 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 5207 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2137 | 5199 | $as_echo_n "checking for $ac_word... " >&6; } | 5208 | $as_echo_n "checking for $ac_word... " >&6; } |
2139 | 5200 | if test "${ac_cv_path_INTLTOOL_MERGE+set}" = set; then : | 5209 | if ${ac_cv_path_INTLTOOL_MERGE+:} false; then : |
2140 | 5201 | $as_echo_n "(cached) " >&6 | 5210 | $as_echo_n "(cached) " >&6 |
2141 | 5202 | else | 5211 | else |
2142 | 5203 | case $INTLTOOL_MERGE in | 5212 | case $INTLTOOL_MERGE in |
2143 | @@ -5237,7 +5246,7 @@ | |||
2144 | 5237 | set dummy intltool-extract; ac_word=$2 | 5246 | set dummy intltool-extract; ac_word=$2 |
2145 | 5238 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 5247 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2146 | 5239 | $as_echo_n "checking for $ac_word... " >&6; } | 5248 | $as_echo_n "checking for $ac_word... " >&6; } |
2148 | 5240 | if test "${ac_cv_path_INTLTOOL_EXTRACT+set}" = set; then : | 5249 | if ${ac_cv_path_INTLTOOL_EXTRACT+:} false; then : |
2149 | 5241 | $as_echo_n "(cached) " >&6 | 5250 | $as_echo_n "(cached) " >&6 |
2150 | 5242 | else | 5251 | else |
2151 | 5243 | case $INTLTOOL_EXTRACT in | 5252 | case $INTLTOOL_EXTRACT in |
2152 | @@ -5398,7 +5407,7 @@ | |||
2153 | 5398 | set dummy xgettext; ac_word=$2 | 5407 | set dummy xgettext; ac_word=$2 |
2154 | 5399 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 5408 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2155 | 5400 | $as_echo_n "checking for $ac_word... " >&6; } | 5409 | $as_echo_n "checking for $ac_word... " >&6; } |
2157 | 5401 | if test "${ac_cv_path_XGETTEXT+set}" = set; then : | 5410 | if ${ac_cv_path_XGETTEXT+:} false; then : |
2158 | 5402 | $as_echo_n "(cached) " >&6 | 5411 | $as_echo_n "(cached) " >&6 |
2159 | 5403 | else | 5412 | else |
2160 | 5404 | case $XGETTEXT in | 5413 | case $XGETTEXT in |
2161 | @@ -5438,7 +5447,7 @@ | |||
2162 | 5438 | set dummy msgmerge; ac_word=$2 | 5447 | set dummy msgmerge; ac_word=$2 |
2163 | 5439 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 5448 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2164 | 5440 | $as_echo_n "checking for $ac_word... " >&6; } | 5449 | $as_echo_n "checking for $ac_word... " >&6; } |
2166 | 5441 | if test "${ac_cv_path_MSGMERGE+set}" = set; then : | 5450 | if ${ac_cv_path_MSGMERGE+:} false; then : |
2167 | 5442 | $as_echo_n "(cached) " >&6 | 5451 | $as_echo_n "(cached) " >&6 |
2168 | 5443 | else | 5452 | else |
2169 | 5444 | case $MSGMERGE in | 5453 | case $MSGMERGE in |
2170 | @@ -5478,7 +5487,7 @@ | |||
2171 | 5478 | set dummy msgfmt; ac_word=$2 | 5487 | set dummy msgfmt; ac_word=$2 |
2172 | 5479 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 5488 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2173 | 5480 | $as_echo_n "checking for $ac_word... " >&6; } | 5489 | $as_echo_n "checking for $ac_word... " >&6; } |
2175 | 5481 | if test "${ac_cv_path_MSGFMT+set}" = set; then : | 5490 | if ${ac_cv_path_MSGFMT+:} false; then : |
2176 | 5482 | $as_echo_n "(cached) " >&6 | 5491 | $as_echo_n "(cached) " >&6 |
2177 | 5483 | else | 5492 | else |
2178 | 5484 | case $MSGFMT in | 5493 | case $MSGFMT in |
2179 | @@ -5518,7 +5527,7 @@ | |||
2180 | 5518 | set dummy gmsgfmt; ac_word=$2 | 5527 | set dummy gmsgfmt; ac_word=$2 |
2181 | 5519 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 5528 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2182 | 5520 | $as_echo_n "checking for $ac_word... " >&6; } | 5529 | $as_echo_n "checking for $ac_word... " >&6; } |
2184 | 5521 | if test "${ac_cv_path_GMSGFMT+set}" = set; then : | 5530 | if ${ac_cv_path_GMSGFMT+:} false; then : |
2185 | 5522 | $as_echo_n "(cached) " >&6 | 5531 | $as_echo_n "(cached) " >&6 |
2186 | 5523 | else | 5532 | else |
2187 | 5524 | case $GMSGFMT in | 5533 | case $GMSGFMT in |
2188 | @@ -5569,7 +5578,7 @@ | |||
2189 | 5569 | set dummy perl; ac_word=$2 | 5578 | set dummy perl; ac_word=$2 |
2190 | 5570 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 5579 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2191 | 5571 | $as_echo_n "checking for $ac_word... " >&6; } | 5580 | $as_echo_n "checking for $ac_word... " >&6; } |
2193 | 5572 | if test "${ac_cv_path_INTLTOOL_PERL+set}" = set; then : | 5581 | if ${ac_cv_path_INTLTOOL_PERL+:} false; then : |
2194 | 5573 | $as_echo_n "(cached) " >&6 | 5582 | $as_echo_n "(cached) " >&6 |
2195 | 5574 | else | 5583 | else |
2196 | 5575 | case $INTLTOOL_PERL in | 5584 | case $INTLTOOL_PERL in |
2197 | @@ -5653,7 +5662,7 @@ | |||
2198 | 5653 | case $host in | 5662 | case $host in |
2199 | 5654 | *-*-solaris*) | 5663 | *-*-solaris*) |
2200 | 5655 | ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset" | 5664 | ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset" |
2202 | 5656 | if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then : | 5665 | if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then : |
2203 | 5657 | DATADIRNAME=share | 5666 | DATADIRNAME=share |
2204 | 5658 | else | 5667 | else |
2205 | 5659 | DATADIRNAME=lib | 5668 | DATADIRNAME=lib |
2206 | @@ -5740,10 +5749,21 @@ | |||
2207 | 5740 | :end' >>confcache | 5749 | :end' >>confcache |
2208 | 5741 | if diff "$cache_file" confcache >/dev/null 2>&1; then :; else | 5750 | if diff "$cache_file" confcache >/dev/null 2>&1; then :; else |
2209 | 5742 | if test -w "$cache_file"; then | 5751 | if test -w "$cache_file"; then |
2211 | 5743 | test "x$cache_file" != "x/dev/null" && | 5752 | if test "x$cache_file" != "x/dev/null"; then |
2212 | 5744 | { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 | 5753 | { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 |
2213 | 5745 | $as_echo "$as_me: updating cache $cache_file" >&6;} | 5754 | $as_echo "$as_me: updating cache $cache_file" >&6;} |
2215 | 5746 | cat confcache >$cache_file | 5755 | if test ! -f "$cache_file" || test -h "$cache_file"; then |
2216 | 5756 | cat confcache >"$cache_file" | ||
2217 | 5757 | else | ||
2218 | 5758 | case $cache_file in #( | ||
2219 | 5759 | */* | ?:*) | ||
2220 | 5760 | mv -f confcache "$cache_file"$$ && | ||
2221 | 5761 | mv -f "$cache_file"$$ "$cache_file" ;; #( | ||
2222 | 5762 | *) | ||
2223 | 5763 | mv -f confcache "$cache_file" ;; | ||
2224 | 5764 | esac | ||
2225 | 5765 | fi | ||
2226 | 5766 | fi | ||
2227 | 5747 | else | 5767 | else |
2228 | 5748 | { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 | 5768 | { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 |
2229 | 5749 | $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} | 5769 | $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} |
2230 | @@ -5835,7 +5855,7 @@ | |||
2231 | 5835 | 5855 | ||
2232 | 5836 | 5856 | ||
2233 | 5837 | 5857 | ||
2235 | 5838 | : ${CONFIG_STATUS=./config.status} | 5858 | : "${CONFIG_STATUS=./config.status}" |
2236 | 5839 | ac_write_fail=0 | 5859 | ac_write_fail=0 |
2237 | 5840 | ac_clean_files_save=$ac_clean_files | 5860 | ac_clean_files_save=$ac_clean_files |
2238 | 5841 | ac_clean_files="$ac_clean_files $CONFIG_STATUS" | 5861 | ac_clean_files="$ac_clean_files $CONFIG_STATUS" |
2239 | @@ -5936,6 +5956,7 @@ | |||
2240 | 5936 | IFS=" "" $as_nl" | 5956 | IFS=" "" $as_nl" |
2241 | 5937 | 5957 | ||
2242 | 5938 | # Find who we are. Look in the path if we contain no directory separator. | 5958 | # Find who we are. Look in the path if we contain no directory separator. |
2243 | 5959 | as_myself= | ||
2244 | 5939 | case $0 in #(( | 5960 | case $0 in #(( |
2245 | 5940 | *[\\/]* ) as_myself=$0 ;; | 5961 | *[\\/]* ) as_myself=$0 ;; |
2246 | 5941 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 5962 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2247 | @@ -6242,8 +6263,8 @@ | |||
2248 | 6242 | # report actual input values of CONFIG_FILES etc. instead of their | 6263 | # report actual input values of CONFIG_FILES etc. instead of their |
2249 | 6243 | # values after options handling. | 6264 | # values after options handling. |
2250 | 6244 | ac_log=" | 6265 | ac_log=" |
2253 | 6245 | This file was extended by gsettings-desktop-schemas $as_me 0.1.3, which was | 6266 | This file was extended by gsettings-desktop-schemas $as_me 0.1.4, which was |
2254 | 6246 | generated by GNU Autoconf 2.67. Invocation command line was | 6267 | generated by GNU Autoconf 2.68. Invocation command line was |
2255 | 6247 | 6268 | ||
2256 | 6248 | CONFIG_FILES = $CONFIG_FILES | 6269 | CONFIG_FILES = $CONFIG_FILES |
2257 | 6249 | CONFIG_HEADERS = $CONFIG_HEADERS | 6270 | CONFIG_HEADERS = $CONFIG_HEADERS |
2258 | @@ -6299,8 +6320,8 @@ | |||
2259 | 6299 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | 6320 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
2260 | 6300 | ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" | 6321 | ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" |
2261 | 6301 | ac_cs_version="\\ | 6322 | ac_cs_version="\\ |
2264 | 6302 | gsettings-desktop-schemas config.status 0.1.3 | 6323 | gsettings-desktop-schemas config.status 0.1.4 |
2265 | 6303 | configured by $0, generated by GNU Autoconf 2.67, | 6324 | configured by $0, generated by GNU Autoconf 2.68, |
2266 | 6304 | with options \\"\$ac_cs_config\\" | 6325 | with options \\"\$ac_cs_config\\" |
2267 | 6305 | 6326 | ||
2268 | 6306 | Copyright (C) 2010 Free Software Foundation, Inc. | 6327 | Copyright (C) 2010 Free Software Foundation, Inc. |
2269 | @@ -6449,9 +6470,10 @@ | |||
2270 | 6449 | # after its creation but before its name has been assigned to `$tmp'. | 6470 | # after its creation but before its name has been assigned to `$tmp'. |
2271 | 6450 | $debug || | 6471 | $debug || |
2272 | 6451 | { | 6472 | { |
2274 | 6452 | tmp= | 6473 | tmp= ac_tmp= |
2275 | 6453 | trap 'exit_status=$? | 6474 | trap 'exit_status=$? |
2277 | 6454 | { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status | 6475 | : "${ac_tmp:=$tmp}" |
2278 | 6476 | { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status | ||
2279 | 6455 | ' 0 | 6477 | ' 0 |
2280 | 6456 | trap 'as_fn_exit 1' 1 2 13 15 | 6478 | trap 'as_fn_exit 1' 1 2 13 15 |
2281 | 6457 | } | 6479 | } |
2282 | @@ -6459,12 +6481,13 @@ | |||
2283 | 6459 | 6481 | ||
2284 | 6460 | { | 6482 | { |
2285 | 6461 | tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && | 6483 | tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && |
2287 | 6462 | test -n "$tmp" && test -d "$tmp" | 6484 | test -d "$tmp" |
2288 | 6463 | } || | 6485 | } || |
2289 | 6464 | { | 6486 | { |
2290 | 6465 | tmp=./conf$$-$RANDOM | 6487 | tmp=./conf$$-$RANDOM |
2291 | 6466 | (umask 077 && mkdir "$tmp") | 6488 | (umask 077 && mkdir "$tmp") |
2292 | 6467 | } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 | 6489 | } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 |
2293 | 6490 | ac_tmp=$tmp | ||
2294 | 6468 | 6491 | ||
2295 | 6469 | # Set up the scripts for CONFIG_FILES section. | 6492 | # Set up the scripts for CONFIG_FILES section. |
2296 | 6470 | # No need to generate them if there are no CONFIG_FILES. | 6493 | # No need to generate them if there are no CONFIG_FILES. |
2297 | @@ -6486,7 +6509,7 @@ | |||
2298 | 6486 | ac_cs_awk_cr=$ac_cr | 6509 | ac_cs_awk_cr=$ac_cr |
2299 | 6487 | fi | 6510 | fi |
2300 | 6488 | 6511 | ||
2302 | 6489 | echo 'BEGIN {' >"$tmp/subs1.awk" && | 6512 | echo 'BEGIN {' >"$ac_tmp/subs1.awk" && |
2303 | 6490 | _ACEOF | 6513 | _ACEOF |
2304 | 6491 | 6514 | ||
2305 | 6492 | 6515 | ||
2306 | @@ -6514,7 +6537,7 @@ | |||
2307 | 6514 | rm -f conf$$subs.sh | 6537 | rm -f conf$$subs.sh |
2308 | 6515 | 6538 | ||
2309 | 6516 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | 6539 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
2311 | 6517 | cat >>"\$tmp/subs1.awk" <<\\_ACAWK && | 6540 | cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && |
2312 | 6518 | _ACEOF | 6541 | _ACEOF |
2313 | 6519 | sed -n ' | 6542 | sed -n ' |
2314 | 6520 | h | 6543 | h |
2315 | @@ -6562,7 +6585,7 @@ | |||
2316 | 6562 | rm -f conf$$subs.awk | 6585 | rm -f conf$$subs.awk |
2317 | 6563 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | 6586 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
2318 | 6564 | _ACAWK | 6587 | _ACAWK |
2320 | 6565 | cat >>"\$tmp/subs1.awk" <<_ACAWK && | 6588 | cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && |
2321 | 6566 | for (key in S) S_is_set[key] = 1 | 6589 | for (key in S) S_is_set[key] = 1 |
2322 | 6567 | FS = "" | 6590 | FS = "" |
2323 | 6568 | 6591 | ||
2324 | @@ -6594,7 +6617,7 @@ | |||
2325 | 6594 | sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" | 6617 | sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" |
2326 | 6595 | else | 6618 | else |
2327 | 6596 | cat | 6619 | cat |
2329 | 6597 | fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ | 6620 | fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ |
2330 | 6598 | || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 | 6621 | || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 |
2331 | 6599 | _ACEOF | 6622 | _ACEOF |
2332 | 6600 | 6623 | ||
2333 | @@ -6653,7 +6676,7 @@ | |||
2334 | 6653 | for ac_f | 6676 | for ac_f |
2335 | 6654 | do | 6677 | do |
2336 | 6655 | case $ac_f in | 6678 | case $ac_f in |
2338 | 6656 | -) ac_f="$tmp/stdin";; | 6679 | -) ac_f="$ac_tmp/stdin";; |
2339 | 6657 | *) # Look for the file first in the build tree, then in the source tree | 6680 | *) # Look for the file first in the build tree, then in the source tree |
2340 | 6658 | # (if the path is not absolute). The absolute path cannot be DOS-style, | 6681 | # (if the path is not absolute). The absolute path cannot be DOS-style, |
2341 | 6659 | # because $ac_f cannot contain `:'. | 6682 | # because $ac_f cannot contain `:'. |
2342 | @@ -6688,7 +6711,7 @@ | |||
2343 | 6688 | esac | 6711 | esac |
2344 | 6689 | 6712 | ||
2345 | 6690 | case $ac_tag in | 6713 | case $ac_tag in |
2347 | 6691 | *:-:* | *:-) cat >"$tmp/stdin" \ | 6714 | *:-:* | *:-) cat >"$ac_tmp/stdin" \ |
2348 | 6692 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; | 6715 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; |
2349 | 6693 | esac | 6716 | esac |
2350 | 6694 | ;; | 6717 | ;; |
2351 | @@ -6825,21 +6848,22 @@ | |||
2352 | 6825 | s&@MKDIR_P@&$ac_MKDIR_P&;t t | 6848 | s&@MKDIR_P@&$ac_MKDIR_P&;t t |
2353 | 6826 | $ac_datarootdir_hack | 6849 | $ac_datarootdir_hack |
2354 | 6827 | " | 6850 | " |
2357 | 6828 | eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ | 6851 | eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ |
2358 | 6829 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 | 6852 | >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
2359 | 6830 | 6853 | ||
2360 | 6831 | test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && | 6854 | test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && |
2363 | 6832 | { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && | 6855 | { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && |
2364 | 6833 | { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && | 6856 | { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ |
2365 | 6857 | "$ac_tmp/out"`; test -z "$ac_out"; } && | ||
2366 | 6834 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' | 6858 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
2367 | 6835 | which seems to be undefined. Please make sure it is defined" >&5 | 6859 | which seems to be undefined. Please make sure it is defined" >&5 |
2368 | 6836 | $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' | 6860 | $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
2369 | 6837 | which seems to be undefined. Please make sure it is defined" >&2;} | 6861 | which seems to be undefined. Please make sure it is defined" >&2;} |
2370 | 6838 | 6862 | ||
2372 | 6839 | rm -f "$tmp/stdin" | 6863 | rm -f "$ac_tmp/stdin" |
2373 | 6840 | case $ac_file in | 6864 | case $ac_file in |
2376 | 6841 | -) cat "$tmp/out" && rm -f "$tmp/out";; | 6865 | -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; |
2377 | 6842 | *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; | 6866 | *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; |
2378 | 6843 | esac \ | 6867 | esac \ |
2379 | 6844 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 | 6868 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
2380 | 6845 | ;; | 6869 | ;; |
2381 | 6846 | 6870 | ||
2382 | === modified file 'configure.ac' | |||
2383 | --- configure.ac 2010-12-23 12:40:25 +0000 | |||
2384 | +++ configure.ac 2011-01-10 17:05:40 +0000 | |||
2385 | @@ -1,5 +1,5 @@ | |||
2386 | 1 | AC_PREREQ(2.53) | 1 | AC_PREREQ(2.53) |
2388 | 2 | AC_INIT([gsettings-desktop-schemas], [0.1.3], | 2 | AC_INIT([gsettings-desktop-schemas], [0.1.4], |
2389 | 3 | [http://bugzilla.gnome.org/enter_bug.cgi?product=gsettings-desktop-schemas]) | 3 | [http://bugzilla.gnome.org/enter_bug.cgi?product=gsettings-desktop-schemas]) |
2390 | 4 | AC_CONFIG_SRCDIR(schemas/org.gnome.desktop.default-applications.gschema.xml) | 4 | AC_CONFIG_SRCDIR(schemas/org.gnome.desktop.default-applications.gschema.xml) |
2391 | 5 | AM_INIT_AUTOMAKE([1.9 foreign no-dist-gzip dist-bzip2]) | 5 | AM_INIT_AUTOMAKE([1.9 foreign no-dist-gzip dist-bzip2]) |
2392 | 6 | 6 | ||
2393 | === modified file 'debian/changelog' | |||
2394 | --- debian/changelog 2010-12-23 12:40:25 +0000 | |||
2395 | +++ debian/changelog 2011-01-10 17:05:40 +0000 | |||
2396 | @@ -1,3 +1,9 @@ | |||
2397 | 1 | gsettings-desktop-schemas (0.1.4-1) UNRELEASED; urgency=low | ||
2398 | 2 | |||
2399 | 3 | * New upstream release. | ||
2400 | 4 | |||
2401 | 5 | -- Rodrigo Moya <rodrigo.moya@canonical.com> Mon, 10 Jan 2011 18:01:17 +0100 | ||
2402 | 6 | |||
2403 | 1 | gsettings-desktop-schemas (0.1.3-1) experimental; urgency=low | 7 | gsettings-desktop-schemas (0.1.3-1) experimental; urgency=low |
2404 | 2 | 8 | ||
2405 | 3 | * New upstream release. | 9 | * New upstream release. |
2406 | 4 | 10 | ||
2407 | === modified file 'schemas/Makefile.am' | |||
2408 | --- schemas/Makefile.am 2010-11-30 10:25:03 +0000 | |||
2409 | +++ schemas/Makefile.am 2011-01-10 17:05:40 +0000 | |||
2410 | @@ -7,7 +7,8 @@ | |||
2411 | 7 | org.gnome.desktop.thumbnail-cache.gschema.xml \ | 7 | org.gnome.desktop.thumbnail-cache.gschema.xml \ |
2412 | 8 | org.gnome.desktop.a11y.keyboard.gschema.xml \ | 8 | org.gnome.desktop.a11y.keyboard.gschema.xml \ |
2413 | 9 | org.gnome.desktop.a11y.applications.gschema.xml \ | 9 | org.gnome.desktop.a11y.applications.gschema.xml \ |
2415 | 10 | org.gnome.desktop.a11y.mouse.gschema.xml | 10 | org.gnome.desktop.a11y.mouse.gschema.xml \ |
2416 | 11 | org.gnome.desktop.thumbnailers.gschema.xml | ||
2417 | 11 | 12 | ||
2418 | 12 | desktop_gschemas_in = \ | 13 | desktop_gschemas_in = \ |
2419 | 13 | org.gnome.desktop.background.gschema.xml.in \ | 14 | org.gnome.desktop.background.gschema.xml.in \ |
2420 | 14 | 15 | ||
2421 | === modified file 'schemas/Makefile.in' | |||
2422 | --- schemas/Makefile.in 2010-11-30 10:25:03 +0000 | |||
2423 | +++ schemas/Makefile.in 2011-01-10 17:05:40 +0000 | |||
2424 | @@ -202,7 +202,8 @@ | |||
2425 | 202 | org.gnome.desktop.thumbnail-cache.gschema.xml \ | 202 | org.gnome.desktop.thumbnail-cache.gschema.xml \ |
2426 | 203 | org.gnome.desktop.a11y.keyboard.gschema.xml \ | 203 | org.gnome.desktop.a11y.keyboard.gschema.xml \ |
2427 | 204 | org.gnome.desktop.a11y.applications.gschema.xml \ | 204 | org.gnome.desktop.a11y.applications.gschema.xml \ |
2429 | 205 | org.gnome.desktop.a11y.mouse.gschema.xml | 205 | org.gnome.desktop.a11y.mouse.gschema.xml \ |
2430 | 206 | org.gnome.desktop.thumbnailers.gschema.xml | ||
2431 | 206 | 207 | ||
2432 | 207 | desktop_gschemas_in = \ | 208 | desktop_gschemas_in = \ |
2433 | 208 | org.gnome.desktop.background.gschema.xml.in \ | 209 | org.gnome.desktop.background.gschema.xml.in \ |
2434 | 209 | 210 | ||
2435 | === modified file 'schemas/gsettings-desktop-schemas.convert' | |||
2436 | --- schemas/gsettings-desktop-schemas.convert 2010-12-23 12:40:25 +0000 | |||
2437 | +++ schemas/gsettings-desktop-schemas.convert 2011-01-10 17:05:40 +0000 | |||
2438 | @@ -170,3 +170,7 @@ | |||
2439 | 170 | dwell-click-enabled = /desktop/gnome/accessibility/mouse/dwell_enable | 170 | dwell-click-enabled = /desktop/gnome/accessibility/mouse/dwell_enable |
2440 | 171 | secondary-click-enabled = /desktop/gnome/accessibility/mouse/delay_enable | 171 | secondary-click-enabled = /desktop/gnome/accessibility/mouse/delay_enable |
2441 | 172 | secondary-click-time = /desktop/gnome/accessibility/mouse/delay_time | 172 | secondary-click-time = /desktop/gnome/accessibility/mouse/delay_time |
2442 | 173 | |||
2443 | 174 | # From org.gnome.desktop.thumbnailers | ||
2444 | 175 | [org.gnome.desktop.thumbnailers] | ||
2445 | 176 | disable-all = /desktop/gnome/thumbnailers/disable_all | ||
2446 | 173 | 177 | ||
2447 | === modified file 'schemas/org.gnome.desktop.background.gschema.xml.in' | |||
2448 | --- schemas/org.gnome.desktop.background.gschema.xml.in 2010-12-23 12:40:25 +0000 | |||
2449 | +++ schemas/org.gnome.desktop.background.gschema.xml.in 2011-01-10 17:05:40 +0000 | |||
2450 | @@ -47,12 +47,12 @@ | |||
2451 | 47 | <default>'solid'</default> | 47 | <default>'solid'</default> |
2452 | 48 | <summary>Color Shading Type</summary> | 48 | <summary>Color Shading Type</summary> |
2453 | 49 | <description> | 49 | <description> |
2455 | 50 | How to shade the background color. Possible values are "horizontal", | 50 | How to shade the background color. Possible values are "horizontal", |
2456 | 51 | "vertical", and "solid". | 51 | "vertical", and "solid". |
2457 | 52 | </description> | 52 | </description> |
2458 | 53 | </key> | 53 | </key> |
2459 | 54 | <key name="show-desktop-icons" type="b"> | 54 | <key name="show-desktop-icons" type="b"> |
2461 | 55 | <default>true</default> | 55 | <default>false</default> |
2462 | 56 | <summary>Have file manager handle the desktop</summary> | 56 | <summary>Have file manager handle the desktop</summary> |
2463 | 57 | <description> | 57 | <description> |
2464 | 58 | If set to true, then file manager will draw the icons on the desktop. | 58 | If set to true, then file manager will draw the icons on the desktop. |
2465 | 59 | 59 | ||
2466 | === added file 'schemas/org.gnome.desktop.thumbnailers.gschema.xml' | |||
2467 | --- schemas/org.gnome.desktop.thumbnailers.gschema.xml 1970-01-01 00:00:00 +0000 | |||
2468 | +++ schemas/org.gnome.desktop.thumbnailers.gschema.xml 2011-01-10 17:05:40 +0000 | |||
2469 | @@ -0,0 +1,25 @@ | |||
2470 | 1 | <?xml version="1.0"?> | ||
2471 | 2 | <schemalist> | ||
2472 | 3 | <schema id="org.gnome.desktop.thumbnailers" path="/desktop/gnome/thumbnailers/"> | ||
2473 | 4 | <key name="disable-all" type="b"> | ||
2474 | 5 | <default>false</default> | ||
2475 | 6 | <summary>Disable all external thumbnailers</summary> | ||
2476 | 7 | <description> | ||
2477 | 8 | Set to true to disable all external thumbnailer programs, | ||
2478 | 9 | independent on whether they are independently disabled/enabled. | ||
2479 | 10 | </description> | ||
2480 | 11 | </key> | ||
2481 | 12 | |||
2482 | 13 | <key name="disable" type="as"> | ||
2483 | 14 | <default>[]</default> | ||
2484 | 15 | <summary> | ||
2485 | 16 | List of mime-types for which external thumbnailer | ||
2486 | 17 | programs will be disabled | ||
2487 | 18 | </summary> | ||
2488 | 19 | <description> | ||
2489 | 20 | Thumbnails will not be created for files whose mime-type is | ||
2490 | 21 | contained in the list. | ||
2491 | 22 | </description> | ||
2492 | 23 | </key> | ||
2493 | 24 | </schema> | ||
2494 | 25 | </schemalist> |
0.1.4 is synced from Debian experimental. In future please file rather a sync request. /wiki.ubuntu. com/SyncRequest Process
https:/