Merge lp:~gilir/gnome-mplayer/gecko-mediaplayer into lp:~norsetto/gnome-mplayer/gecko-mediaplayer
- gecko-mediaplayer
- Merge into gecko-mediaplayer
Status: | Needs review | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Proposed branch: | lp:~gilir/gnome-mplayer/gecko-mediaplayer | ||||||||||||||||
Merge into: | lp:~norsetto/gnome-mplayer/gecko-mediaplayer | ||||||||||||||||
Diff against target: |
3689 lines (+3601/-5) 9 files modified
.bzr-builddeb/default.conf (+2/-0) debian/changelog (+63/-3) debian/control (+1/-1) debian/patches/90_svn420_fix_null.patch (+41/-0) debian/patches/91_svn421_disable_npp_initialize.patch (+22/-0) debian/patches/autotools.patch (+3229/-0) debian/patches/dont_use_libxul.patch (+236/-0) debian/patches/series (+4/-0) debian/rules (+3/-1) |
||||||||||||||||
To merge this branch: | bzr merge lp:~gilir/gnome-mplayer/gecko-mediaplayer | ||||||||||||||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Cesare Tirabassi | Pending | ||
Review via email: mp+49721@code.launchpad.net |
This proposal supersedes a proposal from 2011-02-14.
Commit message
Description of the change
Update to 1.0.0 version
- 61. By Julien Lavergne
-
* debian/control:
- Build-depends on xulrunner-1.9.2-dev until bug #724070 is fixed. - 62. By Julien Lavergne
-
releasing version 1.0.0-0ubuntu2
- 63. By Julien Lavergne
-
Merge with uploaded changes
- 64. By Julien Lavergne
-
* Don't use any Mozilla interfaces at all. The only interfaces used
previously were nsIPrefBranch and nsIPrefService to change a preference
which configured the UA string to "QuickTime/7.6.4". This functionality
is Firefox specific anyway, and so doesn't work in any Webkit based browser
(Chromium, Epiphany, Midori etc). It also doesn't work in Firefox 4
and later since the plugin is running in a separate process, where setting
prefs in the plugin process has no effect on the browser process at all
- add debian/patches/ dont_use_ libxul. patch
- add debian/patches/ autotools. patch
- update debian/patches/ series
- update debian/control to build-depend on firefox-dev
- see https://blueprints. launchpad. net/ubuntu/ +spec/
desktop- o-mozilla- rapid-release- maintenance and
https://lists. ubuntu. com/archives/ ubuntu- devel/2011- May/033229. html
Unmerged revisions
- 64. By Julien Lavergne
-
* Don't use any Mozilla interfaces at all. The only interfaces used
previously were nsIPrefBranch and nsIPrefService to change a preference
which configured the UA string to "QuickTime/7.6.4". This functionality
is Firefox specific anyway, and so doesn't work in any Webkit based browser
(Chromium, Epiphany, Midori etc). It also doesn't work in Firefox 4
and later since the plugin is running in a separate process, where setting
prefs in the plugin process has no effect on the browser process at all
- add debian/patches/ dont_use_ libxul. patch
- add debian/patches/ autotools. patch
- update debian/patches/ series
- update debian/control to build-depend on firefox-dev
- see https://blueprints. launchpad. net/ubuntu/ +spec/
desktop- o-mozilla- rapid-release- maintenance and
https://lists. ubuntu. com/archives/ ubuntu- devel/2011- May/033229. html - 63. By Julien Lavergne
-
Merge with uploaded changes
- 62. By Julien Lavergne
-
releasing version 1.0.0-0ubuntu2
- 61. By Julien Lavergne
-
* debian/control:
- Build-depends on xulrunner-1.9.2-dev until bug #724070 is fixed. - 60. By Julien Lavergne
-
releasing version 1.0.0-0ubuntu1
- 59. By Julien Lavergne
-
releasing version 1.0.0-0ubuntu1
- 58. By Julien Lavergne
-
* debian/control:
- Drop build-depends on quilt, handle by format 3.0.
* debian/patches/ 01_xulrunner- 20.patch:
- Drop, replace by upstream patch 91_svn421_disable_ npp_initialize. patch.
* Drop unneeded symlinks in /usr/lib/xulrunner, /usr/lib/xulrunner- addons,
/usr/lib/firefox, /usr/lib/iceweasel and /usr/lib/midbrowser
- update debian/links
* Drop midbrowser dependency. This disappeared from Ubuntu a while ago
- update debian/control
* Enable quilt and add patch to enable building with the latest NPAPI
headers
- update debian/control
- update debian/rules
- add debian/patches/ 01_xulrunner- 20.patch
- add debian/patches/ series
* Don't use the Mozilla allocator by adding -DMOZ_NO_MOZALLOC to CXXFLAGS
- update debian/rules - 57. By Julien Lavergne
-
releasing version 1.0.0-0ubuntu1
- 56. By Julien Lavergne
-
Re-add .bzr-builddeb directory
- 55. By Julien Lavergne
-
chromium (LP: #545209).
Preview Diff
1 | === added directory '.bzr-builddeb' |
2 | === added file '.bzr-builddeb/default.conf' |
3 | --- .bzr-builddeb/default.conf 1970-01-01 00:00:00 +0000 |
4 | +++ .bzr-builddeb/default.conf 2011-06-19 14:06:01 +0000 |
5 | @@ -0,0 +1,2 @@ |
6 | +[BUILDDEB] |
7 | +merge = True |
8 | |
9 | === added directory 'debian' |
10 | === renamed file 'changelog' => 'debian/changelog' |
11 | --- changelog 2010-05-17 13:04:23 +0000 |
12 | +++ debian/changelog 2011-06-19 14:06:01 +0000 |
13 | @@ -1,5 +1,32 @@ |
14 | -gecko-mediaplayer (0.9.9.2-2) UNRELEASED; urgency=low |
15 | - |
16 | +gecko-mediaplayer (1.0.0-0ubuntu3) oneiric; urgency=low |
17 | + |
18 | + * Don't use any Mozilla interfaces at all. The only interfaces used |
19 | + previously were nsIPrefBranch and nsIPrefService to change a preference |
20 | + which configured the UA string to "QuickTime/7.6.4". This functionality |
21 | + is Firefox specific anyway, and so doesn't work in any Webkit based browser |
22 | + (Chromium, Epiphany, Midori etc). It also doesn't work in Firefox 4 |
23 | + and later since the plugin is running in a separate process, where setting |
24 | + prefs in the plugin process has no effect on the browser process at all |
25 | + - add debian/patches/dont_use_libxul.patch |
26 | + - add debian/patches/autotools.patch |
27 | + - update debian/patches/series |
28 | + - update debian/control to build-depend on firefox-dev |
29 | + - see https://blueprints.launchpad.net/ubuntu/+spec/ |
30 | + desktop-o-mozilla-rapid-release-maintenance and |
31 | + https://lists.ubuntu.com/archives/ubuntu-devel/2011-May/033229.html |
32 | + |
33 | + -- Chris Coulson <chris.coulson@canonical.com> Fri, 27 May 2011 15:19:19 +0100 |
34 | + |
35 | +gecko-mediaplayer (1.0.0-0ubuntu2) natty; urgency=low |
36 | + |
37 | + * debian/control: |
38 | + - Build-depends on xulrunner-1.9.2-dev until bug #724070 is fixed. |
39 | + |
40 | + -- Julien Lavergne <gilir@ubuntu.com> Sun, 06 Mar 2011 23:05:08 +0100 |
41 | + |
42 | +gecko-mediaplayer (1.0.0-0ubuntu1) natty; urgency=low |
43 | + |
44 | + [ Cesare Tirabassi ] |
45 | * Update dependencies list (xulrunner, midbrowser and firefox-3.5) |
46 | * Add konqueror, opera and chromium in long description |
47 | * Removed all symlinks, lookup is now implemented upstream by all |
48 | @@ -8,7 +35,40 @@ |
49 | * Updated watch file in line with new google code standard |
50 | (thanks D. Leidert) |
51 | |
52 | - -- Cesare Tirabassi <norsetto@ubuntu.com> Mon, 17 May 2010 15:03:31 +0200 |
53 | + [ Julien Lavergne ] |
54 | + * New upstream release (LP: #693867) |
55 | + - Fix crash when loading iTunes store (LP: #569682) |
56 | + * debian/rules: |
57 | + - Build without gconf support, which should fix the hang with chromium |
58 | + (LP: #545209). |
59 | + * debian/patches/90_svn420_fix_null.patch: |
60 | + - From upstream, fix NULL pointer errors (LP: #709277) |
61 | + * debian/patches/91_svn421_disable_npp_initialize.patch: |
62 | + - From upstream, fix FTBFS with new xulrunner. |
63 | + * debian/control: |
64 | + - Drop build-depends on quilt, handle by format 3.0. |
65 | + * debian/patches/01_xulrunner-20.patch: |
66 | + - Drop, replace by upstream patch 91_svn421_disable_npp_initialize.patch. |
67 | + |
68 | + -- Julien Lavergne <gilir@ubuntu.com> Mon, 14 Feb 2011 23:17:54 +0100 |
69 | + |
70 | +gecko-mediaplayer (0.9.9.2-1ubuntu1) natty; urgency=low |
71 | + |
72 | + * Drop unneeded symlinks in /usr/lib/xulrunner, /usr/lib/xulrunner-addons, |
73 | + /usr/lib/firefox, /usr/lib/iceweasel and /usr/lib/midbrowser |
74 | + - update debian/links |
75 | + * Drop midbrowser dependency. This disappeared from Ubuntu a while ago |
76 | + - update debian/control |
77 | + * Enable quilt and add patch to enable building with the latest NPAPI |
78 | + headers |
79 | + - update debian/control |
80 | + - update debian/rules |
81 | + - add debian/patches/01_xulrunner-20.patch |
82 | + - add debian/patches/series |
83 | + * Don't use the Mozilla allocator by adding -DMOZ_NO_MOZALLOC to CXXFLAGS |
84 | + - update debian/rules |
85 | + |
86 | + -- Chris Coulson <chris.coulson@canonical.com> Mon, 14 Feb 2011 21:31:56 +0000 |
87 | |
88 | gecko-mediaplayer (0.9.9.2-1) unstable; urgency=low |
89 | |
90 | |
91 | === renamed file 'compat' => 'debian/compat' |
92 | === renamed file 'control' => 'debian/control' |
93 | --- control 2010-05-17 12:55:11 +0000 |
94 | +++ debian/control 2011-06-19 14:06:01 +0000 |
95 | @@ -6,7 +6,7 @@ |
96 | autotools-dev, |
97 | pkg-config (>= 0.20), |
98 | libglib2.0-dev (>= 2.14), |
99 | - xulrunner-dev, |
100 | + firefox-dev, |
101 | libdbus-1-dev (>= 0.95), |
102 | libdbus-glib-1-dev (>= 0.70), |
103 | libx11-dev, |
104 | |
105 | === renamed file 'copyright' => 'debian/copyright' |
106 | === renamed file 'docs' => 'debian/docs' |
107 | === renamed file 'install' => 'debian/install' |
108 | === added directory 'debian/patches' |
109 | === added file 'debian/patches/90_svn420_fix_null.patch' |
110 | --- debian/patches/90_svn420_fix_null.patch 1970-01-01 00:00:00 +0000 |
111 | +++ debian/patches/90_svn420_fix_null.patch 2011-06-19 14:06:01 +0000 |
112 | @@ -0,0 +1,41 @@ |
113 | +Author: Julien Lavergne <gilir@ubuntu.com> |
114 | +Bug-Ubuntu: https://bugs.launchpad.net/bugs/709277 |
115 | + |
116 | +--- |
117 | +The information above should follow the Patch Tagging Guidelines, please |
118 | +checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here |
119 | +are templates for supplementary fields that you might want to add: |
120 | + |
121 | +Origin: <upstream>, <http://code.google.com/p/gecko-mediaplayer/source/detail?spec=svn420&r=420#> |
122 | +Bug: <http://code.google.com/p/gecko-mediaplayer/issues/detail?id=123> |
123 | +Bug-Ubuntu: https://launchpad.net/bugs/709277 |
124 | +Last-Update: <2011-01-28> |
125 | + |
126 | +--- gecko-mediaplayer-1.0.0.orig/src/plugin.cpp |
127 | ++++ gecko-mediaplayer-1.0.0/src/plugin.cpp |
128 | +@@ -1218,11 +1218,13 @@ void CPlugin::SetFilename(const char *fi |
129 | + |
130 | + void CPlugin::GetFilename(char **filename) |
131 | + { |
132 | +- ListItem *item; |
133 | ++ ListItem *item = NULL; |
134 | ++ |
135 | + if (this->lastopened != NULL) { |
136 | + *filename = g_strdup(this->lastopened->src); |
137 | + } else { |
138 | +- item = (ListItem *) playlist->data; |
139 | ++ if (playlist != NULL) |
140 | ++ item = (ListItem *) playlist->data; |
141 | + if (item != NULL) { |
142 | + *filename = g_strdup(item->src); |
143 | + } else { |
144 | +@@ -1966,7 +1968,8 @@ bool ScriptablePluginObject::GetProperty |
145 | + |
146 | + if (name == filename_id || name == src_id) { |
147 | + pPlugin->GetFilename(&filename); |
148 | +- STRINGZ_TO_NPVARIANT(filename, *result); |
149 | ++ if (filename != NULL) |
150 | ++ STRINGZ_TO_NPVARIANT(filename, *result); |
151 | + return true; |
152 | + } |
153 | + |
154 | |
155 | === added file 'debian/patches/91_svn421_disable_npp_initialize.patch' |
156 | --- debian/patches/91_svn421_disable_npp_initialize.patch 1970-01-01 00:00:00 +0000 |
157 | +++ debian/patches/91_svn421_disable_npp_initialize.patch 2011-06-19 14:06:01 +0000 |
158 | @@ -0,0 +1,22 @@ |
159 | +Author: Julien Lavergne <gilir@ubuntu.com> |
160 | + |
161 | +--- |
162 | +The information above should follow the Patch Tagging Guidelines, please |
163 | +checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here |
164 | +are templates for supplementary fields that you might want to add: |
165 | + |
166 | +Origin: <upstream>, <http://code.google.com/p/gecko-mediaplayer/source/detail?r=421> |
167 | +Bug: <http://code.google.com/p/gecko-mediaplayer/issues/detail?id=124> |
168 | +Last-Update: <2011-01-28> |
169 | + |
170 | +--- gecko-mediaplayer-1.0.0.orig/src/np_entry.cpp |
171 | ++++ gecko-mediaplayer-1.0.0/src/np_entry.cpp |
172 | +@@ -175,7 +175,7 @@ NPError OSCALL NP_Initialize(NPNetscapeF |
173 | + pluginFuncs->javaClass = NPP_GetJavaClass(); |
174 | + #endif |
175 | + |
176 | +- NPP_Initialize(); |
177 | ++ // NPP_Initialize(); |
178 | + #endif |
179 | + |
180 | + return NPERR_NO_ERROR; |
181 | |
182 | === added file 'debian/patches/autotools.patch' |
183 | --- debian/patches/autotools.patch 1970-01-01 00:00:00 +0000 |
184 | +++ debian/patches/autotools.patch 2011-06-19 14:06:01 +0000 |
185 | @@ -0,0 +1,3229 @@ |
186 | +## Description: add some description |
187 | +## Origin/Author: add some origin or author |
188 | +## Bug: bug URL |
189 | +--- a/Makefile.in |
190 | ++++ b/Makefile.in |
191 | +@@ -36,8 +36,8 @@ subdir = . |
192 | + DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \ |
193 | + $(srcdir)/Makefile.in $(srcdir)/config.h.in \ |
194 | + $(srcdir)/gecko-mediaplayer.spec.in $(top_srcdir)/configure \ |
195 | +- AUTHORS COPYING ChangeLog INSTALL NEWS compile config.guess \ |
196 | +- config.sub depcomp install-sh ltmain.sh missing mkinstalldirs |
197 | ++ AUTHORS COPYING ChangeLog INSTALL NEWS compile depcomp \ |
198 | ++ install-sh ltmain.sh missing mkinstalldirs |
199 | + ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 |
200 | + am__aclocal_m4_deps = $(top_srcdir)/configure.in |
201 | + am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ |
202 | +@@ -197,6 +197,8 @@ PACKAGE_URL = @PACKAGE_URL@ |
203 | + PACKAGE_VERSION = @PACKAGE_VERSION@ |
204 | + PATH_SEPARATOR = @PATH_SEPARATOR@ |
205 | + PKG_CONFIG = @PKG_CONFIG@ |
206 | ++PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ |
207 | ++PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ |
208 | + POFILES = @POFILES@ |
209 | + POSUB = @POSUB@ |
210 | + PO_IN_DATADIR_FALSE = @PO_IN_DATADIR_FALSE@ |
211 | +--- a/aclocal.m4 |
212 | ++++ b/aclocal.m4 |
213 | +@@ -13,8 +13,8 @@ |
214 | + |
215 | + m4_ifndef([AC_AUTOCONF_VERSION], |
216 | + [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl |
217 | +-m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.65],, |
218 | +-[m4_warning([this file was generated for autoconf 2.65. |
219 | ++m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.68],, |
220 | ++[m4_warning([this file was generated for autoconf 2.68. |
221 | + You have another version of autoconf. It may work, but is not guaranteed to. |
222 | + If you have problems, you may need to regenerate the build system entirely. |
223 | + To do so, use the procedure documented by the package, typically `autoreconf'.])]) |
224 | +@@ -346,7 +346,7 @@ msgstr "" |
225 | + |
226 | + dnl These rules are solely for the distribution goal. While doing this |
227 | + dnl we only have to keep exactly one list of the available catalogs |
228 | +- dnl in configure.in. |
229 | ++ dnl in configure.ac. |
230 | + for lang in $ALL_LINGUAS; do |
231 | + GMOFILES="$GMOFILES $lang.gmo" |
232 | + POFILES="$POFILES $lang.po" |
233 | +@@ -475,7 +475,7 @@ AC_DEFINE_UNQUOTED($1, "$localedir", |
234 | + dnl |
235 | + dnl Now the definitions that aclocal will find |
236 | + dnl |
237 | +-ifdef(glib_configure_in,[],[ |
238 | ++ifdef(glib_configure_ac,[],[ |
239 | + AC_DEFUN([AM_GLIB_GNU_GETTEXT],[GLIB_GNU_GETTEXT($@)]) |
240 | + AC_DEFUN([AM_GLIB_DEFINE_LOCALEDIR],[GLIB_DEFINE_LOCALEDIR($@)]) |
241 | + ])dnl |
242 | +@@ -498,6 +498,7 @@ fi]) |
243 | + |
244 | + |
245 | + # pkg.m4 - Macros to locate and utilise pkg-config. -*- Autoconf -*- |
246 | ++# serial 1 (pkg-config-0.24) |
247 | + # |
248 | + # Copyright © 2004 Scott James Remnant <scott@netsplit.com>. |
249 | + # |
250 | +@@ -524,8 +525,12 @@ fi]) |
251 | + # ---------------------------------- |
252 | + AC_DEFUN([PKG_PROG_PKG_CONFIG], |
253 | + [m4_pattern_forbid([^_?PKG_[A-Z_]+$]) |
254 | +-m4_pattern_allow([^PKG_CONFIG(_PATH)?$]) |
255 | +-AC_ARG_VAR([PKG_CONFIG], [path to pkg-config utility])dnl |
256 | ++m4_pattern_allow([^PKG_CONFIG(_(PATH|LIBDIR|SYSROOT_DIR|ALLOW_SYSTEM_(CFLAGS|LIBS)))?$]) |
257 | ++m4_pattern_allow([^PKG_CONFIG_(DISABLE_UNINSTALLED|TOP_BUILD_DIR|DEBUG_SPEW)$]) |
258 | ++AC_ARG_VAR([PKG_CONFIG], [path to pkg-config utility]) |
259 | ++AC_ARG_VAR([PKG_CONFIG_PATH], [directories to add to pkg-config's search path]) |
260 | ++AC_ARG_VAR([PKG_CONFIG_LIBDIR], [path overriding pkg-config's built-in search path]) |
261 | ++ |
262 | + if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then |
263 | + AC_PATH_TOOL([PKG_CONFIG], [pkg-config]) |
264 | + fi |
265 | +@@ -538,7 +543,6 @@ if test -n "$PKG_CONFIG"; then |
266 | + AC_MSG_RESULT([no]) |
267 | + PKG_CONFIG="" |
268 | + fi |
269 | +- |
270 | + fi[]dnl |
271 | + ])# PKG_PROG_PKG_CONFIG |
272 | + |
273 | +@@ -547,21 +551,20 @@ fi[]dnl |
274 | + # Check to see whether a particular set of modules exists. Similar |
275 | + # to PKG_CHECK_MODULES(), but does not set variables or print errors. |
276 | + # |
277 | +-# |
278 | +-# Similar to PKG_CHECK_MODULES, make sure that the first instance of |
279 | +-# this or PKG_CHECK_MODULES is called, or make sure to call |
280 | +-# PKG_CHECK_EXISTS manually |
281 | ++# Please remember that m4 expands AC_REQUIRE([PKG_PROG_PKG_CONFIG]) |
282 | ++# only at the first occurence in configure.ac, so if the first place |
283 | ++# it's called might be skipped (such as if it is within an "if", you |
284 | ++# have to call PKG_CHECK_EXISTS manually |
285 | + # -------------------------------------------------------------- |
286 | + AC_DEFUN([PKG_CHECK_EXISTS], |
287 | + [AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl |
288 | + if test -n "$PKG_CONFIG" && \ |
289 | + AC_RUN_LOG([$PKG_CONFIG --exists --print-errors "$1"]); then |
290 | +- m4_ifval([$2], [$2], [:]) |
291 | ++ m4_default([$2], [:]) |
292 | + m4_ifvaln([$3], [else |
293 | + $3])dnl |
294 | + fi]) |
295 | + |
296 | +- |
297 | + # _PKG_CONFIG([VARIABLE], [COMMAND], [MODULES]) |
298 | + # --------------------------------------------- |
299 | + m4_define([_PKG_CONFIG], |
300 | +@@ -569,7 +572,8 @@ m4_define([_PKG_CONFIG], |
301 | + pkg_cv_[]$1="$$1" |
302 | + elif test -n "$PKG_CONFIG"; then |
303 | + PKG_CHECK_EXISTS([$3], |
304 | +- [pkg_cv_[]$1=`$PKG_CONFIG --[]$2 "$3" 2>/dev/null`], |
305 | ++ [pkg_cv_[]$1=`$PKG_CONFIG --[]$2 "$3" 2>/dev/null` |
306 | ++ test "x$?" != "x0" && pkg_failed=yes ], |
307 | + [pkg_failed=yes]) |
308 | + else |
309 | + pkg_failed=untried |
310 | +@@ -614,16 +618,17 @@ and $1[]_LIBS to avoid the need to call |
311 | + See the pkg-config man page for more details.]) |
312 | + |
313 | + if test $pkg_failed = yes; then |
314 | ++ AC_MSG_RESULT([no]) |
315 | + _PKG_SHORT_ERRORS_SUPPORTED |
316 | + if test $_pkg_short_errors_supported = yes; then |
317 | +- $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "$2" 2>&1` |
318 | ++ $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$2" 2>&1` |
319 | + else |
320 | +- $1[]_PKG_ERRORS=`$PKG_CONFIG --print-errors "$2" 2>&1` |
321 | ++ $1[]_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$2" 2>&1` |
322 | + fi |
323 | + # Put the nasty error message in config.log where it belongs |
324 | + echo "$$1[]_PKG_ERRORS" >&AS_MESSAGE_LOG_FD |
325 | + |
326 | +- ifelse([$4], , [AC_MSG_ERROR(dnl |
327 | ++ m4_default([$4], [AC_MSG_ERROR( |
328 | + [Package requirements ($2) were not met: |
329 | + |
330 | + $$1_PKG_ERRORS |
331 | +@@ -631,25 +636,24 @@ $$1_PKG_ERRORS |
332 | + Consider adjusting the PKG_CONFIG_PATH environment variable if you |
333 | + installed software in a non-standard prefix. |
334 | + |
335 | +-_PKG_TEXT |
336 | +-])], |
337 | +- [AC_MSG_RESULT([no]) |
338 | +- $4]) |
339 | ++_PKG_TEXT])[]dnl |
340 | ++ ]) |
341 | + elif test $pkg_failed = untried; then |
342 | +- ifelse([$4], , [AC_MSG_FAILURE(dnl |
343 | ++ AC_MSG_RESULT([no]) |
344 | ++ m4_default([$4], [AC_MSG_FAILURE( |
345 | + [The pkg-config script could not be found or is too old. Make sure it |
346 | + is in your PATH or set the PKG_CONFIG environment variable to the full |
347 | + path to pkg-config. |
348 | + |
349 | + _PKG_TEXT |
350 | + |
351 | +-To get pkg-config, see <http://pkg-config.freedesktop.org/>.])], |
352 | +- [$4]) |
353 | ++To get pkg-config, see <http://pkg-config.freedesktop.org/>.])[]dnl |
354 | ++ ]) |
355 | + else |
356 | + $1[]_CFLAGS=$pkg_cv_[]$1[]_CFLAGS |
357 | + $1[]_LIBS=$pkg_cv_[]$1[]_LIBS |
358 | + AC_MSG_RESULT([yes]) |
359 | +- ifelse([$3], , :, [$3]) |
360 | ++ $3 |
361 | + fi[]dnl |
362 | + ])# PKG_CHECK_MODULES |
363 | + |
364 | +--- a/config.h.in |
365 | ++++ b/config.h.in |
366 | +@@ -33,7 +33,7 @@ |
367 | + /* Define to 1 if you have the <memory.h> header file. */ |
368 | + #undef HAVE_MEMORY_H |
369 | + |
370 | +-/* Define to 1 if using libxul 1.9.2 or higher */ |
371 | ++/* Define to 1 if using libxul 2.0.0 or higher */ |
372 | + #undef HAVE_NEW_XULRUNNER |
373 | + |
374 | + /* Define to 1 if you have the <stdint.h> header file. */ |
375 | +--- a/configure |
376 | ++++ b/configure |
377 | +@@ -1,11 +1,11 @@ |
378 | + #! /bin/sh |
379 | + # Guess values for system-dependent variables and create Makefiles. |
380 | +-# Generated by GNU Autoconf 2.65. |
381 | ++# Generated by GNU Autoconf 2.68. |
382 | + # |
383 | + # |
384 | + # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, |
385 | +-# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, |
386 | +-# Inc. |
387 | ++# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software |
388 | ++# Foundation, Inc. |
389 | + # |
390 | + # |
391 | + # This configure script is free software; the Free Software Foundation |
392 | +@@ -89,6 +89,7 @@ fi |
393 | + IFS=" "" $as_nl" |
394 | + |
395 | + # Find who we are. Look in the path if we contain no directory separator. |
396 | ++as_myself= |
397 | + case $0 in #(( |
398 | + *[\\/]* ) as_myself=$0 ;; |
399 | + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
400 | +@@ -214,11 +215,18 @@ IFS=$as_save_IFS |
401 | + # We cannot yet assume a decent shell, so we have to provide a |
402 | + # neutralization value for shells without unset; and this also |
403 | + # works around shells that cannot unset nonexistent variables. |
404 | ++ # Preserve -v and -x to the replacement shell. |
405 | + BASH_ENV=/dev/null |
406 | + ENV=/dev/null |
407 | + (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV |
408 | + export CONFIG_SHELL |
409 | +- exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} |
410 | ++ case $- in # (((( |
411 | ++ *v*x* | *x*v* ) as_opts=-vx ;; |
412 | ++ *v* ) as_opts=-v ;; |
413 | ++ *x* ) as_opts=-x ;; |
414 | ++ * ) as_opts= ;; |
415 | ++ esac |
416 | ++ exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"} |
417 | + fi |
418 | + |
419 | + if test x$as_have_required = xno; then : |
420 | +@@ -316,7 +324,7 @@ $as_echo X"$as_dir" | |
421 | + test -d "$as_dir" && break |
422 | + done |
423 | + test -z "$as_dirs" || eval "mkdir $as_dirs" |
424 | +- } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" |
425 | ++ } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" |
426 | + |
427 | + |
428 | + } # as_fn_mkdir_p |
429 | +@@ -356,19 +364,19 @@ else |
430 | + fi # as_fn_arith |
431 | + |
432 | + |
433 | +-# as_fn_error ERROR [LINENO LOG_FD] |
434 | +-# --------------------------------- |
435 | ++# as_fn_error STATUS ERROR [LINENO LOG_FD] |
436 | ++# ---------------------------------------- |
437 | + # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are |
438 | + # provided, also output the error to LOG_FD, referencing LINENO. Then exit the |
439 | +-# script with status $?, using 1 if that was 0. |
440 | ++# script with STATUS, using 1 if that was 0. |
441 | + as_fn_error () |
442 | + { |
443 | +- as_status=$?; test $as_status -eq 0 && as_status=1 |
444 | +- if test "$3"; then |
445 | +- as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
446 | +- $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 |
447 | ++ as_status=$1; test $as_status -eq 0 && as_status=1 |
448 | ++ if test "$4"; then |
449 | ++ as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
450 | ++ $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 |
451 | + fi |
452 | +- $as_echo "$as_me: error: $1" >&2 |
453 | ++ $as_echo "$as_me: error: $2" >&2 |
454 | + as_fn_exit $as_status |
455 | + } # as_fn_error |
456 | + |
457 | +@@ -530,7 +538,7 @@ test -n "$DJDIR" || exec 7<&0 </dev/null |
458 | + exec 6>&1 |
459 | + |
460 | + # Name of the host. |
461 | +-# hostname on some systems (SVR3.2, Linux) returns a bogus exit status, |
462 | ++# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, |
463 | + # so uname gets run too. |
464 | + ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` |
465 | + |
466 | +@@ -614,6 +622,8 @@ GECKO_LIBS |
467 | + GECKO_CFLAGS |
468 | + GLIB_LIBS |
469 | + GLIB_CFLAGS |
470 | ++PKG_CONFIG_LIBDIR |
471 | ++PKG_CONFIG_PATH |
472 | + PKG_CONFIG |
473 | + MKINSTALLDIRS |
474 | + POSUB |
475 | +@@ -750,6 +760,8 @@ CXX |
476 | + CXXFLAGS |
477 | + CCC |
478 | + PKG_CONFIG |
479 | ++PKG_CONFIG_PATH |
480 | ++PKG_CONFIG_LIBDIR |
481 | + GLIB_CFLAGS |
482 | + GLIB_LIBS |
483 | + GECKO_CFLAGS |
484 | +@@ -824,8 +836,9 @@ do |
485 | + fi |
486 | + |
487 | + case $ac_option in |
488 | +- *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; |
489 | +- *) ac_optarg=yes ;; |
490 | ++ *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; |
491 | ++ *=) ac_optarg= ;; |
492 | ++ *) ac_optarg=yes ;; |
493 | + esac |
494 | + |
495 | + # Accept the important Cygnus configure options, so we can diagnose typos. |
496 | +@@ -870,7 +883,7 @@ do |
497 | + ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` |
498 | + # Reject names that are not valid shell variable names. |
499 | + expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
500 | +- as_fn_error "invalid feature name: $ac_useropt" |
501 | ++ as_fn_error $? "invalid feature name: $ac_useropt" |
502 | + ac_useropt_orig=$ac_useropt |
503 | + ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
504 | + case $ac_user_opts in |
505 | +@@ -896,7 +909,7 @@ do |
506 | + ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` |
507 | + # Reject names that are not valid shell variable names. |
508 | + expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
509 | +- as_fn_error "invalid feature name: $ac_useropt" |
510 | ++ as_fn_error $? "invalid feature name: $ac_useropt" |
511 | + ac_useropt_orig=$ac_useropt |
512 | + ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
513 | + case $ac_user_opts in |
514 | +@@ -1100,7 +1113,7 @@ do |
515 | + ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` |
516 | + # Reject names that are not valid shell variable names. |
517 | + expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
518 | +- as_fn_error "invalid package name: $ac_useropt" |
519 | ++ as_fn_error $? "invalid package name: $ac_useropt" |
520 | + ac_useropt_orig=$ac_useropt |
521 | + ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
522 | + case $ac_user_opts in |
523 | +@@ -1116,7 +1129,7 @@ do |
524 | + ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` |
525 | + # Reject names that are not valid shell variable names. |
526 | + expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
527 | +- as_fn_error "invalid package name: $ac_useropt" |
528 | ++ as_fn_error $? "invalid package name: $ac_useropt" |
529 | + ac_useropt_orig=$ac_useropt |
530 | + ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
531 | + case $ac_user_opts in |
532 | +@@ -1146,8 +1159,8 @@ do |
533 | + | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) |
534 | + x_libraries=$ac_optarg ;; |
535 | + |
536 | +- -*) as_fn_error "unrecognized option: \`$ac_option' |
537 | +-Try \`$0 --help' for more information." |
538 | ++ -*) as_fn_error $? "unrecognized option: \`$ac_option' |
539 | ++Try \`$0 --help' for more information" |
540 | + ;; |
541 | + |
542 | + *=*) |
543 | +@@ -1155,7 +1168,7 @@ Try \`$0 --help' for more information." |
544 | + # Reject names that are not valid shell variable names. |
545 | + case $ac_envvar in #( |
546 | + '' | [0-9]* | *[!_$as_cr_alnum]* ) |
547 | +- as_fn_error "invalid variable name: \`$ac_envvar'" ;; |
548 | ++ as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; |
549 | + esac |
550 | + eval $ac_envvar=\$ac_optarg |
551 | + export $ac_envvar ;; |
552 | +@@ -1165,7 +1178,7 @@ Try \`$0 --help' for more information." |
553 | + $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 |
554 | + expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && |
555 | + $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 |
556 | +- : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} |
557 | ++ : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" |
558 | + ;; |
559 | + |
560 | + esac |
561 | +@@ -1173,13 +1186,13 @@ done |
562 | + |
563 | + if test -n "$ac_prev"; then |
564 | + ac_option=--`echo $ac_prev | sed 's/_/-/g'` |
565 | +- as_fn_error "missing argument to $ac_option" |
566 | ++ as_fn_error $? "missing argument to $ac_option" |
567 | + fi |
568 | + |
569 | + if test -n "$ac_unrecognized_opts"; then |
570 | + case $enable_option_checking in |
571 | + no) ;; |
572 | +- fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;; |
573 | ++ fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; |
574 | + *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; |
575 | + esac |
576 | + fi |
577 | +@@ -1202,7 +1215,7 @@ do |
578 | + [\\/$]* | ?:[\\/]* ) continue;; |
579 | + NONE | '' ) case $ac_var in *prefix ) continue;; esac;; |
580 | + esac |
581 | +- as_fn_error "expected an absolute directory name for --$ac_var: $ac_val" |
582 | ++ as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" |
583 | + done |
584 | + |
585 | + # There might be people who depend on the old broken behavior: `$host' |
586 | +@@ -1216,8 +1229,8 @@ target=$target_alias |
587 | + if test "x$host_alias" != x; then |
588 | + if test "x$build_alias" = x; then |
589 | + cross_compiling=maybe |
590 | +- $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. |
591 | +- If a cross compiler is detected then cross compile mode will be used." >&2 |
592 | ++ $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host. |
593 | ++ If a cross compiler is detected then cross compile mode will be used" >&2 |
594 | + elif test "x$build_alias" != "x$host_alias"; then |
595 | + cross_compiling=yes |
596 | + fi |
597 | +@@ -1232,9 +1245,9 @@ test "$silent" = yes && exec 6>/dev/null |
598 | + ac_pwd=`pwd` && test -n "$ac_pwd" && |
599 | + ac_ls_di=`ls -di .` && |
600 | + ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || |
601 | +- as_fn_error "working directory cannot be determined" |
602 | ++ as_fn_error $? "working directory cannot be determined" |
603 | + test "X$ac_ls_di" = "X$ac_pwd_ls_di" || |
604 | +- as_fn_error "pwd does not report name of working directory" |
605 | ++ as_fn_error $? "pwd does not report name of working directory" |
606 | + |
607 | + |
608 | + # Find the source files, if location was not specified. |
609 | +@@ -1273,11 +1286,11 @@ else |
610 | + fi |
611 | + if test ! -r "$srcdir/$ac_unique_file"; then |
612 | + test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." |
613 | +- as_fn_error "cannot find sources ($ac_unique_file) in $srcdir" |
614 | ++ as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" |
615 | + fi |
616 | + ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" |
617 | + ac_abs_confdir=`( |
618 | +- cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg" |
619 | ++ cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" |
620 | + pwd)` |
621 | + # When building in place, set srcdir=. |
622 | + if test "$ac_abs_confdir" = "$ac_pwd"; then |
623 | +@@ -1317,7 +1330,7 @@ Configuration: |
624 | + --help=short display options specific to this package |
625 | + --help=recursive display the short help of all the included packages |
626 | + -V, --version display version information and exit |
627 | +- -q, --quiet, --silent do not print \`checking...' messages |
628 | ++ -q, --quiet, --silent do not print \`checking ...' messages |
629 | + --cache-file=FILE cache test results in FILE [disabled] |
630 | + -C, --config-cache alias for \`--cache-file=config.cache' |
631 | + -n, --no-create do not create output files |
632 | +@@ -1410,6 +1423,10 @@ Some influential environment variables: |
633 | + CXX C++ compiler command |
634 | + CXXFLAGS C++ compiler flags |
635 | + PKG_CONFIG path to pkg-config utility |
636 | ++ PKG_CONFIG_PATH |
637 | ++ directories to add to pkg-config's search path |
638 | ++ PKG_CONFIG_LIBDIR |
639 | ++ path overriding pkg-config's built-in search path |
640 | + GLIB_CFLAGS C compiler flags for GLIB, overriding pkg-config |
641 | + GLIB_LIBS linker flags for GLIB, overriding pkg-config |
642 | + GECKO_CFLAGS |
643 | +@@ -1492,9 +1509,9 @@ test -n "$ac_init_help" && exit $ac_stat |
644 | + if $ac_init_version; then |
645 | + cat <<\_ACEOF |
646 | + configure |
647 | +-generated by GNU Autoconf 2.65 |
648 | ++generated by GNU Autoconf 2.68 |
649 | + |
650 | +-Copyright (C) 2009 Free Software Foundation, Inc. |
651 | ++Copyright (C) 2010 Free Software Foundation, Inc. |
652 | + This configure script is free software; the Free Software Foundation |
653 | + gives unlimited permission to copy, distribute and modify it. |
654 | + _ACEOF |
655 | +@@ -1538,7 +1555,7 @@ sed 's/^/| /' conftest.$ac_ext >&5 |
656 | + |
657 | + ac_retval=1 |
658 | + fi |
659 | +- eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
660 | ++ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
661 | + as_fn_set_status $ac_retval |
662 | + |
663 | + } # ac_fn_c_try_compile |
664 | +@@ -1584,7 +1601,7 @@ fi |
665 | + # interfere with the next link command; also delete a directory that is |
666 | + # left behind by Apple's compiler. We do this before executing the actions. |
667 | + rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
668 | +- eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
669 | ++ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
670 | + as_fn_set_status $ac_retval |
671 | + |
672 | + } # ac_fn_c_try_link |
673 | +@@ -1610,7 +1627,7 @@ $as_echo "$ac_try_echo"; } >&5 |
674 | + mv -f conftest.er1 conftest.err |
675 | + fi |
676 | + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
677 | +- test $ac_status = 0; } >/dev/null && { |
678 | ++ test $ac_status = 0; } > conftest.i && { |
679 | + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
680 | + test ! -s conftest.err |
681 | + }; then : |
682 | +@@ -1621,7 +1638,7 @@ sed 's/^/| /' conftest.$ac_ext >&5 |
683 | + |
684 | + ac_retval=1 |
685 | + fi |
686 | +- eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
687 | ++ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
688 | + as_fn_set_status $ac_retval |
689 | + |
690 | + } # ac_fn_c_try_cpp |
691 | +@@ -1663,7 +1680,7 @@ sed 's/^/| /' conftest.$ac_ext >&5 |
692 | + ac_retval=$ac_status |
693 | + fi |
694 | + rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
695 | +- eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
696 | ++ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
697 | + as_fn_set_status $ac_retval |
698 | + |
699 | + } # ac_fn_c_try_run |
700 | +@@ -1701,7 +1718,7 @@ sed 's/^/| /' conftest.$ac_ext >&5 |
701 | + |
702 | + ac_retval=1 |
703 | + fi |
704 | +- eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
705 | ++ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
706 | + as_fn_set_status $ac_retval |
707 | + |
708 | + } # ac_fn_cxx_try_compile |
709 | +@@ -1714,10 +1731,10 @@ fi |
710 | + ac_fn_c_check_header_mongrel () |
711 | + { |
712 | + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
713 | +- if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : |
714 | ++ if eval \${$3+:} false; then : |
715 | + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
716 | + $as_echo_n "checking for $2... " >&6; } |
717 | +-if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : |
718 | ++if eval \${$3+:} false; then : |
719 | + $as_echo_n "(cached) " >&6 |
720 | + fi |
721 | + eval ac_res=\$$3 |
722 | +@@ -1753,7 +1770,7 @@ if ac_fn_c_try_cpp "$LINENO"; then : |
723 | + else |
724 | + ac_header_preproc=no |
725 | + fi |
726 | +-rm -f conftest.err conftest.$ac_ext |
727 | ++rm -f conftest.err conftest.i conftest.$ac_ext |
728 | + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 |
729 | + $as_echo "$ac_header_preproc" >&6; } |
730 | + |
731 | +@@ -1780,7 +1797,7 @@ $as_echo "$as_me: WARNING: $2: proceedin |
732 | + esac |
733 | + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
734 | + $as_echo_n "checking for $2... " >&6; } |
735 | +-if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : |
736 | ++if eval \${$3+:} false; then : |
737 | + $as_echo_n "(cached) " >&6 |
738 | + else |
739 | + eval "$3=\$ac_header_compiler" |
740 | +@@ -1789,7 +1806,7 @@ eval ac_res=\$$3 |
741 | + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
742 | + $as_echo "$ac_res" >&6; } |
743 | + fi |
744 | +- eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
745 | ++ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
746 | + |
747 | + } # ac_fn_c_check_header_mongrel |
748 | + |
749 | +@@ -1802,7 +1819,7 @@ ac_fn_c_check_header_compile () |
750 | + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
751 | + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
752 | + $as_echo_n "checking for $2... " >&6; } |
753 | +-if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : |
754 | ++if eval \${$3+:} false; then : |
755 | + $as_echo_n "(cached) " >&6 |
756 | + else |
757 | + cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
758 | +@@ -1820,7 +1837,7 @@ fi |
759 | + eval ac_res=\$$3 |
760 | + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
761 | + $as_echo "$ac_res" >&6; } |
762 | +- eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
763 | ++ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
764 | + |
765 | + } # ac_fn_c_check_header_compile |
766 | + |
767 | +@@ -1832,7 +1849,7 @@ ac_fn_c_check_func () |
768 | + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
769 | + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
770 | + $as_echo_n "checking for $2... " >&6; } |
771 | +-if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : |
772 | ++if eval \${$3+:} false; then : |
773 | + $as_echo_n "(cached) " >&6 |
774 | + else |
775 | + cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
776 | +@@ -1887,7 +1904,7 @@ fi |
777 | + eval ac_res=\$$3 |
778 | + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
779 | + $as_echo "$ac_res" >&6; } |
780 | +- eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
781 | ++ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
782 | + |
783 | + } # ac_fn_c_check_func |
784 | + cat >config.log <<_ACEOF |
785 | +@@ -1895,7 +1912,7 @@ This file contains any messages produced |
786 | + running configure, to aid debugging if configure makes a mistake. |
787 | + |
788 | + It was created by $as_me, which was |
789 | +-generated by GNU Autoconf 2.65. Invocation command line was |
790 | ++generated by GNU Autoconf 2.68. Invocation command line was |
791 | + |
792 | + $ $0 $@ |
793 | + |
794 | +@@ -2005,11 +2022,9 @@ trap 'exit_status=$? |
795 | + { |
796 | + echo |
797 | + |
798 | +- cat <<\_ASBOX |
799 | +-## ---------------- ## |
800 | ++ $as_echo "## ---------------- ## |
801 | + ## Cache variables. ## |
802 | +-## ---------------- ## |
803 | +-_ASBOX |
804 | ++## ---------------- ##" |
805 | + echo |
806 | + # The following way of writing the cache mishandles newlines in values, |
807 | + ( |
808 | +@@ -2043,11 +2058,9 @@ $as_echo "$as_me: WARNING: cache variabl |
809 | + ) |
810 | + echo |
811 | + |
812 | +- cat <<\_ASBOX |
813 | +-## ----------------- ## |
814 | ++ $as_echo "## ----------------- ## |
815 | + ## Output variables. ## |
816 | +-## ----------------- ## |
817 | +-_ASBOX |
818 | ++## ----------------- ##" |
819 | + echo |
820 | + for ac_var in $ac_subst_vars |
821 | + do |
822 | +@@ -2060,11 +2073,9 @@ _ASBOX |
823 | + echo |
824 | + |
825 | + if test -n "$ac_subst_files"; then |
826 | +- cat <<\_ASBOX |
827 | +-## ------------------- ## |
828 | ++ $as_echo "## ------------------- ## |
829 | + ## File substitutions. ## |
830 | +-## ------------------- ## |
831 | +-_ASBOX |
832 | ++## ------------------- ##" |
833 | + echo |
834 | + for ac_var in $ac_subst_files |
835 | + do |
836 | +@@ -2078,11 +2089,9 @@ _ASBOX |
837 | + fi |
838 | + |
839 | + if test -s confdefs.h; then |
840 | +- cat <<\_ASBOX |
841 | +-## ----------- ## |
842 | ++ $as_echo "## ----------- ## |
843 | + ## confdefs.h. ## |
844 | +-## ----------- ## |
845 | +-_ASBOX |
846 | ++## ----------- ##" |
847 | + echo |
848 | + cat confdefs.h |
849 | + echo |
850 | +@@ -2137,7 +2146,12 @@ _ACEOF |
851 | + ac_site_file1=NONE |
852 | + ac_site_file2=NONE |
853 | + if test -n "$CONFIG_SITE"; then |
854 | +- ac_site_file1=$CONFIG_SITE |
855 | ++ # We do not want a PATH search for config.site. |
856 | ++ case $CONFIG_SITE in #(( |
857 | ++ -*) ac_site_file1=./$CONFIG_SITE;; |
858 | ++ */*) ac_site_file1=$CONFIG_SITE;; |
859 | ++ *) ac_site_file1=./$CONFIG_SITE;; |
860 | ++ esac |
861 | + elif test "x$prefix" != xNONE; then |
862 | + ac_site_file1=$prefix/share/config.site |
863 | + ac_site_file2=$prefix/etc/config.site |
864 | +@@ -2152,7 +2166,11 @@ do |
865 | + { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 |
866 | + $as_echo "$as_me: loading site script $ac_site_file" >&6;} |
867 | + sed 's/^/| /' "$ac_site_file" >&5 |
868 | +- . "$ac_site_file" |
869 | ++ . "$ac_site_file" \ |
870 | ++ || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
871 | ++$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
872 | ++as_fn_error $? "failed to load site script $ac_site_file |
873 | ++See \`config.log' for more details" "$LINENO" 5; } |
874 | + fi |
875 | + done |
876 | + |
877 | +@@ -2228,7 +2246,7 @@ if $ac_cache_corrupted; then |
878 | + $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
879 | + { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 |
880 | + $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} |
881 | +- as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 |
882 | ++ as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 |
883 | + fi |
884 | + ## -------------------- ## |
885 | + ## Main body of script. ## |
886 | +@@ -2245,16 +2263,22 @@ am__api_version='1.11' |
887 | + |
888 | + ac_aux_dir= |
889 | + for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do |
890 | +- for ac_t in install-sh install.sh shtool; do |
891 | +- if test -f "$ac_dir/$ac_t"; then |
892 | +- ac_aux_dir=$ac_dir |
893 | +- ac_install_sh="$ac_aux_dir/$ac_t -c" |
894 | +- break 2 |
895 | +- fi |
896 | +- done |
897 | ++ if test -f "$ac_dir/install-sh"; then |
898 | ++ ac_aux_dir=$ac_dir |
899 | ++ ac_install_sh="$ac_aux_dir/install-sh -c" |
900 | ++ break |
901 | ++ elif test -f "$ac_dir/install.sh"; then |
902 | ++ ac_aux_dir=$ac_dir |
903 | ++ ac_install_sh="$ac_aux_dir/install.sh -c" |
904 | ++ break |
905 | ++ elif test -f "$ac_dir/shtool"; then |
906 | ++ ac_aux_dir=$ac_dir |
907 | ++ ac_install_sh="$ac_aux_dir/shtool install -c" |
908 | ++ break |
909 | ++ fi |
910 | + done |
911 | + if test -z "$ac_aux_dir"; then |
912 | +- as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 |
913 | ++ as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 |
914 | + fi |
915 | + |
916 | + # These three variables are undocumented and unsupported, |
917 | +@@ -2283,7 +2307,7 @@ ac_configure="$SHELL $ac_aux_dir/configu |
918 | + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 |
919 | + $as_echo_n "checking for a BSD-compatible install... " >&6; } |
920 | + if test -z "$INSTALL"; then |
921 | +-if test "${ac_cv_path_install+set}" = set; then : |
922 | ++if ${ac_cv_path_install+:} false; then : |
923 | + $as_echo_n "(cached) " >&6 |
924 | + else |
925 | + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
926 | +@@ -2370,11 +2394,11 @@ am_lf=' |
927 | + ' |
928 | + case `pwd` in |
929 | + *[\\\"\#\$\&\'\`$am_lf]*) |
930 | +- as_fn_error "unsafe absolute working directory name" "$LINENO" 5;; |
931 | ++ as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; |
932 | + esac |
933 | + case $srcdir in |
934 | + *[\\\"\#\$\&\'\`$am_lf\ \ ]*) |
935 | +- as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;; |
936 | ++ as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;; |
937 | + esac |
938 | + |
939 | + # Do `set' in a subshell so we don't clobber the current shell's |
940 | +@@ -2396,7 +2420,7 @@ if ( |
941 | + # if, for instance, CONFIG_SHELL is bash and it inherits a |
942 | + # broken ls alias from the environment. This has actually |
943 | + # happened. Such a system could not be considered "sane". |
944 | +- as_fn_error "ls -t appears to fail. Make sure there is not a broken |
945 | ++ as_fn_error $? "ls -t appears to fail. Make sure there is not a broken |
946 | + alias in your environment" "$LINENO" 5 |
947 | + fi |
948 | + |
949 | +@@ -2406,7 +2430,7 @@ then |
950 | + # Ok. |
951 | + : |
952 | + else |
953 | +- as_fn_error "newly created file is older than distributed files! |
954 | ++ as_fn_error $? "newly created file is older than distributed files! |
955 | + Check your system clock" "$LINENO" 5 |
956 | + fi |
957 | + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
958 | +@@ -2460,7 +2484,7 @@ if test "$cross_compiling" != no; then |
959 | + set dummy ${ac_tool_prefix}strip; ac_word=$2 |
960 | + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
961 | + $as_echo_n "checking for $ac_word... " >&6; } |
962 | +-if test "${ac_cv_prog_STRIP+set}" = set; then : |
963 | ++if ${ac_cv_prog_STRIP+:} false; then : |
964 | + $as_echo_n "(cached) " >&6 |
965 | + else |
966 | + if test -n "$STRIP"; then |
967 | +@@ -2500,7 +2524,7 @@ if test -z "$ac_cv_prog_STRIP"; then |
968 | + set dummy strip; ac_word=$2 |
969 | + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
970 | + $as_echo_n "checking for $ac_word... " >&6; } |
971 | +-if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then : |
972 | ++if ${ac_cv_prog_ac_ct_STRIP+:} false; then : |
973 | + $as_echo_n "(cached) " >&6 |
974 | + else |
975 | + if test -n "$ac_ct_STRIP"; then |
976 | +@@ -2553,7 +2577,7 @@ INSTALL_STRIP_PROGRAM="\$(install_sh) -c |
977 | + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 |
978 | + $as_echo_n "checking for a thread-safe mkdir -p... " >&6; } |
979 | + if test -z "$MKDIR_P"; then |
980 | +- if test "${ac_cv_path_mkdir+set}" = set; then : |
981 | ++ if ${ac_cv_path_mkdir+:} false; then : |
982 | + $as_echo_n "(cached) " >&6 |
983 | + else |
984 | + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
985 | +@@ -2604,7 +2628,7 @@ do |
986 | + set dummy $ac_prog; ac_word=$2 |
987 | + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
988 | + $as_echo_n "checking for $ac_word... " >&6; } |
989 | +-if test "${ac_cv_prog_AWK+set}" = set; then : |
990 | ++if ${ac_cv_prog_AWK+:} false; then : |
991 | + $as_echo_n "(cached) " >&6 |
992 | + else |
993 | + if test -n "$AWK"; then |
994 | +@@ -2644,7 +2668,7 @@ done |
995 | + $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } |
996 | + set x ${MAKE-make} |
997 | + ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` |
998 | +-if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then : |
999 | ++if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : |
1000 | + $as_echo_n "(cached) " >&6 |
1001 | + else |
1002 | + cat >conftest.make <<\_ACEOF |
1003 | +@@ -2652,7 +2676,7 @@ SHELL = /bin/sh |
1004 | + all: |
1005 | + @echo '@@@%%%=$(MAKE)=@@@%%%' |
1006 | + _ACEOF |
1007 | +-# GNU make sometimes prints "make[1]: Entering...", which would confuse us. |
1008 | ++# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. |
1009 | + case `${MAKE-make} -f conftest.make 2>/dev/null` in |
1010 | + *@@@%%%=?*=@@@%%%*) |
1011 | + eval ac_cv_prog_make_${ac_make}_set=yes;; |
1012 | +@@ -2686,7 +2710,7 @@ if test "`cd $srcdir && pwd`" != "`pwd`" |
1013 | + am__isrc=' -I$(srcdir)' |
1014 | + # test to see if srcdir already configured |
1015 | + if test -f $srcdir/config.status; then |
1016 | +- as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 |
1017 | ++ as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 |
1018 | + fi |
1019 | + fi |
1020 | + |
1021 | +@@ -2840,7 +2864,7 @@ if test -n "$ac_tool_prefix"; then |
1022 | + set dummy ${ac_tool_prefix}gcc; ac_word=$2 |
1023 | + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
1024 | + $as_echo_n "checking for $ac_word... " >&6; } |
1025 | +-if test "${ac_cv_prog_CC+set}" = set; then : |
1026 | ++if ${ac_cv_prog_CC+:} false; then : |
1027 | + $as_echo_n "(cached) " >&6 |
1028 | + else |
1029 | + if test -n "$CC"; then |
1030 | +@@ -2880,7 +2904,7 @@ if test -z "$ac_cv_prog_CC"; then |
1031 | + set dummy gcc; ac_word=$2 |
1032 | + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
1033 | + $as_echo_n "checking for $ac_word... " >&6; } |
1034 | +-if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : |
1035 | ++if ${ac_cv_prog_ac_ct_CC+:} false; then : |
1036 | + $as_echo_n "(cached) " >&6 |
1037 | + else |
1038 | + if test -n "$ac_ct_CC"; then |
1039 | +@@ -2933,7 +2957,7 @@ if test -z "$CC"; then |
1040 | + set dummy ${ac_tool_prefix}cc; ac_word=$2 |
1041 | + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
1042 | + $as_echo_n "checking for $ac_word... " >&6; } |
1043 | +-if test "${ac_cv_prog_CC+set}" = set; then : |
1044 | ++if ${ac_cv_prog_CC+:} false; then : |
1045 | + $as_echo_n "(cached) " >&6 |
1046 | + else |
1047 | + if test -n "$CC"; then |
1048 | +@@ -2973,7 +2997,7 @@ if test -z "$CC"; then |
1049 | + set dummy cc; ac_word=$2 |
1050 | + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
1051 | + $as_echo_n "checking for $ac_word... " >&6; } |
1052 | +-if test "${ac_cv_prog_CC+set}" = set; then : |
1053 | ++if ${ac_cv_prog_CC+:} false; then : |
1054 | + $as_echo_n "(cached) " >&6 |
1055 | + else |
1056 | + if test -n "$CC"; then |
1057 | +@@ -3032,7 +3056,7 @@ if test -z "$CC"; then |
1058 | + set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
1059 | + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
1060 | + $as_echo_n "checking for $ac_word... " >&6; } |
1061 | +-if test "${ac_cv_prog_CC+set}" = set; then : |
1062 | ++if ${ac_cv_prog_CC+:} false; then : |
1063 | + $as_echo_n "(cached) " >&6 |
1064 | + else |
1065 | + if test -n "$CC"; then |
1066 | +@@ -3076,7 +3100,7 @@ do |
1067 | + set dummy $ac_prog; ac_word=$2 |
1068 | + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
1069 | + $as_echo_n "checking for $ac_word... " >&6; } |
1070 | +-if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : |
1071 | ++if ${ac_cv_prog_ac_ct_CC+:} false; then : |
1072 | + $as_echo_n "(cached) " >&6 |
1073 | + else |
1074 | + if test -n "$ac_ct_CC"; then |
1075 | +@@ -3130,8 +3154,8 @@ fi |
1076 | + |
1077 | + test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
1078 | + $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
1079 | +-as_fn_error "no acceptable C compiler found in \$PATH |
1080 | +-See \`config.log' for more details." "$LINENO" 5; } |
1081 | ++as_fn_error $? "no acceptable C compiler found in \$PATH |
1082 | ++See \`config.log' for more details" "$LINENO" 5; } |
1083 | + |
1084 | + # Provide some information about the compiler. |
1085 | + $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 |
1086 | +@@ -3245,9 +3269,8 @@ sed 's/^/| /' conftest.$ac_ext >&5 |
1087 | + |
1088 | + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
1089 | + $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
1090 | +-{ as_fn_set_status 77 |
1091 | +-as_fn_error "C compiler cannot create executables |
1092 | +-See \`config.log' for more details." "$LINENO" 5; }; } |
1093 | ++as_fn_error 77 "C compiler cannot create executables |
1094 | ++See \`config.log' for more details" "$LINENO" 5; } |
1095 | + else |
1096 | + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
1097 | + $as_echo "yes" >&6; } |
1098 | +@@ -3289,8 +3312,8 @@ done |
1099 | + else |
1100 | + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
1101 | + $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
1102 | +-as_fn_error "cannot compute suffix of executables: cannot compile and link |
1103 | +-See \`config.log' for more details." "$LINENO" 5; } |
1104 | ++as_fn_error $? "cannot compute suffix of executables: cannot compile and link |
1105 | ++See \`config.log' for more details" "$LINENO" 5; } |
1106 | + fi |
1107 | + rm -f conftest conftest$ac_cv_exeext |
1108 | + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 |
1109 | +@@ -3347,9 +3370,9 @@ $as_echo "$ac_try_echo"; } >&5 |
1110 | + else |
1111 | + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
1112 | + $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
1113 | +-as_fn_error "cannot run C compiled programs. |
1114 | ++as_fn_error $? "cannot run C compiled programs. |
1115 | + If you meant to cross compile, use \`--host'. |
1116 | +-See \`config.log' for more details." "$LINENO" 5; } |
1117 | ++See \`config.log' for more details" "$LINENO" 5; } |
1118 | + fi |
1119 | + fi |
1120 | + fi |
1121 | +@@ -3360,7 +3383,7 @@ rm -f conftest.$ac_ext conftest$ac_cv_ex |
1122 | + ac_clean_files=$ac_clean_files_save |
1123 | + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 |
1124 | + $as_echo_n "checking for suffix of object files... " >&6; } |
1125 | +-if test "${ac_cv_objext+set}" = set; then : |
1126 | ++if ${ac_cv_objext+:} false; then : |
1127 | + $as_echo_n "(cached) " >&6 |
1128 | + else |
1129 | + cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1130 | +@@ -3400,8 +3423,8 @@ sed 's/^/| /' conftest.$ac_ext >&5 |
1131 | + |
1132 | + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
1133 | + $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
1134 | +-as_fn_error "cannot compute suffix of object files: cannot compile |
1135 | +-See \`config.log' for more details." "$LINENO" 5; } |
1136 | ++as_fn_error $? "cannot compute suffix of object files: cannot compile |
1137 | ++See \`config.log' for more details" "$LINENO" 5; } |
1138 | + fi |
1139 | + rm -f conftest.$ac_cv_objext conftest.$ac_ext |
1140 | + fi |
1141 | +@@ -3411,7 +3434,7 @@ OBJEXT=$ac_cv_objext |
1142 | + ac_objext=$OBJEXT |
1143 | + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 |
1144 | + $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } |
1145 | +-if test "${ac_cv_c_compiler_gnu+set}" = set; then : |
1146 | ++if ${ac_cv_c_compiler_gnu+:} false; then : |
1147 | + $as_echo_n "(cached) " >&6 |
1148 | + else |
1149 | + cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1150 | +@@ -3448,7 +3471,7 @@ ac_test_CFLAGS=${CFLAGS+set} |
1151 | + ac_save_CFLAGS=$CFLAGS |
1152 | + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 |
1153 | + $as_echo_n "checking whether $CC accepts -g... " >&6; } |
1154 | +-if test "${ac_cv_prog_cc_g+set}" = set; then : |
1155 | ++if ${ac_cv_prog_cc_g+:} false; then : |
1156 | + $as_echo_n "(cached) " >&6 |
1157 | + else |
1158 | + ac_save_c_werror_flag=$ac_c_werror_flag |
1159 | +@@ -3526,7 +3549,7 @@ else |
1160 | + fi |
1161 | + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 |
1162 | + $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } |
1163 | +-if test "${ac_cv_prog_cc_c89+set}" = set; then : |
1164 | ++if ${ac_cv_prog_cc_c89+:} false; then : |
1165 | + $as_echo_n "(cached) " >&6 |
1166 | + else |
1167 | + ac_cv_prog_cc_c89=no |
1168 | +@@ -3625,7 +3648,7 @@ depcc="$CC" am_compiler_list= |
1169 | + |
1170 | + { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 |
1171 | + $as_echo_n "checking dependency style of $depcc... " >&6; } |
1172 | +-if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then : |
1173 | ++if ${am_cv_CC_dependencies_compiler_type+:} false; then : |
1174 | + $as_echo_n "(cached) " >&6 |
1175 | + else |
1176 | + if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then |
1177 | +@@ -3751,7 +3774,7 @@ fi |
1178 | + |
1179 | + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5 |
1180 | + $as_echo_n "checking for library containing strerror... " >&6; } |
1181 | +-if test "${ac_cv_search_strerror+set}" = set; then : |
1182 | ++if ${ac_cv_search_strerror+:} false; then : |
1183 | + $as_echo_n "(cached) " >&6 |
1184 | + else |
1185 | + ac_func_search_save_LIBS=$LIBS |
1186 | +@@ -3785,11 +3808,11 @@ for ac_lib in '' cposix; do |
1187 | + fi |
1188 | + rm -f core conftest.err conftest.$ac_objext \ |
1189 | + conftest$ac_exeext |
1190 | +- if test "${ac_cv_search_strerror+set}" = set; then : |
1191 | ++ if ${ac_cv_search_strerror+:} false; then : |
1192 | + break |
1193 | + fi |
1194 | + done |
1195 | +-if test "${ac_cv_search_strerror+set}" = set; then : |
1196 | ++if ${ac_cv_search_strerror+:} false; then : |
1197 | + |
1198 | + else |
1199 | + ac_cv_search_strerror=no |
1200 | +@@ -3815,7 +3838,7 @@ if test -n "$ac_tool_prefix"; then |
1201 | + set dummy ${ac_tool_prefix}gcc; ac_word=$2 |
1202 | + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
1203 | + $as_echo_n "checking for $ac_word... " >&6; } |
1204 | +-if test "${ac_cv_prog_CC+set}" = set; then : |
1205 | ++if ${ac_cv_prog_CC+:} false; then : |
1206 | + $as_echo_n "(cached) " >&6 |
1207 | + else |
1208 | + if test -n "$CC"; then |
1209 | +@@ -3855,7 +3878,7 @@ if test -z "$ac_cv_prog_CC"; then |
1210 | + set dummy gcc; ac_word=$2 |
1211 | + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
1212 | + $as_echo_n "checking for $ac_word... " >&6; } |
1213 | +-if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : |
1214 | ++if ${ac_cv_prog_ac_ct_CC+:} false; then : |
1215 | + $as_echo_n "(cached) " >&6 |
1216 | + else |
1217 | + if test -n "$ac_ct_CC"; then |
1218 | +@@ -3908,7 +3931,7 @@ if test -z "$CC"; then |
1219 | + set dummy ${ac_tool_prefix}cc; ac_word=$2 |
1220 | + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
1221 | + $as_echo_n "checking for $ac_word... " >&6; } |
1222 | +-if test "${ac_cv_prog_CC+set}" = set; then : |
1223 | ++if ${ac_cv_prog_CC+:} false; then : |
1224 | + $as_echo_n "(cached) " >&6 |
1225 | + else |
1226 | + if test -n "$CC"; then |
1227 | +@@ -3948,7 +3971,7 @@ if test -z "$CC"; then |
1228 | + set dummy cc; ac_word=$2 |
1229 | + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
1230 | + $as_echo_n "checking for $ac_word... " >&6; } |
1231 | +-if test "${ac_cv_prog_CC+set}" = set; then : |
1232 | ++if ${ac_cv_prog_CC+:} false; then : |
1233 | + $as_echo_n "(cached) " >&6 |
1234 | + else |
1235 | + if test -n "$CC"; then |
1236 | +@@ -4007,7 +4030,7 @@ if test -z "$CC"; then |
1237 | + set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
1238 | + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
1239 | + $as_echo_n "checking for $ac_word... " >&6; } |
1240 | +-if test "${ac_cv_prog_CC+set}" = set; then : |
1241 | ++if ${ac_cv_prog_CC+:} false; then : |
1242 | + $as_echo_n "(cached) " >&6 |
1243 | + else |
1244 | + if test -n "$CC"; then |
1245 | +@@ -4051,7 +4074,7 @@ do |
1246 | + set dummy $ac_prog; ac_word=$2 |
1247 | + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
1248 | + $as_echo_n "checking for $ac_word... " >&6; } |
1249 | +-if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : |
1250 | ++if ${ac_cv_prog_ac_ct_CC+:} false; then : |
1251 | + $as_echo_n "(cached) " >&6 |
1252 | + else |
1253 | + if test -n "$ac_ct_CC"; then |
1254 | +@@ -4105,8 +4128,8 @@ fi |
1255 | + |
1256 | + test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
1257 | + $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
1258 | +-as_fn_error "no acceptable C compiler found in \$PATH |
1259 | +-See \`config.log' for more details." "$LINENO" 5; } |
1260 | ++as_fn_error $? "no acceptable C compiler found in \$PATH |
1261 | ++See \`config.log' for more details" "$LINENO" 5; } |
1262 | + |
1263 | + # Provide some information about the compiler. |
1264 | + $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 |
1265 | +@@ -4135,7 +4158,7 @@ done |
1266 | + |
1267 | + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 |
1268 | + $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } |
1269 | +-if test "${ac_cv_c_compiler_gnu+set}" = set; then : |
1270 | ++if ${ac_cv_c_compiler_gnu+:} false; then : |
1271 | + $as_echo_n "(cached) " >&6 |
1272 | + else |
1273 | + cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1274 | +@@ -4172,7 +4195,7 @@ ac_test_CFLAGS=${CFLAGS+set} |
1275 | + ac_save_CFLAGS=$CFLAGS |
1276 | + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 |
1277 | + $as_echo_n "checking whether $CC accepts -g... " >&6; } |
1278 | +-if test "${ac_cv_prog_cc_g+set}" = set; then : |
1279 | ++if ${ac_cv_prog_cc_g+:} false; then : |
1280 | + $as_echo_n "(cached) " >&6 |
1281 | + else |
1282 | + ac_save_c_werror_flag=$ac_c_werror_flag |
1283 | +@@ -4250,7 +4273,7 @@ else |
1284 | + fi |
1285 | + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 |
1286 | + $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } |
1287 | +-if test "${ac_cv_prog_cc_c89+set}" = set; then : |
1288 | ++if ${ac_cv_prog_cc_c89+:} false; then : |
1289 | + $as_echo_n "(cached) " >&6 |
1290 | + else |
1291 | + ac_cv_prog_cc_c89=no |
1292 | +@@ -4349,7 +4372,7 @@ depcc="$CC" am_compiler_list= |
1293 | + |
1294 | + { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 |
1295 | + $as_echo_n "checking dependency style of $depcc... " >&6; } |
1296 | +-if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then : |
1297 | ++if ${am_cv_CC_dependencies_compiler_type+:} false; then : |
1298 | + $as_echo_n "(cached) " >&6 |
1299 | + else |
1300 | + if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then |
1301 | +@@ -4482,7 +4505,7 @@ if test -n "$ac_tool_prefix"; then |
1302 | + set dummy ${ac_tool_prefix}gcc; ac_word=$2 |
1303 | + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
1304 | + $as_echo_n "checking for $ac_word... " >&6; } |
1305 | +-if test "${ac_cv_prog_CC+set}" = set; then : |
1306 | ++if ${ac_cv_prog_CC+:} false; then : |
1307 | + $as_echo_n "(cached) " >&6 |
1308 | + else |
1309 | + if test -n "$CC"; then |
1310 | +@@ -4522,7 +4545,7 @@ if test -z "$ac_cv_prog_CC"; then |
1311 | + set dummy gcc; ac_word=$2 |
1312 | + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
1313 | + $as_echo_n "checking for $ac_word... " >&6; } |
1314 | +-if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : |
1315 | ++if ${ac_cv_prog_ac_ct_CC+:} false; then : |
1316 | + $as_echo_n "(cached) " >&6 |
1317 | + else |
1318 | + if test -n "$ac_ct_CC"; then |
1319 | +@@ -4575,7 +4598,7 @@ if test -z "$CC"; then |
1320 | + set dummy ${ac_tool_prefix}cc; ac_word=$2 |
1321 | + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
1322 | + $as_echo_n "checking for $ac_word... " >&6; } |
1323 | +-if test "${ac_cv_prog_CC+set}" = set; then : |
1324 | ++if ${ac_cv_prog_CC+:} false; then : |
1325 | + $as_echo_n "(cached) " >&6 |
1326 | + else |
1327 | + if test -n "$CC"; then |
1328 | +@@ -4615,7 +4638,7 @@ if test -z "$CC"; then |
1329 | + set dummy cc; ac_word=$2 |
1330 | + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
1331 | + $as_echo_n "checking for $ac_word... " >&6; } |
1332 | +-if test "${ac_cv_prog_CC+set}" = set; then : |
1333 | ++if ${ac_cv_prog_CC+:} false; then : |
1334 | + $as_echo_n "(cached) " >&6 |
1335 | + else |
1336 | + if test -n "$CC"; then |
1337 | +@@ -4674,7 +4697,7 @@ if test -z "$CC"; then |
1338 | + set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
1339 | + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
1340 | + $as_echo_n "checking for $ac_word... " >&6; } |
1341 | +-if test "${ac_cv_prog_CC+set}" = set; then : |
1342 | ++if ${ac_cv_prog_CC+:} false; then : |
1343 | + $as_echo_n "(cached) " >&6 |
1344 | + else |
1345 | + if test -n "$CC"; then |
1346 | +@@ -4718,7 +4741,7 @@ do |
1347 | + set dummy $ac_prog; ac_word=$2 |
1348 | + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
1349 | + $as_echo_n "checking for $ac_word... " >&6; } |
1350 | +-if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : |
1351 | ++if ${ac_cv_prog_ac_ct_CC+:} false; then : |
1352 | + $as_echo_n "(cached) " >&6 |
1353 | + else |
1354 | + if test -n "$ac_ct_CC"; then |
1355 | +@@ -4772,8 +4795,8 @@ fi |
1356 | + |
1357 | + test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
1358 | + $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
1359 | +-as_fn_error "no acceptable C compiler found in \$PATH |
1360 | +-See \`config.log' for more details." "$LINENO" 5; } |
1361 | ++as_fn_error $? "no acceptable C compiler found in \$PATH |
1362 | ++See \`config.log' for more details" "$LINENO" 5; } |
1363 | + |
1364 | + # Provide some information about the compiler. |
1365 | + $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 |
1366 | +@@ -4802,7 +4825,7 @@ done |
1367 | + |
1368 | + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 |
1369 | + $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } |
1370 | +-if test "${ac_cv_c_compiler_gnu+set}" = set; then : |
1371 | ++if ${ac_cv_c_compiler_gnu+:} false; then : |
1372 | + $as_echo_n "(cached) " >&6 |
1373 | + else |
1374 | + cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1375 | +@@ -4839,7 +4862,7 @@ ac_test_CFLAGS=${CFLAGS+set} |
1376 | + ac_save_CFLAGS=$CFLAGS |
1377 | + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 |
1378 | + $as_echo_n "checking whether $CC accepts -g... " >&6; } |
1379 | +-if test "${ac_cv_prog_cc_g+set}" = set; then : |
1380 | ++if ${ac_cv_prog_cc_g+:} false; then : |
1381 | + $as_echo_n "(cached) " >&6 |
1382 | + else |
1383 | + ac_save_c_werror_flag=$ac_c_werror_flag |
1384 | +@@ -4917,7 +4940,7 @@ else |
1385 | + fi |
1386 | + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 |
1387 | + $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } |
1388 | +-if test "${ac_cv_prog_cc_c89+set}" = set; then : |
1389 | ++if ${ac_cv_prog_cc_c89+:} false; then : |
1390 | + $as_echo_n "(cached) " >&6 |
1391 | + else |
1392 | + ac_cv_prog_cc_c89=no |
1393 | +@@ -5016,7 +5039,7 @@ depcc="$CC" am_compiler_list= |
1394 | + |
1395 | + { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 |
1396 | + $as_echo_n "checking dependency style of $depcc... " >&6; } |
1397 | +-if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then : |
1398 | ++if ${am_cv_CC_dependencies_compiler_type+:} false; then : |
1399 | + $as_echo_n "(cached) " >&6 |
1400 | + else |
1401 | + if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then |
1402 | +@@ -5154,7 +5177,7 @@ if test -n "$CPP" && test -d "$CPP"; the |
1403 | + CPP= |
1404 | + fi |
1405 | + if test -z "$CPP"; then |
1406 | +- if test "${ac_cv_prog_CPP+set}" = set; then : |
1407 | ++ if ${ac_cv_prog_CPP+:} false; then : |
1408 | + $as_echo_n "(cached) " >&6 |
1409 | + else |
1410 | + # Double quotes because CPP needs to be expanded |
1411 | +@@ -5184,7 +5207,7 @@ else |
1412 | + # Broken: fails on valid input. |
1413 | + continue |
1414 | + fi |
1415 | +-rm -f conftest.err conftest.$ac_ext |
1416 | ++rm -f conftest.err conftest.i conftest.$ac_ext |
1417 | + |
1418 | + # OK, works on sane cases. Now check whether nonexistent headers |
1419 | + # can be detected and how. |
1420 | +@@ -5200,11 +5223,11 @@ else |
1421 | + ac_preproc_ok=: |
1422 | + break |
1423 | + fi |
1424 | +-rm -f conftest.err conftest.$ac_ext |
1425 | ++rm -f conftest.err conftest.i conftest.$ac_ext |
1426 | + |
1427 | + done |
1428 | + # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
1429 | +-rm -f conftest.err conftest.$ac_ext |
1430 | ++rm -f conftest.i conftest.err conftest.$ac_ext |
1431 | + if $ac_preproc_ok; then : |
1432 | + break |
1433 | + fi |
1434 | +@@ -5243,7 +5266,7 @@ else |
1435 | + # Broken: fails on valid input. |
1436 | + continue |
1437 | + fi |
1438 | +-rm -f conftest.err conftest.$ac_ext |
1439 | ++rm -f conftest.err conftest.i conftest.$ac_ext |
1440 | + |
1441 | + # OK, works on sane cases. Now check whether nonexistent headers |
1442 | + # can be detected and how. |
1443 | +@@ -5259,18 +5282,18 @@ else |
1444 | + ac_preproc_ok=: |
1445 | + break |
1446 | + fi |
1447 | +-rm -f conftest.err conftest.$ac_ext |
1448 | ++rm -f conftest.err conftest.i conftest.$ac_ext |
1449 | + |
1450 | + done |
1451 | + # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
1452 | +-rm -f conftest.err conftest.$ac_ext |
1453 | ++rm -f conftest.i conftest.err conftest.$ac_ext |
1454 | + if $ac_preproc_ok; then : |
1455 | + |
1456 | + else |
1457 | + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
1458 | + $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
1459 | +-as_fn_error "C preprocessor \"$CPP\" fails sanity check |
1460 | +-See \`config.log' for more details." "$LINENO" 5; } |
1461 | ++as_fn_error $? "C preprocessor \"$CPP\" fails sanity check |
1462 | ++See \`config.log' for more details" "$LINENO" 5; } |
1463 | + fi |
1464 | + |
1465 | + ac_ext=c |
1466 | +@@ -5282,7 +5305,7 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu |
1467 | + |
1468 | + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 |
1469 | + $as_echo_n "checking for grep that handles long lines and -e... " >&6; } |
1470 | +-if test "${ac_cv_path_GREP+set}" = set; then : |
1471 | ++if ${ac_cv_path_GREP+:} false; then : |
1472 | + $as_echo_n "(cached) " >&6 |
1473 | + else |
1474 | + if test -z "$GREP"; then |
1475 | +@@ -5331,7 +5354,7 @@ esac |
1476 | + done |
1477 | + IFS=$as_save_IFS |
1478 | + if test -z "$ac_cv_path_GREP"; then |
1479 | +- as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 |
1480 | ++ as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 |
1481 | + fi |
1482 | + else |
1483 | + ac_cv_path_GREP=$GREP |
1484 | +@@ -5345,7 +5368,7 @@ $as_echo "$ac_cv_path_GREP" >&6; } |
1485 | + |
1486 | + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 |
1487 | + $as_echo_n "checking for egrep... " >&6; } |
1488 | +-if test "${ac_cv_path_EGREP+set}" = set; then : |
1489 | ++if ${ac_cv_path_EGREP+:} false; then : |
1490 | + $as_echo_n "(cached) " >&6 |
1491 | + else |
1492 | + if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 |
1493 | +@@ -5397,7 +5420,7 @@ esac |
1494 | + done |
1495 | + IFS=$as_save_IFS |
1496 | + if test -z "$ac_cv_path_EGREP"; then |
1497 | +- as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 |
1498 | ++ as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 |
1499 | + fi |
1500 | + else |
1501 | + ac_cv_path_EGREP=$EGREP |
1502 | +@@ -5412,7 +5435,7 @@ $as_echo "$ac_cv_path_EGREP" >&6; } |
1503 | + |
1504 | + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 |
1505 | + $as_echo_n "checking for ANSI C header files... " >&6; } |
1506 | +-if test "${ac_cv_header_stdc+set}" = set; then : |
1507 | ++if ${ac_cv_header_stdc+:} false; then : |
1508 | + $as_echo_n "(cached) " >&6 |
1509 | + else |
1510 | + cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1511 | +@@ -5536,7 +5559,7 @@ if test -n "$CPP" && test -d "$CPP"; the |
1512 | + CPP= |
1513 | + fi |
1514 | + if test -z "$CPP"; then |
1515 | +- if test "${ac_cv_prog_CPP+set}" = set; then : |
1516 | ++ if ${ac_cv_prog_CPP+:} false; then : |
1517 | + $as_echo_n "(cached) " >&6 |
1518 | + else |
1519 | + # Double quotes because CPP needs to be expanded |
1520 | +@@ -5566,7 +5589,7 @@ else |
1521 | + # Broken: fails on valid input. |
1522 | + continue |
1523 | + fi |
1524 | +-rm -f conftest.err conftest.$ac_ext |
1525 | ++rm -f conftest.err conftest.i conftest.$ac_ext |
1526 | + |
1527 | + # OK, works on sane cases. Now check whether nonexistent headers |
1528 | + # can be detected and how. |
1529 | +@@ -5582,11 +5605,11 @@ else |
1530 | + ac_preproc_ok=: |
1531 | + break |
1532 | + fi |
1533 | +-rm -f conftest.err conftest.$ac_ext |
1534 | ++rm -f conftest.err conftest.i conftest.$ac_ext |
1535 | + |
1536 | + done |
1537 | + # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
1538 | +-rm -f conftest.err conftest.$ac_ext |
1539 | ++rm -f conftest.i conftest.err conftest.$ac_ext |
1540 | + if $ac_preproc_ok; then : |
1541 | + break |
1542 | + fi |
1543 | +@@ -5625,7 +5648,7 @@ else |
1544 | + # Broken: fails on valid input. |
1545 | + continue |
1546 | + fi |
1547 | +-rm -f conftest.err conftest.$ac_ext |
1548 | ++rm -f conftest.err conftest.i conftest.$ac_ext |
1549 | + |
1550 | + # OK, works on sane cases. Now check whether nonexistent headers |
1551 | + # can be detected and how. |
1552 | +@@ -5641,18 +5664,18 @@ else |
1553 | + ac_preproc_ok=: |
1554 | + break |
1555 | + fi |
1556 | +-rm -f conftest.err conftest.$ac_ext |
1557 | ++rm -f conftest.err conftest.i conftest.$ac_ext |
1558 | + |
1559 | + done |
1560 | + # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
1561 | +-rm -f conftest.err conftest.$ac_ext |
1562 | ++rm -f conftest.i conftest.err conftest.$ac_ext |
1563 | + if $ac_preproc_ok; then : |
1564 | + |
1565 | + else |
1566 | + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
1567 | + $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
1568 | +-as_fn_error "C preprocessor \"$CPP\" fails sanity check |
1569 | +-See \`config.log' for more details." "$LINENO" 5; } |
1570 | ++as_fn_error $? "C preprocessor \"$CPP\" fails sanity check |
1571 | ++See \`config.log' for more details" "$LINENO" 5; } |
1572 | + fi |
1573 | + |
1574 | + ac_ext=c |
1575 | +@@ -5677,7 +5700,7 @@ if test -z "$CXX"; then |
1576 | + set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
1577 | + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
1578 | + $as_echo_n "checking for $ac_word... " >&6; } |
1579 | +-if test "${ac_cv_prog_CXX+set}" = set; then : |
1580 | ++if ${ac_cv_prog_CXX+:} false; then : |
1581 | + $as_echo_n "(cached) " >&6 |
1582 | + else |
1583 | + if test -n "$CXX"; then |
1584 | +@@ -5721,7 +5744,7 @@ do |
1585 | + set dummy $ac_prog; ac_word=$2 |
1586 | + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
1587 | + $as_echo_n "checking for $ac_word... " >&6; } |
1588 | +-if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then : |
1589 | ++if ${ac_cv_prog_ac_ct_CXX+:} false; then : |
1590 | + $as_echo_n "(cached) " >&6 |
1591 | + else |
1592 | + if test -n "$ac_ct_CXX"; then |
1593 | +@@ -5799,7 +5822,7 @@ done |
1594 | + |
1595 | + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 |
1596 | + $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } |
1597 | +-if test "${ac_cv_cxx_compiler_gnu+set}" = set; then : |
1598 | ++if ${ac_cv_cxx_compiler_gnu+:} false; then : |
1599 | + $as_echo_n "(cached) " >&6 |
1600 | + else |
1601 | + cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1602 | +@@ -5836,7 +5859,7 @@ ac_test_CXXFLAGS=${CXXFLAGS+set} |
1603 | + ac_save_CXXFLAGS=$CXXFLAGS |
1604 | + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 |
1605 | + $as_echo_n "checking whether $CXX accepts -g... " >&6; } |
1606 | +-if test "${ac_cv_prog_cxx_g+set}" = set; then : |
1607 | ++if ${ac_cv_prog_cxx_g+:} false; then : |
1608 | + $as_echo_n "(cached) " >&6 |
1609 | + else |
1610 | + ac_save_cxx_werror_flag=$ac_cxx_werror_flag |
1611 | +@@ -5922,7 +5945,7 @@ depcc="$CXX" am_compiler_list= |
1612 | + |
1613 | + { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 |
1614 | + $as_echo_n "checking dependency style of $depcc... " >&6; } |
1615 | +-if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then : |
1616 | ++if ${am_cv_CXX_dependencies_compiler_type+:} false; then : |
1617 | + $as_echo_n "(cached) " >&6 |
1618 | + else |
1619 | + if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then |
1620 | +@@ -6054,7 +6077,7 @@ $as_echo_n "checking whether cc understa |
1621 | + fi |
1622 | + set dummy $CC; ac_cc=`$as_echo "$2" | |
1623 | + sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'` |
1624 | +-if { as_var=ac_cv_prog_cc_${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then : |
1625 | ++if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then : |
1626 | + $as_echo_n "(cached) " >&6 |
1627 | + else |
1628 | + cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1629 | +@@ -6176,7 +6199,7 @@ if test -n "$ac_tool_prefix"; then |
1630 | + set dummy ${ac_tool_prefix}ranlib; ac_word=$2 |
1631 | + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
1632 | + $as_echo_n "checking for $ac_word... " >&6; } |
1633 | +-if test "${ac_cv_prog_RANLIB+set}" = set; then : |
1634 | ++if ${ac_cv_prog_RANLIB+:} false; then : |
1635 | + $as_echo_n "(cached) " >&6 |
1636 | + else |
1637 | + if test -n "$RANLIB"; then |
1638 | +@@ -6216,7 +6239,7 @@ if test -z "$ac_cv_prog_RANLIB"; then |
1639 | + set dummy ranlib; ac_word=$2 |
1640 | + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
1641 | + $as_echo_n "checking for $ac_word... " >&6; } |
1642 | +-if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then : |
1643 | ++if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : |
1644 | + $as_echo_n "(cached) " >&6 |
1645 | + else |
1646 | + if test -n "$ac_ct_RANLIB"; then |
1647 | +@@ -6280,8 +6303,7 @@ do : |
1648 | + as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
1649 | + ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default |
1650 | + " |
1651 | +-eval as_val=\$$as_ac_Header |
1652 | +- if test "x$as_val" = x""yes; then : |
1653 | ++if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : |
1654 | + cat >>confdefs.h <<_ACEOF |
1655 | + #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
1656 | + _ACEOF |
1657 | +@@ -6295,7 +6317,7 @@ done |
1658 | + for ac_header in locale.h |
1659 | + do : |
1660 | + ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default" |
1661 | +-if test "x$ac_cv_header_locale_h" = x""yes; then : |
1662 | ++if test "x$ac_cv_header_locale_h" = xyes; then : |
1663 | + cat >>confdefs.h <<_ACEOF |
1664 | + #define HAVE_LOCALE_H 1 |
1665 | + _ACEOF |
1666 | +@@ -6307,7 +6329,7 @@ done |
1667 | + if test $ac_cv_header_locale_h = yes; then |
1668 | + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5 |
1669 | + $as_echo_n "checking for LC_MESSAGES... " >&6; } |
1670 | +-if test "${am_cv_val_LC_MESSAGES+set}" = set; then : |
1671 | ++if ${am_cv_val_LC_MESSAGES+:} false; then : |
1672 | + $as_echo_n "(cached) " >&6 |
1673 | + else |
1674 | + cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1675 | +@@ -6347,7 +6369,7 @@ $as_echo "#define HAVE_LC_MESSAGES 1" >> |
1676 | + INTLLIBS= |
1677 | + |
1678 | + ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default" |
1679 | +-if test "x$ac_cv_header_libintl_h" = x""yes; then : |
1680 | ++if test "x$ac_cv_header_libintl_h" = xyes; then : |
1681 | + gt_cv_func_dgettext_libintl="no" |
1682 | + libintl_extra_libs="" |
1683 | + |
1684 | +@@ -6356,7 +6378,7 @@ if test "x$ac_cv_header_libintl_h" = x"" |
1685 | + # |
1686 | + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in libc" >&5 |
1687 | + $as_echo_n "checking for ngettext in libc... " >&6; } |
1688 | +-if test "${gt_cv_func_ngettext_libc+set}" = set; then : |
1689 | ++if ${gt_cv_func_ngettext_libc+:} false; then : |
1690 | + $as_echo_n "(cached) " >&6 |
1691 | + else |
1692 | + cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1693 | +@@ -6387,7 +6409,7 @@ $as_echo "$gt_cv_func_ngettext_libc" >&6 |
1694 | + if test "$gt_cv_func_ngettext_libc" = "yes" ; then |
1695 | + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in libc" >&5 |
1696 | + $as_echo_n "checking for dgettext in libc... " >&6; } |
1697 | +-if test "${gt_cv_func_dgettext_libc+set}" = set; then : |
1698 | ++if ${gt_cv_func_dgettext_libc+:} false; then : |
1699 | + $as_echo_n "(cached) " >&6 |
1700 | + else |
1701 | + cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1702 | +@@ -6420,7 +6442,7 @@ $as_echo "$gt_cv_func_dgettext_libc" >&6 |
1703 | + for ac_func in bind_textdomain_codeset |
1704 | + do : |
1705 | + ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset" |
1706 | +-if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then : |
1707 | ++if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then : |
1708 | + cat >>confdefs.h <<_ACEOF |
1709 | + #define HAVE_BIND_TEXTDOMAIN_CODESET 1 |
1710 | + _ACEOF |
1711 | +@@ -6439,7 +6461,7 @@ done |
1712 | + |
1713 | + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bindtextdomain in -lintl" >&5 |
1714 | + $as_echo_n "checking for bindtextdomain in -lintl... " >&6; } |
1715 | +-if test "${ac_cv_lib_intl_bindtextdomain+set}" = set; then : |
1716 | ++if ${ac_cv_lib_intl_bindtextdomain+:} false; then : |
1717 | + $as_echo_n "(cached) " >&6 |
1718 | + else |
1719 | + ac_check_lib_save_LIBS=$LIBS |
1720 | +@@ -6473,10 +6495,10 @@ LIBS=$ac_check_lib_save_LIBS |
1721 | + fi |
1722 | + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_bindtextdomain" >&5 |
1723 | + $as_echo "$ac_cv_lib_intl_bindtextdomain" >&6; } |
1724 | +-if test "x$ac_cv_lib_intl_bindtextdomain" = x""yes; then : |
1725 | ++if test "x$ac_cv_lib_intl_bindtextdomain" = xyes; then : |
1726 | + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5 |
1727 | + $as_echo_n "checking for ngettext in -lintl... " >&6; } |
1728 | +-if test "${ac_cv_lib_intl_ngettext+set}" = set; then : |
1729 | ++if ${ac_cv_lib_intl_ngettext+:} false; then : |
1730 | + $as_echo_n "(cached) " >&6 |
1731 | + else |
1732 | + ac_check_lib_save_LIBS=$LIBS |
1733 | +@@ -6510,10 +6532,10 @@ LIBS=$ac_check_lib_save_LIBS |
1734 | + fi |
1735 | + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5 |
1736 | + $as_echo "$ac_cv_lib_intl_ngettext" >&6; } |
1737 | +-if test "x$ac_cv_lib_intl_ngettext" = x""yes; then : |
1738 | ++if test "x$ac_cv_lib_intl_ngettext" = xyes; then : |
1739 | + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in -lintl" >&5 |
1740 | + $as_echo_n "checking for dgettext in -lintl... " >&6; } |
1741 | +-if test "${ac_cv_lib_intl_dgettext+set}" = set; then : |
1742 | ++if ${ac_cv_lib_intl_dgettext+:} false; then : |
1743 | + $as_echo_n "(cached) " >&6 |
1744 | + else |
1745 | + ac_check_lib_save_LIBS=$LIBS |
1746 | +@@ -6547,7 +6569,7 @@ LIBS=$ac_check_lib_save_LIBS |
1747 | + fi |
1748 | + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dgettext" >&5 |
1749 | + $as_echo "$ac_cv_lib_intl_dgettext" >&6; } |
1750 | +-if test "x$ac_cv_lib_intl_dgettext" = x""yes; then : |
1751 | ++if test "x$ac_cv_lib_intl_dgettext" = xyes; then : |
1752 | + gt_cv_func_dgettext_libintl=yes |
1753 | + fi |
1754 | + |
1755 | +@@ -6563,7 +6585,7 @@ $as_echo_n "checking if -liconv is neede |
1756 | + $as_echo "" >&6; } |
1757 | + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5 |
1758 | + $as_echo_n "checking for ngettext in -lintl... " >&6; } |
1759 | +-if test "${ac_cv_lib_intl_ngettext+set}" = set; then : |
1760 | ++if ${ac_cv_lib_intl_ngettext+:} false; then : |
1761 | + $as_echo_n "(cached) " >&6 |
1762 | + else |
1763 | + ac_check_lib_save_LIBS=$LIBS |
1764 | +@@ -6597,10 +6619,10 @@ LIBS=$ac_check_lib_save_LIBS |
1765 | + fi |
1766 | + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5 |
1767 | + $as_echo "$ac_cv_lib_intl_ngettext" >&6; } |
1768 | +-if test "x$ac_cv_lib_intl_ngettext" = x""yes; then : |
1769 | ++if test "x$ac_cv_lib_intl_ngettext" = xyes; then : |
1770 | + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dcgettext in -lintl" >&5 |
1771 | + $as_echo_n "checking for dcgettext in -lintl... " >&6; } |
1772 | +-if test "${ac_cv_lib_intl_dcgettext+set}" = set; then : |
1773 | ++if ${ac_cv_lib_intl_dcgettext+:} false; then : |
1774 | + $as_echo_n "(cached) " >&6 |
1775 | + else |
1776 | + ac_check_lib_save_LIBS=$LIBS |
1777 | +@@ -6634,7 +6656,7 @@ LIBS=$ac_check_lib_save_LIBS |
1778 | + fi |
1779 | + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dcgettext" >&5 |
1780 | + $as_echo "$ac_cv_lib_intl_dcgettext" >&6; } |
1781 | +-if test "x$ac_cv_lib_intl_dcgettext" = x""yes; then : |
1782 | ++if test "x$ac_cv_lib_intl_dcgettext" = xyes; then : |
1783 | + gt_cv_func_dgettext_libintl=yes |
1784 | + libintl_extra_libs=-liconv |
1785 | + else |
1786 | +@@ -6659,7 +6681,7 @@ fi |
1787 | + for ac_func in bind_textdomain_codeset |
1788 | + do : |
1789 | + ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset" |
1790 | +-if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then : |
1791 | ++if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then : |
1792 | + cat >>confdefs.h <<_ACEOF |
1793 | + #define HAVE_BIND_TEXTDOMAIN_CODESET 1 |
1794 | + _ACEOF |
1795 | +@@ -6697,7 +6719,7 @@ $as_echo "#define HAVE_GETTEXT 1" >>conf |
1796 | + set dummy msgfmt; ac_word=$2 |
1797 | + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
1798 | + $as_echo_n "checking for $ac_word... " >&6; } |
1799 | +-if test "${ac_cv_path_MSGFMT+set}" = set; then : |
1800 | ++if ${ac_cv_path_MSGFMT+:} false; then : |
1801 | + $as_echo_n "(cached) " >&6 |
1802 | + else |
1803 | + case "$MSGFMT" in |
1804 | +@@ -6734,7 +6756,7 @@ fi |
1805 | + for ac_func in dcgettext |
1806 | + do : |
1807 | + ac_fn_c_check_func "$LINENO" "dcgettext" "ac_cv_func_dcgettext" |
1808 | +-if test "x$ac_cv_func_dcgettext" = x""yes; then : |
1809 | ++if test "x$ac_cv_func_dcgettext" = xyes; then : |
1810 | + cat >>confdefs.h <<_ACEOF |
1811 | + #define HAVE_DCGETTEXT 1 |
1812 | + _ACEOF |
1813 | +@@ -6775,7 +6797,7 @@ fi |
1814 | + set dummy gmsgfmt; ac_word=$2 |
1815 | + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
1816 | + $as_echo_n "checking for $ac_word... " >&6; } |
1817 | +-if test "${ac_cv_path_GMSGFMT+set}" = set; then : |
1818 | ++if ${ac_cv_path_GMSGFMT+:} false; then : |
1819 | + $as_echo_n "(cached) " >&6 |
1820 | + else |
1821 | + case $GMSGFMT in |
1822 | +@@ -6816,7 +6838,7 @@ fi |
1823 | + set dummy xgettext; ac_word=$2 |
1824 | + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
1825 | + $as_echo_n "checking for $ac_word... " >&6; } |
1826 | +-if test "${ac_cv_path_XGETTEXT+set}" = set; then : |
1827 | ++if ${ac_cv_path_XGETTEXT+:} false; then : |
1828 | + $as_echo_n "(cached) " >&6 |
1829 | + else |
1830 | + case "$XGETTEXT" in |
1831 | +@@ -6867,7 +6889,7 @@ else |
1832 | + case $host in |
1833 | + *-*-solaris*) |
1834 | + ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset" |
1835 | +-if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then : |
1836 | ++if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then : |
1837 | + CATOBJEXT=.gmo |
1838 | + DATADIRNAME=share |
1839 | + else |
1840 | +@@ -6998,13 +7020,18 @@ $as_echo "$LINGUAS" >&6; } |
1841 | + |
1842 | + |
1843 | + |
1844 | ++ |
1845 | ++ |
1846 | ++ |
1847 | ++ |
1848 | ++ |
1849 | + if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then |
1850 | + if test -n "$ac_tool_prefix"; then |
1851 | + # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. |
1852 | + set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 |
1853 | + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
1854 | + $as_echo_n "checking for $ac_word... " >&6; } |
1855 | +-if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : |
1856 | ++if ${ac_cv_path_PKG_CONFIG+:} false; then : |
1857 | + $as_echo_n "(cached) " >&6 |
1858 | + else |
1859 | + case $PKG_CONFIG in |
1860 | +@@ -7047,7 +7074,7 @@ if test -z "$ac_cv_path_PKG_CONFIG"; the |
1861 | + set dummy pkg-config; ac_word=$2 |
1862 | + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
1863 | + $as_echo_n "checking for $ac_word... " >&6; } |
1864 | +-if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then : |
1865 | ++if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then : |
1866 | + $as_echo_n "(cached) " >&6 |
1867 | + else |
1868 | + case $ac_pt_PKG_CONFIG in |
1869 | +@@ -7110,7 +7137,6 @@ $as_echo "yes" >&6; } |
1870 | + $as_echo "no" >&6; } |
1871 | + PKG_CONFIG="" |
1872 | + fi |
1873 | +- |
1874 | + fi |
1875 | + |
1876 | + pkg_failed=no |
1877 | +@@ -7127,6 +7153,7 @@ if test -n "$GLIB_CFLAGS"; then |
1878 | + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
1879 | + test $ac_status = 0; }; then |
1880 | + pkg_cv_GLIB_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 " 2>/dev/null` |
1881 | ++ test "x$?" != "x0" && pkg_failed=yes |
1882 | + else |
1883 | + pkg_failed=yes |
1884 | + fi |
1885 | +@@ -7143,6 +7170,7 @@ if test -n "$GLIB_LIBS"; then |
1886 | + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
1887 | + test $ac_status = 0; }; then |
1888 | + pkg_cv_GLIB_LIBS=`$PKG_CONFIG --libs "glib-2.0 " 2>/dev/null` |
1889 | ++ test "x$?" != "x0" && pkg_failed=yes |
1890 | + else |
1891 | + pkg_failed=yes |
1892 | + fi |
1893 | +@@ -7153,6 +7181,8 @@ fi |
1894 | + |
1895 | + |
1896 | + if test $pkg_failed = yes; then |
1897 | ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
1898 | ++$as_echo "no" >&6; } |
1899 | + |
1900 | + if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then |
1901 | + _pkg_short_errors_supported=yes |
1902 | +@@ -7160,14 +7190,14 @@ else |
1903 | + _pkg_short_errors_supported=no |
1904 | + fi |
1905 | + if test $_pkg_short_errors_supported = yes; then |
1906 | +- GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "glib-2.0 " 2>&1` |
1907 | ++ GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "glib-2.0 " 2>&1` |
1908 | + else |
1909 | +- GLIB_PKG_ERRORS=`$PKG_CONFIG --print-errors "glib-2.0 " 2>&1` |
1910 | ++ GLIB_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glib-2.0 " 2>&1` |
1911 | + fi |
1912 | + # Put the nasty error message in config.log where it belongs |
1913 | + echo "$GLIB_PKG_ERRORS" >&5 |
1914 | + |
1915 | +- as_fn_error "Package requirements (glib-2.0 ) were not met: |
1916 | ++ as_fn_error $? "Package requirements (glib-2.0 ) were not met: |
1917 | + |
1918 | + $GLIB_PKG_ERRORS |
1919 | + |
1920 | +@@ -7176,12 +7206,13 @@ installed software in a non-standard pre |
1921 | + |
1922 | + Alternatively, you may set the environment variables GLIB_CFLAGS |
1923 | + and GLIB_LIBS to avoid the need to call pkg-config. |
1924 | +-See the pkg-config man page for more details. |
1925 | +-" "$LINENO" 5 |
1926 | ++See the pkg-config man page for more details." "$LINENO" 5 |
1927 | + elif test $pkg_failed = untried; then |
1928 | ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
1929 | ++$as_echo "no" >&6; } |
1930 | + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
1931 | + $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
1932 | +-as_fn_error "The pkg-config script could not be found or is too old. Make sure it |
1933 | ++as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it |
1934 | + is in your PATH or set the PKG_CONFIG environment variable to the full |
1935 | + path to pkg-config. |
1936 | + |
1937 | +@@ -7190,13 +7221,13 @@ and GLIB_LIBS to avoid the need to call |
1938 | + See the pkg-config man page for more details. |
1939 | + |
1940 | + To get pkg-config, see <http://pkg-config.freedesktop.org/>. |
1941 | +-See \`config.log' for more details." "$LINENO" 5; } |
1942 | ++See \`config.log' for more details" "$LINENO" 5; } |
1943 | + else |
1944 | + GLIB_CFLAGS=$pkg_cv_GLIB_CFLAGS |
1945 | + GLIB_LIBS=$pkg_cv_GLIB_LIBS |
1946 | + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
1947 | + $as_echo "yes" >&6; } |
1948 | +- : |
1949 | ++ |
1950 | + fi |
1951 | + |
1952 | + |
1953 | +@@ -7206,102 +7237,18 @@ fi |
1954 | + if test "${with_xulrunner_sdk+set}" = set; then : |
1955 | + withval=$with_xulrunner_sdk; |
1956 | + XULRUNNER_SDK_PREFIX=$with_xulrunner_sdk |
1957 | +- GECKO_CFLAGS="-I$XULRUNNER_SDK_PREFIX/include -I$XULRUNNER_SDK_PREFIX/include/plugin -I$XULRUNNER_SDK_PREFIX/include/nspr -I$XULRUNNER_SDK_PREFIX/include/xpcom -I$XULRUNNER_SDK_PREFIX/include/string -I$XULRUNNER_SDK_PREFIX/include/java" |
1958 | +- GECKO_LIBS="-L$XULRUNNER_SDK_PREFIX/lib -lxpcomglue_s -lxul -lxpcom -lplds4 -lplc4 -lnspr4 -lpthread -ldl" |
1959 | ++ GECKO_CFLAGS="-I$XULRUNNER_SDK_PREFIX/include -I$XULRUNNER_SDK_PREFIX/include/nspr" |
1960 | ++ |
1961 | + # Check whether --enable-new-libxul was given. |
1962 | + if test "${enable_new_libxul+set}" = set; then : |
1963 | +- enableval=$enable_new_libxul; usenewlibxul=$enableval |
1964 | +-else |
1965 | +- usenewlibxul=no |
1966 | +-fi |
1967 | +- |
1968 | +- |
1969 | +- if test $usenewlibxul == yes; then |
1970 | +- GECKO_CFLAGS="$GECKO_CFLAGS -DMOZ_NO_MOZALLOC" |
1971 | +- |
1972 | ++ enableval=$enable_new_libxul; |
1973 | + $as_echo "#define HAVE_NEW_XULRUNNER 1" >>confdefs.h |
1974 | + |
1975 | +- fi |
1976 | +- |
1977 | +- |
1978 | + fi |
1979 | + |
1980 | + |
1981 | +-if test "$GECKO_CFLAGS" = ""; then |
1982 | +- |
1983 | +-pkg_failed=no |
1984 | +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GECKO" >&5 |
1985 | +-$as_echo_n "checking for GECKO... " >&6; } |
1986 | +- |
1987 | +-if test -n "$GECKO_CFLAGS"; then |
1988 | +- pkg_cv_GECKO_CFLAGS="$GECKO_CFLAGS" |
1989 | +- elif test -n "$PKG_CONFIG"; then |
1990 | +- if test -n "$PKG_CONFIG" && \ |
1991 | +- { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxul >= 2.0\""; } >&5 |
1992 | +- ($PKG_CONFIG --exists --print-errors "libxul >= 2.0") 2>&5 |
1993 | +- ac_status=$? |
1994 | +- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
1995 | +- test $ac_status = 0; }; then |
1996 | +- pkg_cv_GECKO_CFLAGS=`$PKG_CONFIG --cflags "libxul >= 2.0" 2>/dev/null` |
1997 | +-else |
1998 | +- pkg_failed=yes |
1999 | +-fi |
2000 | +- else |
2001 | +- pkg_failed=untried |
2002 | + fi |
2003 | +-if test -n "$GECKO_LIBS"; then |
2004 | +- pkg_cv_GECKO_LIBS="$GECKO_LIBS" |
2005 | +- elif test -n "$PKG_CONFIG"; then |
2006 | +- if test -n "$PKG_CONFIG" && \ |
2007 | +- { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxul >= 2.0\""; } >&5 |
2008 | +- ($PKG_CONFIG --exists --print-errors "libxul >= 2.0") 2>&5 |
2009 | +- ac_status=$? |
2010 | +- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
2011 | +- test $ac_status = 0; }; then |
2012 | +- pkg_cv_GECKO_LIBS=`$PKG_CONFIG --libs "libxul >= 2.0" 2>/dev/null` |
2013 | +-else |
2014 | +- pkg_failed=yes |
2015 | +-fi |
2016 | +- else |
2017 | +- pkg_failed=untried |
2018 | +-fi |
2019 | +- |
2020 | +- |
2021 | +- |
2022 | +-if test $pkg_failed = yes; then |
2023 | +- |
2024 | +-if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then |
2025 | +- _pkg_short_errors_supported=yes |
2026 | +-else |
2027 | +- _pkg_short_errors_supported=no |
2028 | +-fi |
2029 | +- if test $_pkg_short_errors_supported = yes; then |
2030 | +- GECKO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libxul >= 2.0" 2>&1` |
2031 | +- else |
2032 | +- GECKO_PKG_ERRORS=`$PKG_CONFIG --print-errors "libxul >= 2.0" 2>&1` |
2033 | +- fi |
2034 | +- # Put the nasty error message in config.log where it belongs |
2035 | +- echo "$GECKO_PKG_ERRORS" >&5 |
2036 | + |
2037 | +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
2038 | +-$as_echo "no" >&6; } |
2039 | +- { $as_echo "$as_me:${as_lineno-$LINENO}: libxul >= 2.0 beta 5 not found, trying another" >&5 |
2040 | +-$as_echo "$as_me: libxul >= 2.0 beta 5 not found, trying another" >&6;} |
2041 | +-elif test $pkg_failed = untried; then |
2042 | +- { $as_echo "$as_me:${as_lineno-$LINENO}: libxul >= 2.0 beta 5 not found, trying another" >&5 |
2043 | +-$as_echo "$as_me: libxul >= 2.0 beta 5 not found, trying another" >&6;} |
2044 | +-else |
2045 | +- GECKO_CFLAGS=$pkg_cv_GECKO_CFLAGS |
2046 | +- GECKO_LIBS=$pkg_cv_GECKO_LIBS |
2047 | +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
2048 | +-$as_echo "yes" >&6; } |
2049 | +- GECKO_CFLAGS="$GECKO_CFLAGS -DMOZ_NO_MOZALLOC" |
2050 | +-$as_echo "#define HAVE_NEW_XULRUNNER 1" >>confdefs.h |
2051 | +- { $as_echo "$as_me:${as_lineno-$LINENO}: Using libxul >= 2.0 beta 5" >&5 |
2052 | +-$as_echo "$as_me: Using libxul >= 2.0 beta 5" >&6;} |
2053 | +- |
2054 | +-fi |
2055 | +-fi |
2056 | + |
2057 | + if test "$GECKO_CFLAGS" = ""; then |
2058 | + |
2059 | +@@ -7313,12 +7260,13 @@ if test -n "$GECKO_CFLAGS"; then |
2060 | + pkg_cv_GECKO_CFLAGS="$GECKO_CFLAGS" |
2061 | + elif test -n "$PKG_CONFIG"; then |
2062 | + if test -n "$PKG_CONFIG" && \ |
2063 | +- { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxul < 1.9.2\""; } >&5 |
2064 | +- ($PKG_CONFIG --exists --print-errors "libxul < 1.9.2") 2>&5 |
2065 | ++ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"mozilla-plugin >= 2.0\""; } >&5 |
2066 | ++ ($PKG_CONFIG --exists --print-errors "mozilla-plugin >= 2.0") 2>&5 |
2067 | + ac_status=$? |
2068 | + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
2069 | + test $ac_status = 0; }; then |
2070 | +- pkg_cv_GECKO_CFLAGS=`$PKG_CONFIG --cflags "libxul < 1.9.2" 2>/dev/null` |
2071 | ++ pkg_cv_GECKO_CFLAGS=`$PKG_CONFIG --cflags "mozilla-plugin >= 2.0" 2>/dev/null` |
2072 | ++ test "x$?" != "x0" && pkg_failed=yes |
2073 | + else |
2074 | + pkg_failed=yes |
2075 | + fi |
2076 | +@@ -7329,12 +7277,13 @@ if test -n "$GECKO_LIBS"; then |
2077 | + pkg_cv_GECKO_LIBS="$GECKO_LIBS" |
2078 | + elif test -n "$PKG_CONFIG"; then |
2079 | + if test -n "$PKG_CONFIG" && \ |
2080 | +- { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxul < 1.9.2\""; } >&5 |
2081 | +- ($PKG_CONFIG --exists --print-errors "libxul < 1.9.2") 2>&5 |
2082 | ++ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"mozilla-plugin >= 2.0\""; } >&5 |
2083 | ++ ($PKG_CONFIG --exists --print-errors "mozilla-plugin >= 2.0") 2>&5 |
2084 | + ac_status=$? |
2085 | + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
2086 | + test $ac_status = 0; }; then |
2087 | +- pkg_cv_GECKO_LIBS=`$PKG_CONFIG --libs "libxul < 1.9.2" 2>/dev/null` |
2088 | ++ pkg_cv_GECKO_LIBS=`$PKG_CONFIG --libs "mozilla-plugin >= 2.0" 2>/dev/null` |
2089 | ++ test "x$?" != "x0" && pkg_failed=yes |
2090 | + else |
2091 | + pkg_failed=yes |
2092 | + fi |
2093 | +@@ -7345,79 +7294,8 @@ fi |
2094 | + |
2095 | + |
2096 | + if test $pkg_failed = yes; then |
2097 | +- |
2098 | +-if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then |
2099 | +- _pkg_short_errors_supported=yes |
2100 | +-else |
2101 | +- _pkg_short_errors_supported=no |
2102 | +-fi |
2103 | +- if test $_pkg_short_errors_supported = yes; then |
2104 | +- GECKO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libxul < 1.9.2" 2>&1` |
2105 | +- else |
2106 | +- GECKO_PKG_ERRORS=`$PKG_CONFIG --print-errors "libxul < 1.9.2" 2>&1` |
2107 | +- fi |
2108 | +- # Put the nasty error message in config.log where it belongs |
2109 | +- echo "$GECKO_PKG_ERRORS" >&5 |
2110 | +- |
2111 | +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
2112 | ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
2113 | + $as_echo "no" >&6; } |
2114 | +- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libxul < 1.9.2 not found, trying another" >&5 |
2115 | +-$as_echo "$as_me: WARNING: libxul < 1.9.2 not found, trying another" >&2;} |
2116 | +-elif test $pkg_failed = untried; then |
2117 | +- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libxul < 1.9.2 not found, trying another" >&5 |
2118 | +-$as_echo "$as_me: WARNING: libxul < 1.9.2 not found, trying another" >&2;} |
2119 | +-else |
2120 | +- GECKO_CFLAGS=$pkg_cv_GECKO_CFLAGS |
2121 | +- GECKO_LIBS=$pkg_cv_GECKO_LIBS |
2122 | +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
2123 | +-$as_echo "yes" >&6; } |
2124 | +- { $as_echo "$as_me:${as_lineno-$LINENO}: Using libxul < 1.9.2" >&5 |
2125 | +-$as_echo "$as_me: Using libxul < 1.9.2" >&6;} |
2126 | +- |
2127 | +-fi |
2128 | +-fi |
2129 | +-if test "$GECKO_CFLAGS" = ""; then |
2130 | +- |
2131 | +-pkg_failed=no |
2132 | +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GECKO" >&5 |
2133 | +-$as_echo_n "checking for GECKO... " >&6; } |
2134 | +- |
2135 | +-if test -n "$GECKO_CFLAGS"; then |
2136 | +- pkg_cv_GECKO_CFLAGS="$GECKO_CFLAGS" |
2137 | +- elif test -n "$PKG_CONFIG"; then |
2138 | +- if test -n "$PKG_CONFIG" && \ |
2139 | +- { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxul >= 1.9.2\""; } >&5 |
2140 | +- ($PKG_CONFIG --exists --print-errors "libxul >= 1.9.2") 2>&5 |
2141 | +- ac_status=$? |
2142 | +- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
2143 | +- test $ac_status = 0; }; then |
2144 | +- pkg_cv_GECKO_CFLAGS=`$PKG_CONFIG --cflags "libxul >= 1.9.2" 2>/dev/null` |
2145 | +-else |
2146 | +- pkg_failed=yes |
2147 | +-fi |
2148 | +- else |
2149 | +- pkg_failed=untried |
2150 | +-fi |
2151 | +-if test -n "$GECKO_LIBS"; then |
2152 | +- pkg_cv_GECKO_LIBS="$GECKO_LIBS" |
2153 | +- elif test -n "$PKG_CONFIG"; then |
2154 | +- if test -n "$PKG_CONFIG" && \ |
2155 | +- { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxul >= 1.9.2\""; } >&5 |
2156 | +- ($PKG_CONFIG --exists --print-errors "libxul >= 1.9.2") 2>&5 |
2157 | +- ac_status=$? |
2158 | +- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
2159 | +- test $ac_status = 0; }; then |
2160 | +- pkg_cv_GECKO_LIBS=`$PKG_CONFIG --libs "libxul >= 1.9.2" 2>/dev/null` |
2161 | +-else |
2162 | +- pkg_failed=yes |
2163 | +-fi |
2164 | +- else |
2165 | +- pkg_failed=untried |
2166 | +-fi |
2167 | +- |
2168 | +- |
2169 | +- |
2170 | +-if test $pkg_failed = yes; then |
2171 | + |
2172 | + if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then |
2173 | + _pkg_short_errors_supported=yes |
2174 | +@@ -7425,176 +7303,28 @@ else |
2175 | + _pkg_short_errors_supported=no |
2176 | + fi |
2177 | + if test $_pkg_short_errors_supported = yes; then |
2178 | +- GECKO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libxul >= 1.9.2" 2>&1` |
2179 | ++ GECKO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "mozilla-plugin >= 2.0" 2>&1` |
2180 | + else |
2181 | +- GECKO_PKG_ERRORS=`$PKG_CONFIG --print-errors "libxul >= 1.9.2" 2>&1` |
2182 | ++ GECKO_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "mozilla-plugin >= 2.0" 2>&1` |
2183 | + fi |
2184 | + # Put the nasty error message in config.log where it belongs |
2185 | + echo "$GECKO_PKG_ERRORS" >&5 |
2186 | + |
2187 | +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
2188 | +-$as_echo "no" >&6; } |
2189 | +- { $as_echo "$as_me:${as_lineno-$LINENO}: libxul >= 1.9.2 not found, trying another" >&5 |
2190 | +-$as_echo "$as_me: libxul >= 1.9.2 not found, trying another" >&6;} |
2191 | ++ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: mozilla-plugin >= 2.0 not found. Trying another" >&5 |
2192 | ++$as_echo "$as_me: WARNING: mozilla-plugin >= 2.0 not found. Trying another" >&2;} |
2193 | + elif test $pkg_failed = untried; then |
2194 | +- { $as_echo "$as_me:${as_lineno-$LINENO}: libxul >= 1.9.2 not found, trying another" >&5 |
2195 | +-$as_echo "$as_me: libxul >= 1.9.2 not found, trying another" >&6;} |
2196 | +-else |
2197 | +- GECKO_CFLAGS=$pkg_cv_GECKO_CFLAGS |
2198 | +- GECKO_LIBS=$pkg_cv_GECKO_LIBS |
2199 | +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
2200 | +-$as_echo "yes" >&6; } |
2201 | +- |
2202 | +-$as_echo "#define HAVE_NEW_XULRUNNER 1" >>confdefs.h |
2203 | +- { $as_echo "$as_me:${as_lineno-$LINENO}: Using libxul >= 1.9.2" >&5 |
2204 | +-$as_echo "$as_me: Using libxul >= 1.9.2" >&6;} |
2205 | +- |
2206 | +-fi |
2207 | +-fi |
2208 | +- |
2209 | +-if test "$GECKO_CFLAGS" = ""; then |
2210 | +- |
2211 | +-pkg_failed=no |
2212 | +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GECKO" >&5 |
2213 | +-$as_echo_n "checking for GECKO... " >&6; } |
2214 | +- |
2215 | +-if test -n "$GECKO_CFLAGS"; then |
2216 | +- pkg_cv_GECKO_CFLAGS="$GECKO_CFLAGS" |
2217 | +- elif test -n "$PKG_CONFIG"; then |
2218 | +- if test -n "$PKG_CONFIG" && \ |
2219 | +- { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxul-unstable\""; } >&5 |
2220 | +- ($PKG_CONFIG --exists --print-errors "libxul-unstable") 2>&5 |
2221 | +- ac_status=$? |
2222 | +- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
2223 | +- test $ac_status = 0; }; then |
2224 | +- pkg_cv_GECKO_CFLAGS=`$PKG_CONFIG --cflags "libxul-unstable" 2>/dev/null` |
2225 | +-else |
2226 | +- pkg_failed=yes |
2227 | +-fi |
2228 | +- else |
2229 | +- pkg_failed=untried |
2230 | +-fi |
2231 | +-if test -n "$GECKO_LIBS"; then |
2232 | +- pkg_cv_GECKO_LIBS="$GECKO_LIBS" |
2233 | +- elif test -n "$PKG_CONFIG"; then |
2234 | +- if test -n "$PKG_CONFIG" && \ |
2235 | +- { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxul-unstable\""; } >&5 |
2236 | +- ($PKG_CONFIG --exists --print-errors "libxul-unstable") 2>&5 |
2237 | +- ac_status=$? |
2238 | +- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
2239 | +- test $ac_status = 0; }; then |
2240 | +- pkg_cv_GECKO_LIBS=`$PKG_CONFIG --libs "libxul-unstable" 2>/dev/null` |
2241 | +-else |
2242 | +- pkg_failed=yes |
2243 | +-fi |
2244 | +- else |
2245 | +- pkg_failed=untried |
2246 | +-fi |
2247 | +- |
2248 | +- |
2249 | +- |
2250 | +-if test $pkg_failed = yes; then |
2251 | +- |
2252 | +-if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then |
2253 | +- _pkg_short_errors_supported=yes |
2254 | +-else |
2255 | +- _pkg_short_errors_supported=no |
2256 | +-fi |
2257 | +- if test $_pkg_short_errors_supported = yes; then |
2258 | +- GECKO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libxul-unstable" 2>&1` |
2259 | +- else |
2260 | +- GECKO_PKG_ERRORS=`$PKG_CONFIG --print-errors "libxul-unstable" 2>&1` |
2261 | +- fi |
2262 | +- # Put the nasty error message in config.log where it belongs |
2263 | +- echo "$GECKO_PKG_ERRORS" >&5 |
2264 | +- |
2265 | +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
2266 | ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
2267 | + $as_echo "no" >&6; } |
2268 | +- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libxul-unstable not found, trying another" >&5 |
2269 | +-$as_echo "$as_me: WARNING: libxul-unstable not found, trying another" >&2;} |
2270 | +-elif test $pkg_failed = untried; then |
2271 | +- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libxul-unstable not found, trying another" >&5 |
2272 | +-$as_echo "$as_me: WARNING: libxul-unstable not found, trying another" >&2;} |
2273 | ++ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: mozilla-plugin >= 2.0 not found. Trying another" >&5 |
2274 | ++$as_echo "$as_me: WARNING: mozilla-plugin >= 2.0 not found. Trying another" >&2;} |
2275 | + else |
2276 | + GECKO_CFLAGS=$pkg_cv_GECKO_CFLAGS |
2277 | + GECKO_LIBS=$pkg_cv_GECKO_LIBS |
2278 | + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
2279 | + $as_echo "yes" >&6; } |
2280 | +- { $as_echo "$as_me:${as_lineno-$LINENO}: Using libxul-unstable" >&5 |
2281 | +-$as_echo "$as_me: Using libxul-unstable" >&6;} |
2282 | +- |
2283 | +-fi |
2284 | +-fi |
2285 | +- |
2286 | +-if test "$GECKO_CFLAGS" = ""; then |
2287 | + |
2288 | +-pkg_failed=no |
2289 | +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GECKO" >&5 |
2290 | +-$as_echo_n "checking for GECKO... " >&6; } |
2291 | +- |
2292 | +-if test -n "$GECKO_CFLAGS"; then |
2293 | +- pkg_cv_GECKO_CFLAGS="$GECKO_CFLAGS" |
2294 | +- elif test -n "$PKG_CONFIG"; then |
2295 | +- if test -n "$PKG_CONFIG" && \ |
2296 | +- { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"mozilla-plugin mozilla-xpcom\""; } >&5 |
2297 | +- ($PKG_CONFIG --exists --print-errors "mozilla-plugin mozilla-xpcom") 2>&5 |
2298 | +- ac_status=$? |
2299 | +- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
2300 | +- test $ac_status = 0; }; then |
2301 | +- pkg_cv_GECKO_CFLAGS=`$PKG_CONFIG --cflags "mozilla-plugin mozilla-xpcom" 2>/dev/null` |
2302 | +-else |
2303 | +- pkg_failed=yes |
2304 | +-fi |
2305 | +- else |
2306 | +- pkg_failed=untried |
2307 | +-fi |
2308 | +-if test -n "$GECKO_LIBS"; then |
2309 | +- pkg_cv_GECKO_LIBS="$GECKO_LIBS" |
2310 | +- elif test -n "$PKG_CONFIG"; then |
2311 | +- if test -n "$PKG_CONFIG" && \ |
2312 | +- { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"mozilla-plugin mozilla-xpcom\""; } >&5 |
2313 | +- ($PKG_CONFIG --exists --print-errors "mozilla-plugin mozilla-xpcom") 2>&5 |
2314 | +- ac_status=$? |
2315 | +- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
2316 | +- test $ac_status = 0; }; then |
2317 | +- pkg_cv_GECKO_LIBS=`$PKG_CONFIG --libs "mozilla-plugin mozilla-xpcom" 2>/dev/null` |
2318 | +-else |
2319 | +- pkg_failed=yes |
2320 | +-fi |
2321 | +- else |
2322 | +- pkg_failed=untried |
2323 | +-fi |
2324 | +- |
2325 | +- |
2326 | +- |
2327 | +-if test $pkg_failed = yes; then |
2328 | +- |
2329 | +-if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then |
2330 | +- _pkg_short_errors_supported=yes |
2331 | +-else |
2332 | +- _pkg_short_errors_supported=no |
2333 | +-fi |
2334 | +- if test $_pkg_short_errors_supported = yes; then |
2335 | +- GECKO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "mozilla-plugin mozilla-xpcom" 2>&1` |
2336 | +- else |
2337 | +- GECKO_PKG_ERRORS=`$PKG_CONFIG --print-errors "mozilla-plugin mozilla-xpcom" 2>&1` |
2338 | +- fi |
2339 | +- # Put the nasty error message in config.log where it belongs |
2340 | +- echo "$GECKO_PKG_ERRORS" >&5 |
2341 | +- |
2342 | +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
2343 | +-$as_echo "no" >&6; } |
2344 | +- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: mozilla-plugin not found, trying another" >&5 |
2345 | +-$as_echo "$as_me: WARNING: mozilla-plugin not found, trying another" >&2;} |
2346 | +-elif test $pkg_failed = untried; then |
2347 | +- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: mozilla-plugin not found, trying another" >&5 |
2348 | +-$as_echo "$as_me: WARNING: mozilla-plugin not found, trying another" >&2;} |
2349 | +-else |
2350 | +- GECKO_CFLAGS=$pkg_cv_GECKO_CFLAGS |
2351 | +- GECKO_LIBS=$pkg_cv_GECKO_LIBS |
2352 | +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
2353 | +-$as_echo "yes" >&6; } |
2354 | +- { $as_echo "$as_me:${as_lineno-$LINENO}: Using mozilla" >&5 |
2355 | ++$as_echo "#define HAVE_NEW_XULRUNNER 1" >>confdefs.h |
2356 | ++ { $as_echo "$as_me:${as_lineno-$LINENO}: Using mozilla" >&5 |
2357 | + $as_echo "$as_me: Using mozilla" >&6;} |
2358 | + |
2359 | + fi |
2360 | +@@ -7610,86 +7340,13 @@ if test -n "$GECKO_CFLAGS"; then |
2361 | + pkg_cv_GECKO_CFLAGS="$GECKO_CFLAGS" |
2362 | + elif test -n "$PKG_CONFIG"; then |
2363 | + if test -n "$PKG_CONFIG" && \ |
2364 | +- { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"firefox-plugin firefox-xpcom\""; } >&5 |
2365 | +- ($PKG_CONFIG --exists --print-errors "firefox-plugin firefox-xpcom") 2>&5 |
2366 | +- ac_status=$? |
2367 | +- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
2368 | +- test $ac_status = 0; }; then |
2369 | +- pkg_cv_GECKO_CFLAGS=`$PKG_CONFIG --cflags "firefox-plugin firefox-xpcom" 2>/dev/null` |
2370 | +-else |
2371 | +- pkg_failed=yes |
2372 | +-fi |
2373 | +- else |
2374 | +- pkg_failed=untried |
2375 | +-fi |
2376 | +-if test -n "$GECKO_LIBS"; then |
2377 | +- pkg_cv_GECKO_LIBS="$GECKO_LIBS" |
2378 | +- elif test -n "$PKG_CONFIG"; then |
2379 | +- if test -n "$PKG_CONFIG" && \ |
2380 | +- { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"firefox-plugin firefox-xpcom\""; } >&5 |
2381 | +- ($PKG_CONFIG --exists --print-errors "firefox-plugin firefox-xpcom") 2>&5 |
2382 | +- ac_status=$? |
2383 | +- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
2384 | +- test $ac_status = 0; }; then |
2385 | +- pkg_cv_GECKO_LIBS=`$PKG_CONFIG --libs "firefox-plugin firefox-xpcom" 2>/dev/null` |
2386 | +-else |
2387 | +- pkg_failed=yes |
2388 | +-fi |
2389 | +- else |
2390 | +- pkg_failed=untried |
2391 | +-fi |
2392 | +- |
2393 | +- |
2394 | +- |
2395 | +-if test $pkg_failed = yes; then |
2396 | +- |
2397 | +-if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then |
2398 | +- _pkg_short_errors_supported=yes |
2399 | +-else |
2400 | +- _pkg_short_errors_supported=no |
2401 | +-fi |
2402 | +- if test $_pkg_short_errors_supported = yes; then |
2403 | +- GECKO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "firefox-plugin firefox-xpcom" 2>&1` |
2404 | +- else |
2405 | +- GECKO_PKG_ERRORS=`$PKG_CONFIG --print-errors "firefox-plugin firefox-xpcom" 2>&1` |
2406 | +- fi |
2407 | +- # Put the nasty error message in config.log where it belongs |
2408 | +- echo "$GECKO_PKG_ERRORS" >&5 |
2409 | +- |
2410 | +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
2411 | +-$as_echo "no" >&6; } |
2412 | +- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: firefox-plugin not found, trying another" >&5 |
2413 | +-$as_echo "$as_me: WARNING: firefox-plugin not found, trying another" >&2;} |
2414 | +-elif test $pkg_failed = untried; then |
2415 | +- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: firefox-plugin not found, trying another" >&5 |
2416 | +-$as_echo "$as_me: WARNING: firefox-plugin not found, trying another" >&2;} |
2417 | +-else |
2418 | +- GECKO_CFLAGS=$pkg_cv_GECKO_CFLAGS |
2419 | +- GECKO_LIBS=$pkg_cv_GECKO_LIBS |
2420 | +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
2421 | +-$as_echo "yes" >&6; } |
2422 | +- { $as_echo "$as_me:${as_lineno-$LINENO}: Using firefox" >&5 |
2423 | +-$as_echo "$as_me: Using firefox" >&6;} |
2424 | +- |
2425 | +-fi |
2426 | +-fi |
2427 | +- |
2428 | +-if test "$GECKO_CFLAGS" = ""; then |
2429 | +- |
2430 | +-pkg_failed=no |
2431 | +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GECKO" >&5 |
2432 | +-$as_echo_n "checking for GECKO... " >&6; } |
2433 | +- |
2434 | +-if test -n "$GECKO_CFLAGS"; then |
2435 | +- pkg_cv_GECKO_CFLAGS="$GECKO_CFLAGS" |
2436 | +- elif test -n "$PKG_CONFIG"; then |
2437 | +- if test -n "$PKG_CONFIG" && \ |
2438 | +- { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"seamonkey-plugin seamonkey-xpcom\""; } >&5 |
2439 | +- ($PKG_CONFIG --exists --print-errors "seamonkey-plugin seamonkey-xpcom") 2>&5 |
2440 | ++ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"mozilla-plugin\""; } >&5 |
2441 | ++ ($PKG_CONFIG --exists --print-errors "mozilla-plugin") 2>&5 |
2442 | + ac_status=$? |
2443 | + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
2444 | + test $ac_status = 0; }; then |
2445 | +- pkg_cv_GECKO_CFLAGS=`$PKG_CONFIG --cflags "seamonkey-plugin seamonkey-xpcom" 2>/dev/null` |
2446 | ++ pkg_cv_GECKO_CFLAGS=`$PKG_CONFIG --cflags "mozilla-plugin" 2>/dev/null` |
2447 | ++ test "x$?" != "x0" && pkg_failed=yes |
2448 | + else |
2449 | + pkg_failed=yes |
2450 | + fi |
2451 | +@@ -7700,12 +7357,13 @@ if test -n "$GECKO_LIBS"; then |
2452 | + pkg_cv_GECKO_LIBS="$GECKO_LIBS" |
2453 | + elif test -n "$PKG_CONFIG"; then |
2454 | + if test -n "$PKG_CONFIG" && \ |
2455 | +- { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"seamonkey-plugin seamonkey-xpcom\""; } >&5 |
2456 | +- ($PKG_CONFIG --exists --print-errors "seamonkey-plugin seamonkey-xpcom") 2>&5 |
2457 | ++ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"mozilla-plugin\""; } >&5 |
2458 | ++ ($PKG_CONFIG --exists --print-errors "mozilla-plugin") 2>&5 |
2459 | + ac_status=$? |
2460 | + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
2461 | + test $ac_status = 0; }; then |
2462 | +- pkg_cv_GECKO_LIBS=`$PKG_CONFIG --libs "seamonkey-plugin seamonkey-xpcom" 2>/dev/null` |
2463 | ++ pkg_cv_GECKO_LIBS=`$PKG_CONFIG --libs "mozilla-plugin" 2>/dev/null` |
2464 | ++ test "x$?" != "x0" && pkg_failed=yes |
2465 | + else |
2466 | + pkg_failed=yes |
2467 | + fi |
2468 | +@@ -7716,80 +7374,8 @@ fi |
2469 | + |
2470 | + |
2471 | + if test $pkg_failed = yes; then |
2472 | +- |
2473 | +-if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then |
2474 | +- _pkg_short_errors_supported=yes |
2475 | +-else |
2476 | +- _pkg_short_errors_supported=no |
2477 | +-fi |
2478 | +- if test $_pkg_short_errors_supported = yes; then |
2479 | +- GECKO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "seamonkey-plugin seamonkey-xpcom" 2>&1` |
2480 | +- else |
2481 | +- GECKO_PKG_ERRORS=`$PKG_CONFIG --print-errors "seamonkey-plugin seamonkey-xpcom" 2>&1` |
2482 | +- fi |
2483 | +- # Put the nasty error message in config.log where it belongs |
2484 | +- echo "$GECKO_PKG_ERRORS" >&5 |
2485 | +- |
2486 | +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
2487 | ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
2488 | + $as_echo "no" >&6; } |
2489 | +- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: seamokey-plugin not found, trying another" >&5 |
2490 | +-$as_echo "$as_me: WARNING: seamokey-plugin not found, trying another" >&2;} |
2491 | +-elif test $pkg_failed = untried; then |
2492 | +- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: seamokey-plugin not found, trying another" >&5 |
2493 | +-$as_echo "$as_me: WARNING: seamokey-plugin not found, trying another" >&2;} |
2494 | +-else |
2495 | +- GECKO_CFLAGS=$pkg_cv_GECKO_CFLAGS |
2496 | +- GECKO_LIBS=$pkg_cv_GECKO_LIBS |
2497 | +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
2498 | +-$as_echo "yes" >&6; } |
2499 | +- { $as_echo "$as_me:${as_lineno-$LINENO}: Using seamonkey" >&5 |
2500 | +-$as_echo "$as_me: Using seamonkey" >&6;} |
2501 | +- |
2502 | +-fi |
2503 | +-fi |
2504 | +- |
2505 | +-if test "$GECKO_CFLAGS" = ""; then |
2506 | +- |
2507 | +-pkg_failed=no |
2508 | +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GECKO" >&5 |
2509 | +-$as_echo_n "checking for GECKO... " >&6; } |
2510 | +- |
2511 | +-if test -n "$GECKO_CFLAGS"; then |
2512 | +- pkg_cv_GECKO_CFLAGS="$GECKO_CFLAGS" |
2513 | +- elif test -n "$PKG_CONFIG"; then |
2514 | +- if test -n "$PKG_CONFIG" && \ |
2515 | +- { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xulrunner-plugin xulrunner-xpcom\""; } >&5 |
2516 | +- ($PKG_CONFIG --exists --print-errors "xulrunner-plugin xulrunner-xpcom") 2>&5 |
2517 | +- ac_status=$? |
2518 | +- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
2519 | +- test $ac_status = 0; }; then |
2520 | +- pkg_cv_GECKO_CFLAGS=`$PKG_CONFIG --cflags "xulrunner-plugin xulrunner-xpcom" 2>/dev/null` |
2521 | +-else |
2522 | +- pkg_failed=yes |
2523 | +-fi |
2524 | +- else |
2525 | +- pkg_failed=untried |
2526 | +-fi |
2527 | +-if test -n "$GECKO_LIBS"; then |
2528 | +- pkg_cv_GECKO_LIBS="$GECKO_LIBS" |
2529 | +- elif test -n "$PKG_CONFIG"; then |
2530 | +- if test -n "$PKG_CONFIG" && \ |
2531 | +- { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xulrunner-plugin xulrunner-xpcom\""; } >&5 |
2532 | +- ($PKG_CONFIG --exists --print-errors "xulrunner-plugin xulrunner-xpcom") 2>&5 |
2533 | +- ac_status=$? |
2534 | +- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
2535 | +- test $ac_status = 0; }; then |
2536 | +- pkg_cv_GECKO_LIBS=`$PKG_CONFIG --libs "xulrunner-plugin xulrunner-xpcom" 2>/dev/null` |
2537 | +-else |
2538 | +- pkg_failed=yes |
2539 | +-fi |
2540 | +- else |
2541 | +- pkg_failed=untried |
2542 | +-fi |
2543 | +- |
2544 | +- |
2545 | +- |
2546 | +-if test $pkg_failed = yes; then |
2547 | + |
2548 | + if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then |
2549 | + _pkg_short_errors_supported=yes |
2550 | +@@ -7797,101 +7383,25 @@ else |
2551 | + _pkg_short_errors_supported=no |
2552 | + fi |
2553 | + if test $_pkg_short_errors_supported = yes; then |
2554 | +- GECKO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xulrunner-plugin xulrunner-xpcom" 2>&1` |
2555 | ++ GECKO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "mozilla-plugin" 2>&1` |
2556 | + else |
2557 | +- GECKO_PKG_ERRORS=`$PKG_CONFIG --print-errors "xulrunner-plugin xulrunner-xpcom" 2>&1` |
2558 | ++ GECKO_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "mozilla-plugin" 2>&1` |
2559 | + fi |
2560 | + # Put the nasty error message in config.log where it belongs |
2561 | + echo "$GECKO_PKG_ERRORS" >&5 |
2562 | + |
2563 | +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
2564 | +-$as_echo "no" >&6; } |
2565 | +- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: xulrunner-plugin not found, trying another" >&5 |
2566 | +-$as_echo "$as_me: WARNING: xulrunner-plugin not found, trying another" >&2;} |
2567 | ++ as_fn_error $? "mozilla-plugin not found. Try passing --with-xulrunner-sdk" "$LINENO" 5 |
2568 | + elif test $pkg_failed = untried; then |
2569 | +- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: xulrunner-plugin not found, trying another" >&5 |
2570 | +-$as_echo "$as_me: WARNING: xulrunner-plugin not found, trying another" >&2;} |
2571 | +-else |
2572 | +- GECKO_CFLAGS=$pkg_cv_GECKO_CFLAGS |
2573 | +- GECKO_LIBS=$pkg_cv_GECKO_LIBS |
2574 | +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
2575 | +-$as_echo "yes" >&6; } |
2576 | +- { $as_echo "$as_me:${as_lineno-$LINENO}: Using xulrunner" >&5 |
2577 | +-$as_echo "$as_me: Using xulrunner" >&6;} |
2578 | +- |
2579 | +-fi |
2580 | +-fi |
2581 | +- |
2582 | +-if test "$GECKO_CFLAGS" = ""; then |
2583 | +- |
2584 | +-pkg_failed=no |
2585 | +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GECKO" >&5 |
2586 | +-$as_echo_n "checking for GECKO... " >&6; } |
2587 | +- |
2588 | +-if test -n "$GECKO_CFLAGS"; then |
2589 | +- pkg_cv_GECKO_CFLAGS="$GECKO_CFLAGS" |
2590 | +- elif test -n "$PKG_CONFIG"; then |
2591 | +- if test -n "$PKG_CONFIG" && \ |
2592 | +- { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"iceape-plugin iceape-xpcom\""; } >&5 |
2593 | +- ($PKG_CONFIG --exists --print-errors "iceape-plugin iceape-xpcom") 2>&5 |
2594 | +- ac_status=$? |
2595 | +- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
2596 | +- test $ac_status = 0; }; then |
2597 | +- pkg_cv_GECKO_CFLAGS=`$PKG_CONFIG --cflags "iceape-plugin iceape-xpcom" 2>/dev/null` |
2598 | +-else |
2599 | +- pkg_failed=yes |
2600 | +-fi |
2601 | +- else |
2602 | +- pkg_failed=untried |
2603 | +-fi |
2604 | +-if test -n "$GECKO_LIBS"; then |
2605 | +- pkg_cv_GECKO_LIBS="$GECKO_LIBS" |
2606 | +- elif test -n "$PKG_CONFIG"; then |
2607 | +- if test -n "$PKG_CONFIG" && \ |
2608 | +- { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"iceape-plugin iceape-xpcom\""; } >&5 |
2609 | +- ($PKG_CONFIG --exists --print-errors "iceape-plugin iceape-xpcom") 2>&5 |
2610 | +- ac_status=$? |
2611 | +- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
2612 | +- test $ac_status = 0; }; then |
2613 | +- pkg_cv_GECKO_LIBS=`$PKG_CONFIG --libs "iceape-plugin iceape-xpcom" 2>/dev/null` |
2614 | +-else |
2615 | +- pkg_failed=yes |
2616 | +-fi |
2617 | +- else |
2618 | +- pkg_failed=untried |
2619 | +-fi |
2620 | +- |
2621 | +- |
2622 | +- |
2623 | +-if test $pkg_failed = yes; then |
2624 | +- |
2625 | +-if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then |
2626 | +- _pkg_short_errors_supported=yes |
2627 | +-else |
2628 | +- _pkg_short_errors_supported=no |
2629 | +-fi |
2630 | +- if test $_pkg_short_errors_supported = yes; then |
2631 | +- GECKO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "iceape-plugin iceape-xpcom" 2>&1` |
2632 | +- else |
2633 | +- GECKO_PKG_ERRORS=`$PKG_CONFIG --print-errors "iceape-plugin iceape-xpcom" 2>&1` |
2634 | +- fi |
2635 | +- # Put the nasty error message in config.log where it belongs |
2636 | +- echo "$GECKO_PKG_ERRORS" >&5 |
2637 | +- |
2638 | +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
2639 | ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
2640 | + $as_echo "no" >&6; } |
2641 | +- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: iceape-plugin not found, trying another" >&5 |
2642 | +-$as_echo "$as_me: WARNING: iceape-plugin not found, trying another" >&2;} |
2643 | +-elif test $pkg_failed = untried; then |
2644 | +- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: iceape-plugin not found, trying another" >&5 |
2645 | +-$as_echo "$as_me: WARNING: iceape-plugin not found, trying another" >&2;} |
2646 | ++ as_fn_error $? "mozilla-plugin not found. Try passing --with-xulrunner-sdk" "$LINENO" 5 |
2647 | + else |
2648 | + GECKO_CFLAGS=$pkg_cv_GECKO_CFLAGS |
2649 | + GECKO_LIBS=$pkg_cv_GECKO_LIBS |
2650 | + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
2651 | + $as_echo "yes" >&6; } |
2652 | +- { $as_echo "$as_me:${as_lineno-$LINENO}: Using iceape" >&5 |
2653 | +-$as_echo "$as_me: Using iceape" >&6;} |
2654 | ++ { $as_echo "$as_me:${as_lineno-$LINENO}: Using mozilla" >&5 |
2655 | ++$as_echo "$as_me: Using mozilla" >&6;} |
2656 | + |
2657 | + fi |
2658 | + fi |
2659 | +@@ -7911,6 +7421,7 @@ if test -n "$NSPR_CFLAGS"; then |
2660 | + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
2661 | + test $ac_status = 0; }; then |
2662 | + pkg_cv_NSPR_CFLAGS=`$PKG_CONFIG --cflags "nspr" 2>/dev/null` |
2663 | ++ test "x$?" != "x0" && pkg_failed=yes |
2664 | + else |
2665 | + pkg_failed=yes |
2666 | + fi |
2667 | +@@ -7927,6 +7438,7 @@ if test -n "$NSPR_LIBS"; then |
2668 | + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
2669 | + test $ac_status = 0; }; then |
2670 | + pkg_cv_NSPR_LIBS=`$PKG_CONFIG --libs "nspr" 2>/dev/null` |
2671 | ++ test "x$?" != "x0" && pkg_failed=yes |
2672 | + else |
2673 | + pkg_failed=yes |
2674 | + fi |
2675 | +@@ -7937,6 +7449,8 @@ fi |
2676 | + |
2677 | + |
2678 | + if test $pkg_failed = yes; then |
2679 | ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
2680 | ++$as_echo "no" >&6; } |
2681 | + |
2682 | + if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then |
2683 | + _pkg_short_errors_supported=yes |
2684 | +@@ -7944,18 +7458,18 @@ else |
2685 | + _pkg_short_errors_supported=no |
2686 | + fi |
2687 | + if test $_pkg_short_errors_supported = yes; then |
2688 | +- NSPR_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "nspr" 2>&1` |
2689 | ++ NSPR_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "nspr" 2>&1` |
2690 | + else |
2691 | +- NSPR_PKG_ERRORS=`$PKG_CONFIG --print-errors "nspr" 2>&1` |
2692 | ++ NSPR_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "nspr" 2>&1` |
2693 | + fi |
2694 | + # Put the nasty error message in config.log where it belongs |
2695 | + echo "$NSPR_PKG_ERRORS" >&5 |
2696 | + |
2697 | +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
2698 | +-$as_echo "no" >&6; } |
2699 | +- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: nspr not found, may not be needed" >&5 |
2700 | ++ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: nspr not found, may not be needed" >&5 |
2701 | + $as_echo "$as_me: WARNING: nspr not found, may not be needed" >&2;} |
2702 | + elif test $pkg_failed = untried; then |
2703 | ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
2704 | ++$as_echo "no" >&6; } |
2705 | + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: nspr not found, may not be needed" >&5 |
2706 | + $as_echo "$as_me: WARNING: nspr not found, may not be needed" >&2;} |
2707 | + else |
2708 | +@@ -7988,6 +7502,7 @@ if test -n "$DBUS_CFLAGS"; then |
2709 | + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
2710 | + test $ac_status = 0; }; then |
2711 | + pkg_cv_DBUS_CFLAGS=`$PKG_CONFIG --cflags "dbus-1 >= 0.95 dbus-glib-1 >= 0.70" 2>/dev/null` |
2712 | ++ test "x$?" != "x0" && pkg_failed=yes |
2713 | + else |
2714 | + pkg_failed=yes |
2715 | + fi |
2716 | +@@ -8004,6 +7519,7 @@ if test -n "$DBUS_LIBS"; then |
2717 | + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
2718 | + test $ac_status = 0; }; then |
2719 | + pkg_cv_DBUS_LIBS=`$PKG_CONFIG --libs "dbus-1 >= 0.95 dbus-glib-1 >= 0.70" 2>/dev/null` |
2720 | ++ test "x$?" != "x0" && pkg_failed=yes |
2721 | + else |
2722 | + pkg_failed=yes |
2723 | + fi |
2724 | +@@ -8014,6 +7530,8 @@ fi |
2725 | + |
2726 | + |
2727 | + if test $pkg_failed = yes; then |
2728 | ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
2729 | ++$as_echo "no" >&6; } |
2730 | + |
2731 | + if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then |
2732 | + _pkg_short_errors_supported=yes |
2733 | +@@ -8021,14 +7539,14 @@ else |
2734 | + _pkg_short_errors_supported=no |
2735 | + fi |
2736 | + if test $_pkg_short_errors_supported = yes; then |
2737 | +- DBUS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "dbus-1 >= 0.95 dbus-glib-1 >= 0.70" 2>&1` |
2738 | ++ DBUS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "dbus-1 >= 0.95 dbus-glib-1 >= 0.70" 2>&1` |
2739 | + else |
2740 | +- DBUS_PKG_ERRORS=`$PKG_CONFIG --print-errors "dbus-1 >= 0.95 dbus-glib-1 >= 0.70" 2>&1` |
2741 | ++ DBUS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "dbus-1 >= 0.95 dbus-glib-1 >= 0.70" 2>&1` |
2742 | + fi |
2743 | + # Put the nasty error message in config.log where it belongs |
2744 | + echo "$DBUS_PKG_ERRORS" >&5 |
2745 | + |
2746 | +- as_fn_error "Package requirements (dbus-1 >= 0.95 dbus-glib-1 >= 0.70) were not met: |
2747 | ++ as_fn_error $? "Package requirements (dbus-1 >= 0.95 dbus-glib-1 >= 0.70) were not met: |
2748 | + |
2749 | + $DBUS_PKG_ERRORS |
2750 | + |
2751 | +@@ -8037,12 +7555,13 @@ installed software in a non-standard pre |
2752 | + |
2753 | + Alternatively, you may set the environment variables DBUS_CFLAGS |
2754 | + and DBUS_LIBS to avoid the need to call pkg-config. |
2755 | +-See the pkg-config man page for more details. |
2756 | +-" "$LINENO" 5 |
2757 | ++See the pkg-config man page for more details." "$LINENO" 5 |
2758 | + elif test $pkg_failed = untried; then |
2759 | ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
2760 | ++$as_echo "no" >&6; } |
2761 | + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
2762 | + $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
2763 | +-as_fn_error "The pkg-config script could not be found or is too old. Make sure it |
2764 | ++as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it |
2765 | + is in your PATH or set the PKG_CONFIG environment variable to the full |
2766 | + path to pkg-config. |
2767 | + |
2768 | +@@ -8051,13 +7570,13 @@ and DBUS_LIBS to avoid the need to call |
2769 | + See the pkg-config man page for more details. |
2770 | + |
2771 | + To get pkg-config, see <http://pkg-config.freedesktop.org/>. |
2772 | +-See \`config.log' for more details." "$LINENO" 5; } |
2773 | ++See \`config.log' for more details" "$LINENO" 5; } |
2774 | + else |
2775 | + DBUS_CFLAGS=$pkg_cv_DBUS_CFLAGS |
2776 | + DBUS_LIBS=$pkg_cv_DBUS_LIBS |
2777 | + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
2778 | + $as_echo "yes" >&6; } |
2779 | +- : |
2780 | ++ |
2781 | + fi |
2782 | + |
2783 | + |
2784 | +@@ -8093,6 +7612,7 @@ if test -n "$GCONF_CFLAGS"; then |
2785 | + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
2786 | + test $ac_status = 0; }; then |
2787 | + pkg_cv_GCONF_CFLAGS=`$PKG_CONFIG --cflags "gconf-2.0" 2>/dev/null` |
2788 | ++ test "x$?" != "x0" && pkg_failed=yes |
2789 | + else |
2790 | + pkg_failed=yes |
2791 | + fi |
2792 | +@@ -8109,6 +7629,7 @@ if test -n "$GCONF_LIBS"; then |
2793 | + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
2794 | + test $ac_status = 0; }; then |
2795 | + pkg_cv_GCONF_LIBS=`$PKG_CONFIG --libs "gconf-2.0" 2>/dev/null` |
2796 | ++ test "x$?" != "x0" && pkg_failed=yes |
2797 | + else |
2798 | + pkg_failed=yes |
2799 | + fi |
2800 | +@@ -8119,6 +7640,8 @@ fi |
2801 | + |
2802 | + |
2803 | + if test $pkg_failed = yes; then |
2804 | ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
2805 | ++$as_echo "no" >&6; } |
2806 | + |
2807 | + if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then |
2808 | + _pkg_short_errors_supported=yes |
2809 | +@@ -8126,16 +7649,14 @@ else |
2810 | + _pkg_short_errors_supported=no |
2811 | + fi |
2812 | + if test $_pkg_short_errors_supported = yes; then |
2813 | +- GCONF_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gconf-2.0" 2>&1` |
2814 | ++ GCONF_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gconf-2.0" 2>&1` |
2815 | + else |
2816 | +- GCONF_PKG_ERRORS=`$PKG_CONFIG --print-errors "gconf-2.0" 2>&1` |
2817 | ++ GCONF_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gconf-2.0" 2>&1` |
2818 | + fi |
2819 | + # Put the nasty error message in config.log where it belongs |
2820 | + echo "$GCONF_PKG_ERRORS" >&5 |
2821 | + |
2822 | +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
2823 | +-$as_echo "no" >&6; } |
2824 | +- if false; then |
2825 | ++ if false; then |
2826 | + GCONF_SCHEMAS_INSTALL_TRUE= |
2827 | + GCONF_SCHEMAS_INSTALL_FALSE='#' |
2828 | + else |
2829 | +@@ -8145,6 +7666,8 @@ fi |
2830 | + { $as_echo "$as_me:${as_lineno-$LINENO}: Using keystore for preferences" >&5 |
2831 | + $as_echo "$as_me: Using keystore for preferences" >&6;} |
2832 | + elif test $pkg_failed = untried; then |
2833 | ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
2834 | ++$as_echo "no" >&6; } |
2835 | + if false; then |
2836 | + GCONF_SCHEMAS_INSTALL_TRUE= |
2837 | + GCONF_SCHEMAS_INSTALL_FALSE='#' |
2838 | +@@ -8196,7 +7719,7 @@ $as_echo "Using $GCONF_SCHEMA_FILE_DIR a |
2839 | + if test "${enable_schemas_install+set}" = set; then : |
2840 | + enableval=$enable_schemas_install; case ${enableval} in |
2841 | + yes|no) ;; |
2842 | +- *) as_fn_error "bad value ${enableval} for --enable-schemas-install" "$LINENO" 5 ;; |
2843 | ++ *) as_fn_error $? "bad value ${enableval} for --enable-schemas-install" "$LINENO" 5 ;; |
2844 | + esac |
2845 | + fi |
2846 | + |
2847 | +@@ -8243,6 +7766,7 @@ if test -n "$GIO_CFLAGS"; then |
2848 | + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
2849 | + test $ac_status = 0; }; then |
2850 | + pkg_cv_GIO_CFLAGS=`$PKG_CONFIG --cflags "gio-2.0" 2>/dev/null` |
2851 | ++ test "x$?" != "x0" && pkg_failed=yes |
2852 | + else |
2853 | + pkg_failed=yes |
2854 | + fi |
2855 | +@@ -8259,6 +7783,7 @@ if test -n "$GIO_LIBS"; then |
2856 | + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
2857 | + test $ac_status = 0; }; then |
2858 | + pkg_cv_GIO_LIBS=`$PKG_CONFIG --libs "gio-2.0" 2>/dev/null` |
2859 | ++ test "x$?" != "x0" && pkg_failed=yes |
2860 | + else |
2861 | + pkg_failed=yes |
2862 | + fi |
2863 | +@@ -8269,6 +7794,8 @@ fi |
2864 | + |
2865 | + |
2866 | + if test $pkg_failed = yes; then |
2867 | ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
2868 | ++$as_echo "no" >&6; } |
2869 | + |
2870 | + if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then |
2871 | + _pkg_short_errors_supported=yes |
2872 | +@@ -8276,18 +7803,18 @@ else |
2873 | + _pkg_short_errors_supported=no |
2874 | + fi |
2875 | + if test $_pkg_short_errors_supported = yes; then |
2876 | +- GIO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gio-2.0" 2>&1` |
2877 | ++ GIO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gio-2.0" 2>&1` |
2878 | + else |
2879 | +- GIO_PKG_ERRORS=`$PKG_CONFIG --print-errors "gio-2.0" 2>&1` |
2880 | ++ GIO_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gio-2.0" 2>&1` |
2881 | + fi |
2882 | + # Put the nasty error message in config.log where it belongs |
2883 | + echo "$GIO_PKG_ERRORS" >&5 |
2884 | + |
2885 | +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
2886 | +-$as_echo "no" >&6; } |
2887 | +- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Compiling without gio support" >&5 |
2888 | ++ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Compiling without gio support" >&5 |
2889 | + $as_echo "$as_me: WARNING: Compiling without gio support" >&2;} |
2890 | + elif test $pkg_failed = untried; then |
2891 | ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
2892 | ++$as_echo "no" >&6; } |
2893 | + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Compiling without gio support" >&5 |
2894 | + $as_echo "$as_me: WARNING: Compiling without gio support" >&2;} |
2895 | + else |
2896 | +@@ -8395,10 +7922,21 @@ $as_echo "$as_me: WARNING: cache variabl |
2897 | + :end' >>confcache |
2898 | + if diff "$cache_file" confcache >/dev/null 2>&1; then :; else |
2899 | + if test -w "$cache_file"; then |
2900 | +- test "x$cache_file" != "x/dev/null" && |
2901 | ++ if test "x$cache_file" != "x/dev/null"; then |
2902 | + { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 |
2903 | + $as_echo "$as_me: updating cache $cache_file" >&6;} |
2904 | +- cat confcache >$cache_file |
2905 | ++ if test ! -f "$cache_file" || test -h "$cache_file"; then |
2906 | ++ cat confcache >"$cache_file" |
2907 | ++ else |
2908 | ++ case $cache_file in #( |
2909 | ++ */* | ?:*) |
2910 | ++ mv -f confcache "$cache_file"$$ && |
2911 | ++ mv -f "$cache_file"$$ "$cache_file" ;; #( |
2912 | ++ *) |
2913 | ++ mv -f confcache "$cache_file" ;; |
2914 | ++ esac |
2915 | ++ fi |
2916 | ++ fi |
2917 | + else |
2918 | + { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 |
2919 | + $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} |
2920 | +@@ -8414,6 +7952,7 @@ DEFS=-DHAVE_CONFIG_H |
2921 | + |
2922 | + ac_libobjs= |
2923 | + ac_ltlibobjs= |
2924 | ++U= |
2925 | + for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue |
2926 | + # 1. Remove the extension, and $U if already installed. |
2927 | + ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' |
2928 | +@@ -8437,47 +7976,47 @@ else |
2929 | + fi |
2930 | + |
2931 | + if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then |
2932 | +- as_fn_error "conditional \"MAINTAINER_MODE\" was never defined. |
2933 | ++ as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined. |
2934 | + Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
2935 | + fi |
2936 | + if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then |
2937 | +- as_fn_error "conditional \"AMDEP\" was never defined. |
2938 | ++ as_fn_error $? "conditional \"AMDEP\" was never defined. |
2939 | + Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
2940 | + fi |
2941 | + if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then |
2942 | +- as_fn_error "conditional \"am__fastdepCC\" was never defined. |
2943 | ++ as_fn_error $? "conditional \"am__fastdepCC\" was never defined. |
2944 | + Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
2945 | + fi |
2946 | + if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then |
2947 | +- as_fn_error "conditional \"am__fastdepCC\" was never defined. |
2948 | ++ as_fn_error $? "conditional \"am__fastdepCC\" was never defined. |
2949 | + Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
2950 | + fi |
2951 | + if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then |
2952 | +- as_fn_error "conditional \"am__fastdepCC\" was never defined. |
2953 | ++ as_fn_error $? "conditional \"am__fastdepCC\" was never defined. |
2954 | + Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
2955 | + fi |
2956 | + if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then |
2957 | +- as_fn_error "conditional \"am__fastdepCXX\" was never defined. |
2958 | ++ as_fn_error $? "conditional \"am__fastdepCXX\" was never defined. |
2959 | + Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
2960 | + fi |
2961 | + if test -z "${GCONF_SCHEMAS_INSTALL_TRUE}" && test -z "${GCONF_SCHEMAS_INSTALL_FALSE}"; then |
2962 | +- as_fn_error "conditional \"GCONF_SCHEMAS_INSTALL\" was never defined. |
2963 | ++ as_fn_error $? "conditional \"GCONF_SCHEMAS_INSTALL\" was never defined. |
2964 | + Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
2965 | + fi |
2966 | + if test -z "${GCONF_SCHEMAS_INSTALL_TRUE}" && test -z "${GCONF_SCHEMAS_INSTALL_FALSE}"; then |
2967 | +- as_fn_error "conditional \"GCONF_SCHEMAS_INSTALL\" was never defined. |
2968 | ++ as_fn_error $? "conditional \"GCONF_SCHEMAS_INSTALL\" was never defined. |
2969 | + Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
2970 | + fi |
2971 | + if test -z "${GCONF_SCHEMAS_INSTALL_TRUE}" && test -z "${GCONF_SCHEMAS_INSTALL_FALSE}"; then |
2972 | +- as_fn_error "conditional \"GCONF_SCHEMAS_INSTALL\" was never defined. |
2973 | ++ as_fn_error $? "conditional \"GCONF_SCHEMAS_INSTALL\" was never defined. |
2974 | + Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
2975 | + fi |
2976 | + if test -z "${GCONF_SCHEMAS_INSTALL_TRUE}" && test -z "${GCONF_SCHEMAS_INSTALL_FALSE}"; then |
2977 | +- as_fn_error "conditional \"GCONF_SCHEMAS_INSTALL\" was never defined. |
2978 | ++ as_fn_error $? "conditional \"GCONF_SCHEMAS_INSTALL\" was never defined. |
2979 | + Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
2980 | + fi |
2981 | + |
2982 | +-: ${CONFIG_STATUS=./config.status} |
2983 | ++: "${CONFIG_STATUS=./config.status}" |
2984 | + ac_write_fail=0 |
2985 | + ac_clean_files_save=$ac_clean_files |
2986 | + ac_clean_files="$ac_clean_files $CONFIG_STATUS" |
2987 | +@@ -8578,6 +8117,7 @@ fi |
2988 | + IFS=" "" $as_nl" |
2989 | + |
2990 | + # Find who we are. Look in the path if we contain no directory separator. |
2991 | ++as_myself= |
2992 | + case $0 in #(( |
2993 | + *[\\/]* ) as_myself=$0 ;; |
2994 | + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2995 | +@@ -8623,19 +8163,19 @@ export LANGUAGE |
2996 | + (unset CDPATH) >/dev/null 2>&1 && unset CDPATH |
2997 | + |
2998 | + |
2999 | +-# as_fn_error ERROR [LINENO LOG_FD] |
3000 | +-# --------------------------------- |
3001 | ++# as_fn_error STATUS ERROR [LINENO LOG_FD] |
3002 | ++# ---------------------------------------- |
3003 | + # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are |
3004 | + # provided, also output the error to LOG_FD, referencing LINENO. Then exit the |
3005 | +-# script with status $?, using 1 if that was 0. |
3006 | ++# script with STATUS, using 1 if that was 0. |
3007 | + as_fn_error () |
3008 | + { |
3009 | +- as_status=$?; test $as_status -eq 0 && as_status=1 |
3010 | +- if test "$3"; then |
3011 | +- as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
3012 | +- $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 |
3013 | ++ as_status=$1; test $as_status -eq 0 && as_status=1 |
3014 | ++ if test "$4"; then |
3015 | ++ as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
3016 | ++ $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 |
3017 | + fi |
3018 | +- $as_echo "$as_me: error: $1" >&2 |
3019 | ++ $as_echo "$as_me: error: $2" >&2 |
3020 | + as_fn_exit $as_status |
3021 | + } # as_fn_error |
3022 | + |
3023 | +@@ -8831,7 +8371,7 @@ $as_echo X"$as_dir" | |
3024 | + test -d "$as_dir" && break |
3025 | + done |
3026 | + test -z "$as_dirs" || eval "mkdir $as_dirs" |
3027 | +- } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" |
3028 | ++ } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" |
3029 | + |
3030 | + |
3031 | + } # as_fn_mkdir_p |
3032 | +@@ -8885,7 +8425,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_wri |
3033 | + # values after options handling. |
3034 | + ac_log=" |
3035 | + This file was extended by $as_me, which was |
3036 | +-generated by GNU Autoconf 2.65. Invocation command line was |
3037 | ++generated by GNU Autoconf 2.68. Invocation command line was |
3038 | + |
3039 | + CONFIG_FILES = $CONFIG_FILES |
3040 | + CONFIG_HEADERS = $CONFIG_HEADERS |
3041 | +@@ -8951,10 +8491,10 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_writ |
3042 | + ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" |
3043 | + ac_cs_version="\\ |
3044 | + config.status |
3045 | +-configured by $0, generated by GNU Autoconf 2.65, |
3046 | ++configured by $0, generated by GNU Autoconf 2.68, |
3047 | + with options \\"\$ac_cs_config\\" |
3048 | + |
3049 | +-Copyright (C) 2009 Free Software Foundation, Inc. |
3050 | ++Copyright (C) 2010 Free Software Foundation, Inc. |
3051 | + This config.status script is free software; the Free Software Foundation |
3052 | + gives unlimited permission to copy, distribute and modify it." |
3053 | + |
3054 | +@@ -8972,11 +8512,16 @@ ac_need_defaults=: |
3055 | + while test $# != 0 |
3056 | + do |
3057 | + case $1 in |
3058 | +- --*=*) |
3059 | ++ --*=?*) |
3060 | + ac_option=`expr "X$1" : 'X\([^=]*\)='` |
3061 | + ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` |
3062 | + ac_shift=: |
3063 | + ;; |
3064 | ++ --*=) |
3065 | ++ ac_option=`expr "X$1" : 'X\([^=]*\)='` |
3066 | ++ ac_optarg= |
3067 | ++ ac_shift=: |
3068 | ++ ;; |
3069 | + *) |
3070 | + ac_option=$1 |
3071 | + ac_optarg=$2 |
3072 | +@@ -8998,6 +8543,7 @@ do |
3073 | + $ac_shift |
3074 | + case $ac_optarg in |
3075 | + *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; |
3076 | ++ '') as_fn_error $? "missing file argument" ;; |
3077 | + esac |
3078 | + as_fn_append CONFIG_FILES " '$ac_optarg'" |
3079 | + ac_need_defaults=false;; |
3080 | +@@ -9010,7 +8556,7 @@ do |
3081 | + ac_need_defaults=false;; |
3082 | + --he | --h) |
3083 | + # Conflict between --help and --header |
3084 | +- as_fn_error "ambiguous option: \`$1' |
3085 | ++ as_fn_error $? "ambiguous option: \`$1' |
3086 | + Try \`$0 --help' for more information.";; |
3087 | + --help | --hel | -h ) |
3088 | + $as_echo "$ac_cs_usage"; exit ;; |
3089 | +@@ -9019,7 +8565,7 @@ Try \`$0 --help' for more information."; |
3090 | + ac_cs_silent=: ;; |
3091 | + |
3092 | + # This is an error. |
3093 | +- -*) as_fn_error "unrecognized option: \`$1' |
3094 | ++ -*) as_fn_error $? "unrecognized option: \`$1' |
3095 | + Try \`$0 --help' for more information." ;; |
3096 | + |
3097 | + *) as_fn_append ac_config_targets " $1" |
3098 | +@@ -9083,7 +8629,7 @@ do |
3099 | + "src/libgmlib/Makefile") CONFIG_FILES="$CONFIG_FILES src/libgmlib/Makefile" ;; |
3100 | + "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;; |
3101 | + |
3102 | +- *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;; |
3103 | ++ *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; |
3104 | + esac |
3105 | + done |
3106 | + |
3107 | +@@ -9106,9 +8652,10 @@ fi |
3108 | + # after its creation but before its name has been assigned to `$tmp'. |
3109 | + $debug || |
3110 | + { |
3111 | +- tmp= |
3112 | ++ tmp= ac_tmp= |
3113 | + trap 'exit_status=$? |
3114 | +- { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status |
3115 | ++ : "${ac_tmp:=$tmp}" |
3116 | ++ { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status |
3117 | + ' 0 |
3118 | + trap 'as_fn_exit 1' 1 2 13 15 |
3119 | + } |
3120 | +@@ -9116,12 +8663,13 @@ $debug || |
3121 | + |
3122 | + { |
3123 | + tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && |
3124 | +- test -n "$tmp" && test -d "$tmp" |
3125 | ++ test -d "$tmp" |
3126 | + } || |
3127 | + { |
3128 | + tmp=./conf$$-$RANDOM |
3129 | + (umask 077 && mkdir "$tmp") |
3130 | +-} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5 |
3131 | ++} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 |
3132 | ++ac_tmp=$tmp |
3133 | + |
3134 | + # Set up the scripts for CONFIG_FILES section. |
3135 | + # No need to generate them if there are no CONFIG_FILES. |
3136 | +@@ -9138,12 +8686,12 @@ if test "x$ac_cr" = x; then |
3137 | + fi |
3138 | + ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` |
3139 | + if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then |
3140 | +- ac_cs_awk_cr='\r' |
3141 | ++ ac_cs_awk_cr='\\r' |
3142 | + else |
3143 | + ac_cs_awk_cr=$ac_cr |
3144 | + fi |
3145 | + |
3146 | +-echo 'BEGIN {' >"$tmp/subs1.awk" && |
3147 | ++echo 'BEGIN {' >"$ac_tmp/subs1.awk" && |
3148 | + _ACEOF |
3149 | + |
3150 | + |
3151 | +@@ -9152,18 +8700,18 @@ _ACEOF |
3152 | + echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && |
3153 | + echo "_ACEOF" |
3154 | + } >conf$$subs.sh || |
3155 | +- as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 |
3156 | +-ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'` |
3157 | ++ as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 |
3158 | ++ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` |
3159 | + ac_delim='%!_!# ' |
3160 | + for ac_last_try in false false false false false :; do |
3161 | + . ./conf$$subs.sh || |
3162 | +- as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 |
3163 | ++ as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 |
3164 | + |
3165 | + ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` |
3166 | + if test $ac_delim_n = $ac_delim_num; then |
3167 | + break |
3168 | + elif $ac_last_try; then |
3169 | +- as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 |
3170 | ++ as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 |
3171 | + else |
3172 | + ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
3173 | + fi |
3174 | +@@ -9171,7 +8719,7 @@ done |
3175 | + rm -f conf$$subs.sh |
3176 | + |
3177 | + cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
3178 | +-cat >>"\$tmp/subs1.awk" <<\\_ACAWK && |
3179 | ++cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && |
3180 | + _ACEOF |
3181 | + sed -n ' |
3182 | + h |
3183 | +@@ -9219,7 +8767,7 @@ t delim |
3184 | + rm -f conf$$subs.awk |
3185 | + cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
3186 | + _ACAWK |
3187 | +-cat >>"\$tmp/subs1.awk" <<_ACAWK && |
3188 | ++cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && |
3189 | + for (key in S) S_is_set[key] = 1 |
3190 | + FS = "" |
3191 | + |
3192 | +@@ -9251,21 +8799,29 @@ if sed "s/$ac_cr//" < /dev/null > /dev/n |
3193 | + sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" |
3194 | + else |
3195 | + cat |
3196 | +-fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ |
3197 | +- || as_fn_error "could not setup config files machinery" "$LINENO" 5 |
3198 | ++fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ |
3199 | ++ || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 |
3200 | + _ACEOF |
3201 | + |
3202 | +-# VPATH may cause trouble with some makes, so we remove $(srcdir), |
3203 | +-# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and |
3204 | ++# VPATH may cause trouble with some makes, so we remove sole $(srcdir), |
3205 | ++# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and |
3206 | + # trailing colons and then remove the whole line if VPATH becomes empty |
3207 | + # (actually we leave an empty line to preserve line numbers). |
3208 | + if test "x$srcdir" = x.; then |
3209 | +- ac_vpsub='/^[ ]*VPATH[ ]*=/{ |
3210 | +-s/:*\$(srcdir):*/:/ |
3211 | +-s/:*\${srcdir}:*/:/ |
3212 | +-s/:*@srcdir@:*/:/ |
3213 | +-s/^\([^=]*=[ ]*\):*/\1/ |
3214 | ++ ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ |
3215 | ++h |
3216 | ++s/// |
3217 | ++s/^/:/ |
3218 | ++s/[ ]*$/:/ |
3219 | ++s/:\$(srcdir):/:/g |
3220 | ++s/:\${srcdir}:/:/g |
3221 | ++s/:@srcdir@:/:/g |
3222 | ++s/^:*// |
3223 | + s/:*$// |
3224 | ++x |
3225 | ++s/\(=[ ]*\).*/\1/ |
3226 | ++G |
3227 | ++s/\n// |
3228 | + s/^[^=]*=[ ]*$// |
3229 | + }' |
3230 | + fi |
3231 | +@@ -9277,7 +8833,7 @@ fi # test -n "$CONFIG_FILES" |
3232 | + # No need to generate them if there are no CONFIG_HEADERS. |
3233 | + # This happens for instance with `./config.status Makefile'. |
3234 | + if test -n "$CONFIG_HEADERS"; then |
3235 | +-cat >"$tmp/defines.awk" <<\_ACAWK || |
3236 | ++cat >"$ac_tmp/defines.awk" <<\_ACAWK || |
3237 | + BEGIN { |
3238 | + _ACEOF |
3239 | + |
3240 | +@@ -9289,11 +8845,11 @@ _ACEOF |
3241 | + # handling of long lines. |
3242 | + ac_delim='%!_!# ' |
3243 | + for ac_last_try in false false :; do |
3244 | +- ac_t=`sed -n "/$ac_delim/p" confdefs.h` |
3245 | +- if test -z "$ac_t"; then |
3246 | ++ ac_tt=`sed -n "/$ac_delim/p" confdefs.h` |
3247 | ++ if test -z "$ac_tt"; then |
3248 | + break |
3249 | + elif $ac_last_try; then |
3250 | +- as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5 |
3251 | ++ as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 |
3252 | + else |
3253 | + ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
3254 | + fi |
3255 | +@@ -9378,7 +8934,7 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_writ |
3256 | + _ACAWK |
3257 | + _ACEOF |
3258 | + cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
3259 | +- as_fn_error "could not setup config headers machinery" "$LINENO" 5 |
3260 | ++ as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 |
3261 | + fi # test -n "$CONFIG_HEADERS" |
3262 | + |
3263 | + |
3264 | +@@ -9391,7 +8947,7 @@ do |
3265 | + esac |
3266 | + case $ac_mode$ac_tag in |
3267 | + :[FHL]*:*);; |
3268 | +- :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;; |
3269 | ++ :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; |
3270 | + :[FH]-) ac_tag=-:-;; |
3271 | + :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; |
3272 | + esac |
3273 | +@@ -9410,7 +8966,7 @@ do |
3274 | + for ac_f |
3275 | + do |
3276 | + case $ac_f in |
3277 | +- -) ac_f="$tmp/stdin";; |
3278 | ++ -) ac_f="$ac_tmp/stdin";; |
3279 | + *) # Look for the file first in the build tree, then in the source tree |
3280 | + # (if the path is not absolute). The absolute path cannot be DOS-style, |
3281 | + # because $ac_f cannot contain `:'. |
3282 | +@@ -9419,7 +8975,7 @@ do |
3283 | + [\\/$]*) false;; |
3284 | + *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; |
3285 | + esac || |
3286 | +- as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;; |
3287 | ++ as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; |
3288 | + esac |
3289 | + case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac |
3290 | + as_fn_append ac_file_inputs " '$ac_f'" |
3291 | +@@ -9445,8 +9001,8 @@ $as_echo "$as_me: creating $ac_file" >&6 |
3292 | + esac |
3293 | + |
3294 | + case $ac_tag in |
3295 | +- *:-:* | *:-) cat >"$tmp/stdin" \ |
3296 | +- || as_fn_error "could not create $ac_file" "$LINENO" 5 ;; |
3297 | ++ *:-:* | *:-) cat >"$ac_tmp/stdin" \ |
3298 | ++ || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; |
3299 | + esac |
3300 | + ;; |
3301 | + esac |
3302 | +@@ -9582,23 +9138,24 @@ s&@INSTALL@&$ac_INSTALL&;t t |
3303 | + s&@MKDIR_P@&$ac_MKDIR_P&;t t |
3304 | + $ac_datarootdir_hack |
3305 | + " |
3306 | +-eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ |
3307 | +- || as_fn_error "could not create $ac_file" "$LINENO" 5 |
3308 | ++eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ |
3309 | ++ >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
3310 | + |
3311 | + test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && |
3312 | +- { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && |
3313 | +- { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && |
3314 | ++ { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && |
3315 | ++ { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ |
3316 | ++ "$ac_tmp/out"`; test -z "$ac_out"; } && |
3317 | + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
3318 | +-which seems to be undefined. Please make sure it is defined." >&5 |
3319 | ++which seems to be undefined. Please make sure it is defined" >&5 |
3320 | + $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
3321 | +-which seems to be undefined. Please make sure it is defined." >&2;} |
3322 | ++which seems to be undefined. Please make sure it is defined" >&2;} |
3323 | + |
3324 | +- rm -f "$tmp/stdin" |
3325 | ++ rm -f "$ac_tmp/stdin" |
3326 | + case $ac_file in |
3327 | +- -) cat "$tmp/out" && rm -f "$tmp/out";; |
3328 | +- *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; |
3329 | ++ -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; |
3330 | ++ *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; |
3331 | + esac \ |
3332 | +- || as_fn_error "could not create $ac_file" "$LINENO" 5 |
3333 | ++ || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
3334 | + ;; |
3335 | + :H) |
3336 | + # |
3337 | +@@ -9607,21 +9164,21 @@ which seems to be undefined. Please mak |
3338 | + if test x"$ac_file" != x-; then |
3339 | + { |
3340 | + $as_echo "/* $configure_input */" \ |
3341 | +- && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" |
3342 | +- } >"$tmp/config.h" \ |
3343 | +- || as_fn_error "could not create $ac_file" "$LINENO" 5 |
3344 | +- if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then |
3345 | ++ && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" |
3346 | ++ } >"$ac_tmp/config.h" \ |
3347 | ++ || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
3348 | ++ if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then |
3349 | + { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 |
3350 | + $as_echo "$as_me: $ac_file is unchanged" >&6;} |
3351 | + else |
3352 | + rm -f "$ac_file" |
3353 | +- mv "$tmp/config.h" "$ac_file" \ |
3354 | +- || as_fn_error "could not create $ac_file" "$LINENO" 5 |
3355 | ++ mv "$ac_tmp/config.h" "$ac_file" \ |
3356 | ++ || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
3357 | + fi |
3358 | + else |
3359 | + $as_echo "/* $configure_input */" \ |
3360 | +- && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ |
3361 | +- || as_fn_error "could not create -" "$LINENO" 5 |
3362 | ++ && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ |
3363 | ++ || as_fn_error $? "could not create -" "$LINENO" 5 |
3364 | + fi |
3365 | + # Compute "$ac_file"'s index in $config_headers. |
3366 | + _am_arg="$ac_file" |
3367 | +@@ -9774,7 +9331,7 @@ _ACEOF |
3368 | + ac_clean_files=$ac_clean_files_save |
3369 | + |
3370 | + test $ac_write_fail = 0 || |
3371 | +- as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5 |
3372 | ++ as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 |
3373 | + |
3374 | + |
3375 | + # configure is writing to config.log, and then calls config.status. |
3376 | +@@ -9795,7 +9352,7 @@ if test "$no_create" != yes; then |
3377 | + exec 5>>config.log |
3378 | + # Use ||, not &&, to avoid exiting from the if with $? = 1, which |
3379 | + # would make configure fail if this is the last instruction. |
3380 | +- $ac_cs_success || as_fn_exit $? |
3381 | ++ $ac_cs_success || as_fn_exit 1 |
3382 | + fi |
3383 | + if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then |
3384 | + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 |
3385 | +--- a/src/Makefile.in |
3386 | ++++ b/src/Makefile.in |
3387 | +@@ -234,6 +234,8 @@ PACKAGE_URL = @PACKAGE_URL@ |
3388 | + PACKAGE_VERSION = @PACKAGE_VERSION@ |
3389 | + PATH_SEPARATOR = @PATH_SEPARATOR@ |
3390 | + PKG_CONFIG = @PKG_CONFIG@ |
3391 | ++PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ |
3392 | ++PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ |
3393 | + POFILES = @POFILES@ |
3394 | + POSUB = @POSUB@ |
3395 | + PO_IN_DATADIR_FALSE = @PO_IN_DATADIR_FALSE@ |
3396 | +@@ -297,6 +299,7 @@ INCLUDES = \ |
3397 | + -DPACKAGE_SRC_DIR=\""$(srcdir)"\" \ |
3398 | + -DPACKAGE_DATA_DIR=\""$(datadir)"\" \ |
3399 | + $(GECKO_CFLAGS) \ |
3400 | ++ $(NSPR_CFLAGS) \ |
3401 | + $(GLIB_CFLAGS) \ |
3402 | + $(DBUS_CFLAGS) \ |
3403 | + $(GCONF_CFLAGS) \ |
3404 | +--- a/src/libgmlib/Makefile.in |
3405 | ++++ b/src/libgmlib/Makefile.in |
3406 | +@@ -137,6 +137,8 @@ PACKAGE_URL = @PACKAGE_URL@ |
3407 | + PACKAGE_VERSION = @PACKAGE_VERSION@ |
3408 | + PATH_SEPARATOR = @PATH_SEPARATOR@ |
3409 | + PKG_CONFIG = @PKG_CONFIG@ |
3410 | ++PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ |
3411 | ++PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ |
3412 | + POFILES = @POFILES@ |
3413 | + POSUB = @POSUB@ |
3414 | + PO_IN_DATADIR_FALSE = @PO_IN_DATADIR_FALSE@ |
3415 | |
3416 | === added file 'debian/patches/dont_use_libxul.patch' |
3417 | --- debian/patches/dont_use_libxul.patch 1970-01-01 00:00:00 +0000 |
3418 | +++ debian/patches/dont_use_libxul.patch 2011-06-19 14:06:01 +0000 |
3419 | @@ -0,0 +1,236 @@ |
3420 | +--- a/configure.in |
3421 | ++++ b/configure.in |
3422 | +@@ -33,64 +33,24 @@ AC_SUBST(GLIB_LIBS) |
3423 | + AC_ARG_WITH([xulrunner-sdk], |
3424 | + [AS_HELP_STRING([--with-xulrunner-sdk=path_to_sdk], |
3425 | + [Path to xulrunner SDK for build --with-xulrunner-sdk=/path/to/sdk])], |
3426 | +- [ |
3427 | ++ [ |
3428 | + XULRUNNER_SDK_PREFIX=$with_xulrunner_sdk |
3429 | +- GECKO_CFLAGS="-I$XULRUNNER_SDK_PREFIX/include -I$XULRUNNER_SDK_PREFIX/include/plugin -I$XULRUNNER_SDK_PREFIX/include/nspr -I$XULRUNNER_SDK_PREFIX/include/xpcom -I$XULRUNNER_SDK_PREFIX/include/string -I$XULRUNNER_SDK_PREFIX/include/java" |
3430 | +- GECKO_LIBS="-L$XULRUNNER_SDK_PREFIX/lib -lxpcomglue_s -lxul -lxpcom -lplds4 -lplc4 -lnspr4 -lpthread -ldl" |
3431 | +- AC_ARG_ENABLE(new-libxul, |
3432 | +- AC_HELP_STRING([--enable-new-libxul],[libxul/xulrunner-sdk is 1.9.2 or higher]), |
3433 | +- [usenewlibxul=$enableval],[usenewlibxul=no]) |
3434 | +- |
3435 | +- if test $usenewlibxul == yes; then |
3436 | +- GECKO_CFLAGS="$GECKO_CFLAGS -DMOZ_NO_MOZALLOC" |
3437 | +- AC_DEFINE([HAVE_NEW_XULRUNNER],[1],[Define to 1 if using libxul 1.9.2 or higher]) |
3438 | +- fi |
3439 | ++ GECKO_CFLAGS="-I$XULRUNNER_SDK_PREFIX/include -I$XULRUNNER_SDK_PREFIX/include/nspr" |
3440 | + |
3441 | +- ], |
3442 | +- []) |
3443 | +- |
3444 | +-if test "$GECKO_CFLAGS" = ""; then |
3445 | +-PKG_CHECK_MODULES(GECKO, [libxul >= 2.0],[GECKO_CFLAGS="$GECKO_CFLAGS -DMOZ_NO_MOZALLOC" AC_DEFINE([HAVE_NEW_XULRUNNER],[1],[Define to 1 if using libxul 2.0.0 or higher]) AC_MSG_NOTICE([Using libxul >= 2.0 beta 5]) |
3446 | +- ],[AC_MSG_NOTICE([libxul >= 2.0 beta 5 not found, trying another])]) |
3447 | +-fi |
3448 | +- |
3449 | +-if test "$GECKO_CFLAGS" = ""; then |
3450 | +-PKG_CHECK_MODULES(GECKO, [libxul < 1.9.2],[ AC_MSG_NOTICE([Using libxul < 1.9.2]) |
3451 | +- ],[AC_MSG_WARN([libxul < 1.9.2 not found, trying another])]) |
3452 | +-fi |
3453 | +-if test "$GECKO_CFLAGS" = ""; then |
3454 | +-PKG_CHECK_MODULES(GECKO, [libxul >= 1.9.2],[ AC_DEFINE([HAVE_NEW_XULRUNNER],[1],[Define to 1 if using libxul 1.9.2 or higher]) AC_MSG_NOTICE([Using libxul >= 1.9.2]) |
3455 | +- ],[AC_MSG_NOTICE([libxul >= 1.9.2 not found, trying another])]) |
3456 | +-fi |
3457 | +- |
3458 | +-if test "$GECKO_CFLAGS" = ""; then |
3459 | +-PKG_CHECK_MODULES(GECKO, [libxul-unstable],[ AC_MSG_NOTICE([Using libxul-unstable]) |
3460 | +- ],[AC_MSG_WARN([libxul-unstable not found, trying another])]) |
3461 | +-fi |
3462 | +- |
3463 | +-if test "$GECKO_CFLAGS" = ""; then |
3464 | +-PKG_CHECK_MODULES(GECKO, [mozilla-plugin mozilla-xpcom],[ AC_MSG_NOTICE([Using mozilla]) |
3465 | +- ],[AC_MSG_WARN([mozilla-plugin not found, trying another])]) |
3466 | +-fi |
3467 | +- |
3468 | +-if test "$GECKO_CFLAGS" = ""; then |
3469 | +-PKG_CHECK_MODULES(GECKO, [firefox-plugin firefox-xpcom],[ AC_MSG_NOTICE([Using firefox]) |
3470 | +- ],[AC_MSG_WARN([firefox-plugin not found, trying another])]) |
3471 | +-fi |
3472 | +- |
3473 | +-if test "$GECKO_CFLAGS" = ""; then |
3474 | +-PKG_CHECK_MODULES(GECKO, [seamonkey-plugin seamonkey-xpcom],[ AC_MSG_NOTICE([Using seamonkey]) |
3475 | +- ],[AC_MSG_WARN([seamokey-plugin not found, trying another])]) |
3476 | +-fi |
3477 | ++ AC_ARG_ENABLE(new-libxul, |
3478 | ++ [AC_HELP_STRING([--enable-new-libxul],[libxul/xulrunner-sdk is 1.9.2 or higher])], |
3479 | ++ [AC_DEFINE([HAVE_NEW_XULRUNNER],[1],[Define to 1 if using libxul 1.9.2 or higher])]) |
3480 | ++ ], |
3481 | ++ []) |
3482 | + |
3483 | + if test "$GECKO_CFLAGS" = ""; then |
3484 | +-PKG_CHECK_MODULES(GECKO, [xulrunner-plugin xulrunner-xpcom],[ AC_MSG_NOTICE([Using xulrunner]) |
3485 | +- ],[AC_MSG_WARN([xulrunner-plugin not found, trying another])]) |
3486 | ++PKG_CHECK_MODULES(GECKO, [mozilla-plugin >= 2.0],[AC_DEFINE([HAVE_NEW_XULRUNNER],[1],[Define to 1 if using libxul 2.0.0 or higher]) AC_MSG_NOTICE([Using mozilla]) |
3487 | ++ ],[AC_MSG_WARN([mozilla-plugin >= 2.0 not found. Trying another])]) |
3488 | + fi |
3489 | + |
3490 | + if test "$GECKO_CFLAGS" = ""; then |
3491 | +-PKG_CHECK_MODULES(GECKO, [iceape-plugin iceape-xpcom],[ AC_MSG_NOTICE([Using iceape]) |
3492 | +- ],[AC_MSG_WARN([iceape-plugin not found, trying another])]) |
3493 | ++PKG_CHECK_MODULES(GECKO, [mozilla-plugin],[ AC_MSG_NOTICE([Using mozilla]) |
3494 | ++ ],[AC_MSG_ERROR([mozilla-plugin not found. Try passing --with-xulrunner-sdk])]) |
3495 | + fi |
3496 | + |
3497 | + PKG_CHECK_MODULES(NSPR, [nspr],[ |
3498 | +@@ -99,8 +59,8 @@ PKG_CHECK_MODULES(NSPR, [nspr],[ |
3499 | + ],[AC_MSG_WARN([nspr not found, may not be needed])]) |
3500 | + |
3501 | + |
3502 | ++AC_SUBST(NSPR_CFLAGS) |
3503 | + AC_SUBST(GECKO_CFLAGS) |
3504 | +-AC_SUBST(GECKO_LIBS) |
3505 | + |
3506 | + PKG_CHECK_MODULES(DBUS, [dbus-1 >= 0.95 dbus-glib-1 >= 0.70]) |
3507 | + AC_SUBST(DBUS_CFLAGS) |
3508 | +--- a/src/plugin.cpp |
3509 | ++++ b/src/plugin.cpp |
3510 | +@@ -42,18 +42,10 @@ |
3511 | + #include "plugin_setup.h" |
3512 | + #include "plugin_types.h" |
3513 | + #include "plugin_dbus.h" |
3514 | +-#include <nsIPrefBranch.h> |
3515 | +-#include <nsIPrefService.h> |
3516 | +-#include <nsIServiceManager.h> |
3517 | + #include <dlfcn.h> |
3518 | + |
3519 | +-nsIPrefBranch *prefBranch = NULL; |
3520 | +-nsIPrefService *prefService = NULL; |
3521 | + static NPObject *sWindowObj; |
3522 | + |
3523 | +-//#include "nsIServiceManager.h" |
3524 | +-//#include "nsISupportsUtils.h" // some usefule macros are defined here |
3525 | +- |
3526 | + #define MIME_TYPES_HANDLED "application/scriptable-plugin" |
3527 | + #define PLUGIN_NAME "Scriptable Example Plugin for Mozilla" |
3528 | + #define MIME_TYPES_DESCRIPTION MIME_TYPES_HANDLED":scr:"PLUGIN_NAME |
3529 | +@@ -179,83 +171,6 @@ void postDOMEvent(NPP mInstance, const g |
3530 | + g_free(jscript); |
3531 | + } |
3532 | + |
3533 | +-void setPreference(CPlugin * instance, const gchar * name, const gchar * value) |
3534 | +-{ |
3535 | +- nsIServiceManager *sm = NULL; |
3536 | +- nsIServiceManager *ServiceManager = NULL; |
3537 | +- PRBool v; |
3538 | +- void (*get_sm)(nsIServiceManager**); |
3539 | +- |
3540 | +- get_sm = (void (*)(nsIServiceManager**))dlsym(RTLD_DEFAULT,"NS_GetServiceManager"); |
3541 | +- if (get_sm) { |
3542 | +- (*get_sm)(&sm); |
3543 | +- } else { |
3544 | +- NPN_GetValue(NULL, NPNVserviceManager, &sm); |
3545 | +- } |
3546 | +- |
3547 | +- if (sm) { |
3548 | +- sm->QueryInterface(NS_GET_IID(nsIServiceManager), (void **) (&ServiceManager)); |
3549 | +- NS_RELEASE(sm); |
3550 | +- } |
3551 | +- |
3552 | +- if (ServiceManager) { |
3553 | +- ServiceManager->GetServiceByContractID(NS_PREFSERVICE_CONTRACTID, NS_GET_IID(nsIPrefBranch), |
3554 | +- (void **) &prefBranch); |
3555 | +- if (prefBranch) { |
3556 | +- instance->user_agent = g_new0(gchar, 1024); |
3557 | +- prefBranch->PrefHasUserValue(name, &v); |
3558 | +- if (v) { |
3559 | +- prefBranch->GetCharPref(name, &(instance->user_agent)); |
3560 | +- prefBranch->ClearUserPref(name); |
3561 | +- } |
3562 | +- prefBranch->SetCharPref(name, value); |
3563 | +- printf("Set preference %s to %s, old value was '%s'\n", name, value, |
3564 | +- instance->user_agent); |
3565 | +- } |
3566 | +- NS_RELEASE(ServiceManager); |
3567 | +- } |
3568 | +- |
3569 | +-} |
3570 | +- |
3571 | +-void clearPreference(CPlugin * instance, const gchar * name) |
3572 | +-{ |
3573 | +- nsIServiceManager *sm = NULL; |
3574 | +- nsIServiceManager *ServiceManager = NULL; |
3575 | +- PRBool v; |
3576 | +- void (*get_sm)(nsIServiceManager**); |
3577 | +- |
3578 | +- get_sm = (void (*)(nsIServiceManager**))dlsym(RTLD_DEFAULT,"NS_GetServiceManager"); |
3579 | +- if (get_sm) { |
3580 | +- (*get_sm)(&sm); |
3581 | +- } else { |
3582 | +- NPN_GetValue(NULL, NPNVserviceManager, &sm); |
3583 | +- } |
3584 | +- |
3585 | +- if (sm) { |
3586 | +- sm->QueryInterface(NS_GET_IID(nsIServiceManager), (void **) (&ServiceManager)); |
3587 | +- NS_RELEASE(sm); |
3588 | +- } |
3589 | +- |
3590 | +- if (ServiceManager) { |
3591 | +- ServiceManager->GetServiceByContractID(NS_PREFSERVICE_CONTRACTID, NS_GET_IID(nsIPrefBranch), |
3592 | +- (void **) &prefBranch); |
3593 | +- if (prefBranch) { |
3594 | +- if (instance->user_agent == NULL || strlen(instance->user_agent) == 0) { |
3595 | +- prefBranch->ClearUserPref(name); |
3596 | +- } else { |
3597 | +- if (g_strrstr(instance->user_agent, "QuickTime/7.6.4")) { |
3598 | +- prefBranch->ClearUserPref(name); |
3599 | +- } else { |
3600 | +- prefBranch->ClearUserPref(name); |
3601 | +- prefBranch->SetCharPref(name, instance->user_agent); |
3602 | +- } |
3603 | +- } |
3604 | +- g_free(instance->user_agent); |
3605 | +- } |
3606 | +- NS_RELEASE(ServiceManager); |
3607 | +- } |
3608 | +-} |
3609 | +- |
3610 | + //////////////////////////////////////// |
3611 | + // |
3612 | + // CPlugin class implementation |
3613 | +@@ -441,7 +356,6 @@ CPlugin::~CPlugin() |
3614 | + NS_IF_RELEASE(mControlsScriptablePeer); |
3615 | + } |
3616 | + */ |
3617 | +- clearPreference(this, "general.useragent.override"); |
3618 | + |
3619 | + if (m_pScriptableObjectControls) { |
3620 | + NPN_ReleaseObject(m_pScriptableObjectControls); |
3621 | +--- a/src/plugin.h |
3622 | ++++ b/src/plugin.h |
3623 | +@@ -37,6 +37,7 @@ |
3624 | + |
3625 | + #ifndef __PLUGIN_H__ |
3626 | + #define __PLUGIN_H__ |
3627 | ++#include <prtypes.h> |
3628 | + #include <npapi.h> |
3629 | + #include <npruntime.h> |
3630 | + #include <npfunctions.h> |
3631 | +@@ -217,6 +218,5 @@ class CPlugin { |
3632 | + }; |
3633 | + |
3634 | + void pluginSpecific(CPlugin * instance); |
3635 | +-void setPreference(CPlugin * instance, const gchar * name, const gchar * value); |
3636 | + |
3637 | + #endif // __PLUGIN_H__ |
3638 | +--- a/src/plugin_types_qt.cpp |
3639 | ++++ b/src/plugin_types_qt.cpp |
3640 | +@@ -101,5 +101,4 @@ NPError PluginGetValue(NPPVariable varia |
3641 | + void pluginSpecific(CPlugin * instance) |
3642 | + { |
3643 | + //printf("calling pluginSpecific for qt plugin\n"); |
3644 | +- setPreference(instance, "general.useragent.override", "QuickTime/7.6.4"); |
3645 | + } |
3646 | +--- a/src/Makefile.am |
3647 | ++++ b/src/Makefile.am |
3648 | +@@ -10,6 +10,7 @@ INCLUDES = \ |
3649 | + -DPACKAGE_SRC_DIR=\""$(srcdir)"\" \ |
3650 | + -DPACKAGE_DATA_DIR=\""$(datadir)"\" \ |
3651 | + $(GECKO_CFLAGS) \ |
3652 | ++ $(NSPR_CFLAGS) \ |
3653 | + $(GLIB_CFLAGS) \ |
3654 | + $(DBUS_CFLAGS) \ |
3655 | + $(GCONF_CFLAGS) \ |
3656 | |
3657 | === added file 'debian/patches/series' |
3658 | --- debian/patches/series 1970-01-01 00:00:00 +0000 |
3659 | +++ debian/patches/series 2011-06-19 14:06:01 +0000 |
3660 | @@ -0,0 +1,4 @@ |
3661 | +90_svn420_fix_null.patch |
3662 | +91_svn421_disable_npp_initialize.patch |
3663 | +dont_use_libxul.patch |
3664 | +autotools.patch |
3665 | |
3666 | === renamed file 'rules' => 'debian/rules' |
3667 | --- rules 2010-05-17 13:02:04 +0000 |
3668 | +++ debian/rules 2011-06-19 14:06:01 +0000 |
3669 | @@ -15,6 +15,8 @@ |
3670 | CXXFLAGS += -O2 |
3671 | endif |
3672 | |
3673 | +CXXFLAGS += -DMOZ_NO_MOZALLOC |
3674 | + |
3675 | configure: configure-stamp |
3676 | configure-stamp: |
3677 | dh_testdir |
3678 | @@ -26,7 +28,7 @@ |
3679 | ./configure \ |
3680 | --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) \ |
3681 | --prefix=/usr --sysconfdir=\$${prefix}/share \ |
3682 | - --with-gconf --with-gio --disable-schemas-install \ |
3683 | + --without-gconf --with-gio --disable-schemas-install \ |
3684 | CXXFLAGS="$(CXXFLAGS)" LDFLAGS="$(LDFLAGS)" |
3685 | |
3686 | touch configure-stamp |
3687 | |
3688 | === renamed directory 'source' => 'debian/source' |
3689 | === renamed file 'watch' => 'debian/watch' |