Merge lp:~brian-murray/launchpad-integration/stream into lp:launchpad-integration

Proposed by Brian Murray
Status: Rejected
Rejected by: Sebastien Bacher
Proposed branch: lp:~brian-murray/launchpad-integration/stream
Merge into: lp:launchpad-integration
Diff against target: 51029 lines (+50384/-0) (has conflicts)
120 files modified
.bzr-builddeb/default.conf (+2/-0)
ABOUT-NLS (+768/-0)
COPYING (+165/-0)
INSTALL (+365/-0)
Makefile.am (+27/-0)
Makefile.in (+957/-0)
URLS (+103/-0)
acinclude.m4 (+28/-0)
aclocal.m4 (+1874/-0)
autogen.sh (+18/-0)
config.guess (+1502/-0)
config.h.in (+79/-0)
config.rpath (+548/-0)
config.sub (+1714/-0)
configure (+16080/-0)
configure.ac (+105/-0)
debian/changelog (+641/-0)
debian/compat (+1/-0)
debian/control (+219/-0)
debian/copyright (+20/-0)
debian/gir1.2-launchpad-integration-3.0.install (+1/-0)
debian/launchpad-integration.install (+2/-0)
debian/liblaunchpad-integration-3.0-1.install (+1/-0)
debian/liblaunchpad-integration-3.0-dev.install (+5/-0)
debian/liblaunchpad-integration-cil-dev.install (+1/-0)
debian/liblaunchpad-integration-common.install (+2/-0)
debian/liblaunchpad-integration-dev.install (+6/-0)
debian/liblaunchpad-integration1.0-cil.install (+3/-0)
debian/liblaunchpad-integration1.0-cil.installcligac (+1/-0)
debian/liblaunchpad-integration1.install (+1/-0)
debian/liblpint-bonobo-dev.install (+5/-0)
debian/liblpint-bonobo0.install (+1/-0)
debian/python-launchpad-integration.install (+2/-0)
debian/rules (+129/-0)
debian/source/format (+1/-0)
depcomp (+630/-0)
install-sh (+520/-0)
launchpad-integration-3.0.pc.in (+11/-0)
launchpad-integration-sharp.dll.config (+3/-0)
launchpad-integration-sharp.pc.in (+10/-0)
launchpad-integration.in (+12/-0)
launchpad-integration.pc.in (+11/-0)
launchpadintegration/main.py (+75/-0)
launchpadintegration/packageinfo.py (+296/-0)
launchpadintegration/urls.py (+66/-0)
lib/AssemblyInfo.cs (+8/-0)
lib/LaunchpadIntegration.cs (+41/-0)
lib/Makefile.am (+129/-0)
lib/Makefile.in (+892/-0)
lib/__init__.py (+1/-0)
lib/launchpad-integration.c (+399/-0)
lib/launchpad-integration.h (+47/-0)
lib/launchpad-integration.vapi (+30/-0)
lib/lpi.defs (+41/-0)
lib/lpi.override (+13/-0)
lib/lpimodule.c (+24/-0)
lib/lpint-bonobo.c (+208/-0)
lib/lpint-bonobo.h (+18/-0)
lpint-bonobo.pc.in (+11/-0)
ltmain.sh (+8413/-0)
m4/codeset.m4 (+23/-0)
m4/gettext.m4 (+487/-0)
m4/glibc21.m4 (+32/-0)
m4/iconv.m4 (+103/-0)
m4/intdiv0.m4 (+72/-0)
m4/intmax.m4 (+32/-0)
m4/inttypes-pri.m4 (+32/-0)
m4/inttypes.m4 (+27/-0)
m4/inttypes_h.m4 (+28/-0)
m4/isc-posix.m4 (+26/-0)
m4/lcmessage.m4 (+32/-0)
m4/lib-ld.m4 (+112/-0)
m4/lib-link.m4 (+551/-0)
m4/lib-prefix.m4 (+155/-0)
m4/libtool.m4 (+7377/-0)
m4/longdouble.m4 (+30/-0)
m4/longlong.m4 (+25/-0)
m4/ltoptions.m4 (+368/-0)
m4/ltsugar.m4 (+123/-0)
m4/ltversion.m4 (+23/-0)
m4/lt~obsolete.m4 (+92/-0)
m4/nls.m4 (+49/-0)
m4/po.m4 (+426/-0)
m4/printf-posix.m4 (+46/-0)
m4/progtest.m4 (+91/-0)
m4/signed.m4 (+19/-0)
m4/size_max.m4 (+61/-0)
m4/stdint_h.m4 (+28/-0)
m4/uintmax_t.m4 (+32/-0)
m4/ulonglong.m4 (+25/-0)
m4/wchar_t.m4 (+22/-0)
m4/wint_t.m4 (+22/-0)
m4/xsize.m4 (+14/-0)
missing (+376/-0)
mkinstalldirs (+111/-0)
patches/evince-lpint.patch (+57/-0)
patches/gucharmap-lpint.patch (+43/-0)
pixmaps/Makefile.am (+5/-0)
pixmaps/Makefile.in (+455/-0)
pixmaps/lpi-bug.svg (+165/-0)
pixmaps/lpi-translate.svg (+208/-0)
po/LINGUAS (+6/-0)
po/Makefile.in.in (+366/-0)
po/Makevars (+41/-0)
po/Makevars.template (+41/-0)
po/POTFILES.in (+3/-0)
po/Rules-quot (+47/-0)
po/boldquot.sed (+10/-0)
po/de.po (+49/-0)
po/en@boldquot.header (+25/-0)
po/en@quot.header (+22/-0)
po/fr.po (+51/-0)
po/insert-header.sin (+23/-0)
po/launchpad-integration.pot (+50/-0)
po/nl.po (+50/-0)
po/pl.po (+88/-0)
po/pt.po (+50/-0)
po/quot.sed (+6/-0)
po/remove-potcdate.sin (+19/-0)
py-compile (+146/-0)
Conflict adding file .bzr-builddeb.  Moved existing file to .bzr-builddeb.moved.
Conflict adding file AUTHORS.  Moved existing file to AUTHORS.moved.
Conflict adding file COPYING.  Moved existing file to COPYING.moved.
Conflict adding file ChangeLog.  Moved existing file to ChangeLog.moved.
Conflict adding file Makefile.am.  Moved existing file to Makefile.am.moved.
Conflict adding file NEWS.  Moved existing file to NEWS.moved.
Conflict adding file README.  Moved existing file to README.moved.
Conflict adding file URLS.  Moved existing file to URLS.moved.
Conflict adding file acinclude.m4.  Moved existing file to acinclude.m4.moved.
Conflict adding file autogen.sh.  Moved existing file to autogen.sh.moved.
Conflict adding file configure.ac.  Moved existing file to configure.ac.moved.
Conflict adding file debian.  Moved existing file to debian.moved.
Conflict adding file launchpad-integration-3.0.pc.in.  Moved existing file to launchpad-integration-3.0.pc.in.moved.
Conflict adding file launchpad-integration-sharp.dll.config.  Moved existing file to launchpad-integration-sharp.dll.config.moved.
Conflict adding file launchpad-integration-sharp.pc.in.  Moved existing file to launchpad-integration-sharp.pc.in.moved.
Conflict adding file launchpad-integration.in.  Moved existing file to launchpad-integration.in.moved.
Conflict adding file launchpad-integration.pc.in.  Moved existing file to launchpad-integration.pc.in.moved.
Conflict adding file launchpadintegration.  Moved existing file to launchpadintegration.moved.
Conflict adding file lib.  Moved existing file to lib.moved.
Conflict adding file lpint-bonobo.pc.in.  Moved existing file to lpint-bonobo.pc.in.moved.
Conflict adding file m4.  Moved existing file to m4.moved.
Conflict adding file patches.  Moved existing file to patches.moved.
Conflict adding file pixmaps.  Moved existing file to pixmaps.moved.
Conflict adding file po.  Moved existing file to po.moved.
To merge this branch: bzr merge lp:~brian-murray/launchpad-integration/stream
Reviewer Review Type Date Requested Status
Ubuntu Desktop Pending
Review via email: mp+47291@code.launchpad.net

Description of the change

This fixes bug 702455. It seems StreamHandler wants stream not strm.

class StreamHandler(Handler)
 | A handler class which writes logging records, appropriately formatted,
 | to a stream. Note that this class does not close the stream, as
 | sys.stdout or sys.stderr may be used.
 |
 | Method resolution order:
 | StreamHandler
 | Handler
 | Filterer
 | __builtin__.object
 |
 | Methods defined here:
 |
 | __init__(self, stream=None)
 | Initialize the handler.
 |
 | If stream is not specified, sys.stderr is used.

To post a comment you must log in.

Unmerged revisions

54. By Brian Murray

The correct arguement is stream not strm for logging.StreamHandler

53. By Robert Ancell

Rebuild against the latest GTK3 to fix linking issues

52. By Michael Terry

[ Ken Vandine ]
* lib/Makefile.am:
  - Specify LaunchpadIntegration_3_0_gir_PACKAGES

[ Michael Terry ]
* debian/control:
  - Rename gir1.0 to gir1.2 following abi change

51. By Martin Pitt

* Drop 01_ltmain_add_as_needed.patch, and --as-needed option from
  debian/rules. The patch doesn't apply any more, and current gcc does
  --as-needed by default now.
* Convert to 3.0 (native) source format.
* debian/control: Bump Standards-Version to 3.9.1 (no changes necessary).
* Rebuild to support Python 2.7.

50. By Michael Terry

[ Michael Terry ]
* debian/rules:
  - Fix FTBFS by installing the gtk3 library even on non-i386 builds

[ Philip Peitsch ]
* launchpadintegration/packageinfo.py:
  - Allow overriding STATUSFILE by specifying LPI_PACKAGE_FILE env var
* launchpad-integration.in:
  - Allow overriding PYTHONPATH for easier testing

49. By Sebastien Bacher

debian/liblaunchpad-integration-dev.install: use the correct vapi directory

48. By Michael Terry

* Provide GTK+ 3.0 version of the library too
* debian/copyright:
  - Convert to DEP5 format
  - Update to LGPL-3 from GPL-2+

47. By Robert Ancell

* debian/liblaunchpad-integration-dev.install:
  - Install .vapi file into vala-0.12 directory

46. By Robert Ancell

* lib/Makefile.am:
  - Install .vapi file into vala-0.12 directory

45. By Robert Ancell

* lib/Makefile.am:
* debian/liblaunchpad-integration-dev.install:
  - Install .vapi file into vala-0.10 directory

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== added directory '.bzr-builddeb'
=== renamed directory '.bzr-builddeb' => '.bzr-builddeb.moved'
=== added file '.bzr-builddeb/default.conf'
--- .bzr-builddeb/default.conf 1970-01-01 00:00:00 +0000
+++ .bzr-builddeb/default.conf 2011-01-24 18:52:52 +0000
@@ -0,0 +1,2 @@
1[BUILDDEB]
2native = True
03
=== added file 'ABOUT-NLS'
--- ABOUT-NLS 1970-01-01 00:00:00 +0000
+++ ABOUT-NLS 2011-01-24 18:52:52 +0000
@@ -0,0 +1,768 @@
1Notes on the Free Translation Project
2*************************************
3
4Free software is going international! The Free Translation Project is
5a way to get maintainers of free software, translators, and users all
6together, so that will gradually become able to speak many languages.
7A few packages already provide translations for their messages.
8
9 If you found this `ABOUT-NLS' file inside a distribution, you may
10assume that the distributed package does use GNU `gettext' internally,
11itself available at your nearest GNU archive site. But you do _not_
12need to install GNU `gettext' prior to configuring, installing or using
13this package with messages translated.
14
15 Installers will find here some useful hints. These notes also
16explain how users should proceed for getting the programs to use the
17available translations. They tell how people wanting to contribute and
18work at translations should contact the appropriate team.
19
20 When reporting bugs in the `intl/' directory or bugs which may be
21related to internationalization, you should tell about the version of
22`gettext' which is used. The information can be found in the
23`intl/VERSION' file, in internationalized packages.
24
25Quick configuration advice
26==========================
27
28If you want to exploit the full power of internationalization, you
29should configure it using
30
31 ./configure --with-included-gettext
32
33to force usage of internationalizing routines provided within this
34package, despite the existence of internationalizing capabilities in the
35operating system where this package is being installed. So far, only
36the `gettext' implementation in the GNU C library version 2 provides as
37many features (such as locale alias, message inheritance, automatic
38charset conversion or plural form handling) as the implementation here.
39It is also not possible to offer this additional functionality on top
40of a `catgets' implementation. Future versions of GNU `gettext' will
41very likely convey even more functionality. So it might be a good idea
42to change to GNU `gettext' as soon as possible.
43
44 So you need _not_ provide this option if you are using GNU libc 2 or
45you have installed a recent copy of the GNU gettext package with the
46included `libintl'.
47
48INSTALL Matters
49===============
50
51Some packages are "localizable" when properly installed; the programs
52they contain can be made to speak your own native language. Most such
53packages use GNU `gettext'. Other packages have their own ways to
54internationalization, predating GNU `gettext'.
55
56 By default, this package will be installed to allow translation of
57messages. It will automatically detect whether the system already
58provides the GNU `gettext' functions. If not, the GNU `gettext' own
59library will be used. This library is wholly contained within this
60package, usually in the `intl/' subdirectory, so prior installation of
61the GNU `gettext' package is _not_ required. Installers may use
62special options at configuration time for changing the default
63behaviour. The commands:
64
65 ./configure --with-included-gettext
66 ./configure --disable-nls
67
68will respectively bypass any pre-existing `gettext' to use the
69internationalizing routines provided within this package, or else,
70_totally_ disable translation of messages.
71
72 When you already have GNU `gettext' installed on your system and run
73configure without an option for your new package, `configure' will
74probably detect the previously built and installed `libintl.a' file and
75will decide to use this. This might be not what is desirable. You
76should use the more recent version of the GNU `gettext' library. I.e.
77if the file `intl/VERSION' shows that the library which comes with this
78package is more recent, you should use
79
80 ./configure --with-included-gettext
81
82to prevent auto-detection.
83
84 The configuration process will not test for the `catgets' function
85and therefore it will not be used. The reason is that even an
86emulation of `gettext' on top of `catgets' could not provide all the
87extensions of the GNU `gettext' library.
88
89 Internationalized packages have usually many `po/LL.po' files, where
90LL gives an ISO 639 two-letter code identifying the language. Unless
91translations have been forbidden at `configure' time by using the
92`--disable-nls' switch, all available translations are installed
93together with the package. However, the environment variable `LINGUAS'
94may be set, prior to configuration, to limit the installed set.
95`LINGUAS' should then contain a space separated list of two-letter
96codes, stating which languages are allowed.
97
98Using This Package
99==================
100
101As a user, if your language has been installed for this package, you
102only have to set the `LANG' environment variable to the appropriate
103`LL_CC' combination. Here `LL' is an ISO 639 two-letter language code,
104and `CC' is an ISO 3166 two-letter country code. For example, let's
105suppose that you speak German and live in Germany. At the shell
106prompt, merely execute `setenv LANG de_DE' (in `csh'),
107`export LANG; LANG=de_DE' (in `sh') or `export LANG=de_DE' (in `bash').
108This can be done from your `.login' or `.profile' file, once and for
109all.
110
111 You might think that the country code specification is redundant.
112But in fact, some languages have dialects in different countries. For
113example, `de_AT' is used for Austria, and `pt_BR' for Brazil. The
114country code serves to distinguish the dialects.
115
116 The locale naming convention of `LL_CC', with `LL' denoting the
117language and `CC' denoting the country, is the one use on systems based
118on GNU libc. On other systems, some variations of this scheme are
119used, such as `LL' or `LL_CC.ENCODING'. You can get the list of
120locales supported by your system for your country by running the command
121`locale -a | grep '^LL''.
122
123 Not all programs have translations for all languages. By default, an
124English message is shown in place of a nonexistent translation. If you
125understand other languages, you can set up a priority list of languages.
126This is done through a different environment variable, called
127`LANGUAGE'. GNU `gettext' gives preference to `LANGUAGE' over `LANG'
128for the purpose of message handling, but you still need to have `LANG'
129set to the primary language; this is required by other parts of the
130system libraries. For example, some Swedish users who would rather
131read translations in German than English for when Swedish is not
132available, set `LANGUAGE' to `sv:de' while leaving `LANG' to `sv_SE'.
133
134 Special advice for Norwegian users: The language code for Norwegian
135bokma*l changed from `no' to `nb' recently (in 2003). During the
136transition period, while some message catalogs for this language are
137installed under `nb' and some older ones under `no', it's recommended
138for Norwegian users to set `LANGUAGE' to `nb:no' so that both newer and
139older translations are used.
140
141 In the `LANGUAGE' environment variable, but not in the `LANG'
142environment variable, `LL_CC' combinations can be abbreviated as `LL'
143to denote the language's main dialect. For example, `de' is equivalent
144to `de_DE' (German as spoken in Germany), and `pt' to `pt_PT'
145(Portuguese as spoken in Portugal) in this context.
146
147Translating Teams
148=================
149
150For the Free Translation Project to be a success, we need interested
151people who like their own language and write it well, and who are also
152able to synergize with other translators speaking the same language.
153Each translation team has its own mailing list. The up-to-date list of
154teams can be found at the Free Translation Project's homepage,
155`http://www.iro.umontreal.ca/contrib/po/HTML/', in the "National teams"
156area.
157
158 If you'd like to volunteer to _work_ at translating messages, you
159should become a member of the translating team for your own language.
160The subscribing address is _not_ the same as the list itself, it has
161`-request' appended. For example, speakers of Swedish can send a
162message to `sv-request@li.org', having this message body:
163
164 subscribe
165
166 Keep in mind that team members are expected to participate
167_actively_ in translations, or at solving translational difficulties,
168rather than merely lurking around. If your team does not exist yet and
169you want to start one, or if you are unsure about what to do or how to
170get started, please write to `translation@iro.umontreal.ca' to reach the
171coordinator for all translator teams.
172
173 The English team is special. It works at improving and uniformizing
174the terminology in use. Proven linguistic skill are praised more than
175programming skill, here.
176
177Available Packages
178==================
179
180Languages are not equally supported in all packages. The following
181matrix shows the current state of internationalization, as of January
1822004. The matrix shows, in regard of each package, for which languages
183PO files have been submitted to translation coordination, with a
184translation percentage of at least 50%.
185
186 Ready PO files af am ar az be bg bs ca cs da de el en en_GB eo es
187 +----------------------------------------------------+
188 a2ps | [] [] [] [] |
189 aegis | () |
190 ant-phone | () |
191 anubis | |
192 ap-utils | |
193 aspell | [] |
194 bash | [] [] [] [] |
195 batchelor | |
196 bfd | [] [] |
197 binutils | [] [] |
198 bison | [] [] [] |
199 bluez-pin | [] [] [] |
200 clisp | |
201 clisp | [] [] [] |
202 console-tools | [] [] |
203 coreutils | [] [] [] [] |
204 cpio | [] [] [] |
205 darkstat | [] () [] |
206 diffutils | [] [] [] [] [] [] [] |
207 e2fsprogs | [] [] [] |
208 enscript | [] [] [] [] |
209 error | [] [] [] [] [] |
210 fetchmail | [] () [] [] [] [] |
211 fileutils | [] [] [] |
212 findutils | [] [] [] [] [] [] [] |
213 flex | [] [] [] [] |
214 fslint | |
215 gas | [] |
216 gawk | [] [] [] [] |
217 gbiff | [] |
218 gcal | [] |
219 gcc | [] [] |
220 gettext | [] [] [] [] [] |
221 gettext-examples | [] [] [] [] |
222 gettext-runtime | [] [] [] [] [] |
223 gettext-tools | [] [] [] |
224 gimp-print | [] [] [] [] [] |
225 gliv | |
226 glunarclock | [] [] |
227 gnubiff | [] |
228 gnucash | [] () [] [] |
229 gnucash-glossary | [] () [] |
230 gnupg | [] () [] [] [] [] |
231 gpe-aerial | [] |
232 gpe-beam | [] [] |
233 gpe-calendar | [] [] |
234 gpe-clock | [] [] |
235 gpe-conf | [] [] |
236 gpe-contacts | [] [] |
237 gpe-edit | [] |
238 gpe-go | [] |
239 gpe-login | [] [] |
240 gpe-ownerinfo | [] [] |
241 gpe-sketchbook | [] [] |
242 gpe-su | [] [] |
243 gpe-taskmanager | [] [] |
244 gpe-timesheet | [] |
245 gpe-today | [] [] |
246 gpe-todo | [] [] |
247 gphoto2 | [] [] [] [] |
248 gprof | [] [] [] |
249 gpsdrive | () () () |
250 gramadoir | [] |
251 grep | [] [] [] [] [] [] |
252 gretl | [] |
253 gtick | [] () |
254 hello | [] [] [] [] [] [] |
255 id-utils | [] [] |
256 indent | [] [] [] [] |
257 iso_3166 | [] [] [] [] [] [] [] [] [] [] |
258 iso_3166_1 | [] [] [] [] [] [] |
259 iso_3166_2 | |
260 iso_3166_3 | [] |
261 iso_4217 | [] [] [] [] |
262 iso_639 | |
263 jpilot | [] [] [] |
264 jtag | |
265 jwhois | [] |
266 kbd | [] [] [] [] [] |
267 latrine | () |
268 ld | [] [] |
269 libc | [] [] [] [] [] [] |
270 libgpewidget | [] [] |
271 libiconv | [] [] [] [] [] |
272 lifelines | [] () |
273 lilypond | [] |
274 lingoteach | |
275 lingoteach_lessons | () () |
276 lynx | [] [] [] [] |
277 m4 | [] [] [] [] |
278 mailutils | [] [] |
279 make | [] [] [] |
280 man-db | [] () [] [] () |
281 minicom | [] [] [] |
282 mysecretdiary | [] [] [] |
283 nano | [] () [] [] [] |
284 nano_1_0 | [] () [] [] [] |
285 opcodes | [] |
286 parted | [] [] [] [] [] |
287 ptx | [] [] [] [] [] |
288 python | |
289 radius | [] |
290 recode | [] [] [] [] [] [] [] |
291 rpm | [] [] |
292 screem | |
293 scrollkeeper | [] [] [] [] [] [] |
294 sed | [] [] [] [] [] [] |
295 sh-utils | [] [] [] |
296 shared-mime-info | |
297 sharutils | [] [] [] [] [] [] |
298 silky | () |
299 skencil | [] () [] |
300 sketch | [] () [] |
301 soundtracker | [] [] [] |
302 sp | [] |
303 tar | [] [] [] [] |
304 texinfo | [] [] [] |
305 textutils | [] [] [] [] |
306 tin | () () |
307 tp-robot | |
308 tuxpaint | [] [] [] [] [] [] [] |
309 unicode-han-tra... | |
310 unicode-transla... | |
311 util-linux | [] [] [] [] [] |
312 vorbis-tools | [] [] [] [] |
313 wastesedge | () |
314 wdiff | [] [] [] [] |
315 wget | [] [] [] [] [] [] |
316 xchat | [] [] [] [] |
317 xfree86_xkb_xml | [] [] |
318 xpad | [] |
319 +----------------------------------------------------+
320 af am ar az be bg bs ca cs da de el en en_GB eo es
321 4 0 0 1 9 4 1 40 41 60 78 17 1 5 13 68
322
323 et eu fa fi fr ga gl he hr hu id is it ja ko lg
324 +-------------------------------------------------+
325 a2ps | [] [] [] () () |
326 aegis | |
327 ant-phone | [] |
328 anubis | [] |
329 ap-utils | [] |
330 aspell | [] [] |
331 bash | [] [] |
332 batchelor | [] [] |
333 bfd | [] |
334 binutils | [] [] |
335 bison | [] [] [] [] |
336 bluez-pin | [] [] [] [] [] |
337 clisp | |
338 clisp | [] |
339 console-tools | |
340 coreutils | [] [] [] [] [] [] |
341 cpio | [] [] [] [] |
342 darkstat | () [] [] [] |
343 diffutils | [] [] [] [] [] [] [] |
344 e2fsprogs | |
345 enscript | [] [] |
346 error | [] [] [] [] |
347 fetchmail | [] |
348 fileutils | [] [] [] [] [] [] |
349 findutils | [] [] [] [] [] [] [] [] [] [] [] |
350 flex | [] [] [] |
351 fslint | [] |
352 gas | [] |
353 gawk | [] [] [] |
354 gbiff | [] |
355 gcal | [] |
356 gcc | [] |
357 gettext | [] [] [] |
358 gettext-examples | [] [] |
359 gettext-runtime | [] [] [] [] [] |
360 gettext-tools | [] [] [] |
361 gimp-print | [] [] |
362 gliv | () |
363 glunarclock | [] [] [] [] |
364 gnubiff | [] |
365 gnucash | () [] |
366 gnucash-glossary | [] |
367 gnupg | [] [] [] [] [] [] [] |
368 gpe-aerial | [] |
369 gpe-beam | [] |
370 gpe-calendar | [] [] [] |
371 gpe-clock | [] |
372 gpe-conf | [] |
373 gpe-contacts | [] [] |
374 gpe-edit | [] [] |
375 gpe-go | [] |
376 gpe-login | [] [] |
377 gpe-ownerinfo | [] [] [] |
378 gpe-sketchbook | [] |
379 gpe-su | [] |
380 gpe-taskmanager | [] |
381 gpe-timesheet | [] [] [] |
382 gpe-today | [] [] |
383 gpe-todo | [] [] |
384 gphoto2 | [] [] [] |
385 gprof | [] [] |
386 gpsdrive | () () () |
387 gramadoir | [] [] |
388 grep | [] [] [] [] [] [] [] [] [] [] [] |
389 gretl | [] [] |
390 gtick | [] [] [] |
391 hello | [] [] [] [] [] [] [] [] [] [] [] [] [] |
392 id-utils | [] [] [] [] |
393 indent | [] [] [] [] [] [] [] [] [] |
394 iso_3166 | [] [] [] [] [] [] [] |
395 iso_3166_1 | [] [] [] [] [] |
396 iso_3166_2 | |
397 iso_3166_3 | |
398 iso_4217 | [] [] [] [] [] [] |
399 iso_639 | |
400 jpilot | [] () |
401 jtag | [] |
402 jwhois | [] [] [] [] |
403 kbd | [] |
404 latrine | [] |
405 ld | [] |
406 libc | [] [] [] [] [] [] |
407 libgpewidget | [] [] [] [] |
408 libiconv | [] [] [] [] [] [] [] [] [] |
409 lifelines | () |
410 lilypond | [] |
411 lingoteach | [] [] |
412 lingoteach_lessons | |
413 lynx | [] [] [] [] |
414 m4 | [] [] [] [] |
415 mailutils | |
416 make | [] [] [] [] [] [] |
417 man-db | () () |
418 minicom | [] [] [] [] |
419 mysecretdiary | [] [] |
420 nano | [] [] [] [] |
421 nano_1_0 | [] [] [] [] |
422 opcodes | [] |
423 parted | [] [] [] |
424 ptx | [] [] [] [] [] [] [] |
425 python | |
426 radius | [] |
427 recode | [] [] [] [] [] [] |
428 rpm | [] [] |
429 screem | |
430 scrollkeeper | [] |
431 sed | [] [] [] [] [] [] [] [] [] |
432 sh-utils | [] [] [] [] [] [] [] |
433 shared-mime-info | [] [] [] |
434 sharutils | [] [] [] [] [] |
435 silky | () [] () () |
436 skencil | [] |
437 sketch | [] |
438 soundtracker | [] [] |
439 sp | [] () |
440 tar | [] [] [] [] [] [] [] [] [] |
441 texinfo | [] [] [] [] |
442 textutils | [] [] [] [] [] [] |
443 tin | [] () |
444 tp-robot | [] |
445 tuxpaint | [] [] [] [] [] [] [] [] [] |
446 unicode-han-tra... | |
447 unicode-transla... | [] [] |
448 util-linux | [] [] [] [] () [] |
449 vorbis-tools | [] |
450 wastesedge | () |
451 wdiff | [] [] [] [] [] [] |
452 wget | [] [] [] [] [] [] [] |
453 xchat | [] [] [] |
454 xfree86_xkb_xml | [] [] |
455 xpad | [] [] |
456 +-------------------------------------------------+
457 et eu fa fi fr ga gl he hr hu id is it ja ko lg
458 22 2 1 26 106 28 24 8 10 41 33 1 26 33 12 0
459
460 lt lv mk mn ms mt nb nl nn no nso pl pt pt_BR ro ru
461 +-----------------------------------------------------+
462 a2ps | [] [] () () [] [] [] |
463 aegis | () () () |
464 ant-phone | [] [] |
465 anubis | [] [] [] [] [] [] |
466 ap-utils | [] () [] |
467 aspell | [] |
468 bash | [] [] [] |
469 batchelor | [] |
470 bfd | [] |
471 binutils | [] |
472 bison | [] [] [] [] [] |
473 bluez-pin | [] [] [] |
474 clisp | |
475 clisp | [] |
476 console-tools | [] |
477 coreutils | [] [] |
478 cpio | [] [] [] [] [] |
479 darkstat | [] [] [] [] |
480 diffutils | [] [] [] [] [] [] |
481 e2fsprogs | [] |
482 enscript | [] [] [] [] |
483 error | [] [] [] |
484 fetchmail | [] [] () [] |
485 fileutils | [] [] [] |
486 findutils | [] [] [] [] [] |
487 flex | [] [] [] [] |
488 fslint | [] [] |
489 gas | |
490 gawk | [] [] [] |
491 gbiff | [] [] |
492 gcal | |
493 gcc | |
494 gettext | [] [] [] |
495 gettext-examples | [] [] [] |
496 gettext-runtime | [] [] [] [] |
497 gettext-tools | [] [] |
498 gimp-print | [] |
499 gliv | [] [] [] |
500 glunarclock | [] [] [] [] |
501 gnubiff | [] |
502 gnucash | [] [] () [] |
503 gnucash-glossary | [] [] |
504 gnupg | [] |
505 gpe-aerial | [] [] [] [] |
506 gpe-beam | [] [] [] [] |
507 gpe-calendar | [] [] [] [] |
508 gpe-clock | [] [] [] [] |
509 gpe-conf | [] [] [] [] |
510 gpe-contacts | [] [] [] [] |
511 gpe-edit | [] [] [] [] |
512 gpe-go | [] [] [] |
513 gpe-login | [] [] [] [] |
514 gpe-ownerinfo | [] [] [] [] |
515 gpe-sketchbook | [] [] [] [] |
516 gpe-su | [] [] [] [] |
517 gpe-taskmanager | [] [] [] [] |
518 gpe-timesheet | [] [] [] [] |
519 gpe-today | [] [] [] [] |
520 gpe-todo | [] [] [] [] |
521 gphoto2 | [] |
522 gprof | [] [] |
523 gpsdrive | () () [] |
524 gramadoir | () [] |
525 grep | [] [] [] [] [] |
526 gretl | |
527 gtick | [] [] [] |
528 hello | [] [] [] [] [] [] [] [] [] [] |
529 id-utils | [] [] [] [] |
530 indent | [] [] [] [] |
531 iso_3166 | [] [] [] |
532 iso_3166_1 | [] [] |
533 iso_3166_2 | |
534 iso_3166_3 | [] |
535 iso_4217 | [] [] [] [] [] [] [] [] |
536 iso_639 | [] |
537 jpilot | () () |
538 jtag | |
539 jwhois | [] [] [] [] () |
540 kbd | [] [] [] |
541 latrine | [] |
542 ld | |
543 libc | [] [] [] [] |
544 libgpewidget | [] [] [] |
545 libiconv | [] [] [] [] [] |
546 lifelines | |
547 lilypond | |
548 lingoteach | |
549 lingoteach_lessons | |
550 lynx | [] [] [] |
551 m4 | [] [] [] [] [] |
552 mailutils | [] [] [] |
553 make | [] [] [] [] |
554 man-db | [] |
555 minicom | [] [] [] [] |
556 mysecretdiary | [] [] [] |
557 nano | [] [] [] [] [] |
558 nano_1_0 | [] [] [] [] [] [] |
559 opcodes | [] [] |
560 parted | [] [] [] [] |
561 ptx | [] [] [] [] [] [] [] [] |
562 python | |
563 radius | [] [] |
564 recode | [] [] [] [] |
565 rpm | [] [] [] |
566 screem | |
567 scrollkeeper | [] [] [] [] [] |
568 sed | [] [] [] |
569 sh-utils | [] [] |
570 shared-mime-info | [] [] |
571 sharutils | [] [] |
572 silky | () |
573 skencil | [] [] |
574 sketch | [] [] |
575 soundtracker | |
576 sp | |
577 tar | [] [] [] [] [] [] |
578 texinfo | [] [] [] [] |
579 textutils | [] [] |
580 tin | |
581 tp-robot | [] |
582 tuxpaint | [] [] [] [] [] [] [] [] |
583 unicode-han-tra... | |
584 unicode-transla... | |
585 util-linux | [] [] [] |
586 vorbis-tools | [] [] [] |
587 wastesedge | |
588 wdiff | [] [] [] [] [] |
589 wget | [] [] [] |
590 xchat | [] [] [] |
591 xfree86_xkb_xml | [] [] |
592 xpad | [] [] |
593 +-----------------------------------------------------+
594 lt lv mk mn ms mt nb nl nn no nso pl pt pt_BR ro ru
595 1 2 0 3 12 0 10 69 6 7 1 40 26 36 76 63
596
597 sk sl sr sv ta th tr uk ven vi wa xh zh_CN zh_TW zu
598 +-----------------------------------------------------+
599 a2ps | [] [] [] [] | 16
600 aegis | | 0
601 ant-phone | | 3
602 anubis | [] [] | 9
603 ap-utils | () | 3
604 aspell | | 4
605 bash | | 9
606 batchelor | | 3
607 bfd | [] [] | 6
608 binutils | [] [] [] | 8
609 bison | [] [] | 14
610 bluez-pin | [] [] [] | 14
611 clisp | | 0
612 clisp | | 5
613 console-tools | | 3
614 coreutils | [] [] [] [] | 16
615 cpio | [] [] | 14
616 darkstat | [] [] [] () () | 12
617 diffutils | [] [] [] | 23
618 e2fsprogs | [] [] | 6
619 enscript | [] [] | 12
620 error | [] [] [] | 15
621 fetchmail | [] [] | 11
622 fileutils | [] [] [] [] [] | 17
623 findutils | [] [] [] [] [] [] | 29
624 flex | [] [] | 13
625 fslint | | 3
626 gas | [] | 3
627 gawk | [] [] | 12
628 gbiff | | 4
629 gcal | [] [] | 4
630 gcc | [] | 4
631 gettext | [] [] [] [] [] | 16
632 gettext-examples | [] [] [] [] [] | 14
633 gettext-runtime | [] [] [] [] [] [] [] [] | 22
634 gettext-tools | [] [] [] [] [] [] | 14
635 gimp-print | [] [] | 10
636 gliv | | 3
637 glunarclock | [] [] [] | 13
638 gnubiff | | 3
639 gnucash | [] [] | 9
640 gnucash-glossary | [] [] [] | 8
641 gnupg | [] [] [] [] | 17
642 gpe-aerial | [] | 7
643 gpe-beam | [] | 8
644 gpe-calendar | [] [] [] [] | 13
645 gpe-clock | [] [] [] | 10
646 gpe-conf | [] [] | 9
647 gpe-contacts | [] [] [] | 11
648 gpe-edit | [] [] [] [] [] | 12
649 gpe-go | | 5
650 gpe-login | [] [] [] [] [] | 13
651 gpe-ownerinfo | [] [] [] [] | 13
652 gpe-sketchbook | [] [] | 9
653 gpe-su | [] [] [] | 10
654 gpe-taskmanager | [] [] [] | 10
655 gpe-timesheet | [] [] [] [] | 12
656 gpe-today | [] [] [] [] [] | 13
657 gpe-todo | [] [] [] [] | 12
658 gphoto2 | [] [] [] | 11
659 gprof | [] [] | 9
660 gpsdrive | [] [] | 3
661 gramadoir | [] | 5
662 grep | [] [] [] [] | 26
663 gretl | | 3
664 gtick | | 7
665 hello | [] [] [] [] [] | 34
666 id-utils | [] [] | 12
667 indent | [] [] [] [] | 21
668 iso_3166 | [] [] [] [] [] [] [] | 27
669 iso_3166_1 | [] [] [] | 16
670 iso_3166_2 | | 0
671 iso_3166_3 | | 2
672 iso_4217 | [] [] [] [] [] [] | 24
673 iso_639 | | 1
674 jpilot | [] [] [] [] [] | 9
675 jtag | [] | 2
676 jwhois | () [] [] | 11
677 kbd | [] [] | 11
678 latrine | | 2
679 ld | [] [] | 5
680 libc | [] [] [] [] | 20
681 libgpewidget | [] [] [] [] | 13
682 libiconv | [] [] [] [] [] [] [] [] | 27
683 lifelines | [] | 2
684 lilypond | [] | 3
685 lingoteach | | 2
686 lingoteach_lessons | () | 0
687 lynx | [] [] [] | 14
688 m4 | [] [] | 15
689 mailutils | | 5
690 make | [] [] [] | 16
691 man-db | [] | 5
692 minicom | | 11
693 mysecretdiary | [] [] | 10
694 nano | [] [] [] [] | 17
695 nano_1_0 | [] [] [] | 17
696 opcodes | [] [] | 6
697 parted | [] [] [] | 15
698 ptx | [] [] | 22
699 python | | 0
700 radius | | 4
701 recode | [] [] [] | 20
702 rpm | [] [] | 9
703 screem | [] [] | 2
704 scrollkeeper | [] [] [] | 15
705 sed | [] [] [] [] [] [] | 24
706 sh-utils | [] [] | 14
707 shared-mime-info | [] [] | 7
708 sharutils | [] [] [] [] | 17
709 silky | () | 3
710 skencil | [] | 6
711 sketch | [] | 6
712 soundtracker | [] [] | 7
713 sp | [] | 3
714 tar | [] [] [] [] [] | 24
715 texinfo | [] [] [] | 14
716 textutils | [] [] [] [] | 16
717 tin | | 1
718 tp-robot | | 2
719 tuxpaint | [] [] [] [] [] | 29
720 unicode-han-tra... | | 0
721 unicode-transla... | | 2
722 util-linux | [] [] | 15
723 vorbis-tools | | 8
724 wastesedge | | 0
725 wdiff | [] [] [] | 18
726 wget | [] [] [] [] [] [] [] [] | 24
727 xchat | [] [] [] [] [] | 15
728 xfree86_xkb_xml | [] [] [] [] [] | 11
729 xpad | | 5
730 +-----------------------------------------------------+
731 63 teams sk sl sr sv ta th tr uk ven vi wa xh zh_CN zh_TW zu
732 131 domains 47 19 28 83 0 0 59 13 1 1 11 0 22 22 0 1373
733
734 Some counters in the preceding matrix are higher than the number of
735visible blocks let us expect. This is because a few extra PO files are
736used for implementing regional variants of languages, or language
737dialects.
738
739 For a PO file in the matrix above to be effective, the package to
740which it applies should also have been internationalized and
741distributed as such by its maintainer. There might be an observable
742lag between the mere existence a PO file and its wide availability in a
743distribution.
744
745 If January 2004 seems to be old, you may fetch a more recent copy of
746this `ABOUT-NLS' file on most GNU archive sites. The most up-to-date
747matrix with full percentage details can be found at
748`http://www.iro.umontreal.ca/contrib/po/HTML/matrix.html'.
749
750Using `gettext' in new packages
751===============================
752
753If you are writing a freely available program and want to
754internationalize it you are welcome to use GNU `gettext' in your
755package. Of course you have to respect the GNU Library General Public
756License which covers the use of the GNU `gettext' library. This means
757in particular that even non-free programs can use `libintl' as a shared
758library, whereas only free software can use `libintl' as a static
759library or use modified versions of `libintl'.
760
761 Once the sources are changed appropriately and the setup can handle
762the use of `gettext' the only thing missing are the translations. The
763Free Translation Project is also available for packages which are not
764developed inside the GNU project. Therefore the information given above
765applies also for every other Free Software Project. Contact
766`translation@iro.umontreal.ca' to make the `.pot' files available to
767the translation teams.
768
0769
=== added file 'AUTHORS'
=== renamed file 'AUTHORS' => 'AUTHORS.moved'
=== added file 'COPYING'
--- COPYING 1970-01-01 00:00:00 +0000
+++ COPYING 2011-01-24 18:52:52 +0000
@@ -0,0 +1,165 @@
1 GNU LESSER GENERAL PUBLIC LICENSE
2 Version 3, 29 June 2007
3
4 Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
5 Everyone is permitted to copy and distribute verbatim copies
6 of this license document, but changing it is not allowed.
7
8
9 This version of the GNU Lesser General Public License incorporates
10the terms and conditions of version 3 of the GNU General Public
11License, supplemented by the additional permissions listed below.
12
13 0. Additional Definitions.
14
15 As used herein, "this License" refers to version 3 of the GNU Lesser
16General Public License, and the "GNU GPL" refers to version 3 of the GNU
17General Public License.
18
19 "The Library" refers to a covered work governed by this License,
20other than an Application or a Combined Work as defined below.
21
22 An "Application" is any work that makes use of an interface provided
23by the Library, but which is not otherwise based on the Library.
24Defining a subclass of a class defined by the Library is deemed a mode
25of using an interface provided by the Library.
26
27 A "Combined Work" is a work produced by combining or linking an
28Application with the Library. The particular version of the Library
29with which the Combined Work was made is also called the "Linked
30Version".
31
32 The "Minimal Corresponding Source" for a Combined Work means the
33Corresponding Source for the Combined Work, excluding any source code
34for portions of the Combined Work that, considered in isolation, are
35based on the Application, and not on the Linked Version.
36
37 The "Corresponding Application Code" for a Combined Work means the
38object code and/or source code for the Application, including any data
39and utility programs needed for reproducing the Combined Work from the
40Application, but excluding the System Libraries of the Combined Work.
41
42 1. Exception to Section 3 of the GNU GPL.
43
44 You may convey a covered work under sections 3 and 4 of this License
45without being bound by section 3 of the GNU GPL.
46
47 2. Conveying Modified Versions.
48
49 If you modify a copy of the Library, and, in your modifications, a
50facility refers to a function or data to be supplied by an Application
51that uses the facility (other than as an argument passed when the
52facility is invoked), then you may convey a copy of the modified
53version:
54
55 a) under this License, provided that you make a good faith effort to
56 ensure that, in the event an Application does not supply the
57 function or data, the facility still operates, and performs
58 whatever part of its purpose remains meaningful, or
59
60 b) under the GNU GPL, with none of the additional permissions of
61 this License applicable to that copy.
62
63 3. Object Code Incorporating Material from Library Header Files.
64
65 The object code form of an Application may incorporate material from
66a header file that is part of the Library. You may convey such object
67code under terms of your choice, provided that, if the incorporated
68material is not limited to numerical parameters, data structure
69layouts and accessors, or small macros, inline functions and templates
70(ten or fewer lines in length), you do both of the following:
71
72 a) Give prominent notice with each copy of the object code that the
73 Library is used in it and that the Library and its use are
74 covered by this License.
75
76 b) Accompany the object code with a copy of the GNU GPL and this license
77 document.
78
79 4. Combined Works.
80
81 You may convey a Combined Work under terms of your choice that,
82taken together, effectively do not restrict modification of the
83portions of the Library contained in the Combined Work and reverse
84engineering for debugging such modifications, if you also do each of
85the following:
86
87 a) Give prominent notice with each copy of the Combined Work that
88 the Library is used in it and that the Library and its use are
89 covered by this License.
90
91 b) Accompany the Combined Work with a copy of the GNU GPL and this license
92 document.
93
94 c) For a Combined Work that displays copyright notices during
95 execution, include the copyright notice for the Library among
96 these notices, as well as a reference directing the user to the
97 copies of the GNU GPL and this license document.
98
99 d) Do one of the following:
100
101 0) Convey the Minimal Corresponding Source under the terms of this
102 License, and the Corresponding Application Code in a form
103 suitable for, and under terms that permit, the user to
104 recombine or relink the Application with a modified version of
105 the Linked Version to produce a modified Combined Work, in the
106 manner specified by section 6 of the GNU GPL for conveying
107 Corresponding Source.
108
109 1) Use a suitable shared library mechanism for linking with the
110 Library. A suitable mechanism is one that (a) uses at run time
111 a copy of the Library already present on the user's computer
112 system, and (b) will operate properly with a modified version
113 of the Library that is interface-compatible with the Linked
114 Version.
115
116 e) Provide Installation Information, but only if you would otherwise
117 be required to provide such information under section 6 of the
118 GNU GPL, and only to the extent that such information is
119 necessary to install and execute a modified version of the
120 Combined Work produced by recombining or relinking the
121 Application with a modified version of the Linked Version. (If
122 you use option 4d0, the Installation Information must accompany
123 the Minimal Corresponding Source and Corresponding Application
124 Code. If you use option 4d1, you must provide the Installation
125 Information in the manner specified by section 6 of the GNU GPL
126 for conveying Corresponding Source.)
127
128 5. Combined Libraries.
129
130 You may place library facilities that are a work based on the
131Library side by side in a single library together with other library
132facilities that are not Applications and are not covered by this
133License, and convey such a combined library under terms of your
134choice, if you do both of the following:
135
136 a) Accompany the combined library with a copy of the same work based
137 on the Library, uncombined with any other library facilities,
138 conveyed under the terms of this License.
139
140 b) Give prominent notice with the combined library that part of it
141 is a work based on the Library, and explaining where to find the
142 accompanying uncombined form of the same work.
143
144 6. Revised Versions of the GNU Lesser General Public License.
145
146 The Free Software Foundation may publish revised and/or new versions
147of the GNU Lesser General Public License from time to time. Such new
148versions will be similar in spirit to the present version, but may
149differ in detail to address new problems or concerns.
150
151 Each version is given a distinguishing version number. If the
152Library as you received it specifies that a certain numbered version
153of the GNU Lesser General Public License "or any later version"
154applies to it, you have the option of following the terms and
155conditions either of that published version or of any later version
156published by the Free Software Foundation. If the Library as you
157received it does not specify a version number of the GNU Lesser
158General Public License, you may choose any version of the GNU Lesser
159General Public License ever published by the Free Software Foundation.
160
161 If the Library as you received it specifies that a proxy can decide
162whether future versions of the GNU Lesser General Public License shall
163apply, that proxy's public statement of acceptance of any version is
164permanent authorization for you to choose that version for the
165Library.
0166
=== renamed file 'COPYING' => 'COPYING.moved'
=== added file 'ChangeLog'
=== renamed file 'ChangeLog' => 'ChangeLog.moved'
=== added file 'INSTALL'
--- INSTALL 1970-01-01 00:00:00 +0000
+++ INSTALL 2011-01-24 18:52:52 +0000
@@ -0,0 +1,365 @@
1Installation Instructions
2*************************
3
4Copyright (C) 1994, 1995, 1996, 1999, 2000, 2001, 2002, 2004, 2005,
52006, 2007, 2008, 2009 Free Software Foundation, Inc.
6
7 Copying and distribution of this file, with or without modification,
8are permitted in any medium without royalty provided the copyright
9notice and this notice are preserved. This file is offered as-is,
10without warranty of any kind.
11
12Basic Installation
13==================
14
15 Briefly, the shell commands `./configure; make; make install' should
16configure, build, and install this package. The following
17more-detailed instructions are generic; see the `README' file for
18instructions specific to this package. Some packages provide this
19`INSTALL' file but do not implement all of the features documented
20below. The lack of an optional feature in a given package is not
21necessarily a bug. More recommendations for GNU packages can be found
22in *note Makefile Conventions: (standards)Makefile Conventions.
23
24 The `configure' shell script attempts to guess correct values for
25various system-dependent variables used during compilation. It uses
26those values to create a `Makefile' in each directory of the package.
27It may also create one or more `.h' files containing system-dependent
28definitions. Finally, it creates a shell script `config.status' that
29you can run in the future to recreate the current configuration, and a
30file `config.log' containing compiler output (useful mainly for
31debugging `configure').
32
33 It can also use an optional file (typically called `config.cache'
34and enabled with `--cache-file=config.cache' or simply `-C') that saves
35the results of its tests to speed up reconfiguring. Caching is
36disabled by default to prevent problems with accidental use of stale
37cache files.
38
39 If you need to do unusual things to compile the package, please try
40to figure out how `configure' could check whether to do them, and mail
41diffs or instructions to the address given in the `README' so they can
42be considered for the next release. If you are using the cache, and at
43some point `config.cache' contains results you don't want to keep, you
44may remove or edit it.
45
46 The file `configure.ac' (or `configure.in') is used to create
47`configure' by a program called `autoconf'. You need `configure.ac' if
48you want to change it or regenerate `configure' using a newer version
49of `autoconf'.
50
51 The simplest way to compile this package is:
52
53 1. `cd' to the directory containing the package's source code and type
54 `./configure' to configure the package for your system.
55
56 Running `configure' might take a while. While running, it prints
57 some messages telling which features it is checking for.
58
59 2. Type `make' to compile the package.
60
61 3. Optionally, type `make check' to run any self-tests that come with
62 the package, generally using the just-built uninstalled binaries.
63
64 4. Type `make install' to install the programs and any data files and
65 documentation. When installing into a prefix owned by root, it is
66 recommended that the package be configured and built as a regular
67 user, and only the `make install' phase executed with root
68 privileges.
69
70 5. Optionally, type `make installcheck' to repeat any self-tests, but
71 this time using the binaries in their final installed location.
72 This target does not install anything. Running this target as a
73 regular user, particularly if the prior `make install' required
74 root privileges, verifies that the installation completed
75 correctly.
76
77 6. You can remove the program binaries and object files from the
78 source code directory by typing `make clean'. To also remove the
79 files that `configure' created (so you can compile the package for
80 a different kind of computer), type `make distclean'. There is
81 also a `make maintainer-clean' target, but that is intended mainly
82 for the package's developers. If you use it, you may have to get
83 all sorts of other programs in order to regenerate files that came
84 with the distribution.
85
86 7. Often, you can also type `make uninstall' to remove the installed
87 files again. In practice, not all packages have tested that
88 uninstallation works correctly, even though it is required by the
89 GNU Coding Standards.
90
91 8. Some packages, particularly those that use Automake, provide `make
92 distcheck', which can by used by developers to test that all other
93 targets like `make install' and `make uninstall' work correctly.
94 This target is generally not run by end users.
95
96Compilers and Options
97=====================
98
99 Some systems require unusual options for compilation or linking that
100the `configure' script does not know about. Run `./configure --help'
101for details on some of the pertinent environment variables.
102
103 You can give `configure' initial values for configuration parameters
104by setting variables in the command line or in the environment. Here
105is an example:
106
107 ./configure CC=c99 CFLAGS=-g LIBS=-lposix
108
109 *Note Defining Variables::, for more details.
110
111Compiling For Multiple Architectures
112====================================
113
114 You can compile the package for more than one kind of computer at the
115same time, by placing the object files for each architecture in their
116own directory. To do this, you can use GNU `make'. `cd' to the
117directory where you want the object files and executables to go and run
118the `configure' script. `configure' automatically checks for the
119source code in the directory that `configure' is in and in `..'. This
120is known as a "VPATH" build.
121
122 With a non-GNU `make', it is safer to compile the package for one
123architecture at a time in the source code directory. After you have
124installed the package for one architecture, use `make distclean' before
125reconfiguring for another architecture.
126
127 On MacOS X 10.5 and later systems, you can create libraries and
128executables that work on multiple system types--known as "fat" or
129"universal" binaries--by specifying multiple `-arch' options to the
130compiler but only a single `-arch' option to the preprocessor. Like
131this:
132
133 ./configure CC="gcc -arch i386 -arch x86_64 -arch ppc -arch ppc64" \
134 CXX="g++ -arch i386 -arch x86_64 -arch ppc -arch ppc64" \
135 CPP="gcc -E" CXXCPP="g++ -E"
136
137 This is not guaranteed to produce working output in all cases, you
138may have to build one architecture at a time and combine the results
139using the `lipo' tool if you have problems.
140
141Installation Names
142==================
143
144 By default, `make install' installs the package's commands under
145`/usr/local/bin', include files under `/usr/local/include', etc. You
146can specify an installation prefix other than `/usr/local' by giving
147`configure' the option `--prefix=PREFIX', where PREFIX must be an
148absolute file name.
149
150 You can specify separate installation prefixes for
151architecture-specific files and architecture-independent files. If you
152pass the option `--exec-prefix=PREFIX' to `configure', the package uses
153PREFIX as the prefix for installing programs and libraries.
154Documentation and other data files still use the regular prefix.
155
156 In addition, if you use an unusual directory layout you can give
157options like `--bindir=DIR' to specify different values for particular
158kinds of files. Run `configure --help' for a list of the directories
159you can set and what kinds of files go in them. In general, the
160default for these options is expressed in terms of `${prefix}', so that
161specifying just `--prefix' will affect all of the other directory
162specifications that were not explicitly provided.
163
164 The most portable way to affect installation locations is to pass the
165correct locations to `configure'; however, many packages provide one or
166both of the following shortcuts of passing variable assignments to the
167`make install' command line to change installation locations without
168having to reconfigure or recompile.
169
170 The first method involves providing an override variable for each
171affected directory. For example, `make install
172prefix=/alternate/directory' will choose an alternate location for all
173directory configuration variables that were expressed in terms of
174`${prefix}'. Any directories that were specified during `configure',
175but not in terms of `${prefix}', must each be overridden at install
176time for the entire installation to be relocated. The approach of
177makefile variable overrides for each directory variable is required by
178the GNU Coding Standards, and ideally causes no recompilation.
179However, some platforms have known limitations with the semantics of
180shared libraries that end up requiring recompilation when using this
181method, particularly noticeable in packages that use GNU Libtool.
182
183 The second method involves providing the `DESTDIR' variable. For
184example, `make install DESTDIR=/alternate/directory' will prepend
185`/alternate/directory' before all installation names. The approach of
186`DESTDIR' overrides is not required by the GNU Coding Standards, and
187does not work on platforms that have drive letters. On the other hand,
188it does better at avoiding recompilation issues, and works well even
189when some directory options were not specified in terms of `${prefix}'
190at `configure' time.
191
192Optional Features
193=================
194
195 If the package supports it, you can cause programs to be installed
196with an extra prefix or suffix on their names by giving `configure' the
197option `--program-prefix=PREFIX' or `--program-suffix=SUFFIX'.
198
199 Some packages pay attention to `--enable-FEATURE' options to
200`configure', where FEATURE indicates an optional part of the package.
201They may also pay attention to `--with-PACKAGE' options, where PACKAGE
202is something like `gnu-as' or `x' (for the X Window System). The
203`README' should mention any `--enable-' and `--with-' options that the
204package recognizes.
205
206 For packages that use the X Window System, `configure' can usually
207find the X include and library files automatically, but if it doesn't,
208you can use the `configure' options `--x-includes=DIR' and
209`--x-libraries=DIR' to specify their locations.
210
211 Some packages offer the ability to configure how verbose the
212execution of `make' will be. For these packages, running `./configure
213--enable-silent-rules' sets the default to minimal output, which can be
214overridden with `make V=1'; while running `./configure
215--disable-silent-rules' sets the default to verbose, which can be
216overridden with `make V=0'.
217
218Particular systems
219==================
220
221 On HP-UX, the default C compiler is not ANSI C compatible. If GNU
222CC is not installed, it is recommended to use the following options in
223order to use an ANSI C compiler:
224
225 ./configure CC="cc -Ae -D_XOPEN_SOURCE=500"
226
227and if that doesn't work, install pre-built binaries of GCC for HP-UX.
228
229 On OSF/1 a.k.a. Tru64, some versions of the default C compiler cannot
230parse its `<wchar.h>' header file. The option `-nodtk' can be used as
231a workaround. If GNU CC is not installed, it is therefore recommended
232to try
233
234 ./configure CC="cc"
235
236and if that doesn't work, try
237
238 ./configure CC="cc -nodtk"
239
240 On Solaris, don't put `/usr/ucb' early in your `PATH'. This
241directory contains several dysfunctional programs; working variants of
242these programs are available in `/usr/bin'. So, if you need `/usr/ucb'
243in your `PATH', put it _after_ `/usr/bin'.
244
245 On Haiku, software installed for all users goes in `/boot/common',
246not `/usr/local'. It is recommended to use the following options:
247
248 ./configure --prefix=/boot/common
249
250Specifying the System Type
251==========================
252
253 There may be some features `configure' cannot figure out
254automatically, but needs to determine by the type of machine the package
255will run on. Usually, assuming the package is built to be run on the
256_same_ architectures, `configure' can figure that out, but if it prints
257a message saying it cannot guess the machine type, give it the
258`--build=TYPE' option. TYPE can either be a short name for the system
259type, such as `sun4', or a canonical name which has the form:
260
261 CPU-COMPANY-SYSTEM
262
263where SYSTEM can have one of these forms:
264
265 OS
266 KERNEL-OS
267
268 See the file `config.sub' for the possible values of each field. If
269`config.sub' isn't included in this package, then this package doesn't
270need to know the machine type.
271
272 If you are _building_ compiler tools for cross-compiling, you should
273use the option `--target=TYPE' to select the type of system they will
274produce code for.
275
276 If you want to _use_ a cross compiler, that generates code for a
277platform different from the build platform, you should specify the
278"host" platform (i.e., that on which the generated programs will
279eventually be run) with `--host=TYPE'.
280
281Sharing Defaults
282================
283
284 If you want to set default values for `configure' scripts to share,
285you can create a site shell script called `config.site' that gives
286default values for variables like `CC', `cache_file', and `prefix'.
287`configure' looks for `PREFIX/share/config.site' if it exists, then
288`PREFIX/etc/config.site' if it exists. Or, you can set the
289`CONFIG_SITE' environment variable to the location of the site script.
290A warning: not all `configure' scripts look for a site script.
291
292Defining Variables
293==================
294
295 Variables not defined in a site shell script can be set in the
296environment passed to `configure'. However, some packages may run
297configure again during the build, and the customized values of these
298variables may be lost. In order to avoid this problem, you should set
299them in the `configure' command line, using `VAR=value'. For example:
300
301 ./configure CC=/usr/local2/bin/gcc
302
303causes the specified `gcc' to be used as the C compiler (unless it is
304overridden in the site shell script).
305
306Unfortunately, this technique does not work for `CONFIG_SHELL' due to
307an Autoconf bug. Until the bug is fixed you can use this workaround:
308
309 CONFIG_SHELL=/bin/bash /bin/bash ./configure CONFIG_SHELL=/bin/bash
310
311`configure' Invocation
312======================
313
314 `configure' recognizes the following options to control how it
315operates.
316
317`--help'
318`-h'
319 Print a summary of all of the options to `configure', and exit.
320
321`--help=short'
322`--help=recursive'
323 Print a summary of the options unique to this package's
324 `configure', and exit. The `short' variant lists options used
325 only in the top level, while the `recursive' variant lists options
326 also present in any nested packages.
327
328`--version'
329`-V'
330 Print the version of Autoconf used to generate the `configure'
331 script, and exit.
332
333`--cache-file=FILE'
334 Enable the cache: use and save the results of the tests in FILE,
335 traditionally `config.cache'. FILE defaults to `/dev/null' to
336 disable caching.
337
338`--config-cache'
339`-C'
340 Alias for `--cache-file=config.cache'.
341
342`--quiet'
343`--silent'
344`-q'
345 Do not print messages saying which checks are being made. To
346 suppress all normal output, redirect it to `/dev/null' (any error
347 messages will still be shown).
348
349`--srcdir=DIR'
350 Look for the package's source code in directory DIR. Usually
351 `configure' can determine that directory automatically.
352
353`--prefix=DIR'
354 Use DIR as the installation prefix. *note Installation Names::
355 for more details, including other options available for fine-tuning
356 the installation locations.
357
358`--no-create'
359`-n'
360 Run the configure checks, but stop before creating any output
361 files.
362
363`configure' also accepts some other, not widely useful, options. Run
364`configure --help' for more details.
365
0366
=== added file 'Makefile.am'
--- Makefile.am 1970-01-01 00:00:00 +0000
+++ Makefile.am 2011-01-24 18:52:52 +0000
@@ -0,0 +1,27 @@
1SUBDIRS = lib po pixmaps
2
3bin_SCRIPTS = launchpad-integration
4
5pkgconfigdir = $(libdir)/pkgconfig
6
7if USE_GTK3
8pkgconfig_DATA = launchpad-integration-3.0.pc
9else
10pkgconfig_DATA = launchpad-integration.pc launchpad-integration-sharp.pc lpint-bonobo.pc
11configdir = $(libdir)/cli/launchpad-integration-sharp-1
12config_DATA = launchpad-integration-sharp.dll.config
13endif
14
15nobase_pkgdata_PYTHON = \
16 launchpadintegration/__init__.py \
17 launchpadintegration/main.py \
18 launchpadintegration/packageinfo.py \
19 launchpadintegration/urls.py
20
21EXTRA_DIST = \
22 launchpad-integration-sharp.dll.config \
23 launchpad-integration.in \
24 launchpad-integration.pc.in \
25 launchpad-integration-3.0.pc.in \
26 launchpad-integration-sharp.pc.in \
27 lpint-bonobo.pc.in
028
=== renamed file 'Makefile.am' => 'Makefile.am.moved'
=== added file 'Makefile.in'
--- Makefile.in 1970-01-01 00:00:00 +0000
+++ Makefile.in 2011-01-24 18:52:52 +0000
@@ -0,0 +1,957 @@
1# Makefile.in generated by automake 1.11.1 from Makefile.am.
2# @configure_input@
3
4# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
5# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
6# Inc.
7# This Makefile.in is free software; the Free Software Foundation
8# gives unlimited permission to copy and/or distribute it,
9# with or without modifications, as long as this notice is preserved.
10
11# This program is distributed in the hope that it will be useful,
12# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
13# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
14# PARTICULAR PURPOSE.
15
16@SET_MAKE@
17
18
19VPATH = @srcdir@
20pkgdatadir = $(datadir)/@PACKAGE@
21pkgincludedir = $(includedir)/@PACKAGE@
22pkglibdir = $(libdir)/@PACKAGE@
23pkglibexecdir = $(libexecdir)/@PACKAGE@
24am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
25install_sh_DATA = $(install_sh) -c -m 644
26install_sh_PROGRAM = $(install_sh) -c
27install_sh_SCRIPT = $(install_sh) -c
28INSTALL_HEADER = $(INSTALL_DATA)
29transform = $(program_transform_name)
30NORMAL_INSTALL = :
31PRE_INSTALL = :
32POST_INSTALL = :
33NORMAL_UNINSTALL = :
34PRE_UNINSTALL = :
35POST_UNINSTALL = :
36build_triplet = @build@
37host_triplet = @host@
38subdir = .
39DIST_COMMON = README $(am__configure_deps) $(nobase_pkgdata_PYTHON) \
40 $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
41 $(srcdir)/config.h.in \
42 $(srcdir)/launchpad-integration-3.0.pc.in \
43 $(srcdir)/launchpad-integration-sharp.pc.in \
44 $(srcdir)/launchpad-integration.in \
45 $(srcdir)/launchpad-integration.pc.in \
46 $(srcdir)/lpint-bonobo.pc.in $(top_srcdir)/configure ABOUT-NLS \
47 AUTHORS COPYING ChangeLog INSTALL NEWS config.guess \
48 config.rpath config.sub depcomp install-sh ltmain.sh missing \
49 mkinstalldirs py-compile
50ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
51am__aclocal_m4_deps = $(top_srcdir)/m4/gettext.m4 \
52 $(top_srcdir)/m4/iconv.m4 $(top_srcdir)/m4/lib-ld.m4 \
53 $(top_srcdir)/m4/lib-link.m4 $(top_srcdir)/m4/lib-prefix.m4 \
54 $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \
55 $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
56 $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/m4/nls.m4 \
57 $(top_srcdir)/m4/po.m4 $(top_srcdir)/m4/progtest.m4 \
58 $(top_srcdir)/acinclude.m4 $(top_srcdir)/configure.ac
59am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
60 $(ACLOCAL_M4)
61am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
62 configure.lineno config.status.lineno
63mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
64CONFIG_HEADER = config.h
65CONFIG_CLEAN_FILES = launchpad-integration.pc \
66 launchpad-integration-3.0.pc launchpad-integration-sharp.pc \
67 lpint-bonobo.pc launchpad-integration
68CONFIG_CLEAN_VPATH_FILES =
69am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
70am__vpath_adj = case $$p in \
71 $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
72 *) f=$$p;; \
73 esac;
74am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
75am__install_max = 40
76am__nobase_strip_setup = \
77 srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
78am__nobase_strip = \
79 for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
80am__nobase_list = $(am__nobase_strip_setup); \
81 for p in $$list; do echo "$$p $$p"; done | \
82 sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
83 $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
84 if (++n[$$2] == $(am__install_max)) \
85 { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
86 END { for (dir in files) print dir, files[dir] }'
87am__base_list = \
88 sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
89 sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
90am__installdirs = "$(DESTDIR)$(bindir)" "$(DESTDIR)$(pkgdatadir)" \
91 "$(DESTDIR)$(configdir)" "$(DESTDIR)$(pkgconfigdir)"
92SCRIPTS = $(bin_SCRIPTS)
93SOURCES =
94DIST_SOURCES =
95RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
96 html-recursive info-recursive install-data-recursive \
97 install-dvi-recursive install-exec-recursive \
98 install-html-recursive install-info-recursive \
99 install-pdf-recursive install-ps-recursive install-recursive \
100 installcheck-recursive installdirs-recursive pdf-recursive \
101 ps-recursive uninstall-recursive
102py_compile = $(top_srcdir)/py-compile
103DATA = $(config_DATA) $(pkgconfig_DATA)
104RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
105 distclean-recursive maintainer-clean-recursive
106AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
107 $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \
108 distdir dist dist-all distcheck
109ETAGS = etags
110CTAGS = ctags
111DIST_SUBDIRS = $(SUBDIRS)
112DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
113distdir = $(PACKAGE)-$(VERSION)
114top_distdir = $(distdir)
115am__remove_distdir = \
116 { test ! -d "$(distdir)" \
117 || { find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \
118 && rm -fr "$(distdir)"; }; }
119am__relativize = \
120 dir0=`pwd`; \
121 sed_first='s,^\([^/]*\)/.*$$,\1,'; \
122 sed_rest='s,^[^/]*/*,,'; \
123 sed_last='s,^.*/\([^/]*\)$$,\1,'; \
124 sed_butlast='s,/*[^/]*$$,,'; \
125 while test -n "$$dir1"; do \
126 first=`echo "$$dir1" | sed -e "$$sed_first"`; \
127 if test "$$first" != "."; then \
128 if test "$$first" = ".."; then \
129 dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
130 dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
131 else \
132 first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
133 if test "$$first2" = "$$first"; then \
134 dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
135 else \
136 dir2="../$$dir2"; \
137 fi; \
138 dir0="$$dir0"/"$$first"; \
139 fi; \
140 fi; \
141 dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
142 done; \
143 reldir="$$dir2"
144DIST_ARCHIVES = $(distdir).tar.gz
145GZIP_ENV = --best
146distuninstallcheck_listfiles = find . -type f -print
147distcleancheck_listfiles = find . -type f -print
148ACLOCAL = @ACLOCAL@
149ACLOCAL_AMFLAGS = @ACLOCAL_AMFLAGS@
150AL = @AL@
151AMTAR = @AMTAR@
152AR = @AR@
153AUTOCONF = @AUTOCONF@
154AUTOHEADER = @AUTOHEADER@
155AUTOMAKE = @AUTOMAKE@
156AWK = @AWK@
157BONOBO_CFLAGS = @BONOBO_CFLAGS@
158BONOBO_LIBS = @BONOBO_LIBS@
159CC = @CC@
160CCDEPMODE = @CCDEPMODE@
161CFLAGS = @CFLAGS@
162CPP = @CPP@
163CPPFLAGS = @CPPFLAGS@
164CSC = @CSC@
165CYGPATH_W = @CYGPATH_W@
166DEFS = @DEFS@
167DEPDIR = @DEPDIR@
168DSYMUTIL = @DSYMUTIL@
169DUMPBIN = @DUMPBIN@
170ECHO_C = @ECHO_C@
171ECHO_N = @ECHO_N@
172ECHO_T = @ECHO_T@
173EGREP = @EGREP@
174EXEEXT = @EXEEXT@
175FGREP = @FGREP@
176GACUTIL = @GACUTIL@
177GMSGFMT = @GMSGFMT@
178GREP = @GREP@
179GTK_CFLAGS = @GTK_CFLAGS@
180GTK_LIBS = @GTK_LIBS@
181GTK_SHARP_CFLAGS = @GTK_SHARP_CFLAGS@
182GTK_SHARP_LIBS = @GTK_SHARP_LIBS@
183INSTALL = @INSTALL@
184INSTALL_DATA = @INSTALL_DATA@
185INSTALL_PROGRAM = @INSTALL_PROGRAM@
186INSTALL_SCRIPT = @INSTALL_SCRIPT@
187INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
188INTLLIBS = @INTLLIBS@
189INTROSPECTION_CFLAGS = @INTROSPECTION_CFLAGS@
190INTROSPECTION_COMPILER = @INTROSPECTION_COMPILER@
191INTROSPECTION_GENERATE = @INTROSPECTION_GENERATE@
192INTROSPECTION_GIRDIR = @INTROSPECTION_GIRDIR@
193INTROSPECTION_LIBS = @INTROSPECTION_LIBS@
194INTROSPECTION_MAKEFILE = @INTROSPECTION_MAKEFILE@
195INTROSPECTION_SCANNER = @INTROSPECTION_SCANNER@
196INTROSPECTION_TYPELIBDIR = @INTROSPECTION_TYPELIBDIR@
197LD = @LD@
198LDFLAGS = @LDFLAGS@
199LIBICONV = @LIBICONV@
200LIBINTL = @LIBINTL@
201LIBOBJS = @LIBOBJS@
202LIBS = @LIBS@
203LIBTOOL = @LIBTOOL@
204LIPO = @LIPO@
205LN_S = @LN_S@
206LTLIBICONV = @LTLIBICONV@
207LTLIBINTL = @LTLIBINTL@
208LTLIBOBJS = @LTLIBOBJS@
209MAINT = @MAINT@
210MAKEINFO = @MAKEINFO@
211MKDIR_P = @MKDIR_P@
212MKINSTALLDIRS = @MKINSTALLDIRS@
213MONO_DEPENDENCY_CFLAGS = @MONO_DEPENDENCY_CFLAGS@
214MONO_DEPENDENCY_LIBS = @MONO_DEPENDENCY_LIBS@
215MSGFMT = @MSGFMT@
216MSGMERGE = @MSGMERGE@
217NM = @NM@
218NMEDIT = @NMEDIT@
219OBJDUMP = @OBJDUMP@
220OBJEXT = @OBJEXT@
221OTOOL = @OTOOL@
222OTOOL64 = @OTOOL64@
223PACKAGE = @PACKAGE@
224PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
225PACKAGE_NAME = @PACKAGE_NAME@
226PACKAGE_STRING = @PACKAGE_STRING@
227PACKAGE_TARNAME = @PACKAGE_TARNAME@
228PACKAGE_URL = @PACKAGE_URL@
229PACKAGE_VERSION = @PACKAGE_VERSION@
230PATH_SEPARATOR = @PATH_SEPARATOR@
231PKG_CONFIG = @PKG_CONFIG@
232PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
233PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
234POSUB = @POSUB@
235PYGTK_CFLAGS = @PYGTK_CFLAGS@
236PYGTK_CODEGEN = @PYGTK_CODEGEN@
237PYGTK_DEFSDIR = @PYGTK_DEFSDIR@
238PYGTK_LIBS = @PYGTK_LIBS@
239PYTHON = @PYTHON@
240PYTHON_EXEC_PREFIX = @PYTHON_EXEC_PREFIX@
241PYTHON_INCLUDES = @PYTHON_INCLUDES@
242PYTHON_PLATFORM = @PYTHON_PLATFORM@
243PYTHON_PREFIX = @PYTHON_PREFIX@
244PYTHON_VERSION = @PYTHON_VERSION@
245RANLIB = @RANLIB@
246SED = @SED@
247SET_MAKE = @SET_MAKE@
248SHELL = @SHELL@
249STRIP = @STRIP@
250USE_NLS = @USE_NLS@
251VERSION = @VERSION@
252XGETTEXT = @XGETTEXT@
253abs_builddir = @abs_builddir@
254abs_srcdir = @abs_srcdir@
255abs_top_builddir = @abs_top_builddir@
256abs_top_srcdir = @abs_top_srcdir@
257ac_ct_CC = @ac_ct_CC@
258ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
259am__include = @am__include@
260am__leading_dot = @am__leading_dot@
261am__quote = @am__quote@
262am__tar = @am__tar@
263am__untar = @am__untar@
264bindir = @bindir@
265build = @build@
266build_alias = @build_alias@
267build_cpu = @build_cpu@
268build_os = @build_os@
269build_vendor = @build_vendor@
270builddir = @builddir@
271datadir = @datadir@
272datarootdir = @datarootdir@
273docdir = @docdir@
274dvidir = @dvidir@
275exec_prefix = @exec_prefix@
276host = @host@
277host_alias = @host_alias@
278host_cpu = @host_cpu@
279host_os = @host_os@
280host_vendor = @host_vendor@
281htmldir = @htmldir@
282includedir = @includedir@
283infodir = @infodir@
284install_sh = @install_sh@
285libdir = @libdir@
286libexecdir = @libexecdir@
287localedir = @localedir@
288localstatedir = @localstatedir@
289lt_ECHO = @lt_ECHO@
290mandir = @mandir@
291mkdir_p = @mkdir_p@
292oldincludedir = @oldincludedir@
293pdfdir = @pdfdir@
294pkgpyexecdir = @pkgpyexecdir@
295pkgpythondir = @pkgpythondir@
296prefix = @prefix@
297program_transform_name = @program_transform_name@
298psdir = @psdir@
299pyexecdir = @pyexecdir@
300pythondir = @pythondir@
301sbindir = @sbindir@
302sharedstatedir = @sharedstatedir@
303srcdir = @srcdir@
304sysconfdir = @sysconfdir@
305target_alias = @target_alias@
306top_build_prefix = @top_build_prefix@
307top_builddir = @top_builddir@
308top_srcdir = @top_srcdir@
309SUBDIRS = lib po pixmaps
310bin_SCRIPTS = launchpad-integration
311pkgconfigdir = $(libdir)/pkgconfig
312@USE_GTK3_FALSE@pkgconfig_DATA = launchpad-integration.pc launchpad-integration-sharp.pc lpint-bonobo.pc
313@USE_GTK3_TRUE@pkgconfig_DATA = launchpad-integration-3.0.pc
314@USE_GTK3_FALSE@configdir = $(libdir)/cli/launchpad-integration-sharp-1
315@USE_GTK3_FALSE@config_DATA = launchpad-integration-sharp.dll.config
316nobase_pkgdata_PYTHON = \
317 launchpadintegration/__init__.py \
318 launchpadintegration/main.py \
319 launchpadintegration/packageinfo.py \
320 launchpadintegration/urls.py
321
322EXTRA_DIST = \
323 launchpad-integration-sharp.dll.config \
324 launchpad-integration.in \
325 launchpad-integration.pc.in \
326 launchpad-integration-3.0.pc.in \
327 launchpad-integration-sharp.pc.in \
328 lpint-bonobo.pc.in
329
330all: config.h
331 $(MAKE) $(AM_MAKEFLAGS) all-recursive
332
333.SUFFIXES:
334am--refresh:
335 @:
336$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps)
337 @for dep in $?; do \
338 case '$(am__configure_deps)' in \
339 *$$dep*) \
340 echo ' cd $(srcdir) && $(AUTOMAKE) --gnu'; \
341 $(am__cd) $(srcdir) && $(AUTOMAKE) --gnu \
342 && exit 0; \
343 exit 1;; \
344 esac; \
345 done; \
346 echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile'; \
347 $(am__cd) $(top_srcdir) && \
348 $(AUTOMAKE) --gnu Makefile
349.PRECIOUS: Makefile
350Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
351 @case '$?' in \
352 *config.status*) \
353 echo ' $(SHELL) ./config.status'; \
354 $(SHELL) ./config.status;; \
355 *) \
356 echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
357 cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
358 esac;
359
360$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
361 $(SHELL) ./config.status --recheck
362
363$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
364 $(am__cd) $(srcdir) && $(AUTOCONF)
365$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
366 $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
367$(am__aclocal_m4_deps):
368
369config.h: stamp-h1
370 @if test ! -f $@; then \
371 rm -f stamp-h1; \
372 $(MAKE) $(AM_MAKEFLAGS) stamp-h1; \
373 else :; fi
374
375stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status
376 @rm -f stamp-h1
377 cd $(top_builddir) && $(SHELL) ./config.status config.h
378$(srcdir)/config.h.in: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
379 ($(am__cd) $(top_srcdir) && $(AUTOHEADER))
380 rm -f stamp-h1
381 touch $@
382
383distclean-hdr:
384 -rm -f config.h stamp-h1
385launchpad-integration.pc: $(top_builddir)/config.status $(srcdir)/launchpad-integration.pc.in
386 cd $(top_builddir) && $(SHELL) ./config.status $@
387launchpad-integration-3.0.pc: $(top_builddir)/config.status $(srcdir)/launchpad-integration-3.0.pc.in
388 cd $(top_builddir) && $(SHELL) ./config.status $@
389launchpad-integration-sharp.pc: $(top_builddir)/config.status $(srcdir)/launchpad-integration-sharp.pc.in
390 cd $(top_builddir) && $(SHELL) ./config.status $@
391lpint-bonobo.pc: $(top_builddir)/config.status $(srcdir)/lpint-bonobo.pc.in
392 cd $(top_builddir) && $(SHELL) ./config.status $@
393launchpad-integration: $(top_builddir)/config.status $(srcdir)/launchpad-integration.in
394 cd $(top_builddir) && $(SHELL) ./config.status $@
395install-binSCRIPTS: $(bin_SCRIPTS)
396 @$(NORMAL_INSTALL)
397 test -z "$(bindir)" || $(MKDIR_P) "$(DESTDIR)$(bindir)"
398 @list='$(bin_SCRIPTS)'; test -n "$(bindir)" || list=; \
399 for p in $$list; do \
400 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
401 if test -f "$$d$$p"; then echo "$$d$$p"; echo "$$p"; else :; fi; \
402 done | \
403 sed -e 'p;s,.*/,,;n' \
404 -e 'h;s|.*|.|' \
405 -e 'p;x;s,.*/,,;$(transform)' | sed 'N;N;N;s,\n, ,g' | \
406 $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1; } \
407 { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
408 if ($$2 == $$4) { files[d] = files[d] " " $$1; \
409 if (++n[d] == $(am__install_max)) { \
410 print "f", d, files[d]; n[d] = 0; files[d] = "" } } \
411 else { print "f", d "/" $$4, $$1 } } \
412 END { for (d in files) print "f", d, files[d] }' | \
413 while read type dir files; do \
414 if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
415 test -z "$$files" || { \
416 echo " $(INSTALL_SCRIPT) $$files '$(DESTDIR)$(bindir)$$dir'"; \
417 $(INSTALL_SCRIPT) $$files "$(DESTDIR)$(bindir)$$dir" || exit $$?; \
418 } \
419 ; done
420
421uninstall-binSCRIPTS:
422 @$(NORMAL_UNINSTALL)
423 @list='$(bin_SCRIPTS)'; test -n "$(bindir)" || exit 0; \
424 files=`for p in $$list; do echo "$$p"; done | \
425 sed -e 's,.*/,,;$(transform)'`; \
426 test -n "$$list" || exit 0; \
427 echo " ( cd '$(DESTDIR)$(bindir)' && rm -f" $$files ")"; \
428 cd "$(DESTDIR)$(bindir)" && rm -f $$files
429
430mostlyclean-libtool:
431 -rm -f *.lo
432
433clean-libtool:
434 -rm -rf .libs _libs
435
436distclean-libtool:
437 -rm -f libtool config.lt
438install-nobase_pkgdataPYTHON: $(nobase_pkgdata_PYTHON)
439 @$(NORMAL_INSTALL)
440 test -z "$(pkgdatadir)" || $(MKDIR_P) "$(DESTDIR)$(pkgdatadir)"
441 @list='$(nobase_pkgdata_PYTHON)'; test -n "$(pkgdatadir)" || list=; \
442 $(am__nobase_list) | while read dir files; do \
443 xfiles=; for p in $$files; do \
444 if test -f "$$p"; then b=; else b="$(srcdir)/"; fi; \
445 if test -f "$$b$$p"; then xfiles="$$xfiles $$b$$p"; dlist="$$dlist $$p"; \
446 else :; fi; done; \
447 test -z "$$xfiles" || { \
448 test "x$$dir" = x. || { \
449 echo "$(MKDIR_P) '$(DESTDIR)$(pkgdatadir)/$$dir'"; \
450 $(MKDIR_P) "$(DESTDIR)$(pkgdatadir)/$$dir"; }; \
451 echo " $(INSTALL_DATA) $$xfiles '$(DESTDIR)$(pkgdatadir)/$$dir'"; \
452 $(INSTALL_DATA) $$xfiles "$(DESTDIR)$(pkgdatadir)/$$dir" || exit $$?; }; \
453 if test -n "$$dlist"; then \
454 if test -z "$(DESTDIR)"; then \
455 PYTHON=$(PYTHON) $(py_compile) --basedir "$(pkgdatadir)" $$dlist; \
456 else \
457 PYTHON=$(PYTHON) $(py_compile) --destdir "$(DESTDIR)" --basedir "$(pkgdatadir)" $$dlist; \
458 fi; \
459 else :; fi \
460 done
461
462uninstall-nobase_pkgdataPYTHON:
463 @$(NORMAL_UNINSTALL)
464 @list='$(nobase_pkgdata_PYTHON)'; test -n "$(pkgdatadir)" || list=; \
465 $(am__nobase_strip_setup); files=`$(am__nobase_strip)`; \
466 test -n "$$files" || exit 0; \
467 filesc=`echo "$$files" | sed 's|$$|c|'`; \
468 fileso=`echo "$$files" | sed 's|$$|o|'`; \
469 echo " ( cd '$(DESTDIR)$(pkgdatadir)' && rm -f" $$files ")"; \
470 cd "$(DESTDIR)$(pkgdatadir)" && rm -f $$files || exit $$?; \
471 echo " ( cd '$(DESTDIR)$(pkgdatadir)' && rm -f" $$filesc ")"; \
472 cd "$(DESTDIR)$(pkgdatadir)" && rm -f $$filesc || exit $$?; \
473 echo " ( cd '$(DESTDIR)$(pkgdatadir)' && rm -f" $$fileso ")"; \
474 cd "$(DESTDIR)$(pkgdatadir)" && rm -f $$fileso
475install-configDATA: $(config_DATA)
476 @$(NORMAL_INSTALL)
477 test -z "$(configdir)" || $(MKDIR_P) "$(DESTDIR)$(configdir)"
478 @list='$(config_DATA)'; test -n "$(configdir)" || list=; \
479 for p in $$list; do \
480 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
481 echo "$$d$$p"; \
482 done | $(am__base_list) | \
483 while read files; do \
484 echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(configdir)'"; \
485 $(INSTALL_DATA) $$files "$(DESTDIR)$(configdir)" || exit $$?; \
486 done
487
488uninstall-configDATA:
489 @$(NORMAL_UNINSTALL)
490 @list='$(config_DATA)'; test -n "$(configdir)" || list=; \
491 files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
492 test -n "$$files" || exit 0; \
493 echo " ( cd '$(DESTDIR)$(configdir)' && rm -f" $$files ")"; \
494 cd "$(DESTDIR)$(configdir)" && rm -f $$files
495install-pkgconfigDATA: $(pkgconfig_DATA)
496 @$(NORMAL_INSTALL)
497 test -z "$(pkgconfigdir)" || $(MKDIR_P) "$(DESTDIR)$(pkgconfigdir)"
498 @list='$(pkgconfig_DATA)'; test -n "$(pkgconfigdir)" || list=; \
499 for p in $$list; do \
500 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
501 echo "$$d$$p"; \
502 done | $(am__base_list) | \
503 while read files; do \
504 echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(pkgconfigdir)'"; \
505 $(INSTALL_DATA) $$files "$(DESTDIR)$(pkgconfigdir)" || exit $$?; \
506 done
507
508uninstall-pkgconfigDATA:
509 @$(NORMAL_UNINSTALL)
510 @list='$(pkgconfig_DATA)'; test -n "$(pkgconfigdir)" || list=; \
511 files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
512 test -n "$$files" || exit 0; \
513 echo " ( cd '$(DESTDIR)$(pkgconfigdir)' && rm -f" $$files ")"; \
514 cd "$(DESTDIR)$(pkgconfigdir)" && rm -f $$files
515
516# This directory's subdirectories are mostly independent; you can cd
517# into them and run `make' without going through this Makefile.
518# To change the values of `make' variables: instead of editing Makefiles,
519# (1) if the variable is set in `config.status', edit `config.status'
520# (which will cause the Makefiles to be regenerated when you run `make');
521# (2) otherwise, pass the desired values on the `make' command line.
522$(RECURSIVE_TARGETS):
523 @fail= failcom='exit 1'; \
524 for f in x $$MAKEFLAGS; do \
525 case $$f in \
526 *=* | --[!k]*);; \
527 *k*) failcom='fail=yes';; \
528 esac; \
529 done; \
530 dot_seen=no; \
531 target=`echo $@ | sed s/-recursive//`; \
532 list='$(SUBDIRS)'; for subdir in $$list; do \
533 echo "Making $$target in $$subdir"; \
534 if test "$$subdir" = "."; then \
535 dot_seen=yes; \
536 local_target="$$target-am"; \
537 else \
538 local_target="$$target"; \
539 fi; \
540 ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
541 || eval $$failcom; \
542 done; \
543 if test "$$dot_seen" = "no"; then \
544 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
545 fi; test -z "$$fail"
546
547$(RECURSIVE_CLEAN_TARGETS):
548 @fail= failcom='exit 1'; \
549 for f in x $$MAKEFLAGS; do \
550 case $$f in \
551 *=* | --[!k]*);; \
552 *k*) failcom='fail=yes';; \
553 esac; \
554 done; \
555 dot_seen=no; \
556 case "$@" in \
557 distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
558 *) list='$(SUBDIRS)' ;; \
559 esac; \
560 rev=''; for subdir in $$list; do \
561 if test "$$subdir" = "."; then :; else \
562 rev="$$subdir $$rev"; \
563 fi; \
564 done; \
565 rev="$$rev ."; \
566 target=`echo $@ | sed s/-recursive//`; \
567 for subdir in $$rev; do \
568 echo "Making $$target in $$subdir"; \
569 if test "$$subdir" = "."; then \
570 local_target="$$target-am"; \
571 else \
572 local_target="$$target"; \
573 fi; \
574 ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
575 || eval $$failcom; \
576 done && test -z "$$fail"
577tags-recursive:
578 list='$(SUBDIRS)'; for subdir in $$list; do \
579 test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
580 done
581ctags-recursive:
582 list='$(SUBDIRS)'; for subdir in $$list; do \
583 test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
584 done
585
586ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
587 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
588 unique=`for i in $$list; do \
589 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
590 done | \
591 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
592 END { if (nonempty) { for (i in files) print i; }; }'`; \
593 mkid -fID $$unique
594tags: TAGS
595
596TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
597 $(TAGS_FILES) $(LISP)
598 set x; \
599 here=`pwd`; \
600 if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
601 include_option=--etags-include; \
602 empty_fix=.; \
603 else \
604 include_option=--include; \
605 empty_fix=; \
606 fi; \
607 list='$(SUBDIRS)'; for subdir in $$list; do \
608 if test "$$subdir" = .; then :; else \
609 test ! -f $$subdir/TAGS || \
610 set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
611 fi; \
612 done; \
613 list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
614 unique=`for i in $$list; do \
615 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
616 done | \
617 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
618 END { if (nonempty) { for (i in files) print i; }; }'`; \
619 shift; \
620 if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
621 test -n "$$unique" || unique=$$empty_fix; \
622 if test $$# -gt 0; then \
623 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
624 "$$@" $$unique; \
625 else \
626 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
627 $$unique; \
628 fi; \
629 fi
630ctags: CTAGS
631CTAGS: ctags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
632 $(TAGS_FILES) $(LISP)
633 list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
634 unique=`for i in $$list; do \
635 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
636 done | \
637 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
638 END { if (nonempty) { for (i in files) print i; }; }'`; \
639 test -z "$(CTAGS_ARGS)$$unique" \
640 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
641 $$unique
642
643GTAGS:
644 here=`$(am__cd) $(top_builddir) && pwd` \
645 && $(am__cd) $(top_srcdir) \
646 && gtags -i $(GTAGS_ARGS) "$$here"
647
648distclean-tags:
649 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
650
651distdir: $(DISTFILES)
652 $(am__remove_distdir)
653 test -d "$(distdir)" || mkdir "$(distdir)"
654 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
655 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
656 list='$(DISTFILES)'; \
657 dist_files=`for file in $$list; do echo $$file; done | \
658 sed -e "s|^$$srcdirstrip/||;t" \
659 -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
660 case $$dist_files in \
661 */*) $(MKDIR_P) `echo "$$dist_files" | \
662 sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
663 sort -u` ;; \
664 esac; \
665 for file in $$dist_files; do \
666 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
667 if test -d $$d/$$file; then \
668 dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
669 if test -d "$(distdir)/$$file"; then \
670 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
671 fi; \
672 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
673 cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
674 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
675 fi; \
676 cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
677 else \
678 test -f "$(distdir)/$$file" \
679 || cp -p $$d/$$file "$(distdir)/$$file" \
680 || exit 1; \
681 fi; \
682 done
683 @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
684 if test "$$subdir" = .; then :; else \
685 test -d "$(distdir)/$$subdir" \
686 || $(MKDIR_P) "$(distdir)/$$subdir" \
687 || exit 1; \
688 fi; \
689 done
690 @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
691 if test "$$subdir" = .; then :; else \
692 dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
693 $(am__relativize); \
694 new_distdir=$$reldir; \
695 dir1=$$subdir; dir2="$(top_distdir)"; \
696 $(am__relativize); \
697 new_top_distdir=$$reldir; \
698 echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
699 echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
700 ($(am__cd) $$subdir && \
701 $(MAKE) $(AM_MAKEFLAGS) \
702 top_distdir="$$new_top_distdir" \
703 distdir="$$new_distdir" \
704 am__remove_distdir=: \
705 am__skip_length_check=: \
706 am__skip_mode_fix=: \
707 distdir) \
708 || exit 1; \
709 fi; \
710 done
711 -test -n "$(am__skip_mode_fix)" \
712 || find "$(distdir)" -type d ! -perm -755 \
713 -exec chmod u+rwx,go+rx {} \; -o \
714 ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
715 ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
716 ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
717 || chmod -R a+r "$(distdir)"
718dist-gzip: distdir
719 tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
720 $(am__remove_distdir)
721
722dist-bzip2: distdir
723 tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2
724 $(am__remove_distdir)
725
726dist-lzma: distdir
727 tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma
728 $(am__remove_distdir)
729
730dist-xz: distdir
731 tardir=$(distdir) && $(am__tar) | xz -c >$(distdir).tar.xz
732 $(am__remove_distdir)
733
734dist-tarZ: distdir
735 tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
736 $(am__remove_distdir)
737
738dist-shar: distdir
739 shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
740 $(am__remove_distdir)
741
742dist-zip: distdir
743 -rm -f $(distdir).zip
744 zip -rq $(distdir).zip $(distdir)
745 $(am__remove_distdir)
746
747dist dist-all: distdir
748 tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
749 $(am__remove_distdir)
750
751# This target untars the dist file and tries a VPATH configuration. Then
752# it guarantees that the distribution is self-contained by making another
753# tarfile.
754distcheck: dist
755 case '$(DIST_ARCHIVES)' in \
756 *.tar.gz*) \
757 GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\
758 *.tar.bz2*) \
759 bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
760 *.tar.lzma*) \
761 lzma -dc $(distdir).tar.lzma | $(am__untar) ;;\
762 *.tar.xz*) \
763 xz -dc $(distdir).tar.xz | $(am__untar) ;;\
764 *.tar.Z*) \
765 uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
766 *.shar.gz*) \
767 GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\
768 *.zip*) \
769 unzip $(distdir).zip ;;\
770 esac
771 chmod -R a-w $(distdir); chmod a+w $(distdir)
772 mkdir $(distdir)/_build
773 mkdir $(distdir)/_inst
774 chmod a-w $(distdir)
775 test -d $(distdir)/_build || exit 0; \
776 dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
777 && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
778 && am__cwd=`pwd` \
779 && $(am__cd) $(distdir)/_build \
780 && ../configure --srcdir=.. --prefix="$$dc_install_base" \
781 $(DISTCHECK_CONFIGURE_FLAGS) \
782 && $(MAKE) $(AM_MAKEFLAGS) \
783 && $(MAKE) $(AM_MAKEFLAGS) dvi \
784 && $(MAKE) $(AM_MAKEFLAGS) check \
785 && $(MAKE) $(AM_MAKEFLAGS) install \
786 && $(MAKE) $(AM_MAKEFLAGS) installcheck \
787 && $(MAKE) $(AM_MAKEFLAGS) uninstall \
788 && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
789 distuninstallcheck \
790 && chmod -R a-w "$$dc_install_base" \
791 && ({ \
792 (cd ../.. && umask 077 && mkdir "$$dc_destdir") \
793 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
794 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
795 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
796 distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
797 } || { rm -rf "$$dc_destdir"; exit 1; }) \
798 && rm -rf "$$dc_destdir" \
799 && $(MAKE) $(AM_MAKEFLAGS) dist \
800 && rm -rf $(DIST_ARCHIVES) \
801 && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \
802 && cd "$$am__cwd" \
803 || exit 1
804 $(am__remove_distdir)
805 @(echo "$(distdir) archives ready for distribution: "; \
806 list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
807 sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
808distuninstallcheck:
809 @$(am__cd) '$(distuninstallcheck_dir)' \
810 && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \
811 || { echo "ERROR: files left after uninstall:" ; \
812 if test -n "$(DESTDIR)"; then \
813 echo " (check DESTDIR support)"; \
814 fi ; \
815 $(distuninstallcheck_listfiles) ; \
816 exit 1; } >&2
817distcleancheck: distclean
818 @if test '$(srcdir)' = . ; then \
819 echo "ERROR: distcleancheck can only run from a VPATH build" ; \
820 exit 1 ; \
821 fi
822 @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
823 || { echo "ERROR: files left in build directory after distclean:" ; \
824 $(distcleancheck_listfiles) ; \
825 exit 1; } >&2
826check-am: all-am
827check: check-recursive
828all-am: Makefile $(SCRIPTS) $(DATA) config.h
829installdirs: installdirs-recursive
830installdirs-am:
831 for dir in "$(DESTDIR)$(bindir)" "$(DESTDIR)$(pkgdatadir)" "$(DESTDIR)$(configdir)" "$(DESTDIR)$(pkgconfigdir)"; do \
832 test -z "$$dir" || $(MKDIR_P) "$$dir"; \
833 done
834install: install-recursive
835install-exec: install-exec-recursive
836install-data: install-data-recursive
837uninstall: uninstall-recursive
838
839install-am: all-am
840 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
841
842installcheck: installcheck-recursive
843install-strip:
844 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
845 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
846 `test -z '$(STRIP)' || \
847 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
848mostlyclean-generic:
849
850clean-generic:
851
852distclean-generic:
853 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
854 -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
855
856maintainer-clean-generic:
857 @echo "This command is intended for maintainers to use"
858 @echo "it deletes files that may require special tools to rebuild."
859clean: clean-recursive
860
861clean-am: clean-generic clean-libtool mostlyclean-am
862
863distclean: distclean-recursive
864 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
865 -rm -f Makefile
866distclean-am: clean-am distclean-generic distclean-hdr \
867 distclean-libtool distclean-tags
868
869dvi: dvi-recursive
870
871dvi-am:
872
873html: html-recursive
874
875html-am:
876
877info: info-recursive
878
879info-am:
880
881install-data-am: install-configDATA install-nobase_pkgdataPYTHON \
882 install-pkgconfigDATA
883
884install-dvi: install-dvi-recursive
885
886install-dvi-am:
887
888install-exec-am: install-binSCRIPTS
889
890install-html: install-html-recursive
891
892install-html-am:
893
894install-info: install-info-recursive
895
896install-info-am:
897
898install-man:
899
900install-pdf: install-pdf-recursive
901
902install-pdf-am:
903
904install-ps: install-ps-recursive
905
906install-ps-am:
907
908installcheck-am:
909
910maintainer-clean: maintainer-clean-recursive
911 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
912 -rm -rf $(top_srcdir)/autom4te.cache
913 -rm -f Makefile
914maintainer-clean-am: distclean-am maintainer-clean-generic
915
916mostlyclean: mostlyclean-recursive
917
918mostlyclean-am: mostlyclean-generic mostlyclean-libtool
919
920pdf: pdf-recursive
921
922pdf-am:
923
924ps: ps-recursive
925
926ps-am:
927
928uninstall-am: uninstall-binSCRIPTS uninstall-configDATA \
929 uninstall-nobase_pkgdataPYTHON uninstall-pkgconfigDATA
930
931.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) all \
932 ctags-recursive install-am install-strip tags-recursive
933
934.PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
935 all all-am am--refresh check check-am clean clean-generic \
936 clean-libtool ctags ctags-recursive dist dist-all dist-bzip2 \
937 dist-gzip dist-lzma dist-shar dist-tarZ dist-xz dist-zip \
938 distcheck distclean distclean-generic distclean-hdr \
939 distclean-libtool distclean-tags distcleancheck distdir \
940 distuninstallcheck dvi dvi-am html html-am info info-am \
941 install install-am install-binSCRIPTS install-configDATA \
942 install-data install-data-am install-dvi install-dvi-am \
943 install-exec install-exec-am install-html install-html-am \
944 install-info install-info-am install-man \
945 install-nobase_pkgdataPYTHON install-pdf install-pdf-am \
946 install-pkgconfigDATA install-ps install-ps-am install-strip \
947 installcheck installcheck-am installdirs installdirs-am \
948 maintainer-clean maintainer-clean-generic mostlyclean \
949 mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
950 tags tags-recursive uninstall uninstall-am \
951 uninstall-binSCRIPTS uninstall-configDATA \
952 uninstall-nobase_pkgdataPYTHON uninstall-pkgconfigDATA
953
954
955# Tell versions [3.59,3.63) of GNU make to not export all variables.
956# Otherwise a system limit (for SysV at least) may be exceeded.
957.NOEXPORT:
0958
=== added file 'NEWS'
=== renamed file 'NEWS' => 'NEWS.moved'
=== added file 'README'
=== renamed file 'README' => 'README.moved'
=== added file 'URLS'
--- URLS 1970-01-01 00:00:00 +0000
+++ URLS 2011-01-24 18:52:52 +0000
@@ -0,0 +1,103 @@
1
2LaunchpadIntegration
3====================
4
5There are three operations we want to support are:
6 1. Display the Soyuz information page for the given package
7 2. Display the Rosetta translations page for the given package
8 3. Display a Malone bug entry form for the given package.
9
10We want to display these pages in the user's preferred web browser so
11that we don't need to worry about authentication, etc.
12
13Soyuz Information Page
14======================
15
16 http://launchpad.net/$distro/$release/+source/$sourcepackagename
17
18
19Rosetta Translations Page
20=========================
21
22 http://translations.launchpad.net/$distro/$release/+source/$sourcepackagename
23
24Do we send them to a page specific to the user's configured locale?
25
26
27Malone Bug Entry Form
28=====================
29
30This one is a bit different. We want to prefill the form with some
31information about the system, similar to how the debian reportbug
32script does. The information we can provide includes:
33 * source package name
34 * binary package name
35 * version
36 * architecture
37 * distro
38 * distro release
39 * architecture
40 * kernel/locale info
41 * versions of dependencies
42
43In Malone, this could be used to automatically add package
44infestations to bugs when they get created. The information would
45likely be dumped into the comments box as part of a template for the
46user to fill in.
47
48Given that we can only spawn a web browser with a URL, this quantity
49of information could easily exceed the URL length limit.
50
51The suggestion on IRC was to have a system where we post some
52information to the server before hand, getting back a token in return.
53This token is then used to construct the URL to send the user to (the
54token could actually be the URL). The creation of such tokens would
55need to be possible without authentication, and they should expire
56after some interval.
57
58This process might go something like this:
59
60 POST /special-bug-submission-url HTTP/1.1
61 Content-Type: application/xml
62 Content-Length: ...
63
64 <bugdata>
65 <distro>Ubuntu</distro>
66 <distrorelease>hoary</distrorelease>
67 <distroarch>amd64</distroarch>
68 <binarypackagename>mozilla-firefox</binarypackagename>
69 <sourcepackagename>mozilla-firefox</sourcepackagename>
70 <version>1.0.2-0ubuntu5.3</version>
71 <dependencies>
72 ...
73 </dependencies>
74 </bugdata>
75
76 HTTP/1.1 303 See Other
77 Location: https://launchpad.net/malone/bugs/+package?token=XXXXXXXX
78 ...
79
80We then open the resulting URL in the user's preferred browser.
81
82
83Gathering Information
84=====================
85
86The identify.py script demonstrates grabbing of the package specific
87information, using one of the following (in increasing order of
88reliability):
89 * an X window ID (or letting the user pick the window)
90 * a process ID
91 * a file owned by the package
92 * the package name
93
94Distro Name and Release can be found with lsb_release program:
95 $ lsb_release --id --codename --short
96 Ubuntu hoary
97
98Dpkg can tell us the distro arch:
99 $ dpkg --print-architecture
100 amd64
101
102Kernel version can be found with os.uname(). Locale info can be found
103from environment and locale.setlocale('').
0104
=== renamed file 'URLS' => 'URLS.moved'
=== added file 'acinclude.m4'
--- acinclude.m4 1970-01-01 00:00:00 +0000
+++ acinclude.m4 2011-01-24 18:52:52 +0000
@@ -0,0 +1,28 @@
1dnl a macro to check for ability to create python extensions
2dnl AM_CHECK_PYTHON_HEADERS([ACTION-IF-POSSIBLE], [ACTION-IF-NOT-POSSIBLE])
3dnl function also defines PYTHON_INCLUDES
4AC_DEFUN([AM_CHECK_PYTHON_HEADERS],
5[AC_REQUIRE([AM_PATH_PYTHON])
6AC_MSG_CHECKING(for headers required to compile python extensions)
7dnl deduce PYTHON_INCLUDES
8py_prefix=`$PYTHON -c "import sys; print sys.prefix"`
9py_exec_prefix=`$PYTHON -c "import sys; print sys.exec_prefix"`
10if test -x "$PYTHON-config"; then
11PYTHON_INCLUDES=`$PYTHON-config --includes 2>/dev/null`
12else
13PYTHON_INCLUDES="-I${py_prefix}/include/python${PYTHON_VERSION}"
14if test "$py_prefix" != "$py_exec_prefix"; then
15 PYTHON_INCLUDES="$PYTHON_INCLUDES -I${py_exec_prefix}/include/python${PYTHON_VERSION}"
16fi
17fi
18AC_SUBST(PYTHON_INCLUDES)
19dnl check if the headers exist:
20save_CPPFLAGS="$CPPFLAGS"
21CPPFLAGS="$CPPFLAGS $PYTHON_INCLUDES"
22AC_TRY_CPP([#include <Python.h>],dnl
23[AC_MSG_RESULT(found)
24$1],dnl
25[AC_MSG_RESULT(not found)
26$2])
27CPPFLAGS="$save_CPPFLAGS"
28])
029
=== renamed file 'acinclude.m4' => 'acinclude.m4.moved'
=== added file 'aclocal.m4'
--- aclocal.m4 1970-01-01 00:00:00 +0000
+++ aclocal.m4 2011-01-24 18:52:52 +0000
@@ -0,0 +1,1874 @@
1# generated automatically by aclocal 1.11.1 -*- Autoconf -*-
2
3# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
4# 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
5# This file is free software; the Free Software Foundation
6# gives unlimited permission to copy and/or distribute it,
7# with or without modifications, as long as this notice is preserved.
8
9# This program is distributed in the hope that it will be useful,
10# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
11# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
12# PARTICULAR PURPOSE.
13
14m4_ifndef([AC_AUTOCONF_VERSION],
15 [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
16m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.67],,
17[m4_warning([this file was generated for autoconf 2.67.
18You have another version of autoconf. It may work, but is not guaranteed to.
19If you have problems, you may need to regenerate the build system entirely.
20To do so, use the procedure documented by the package, typically `autoreconf'.])])
21
22# Configure paths for GTK+
23# Owen Taylor 1997-2001
24
25dnl AM_PATH_GTK_2_0([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND [, MODULES]]]])
26dnl Test for GTK+, and define GTK_CFLAGS and GTK_LIBS, if gthread is specified in MODULES,
27dnl pass to pkg-config
28dnl
29AC_DEFUN([AM_PATH_GTK_2_0],
30[dnl
31dnl Get the cflags and libraries from pkg-config
32dnl
33AC_ARG_ENABLE(gtktest, [ --disable-gtktest do not try to compile and run a test GTK+ program],
34 , enable_gtktest=yes)
35
36 pkg_config_args=gtk+-2.0
37 for module in . $4
38 do
39 case "$module" in
40 gthread)
41 pkg_config_args="$pkg_config_args gthread-2.0"
42 ;;
43 esac
44 done
45
46 no_gtk=""
47
48 AC_PATH_PROG(PKG_CONFIG, pkg-config, no)
49
50 if test x$PKG_CONFIG != xno ; then
51 if pkg-config --atleast-pkgconfig-version 0.7 ; then
52 :
53 else
54 echo "*** pkg-config too old; version 0.7 or better required."
55 no_gtk=yes
56 PKG_CONFIG=no
57 fi
58 else
59 no_gtk=yes
60 fi
61
62 min_gtk_version=ifelse([$1], ,2.0.0,$1)
63 AC_MSG_CHECKING(for GTK+ - version >= $min_gtk_version)
64
65 if test x$PKG_CONFIG != xno ; then
66 ## don't try to run the test against uninstalled libtool libs
67 if $PKG_CONFIG --uninstalled $pkg_config_args; then
68 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
69 enable_gtktest=no
70 fi
71
72 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
73 :
74 else
75 no_gtk=yes
76 fi
77 fi
78
79 if test x"$no_gtk" = x ; then
80 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
81 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
82 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
83 sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\1/'`
84 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
85 sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\2/'`
86 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
87 sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\3/'`
88 if test "x$enable_gtktest" = "xyes" ; then
89 ac_save_CFLAGS="$CFLAGS"
90 ac_save_LIBS="$LIBS"
91 CFLAGS="$CFLAGS $GTK_CFLAGS"
92 LIBS="$GTK_LIBS $LIBS"
93dnl
94dnl Now check if the installed GTK+ is sufficiently new. (Also sanity
95dnl checks the results of pkg-config to some extent)
96dnl
97 rm -f conf.gtktest
98 AC_TRY_RUN([
99#include <gtk/gtk.h>
100#include <stdio.h>
101#include <stdlib.h>
102
103int
104main ()
105{
106 int major, minor, micro;
107 char *tmp_version;
108
109 fclose (fopen ("conf.gtktest", "w"));
110
111 /* HP/UX 9 (%@#!) writes to sscanf strings */
112 tmp_version = g_strdup("$min_gtk_version");
113 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
114 printf("%s, bad version string\n", "$min_gtk_version");
115 exit(1);
116 }
117
118 if ((gtk_major_version != $gtk_config_major_version) ||
119 (gtk_minor_version != $gtk_config_minor_version) ||
120 (gtk_micro_version != $gtk_config_micro_version))
121 {
122 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
123 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
124 gtk_major_version, gtk_minor_version, gtk_micro_version);
125 printf ("*** was found! If pkg-config was correct, then it is best\n");
126 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
127 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
128 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
129 printf("*** required on your system.\n");
130 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
131 printf("*** to point to the correct configuration files\n");
132 }
133 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
134 (gtk_minor_version != GTK_MINOR_VERSION) ||
135 (gtk_micro_version != GTK_MICRO_VERSION))
136 {
137 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
138 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
139 printf("*** library (version %d.%d.%d)\n",
140 gtk_major_version, gtk_minor_version, gtk_micro_version);
141 }
142 else
143 {
144 if ((gtk_major_version > major) ||
145 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
146 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
147 {
148 return 0;
149 }
150 else
151 {
152 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
153 gtk_major_version, gtk_minor_version, gtk_micro_version);
154 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
155 major, minor, micro);
156 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
157 printf("***\n");
158 printf("*** If you have already installed a sufficiently new version, this error\n");
159 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
160 printf("*** being found. The easiest way to fix this is to remove the old version\n");
161 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
162 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
163 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
164 printf("*** so that the correct libraries are found at run-time))\n");
165 }
166 }
167 return 1;
168}
169],, no_gtk=yes,[echo $ac_n "cross compiling; assumed OK... $ac_c"])
170 CFLAGS="$ac_save_CFLAGS"
171 LIBS="$ac_save_LIBS"
172 fi
173 fi
174 if test "x$no_gtk" = x ; then
175 AC_MSG_RESULT(yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version))
176 ifelse([$2], , :, [$2])
177 else
178 AC_MSG_RESULT(no)
179 if test "$PKG_CONFIG" = "no" ; then
180 echo "*** A new enough version of pkg-config was not found."
181 echo "*** See http://pkgconfig.sourceforge.net"
182 else
183 if test -f conf.gtktest ; then
184 :
185 else
186 echo "*** Could not run GTK+ test program, checking why..."
187 ac_save_CFLAGS="$CFLAGS"
188 ac_save_LIBS="$LIBS"
189 CFLAGS="$CFLAGS $GTK_CFLAGS"
190 LIBS="$LIBS $GTK_LIBS"
191 AC_TRY_LINK([
192#include <gtk/gtk.h>
193#include <stdio.h>
194], [ return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version)); ],
195 [ echo "*** The test program compiled, but did not run. This usually means"
196 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
197 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
198 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
199 echo "*** to the installed location Also, make sure you have run ldconfig if that"
200 echo "*** is required on your system"
201 echo "***"
202 echo "*** If you have an old version installed, it is best to remove it, although"
203 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH" ],
204 [ echo "*** The test program failed to compile or link. See the file config.log for the"
205 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."])
206 CFLAGS="$ac_save_CFLAGS"
207 LIBS="$ac_save_LIBS"
208 fi
209 fi
210 GTK_CFLAGS=""
211 GTK_LIBS=""
212 ifelse([$3], , :, [$3])
213 fi
214 AC_SUBST(GTK_CFLAGS)
215 AC_SUBST(GTK_LIBS)
216 rm -f conf.gtktest
217])
218
219# Configure paths for GTK+
220# Owen Taylor 1997-2001
221
222dnl AM_PATH_GTK_3_0([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND [, MODULES]]]])
223dnl Test for GTK+, and define GTK_CFLAGS and GTK_LIBS, if gthread is specified in MODULES,
224dnl pass to pkg-config
225dnl
226AC_DEFUN([AM_PATH_GTK_3_0],
227[dnl
228dnl Get the cflags and libraries from pkg-config
229dnl
230AC_ARG_ENABLE(gtktest, [ --disable-gtktest do not try to compile and run a test GTK+ program],
231 , enable_gtktest=yes)
232
233 pkg_config_args=gtk+-3.0
234 for module in . $4
235 do
236 case "$module" in
237 gthread)
238 pkg_config_args="$pkg_config_args gthread-2.0"
239 ;;
240 esac
241 done
242
243 no_gtk=""
244
245 AC_PATH_PROG(PKG_CONFIG, pkg-config, no)
246
247 if test x$PKG_CONFIG != xno ; then
248 if pkg-config --atleast-pkgconfig-version 0.7 ; then
249 :
250 else
251 echo "*** pkg-config too old; version 0.7 or better required."
252 no_gtk=yes
253 PKG_CONFIG=no
254 fi
255 else
256 no_gtk=yes
257 fi
258
259 min_gtk_version=ifelse([$1], ,3.0.0,$1)
260 AC_MSG_CHECKING(for GTK+ - version >= $min_gtk_version)
261
262 if test x$PKG_CONFIG != xno ; then
263 ## don't try to run the test against uninstalled libtool libs
264 if $PKG_CONFIG --uninstalled $pkg_config_args; then
265 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
266 enable_gtktest=no
267 fi
268
269 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
270 :
271 else
272 no_gtk=yes
273 fi
274 fi
275
276 if test x"$no_gtk" = x ; then
277 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
278 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
279 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-3.0 | \
280 sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\1/'`
281 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-3.0 | \
282 sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\2/'`
283 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-3.0 | \
284 sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\3/'`
285 if test "x$enable_gtktest" = "xyes" ; then
286 ac_save_CFLAGS="$CFLAGS"
287 ac_save_LIBS="$LIBS"
288 CFLAGS="$CFLAGS $GTK_CFLAGS"
289 LIBS="$GTK_LIBS $LIBS"
290dnl
291dnl Now check if the installed GTK+ is sufficiently new. (Also sanity
292dnl checks the results of pkg-config to some extent)
293dnl
294 rm -f conf.gtktest
295 AC_TRY_RUN([
296#include <gtk/gtk.h>
297#include <stdio.h>
298#include <stdlib.h>
299
300int
301main ()
302{
303 int major, minor, micro;
304 char *tmp_version;
305
306 fclose (fopen ("conf.gtktest", "w"));
307
308 /* HP/UX 9 (%@#!) writes to sscanf strings */
309 tmp_version = g_strdup("$min_gtk_version");
310 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
311 printf("%s, bad version string\n", "$min_gtk_version");
312 exit(1);
313 }
314
315 if ((gtk_major_version != $gtk_config_major_version) ||
316 (gtk_minor_version != $gtk_config_minor_version) ||
317 (gtk_micro_version != $gtk_config_micro_version))
318 {
319 printf("\n*** 'pkg-config --modversion gtk+-3.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
320 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
321 gtk_major_version, gtk_minor_version, gtk_micro_version);
322 printf ("*** was found! If pkg-config was correct, then it is best\n");
323 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
324 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
325 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
326 printf("*** required on your system.\n");
327 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
328 printf("*** to point to the correct configuration files\n");
329 }
330 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
331 (gtk_minor_version != GTK_MINOR_VERSION) ||
332 (gtk_micro_version != GTK_MICRO_VERSION))
333 {
334 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
335 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
336 printf("*** library (version %d.%d.%d)\n",
337 gtk_major_version, gtk_minor_version, gtk_micro_version);
338 }
339 else
340 {
341 if ((gtk_major_version > major) ||
342 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
343 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
344 {
345 return 0;
346 }
347 else
348 {
349 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
350 gtk_major_version, gtk_minor_version, gtk_micro_version);
351 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
352 major, minor, micro);
353 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
354 printf("***\n");
355 printf("*** If you have already installed a sufficiently new version, this error\n");
356 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
357 printf("*** being found. The easiest way to fix this is to remove the old version\n");
358 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
359 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
360 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
361 printf("*** so that the correct libraries are found at run-time))\n");
362 }
363 }
364 return 1;
365}
366],, no_gtk=yes,[echo $ac_n "cross compiling; assumed OK... $ac_c"])
367 CFLAGS="$ac_save_CFLAGS"
368 LIBS="$ac_save_LIBS"
369 fi
370 fi
371 if test "x$no_gtk" = x ; then
372 AC_MSG_RESULT(yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version))
373 ifelse([$2], , :, [$2])
374 else
375 AC_MSG_RESULT(no)
376 if test "$PKG_CONFIG" = "no" ; then
377 echo "*** A new enough version of pkg-config was not found."
378 echo "*** See http://pkgconfig.sourceforge.net"
379 else
380 if test -f conf.gtktest ; then
381 :
382 else
383 echo "*** Could not run GTK+ test program, checking why..."
384 ac_save_CFLAGS="$CFLAGS"
385 ac_save_LIBS="$LIBS"
386 CFLAGS="$CFLAGS $GTK_CFLAGS"
387 LIBS="$LIBS $GTK_LIBS"
388 AC_TRY_LINK([
389#include <gtk/gtk.h>
390#include <stdio.h>
391], [ return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version)); ],
392 [ echo "*** The test program compiled, but did not run. This usually means"
393 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
394 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
395 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
396 echo "*** to the installed location Also, make sure you have run ldconfig if that"
397 echo "*** is required on your system"
398 echo "***"
399 echo "*** If you have an old version installed, it is best to remove it, although"
400 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH" ],
401 [ echo "*** The test program failed to compile or link. See the file config.log for the"
402 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."])
403 CFLAGS="$ac_save_CFLAGS"
404 LIBS="$ac_save_LIBS"
405 fi
406 fi
407 GTK_CFLAGS=""
408 GTK_LIBS=""
409 ifelse([$3], , :, [$3])
410 fi
411 AC_SUBST(GTK_CFLAGS)
412 AC_SUBST(GTK_LIBS)
413 rm -f conf.gtktest
414])
415
416dnl -*- mode: autoconf -*-
417dnl Copyright 2009 Johan Dahlin
418dnl
419dnl This file is free software; the author(s) gives unlimited
420dnl permission to copy and/or distribute it, with or without
421dnl modifications, as long as this notice is preserved.
422dnl
423
424# serial 1
425
426m4_define([_GOBJECT_INTROSPECTION_CHECK_INTERNAL],
427[
428 AC_BEFORE([AC_PROG_LIBTOOL],[$0])dnl setup libtool first
429 AC_BEFORE([AM_PROG_LIBTOOL],[$0])dnl setup libtool first
430 AC_BEFORE([LT_INIT],[$0])dnl setup libtool first
431
432 dnl enable/disable introspection
433 m4_if([$2], [require],
434 [dnl
435 enable_introspection=yes
436 ],[dnl
437 AC_ARG_ENABLE(introspection,
438 AS_HELP_STRING([--enable-introspection[=@<:@no/auto/yes@:>@]],
439 [Enable introspection for this build]),,
440 [enable_introspection=auto])
441 ])dnl
442
443 AC_MSG_CHECKING([for gobject-introspection])
444
445 dnl presence/version checking
446 AS_CASE([$enable_introspection],
447 [no], [dnl
448 found_introspection="no (disabled, use --enable-introspection to enable)"
449 ],dnl
450 [yes],[dnl
451 PKG_CHECK_EXISTS([gobject-introspection-1.0],,
452 AC_MSG_ERROR([gobject-introspection-1.0 is not installed]))
453 PKG_CHECK_EXISTS([gobject-introspection-1.0 >= $1],
454 found_introspection=yes,
455 AC_MSG_ERROR([You need to have gobject-introspection >= $1 installed to build AC_PACKAGE_NAME]))
456 ],dnl
457 [auto],[dnl
458 PKG_CHECK_EXISTS([gobject-introspection-1.0 >= $1], found_introspection=yes, found_introspection=no)
459 ],dnl
460 [dnl
461 AC_MSG_ERROR([invalid argument passed to --enable-introspection, should be one of @<:@no/auto/yes@:>@])
462 ])dnl
463
464 AC_MSG_RESULT([$found_introspection])
465
466 INTROSPECTION_SCANNER=
467 INTROSPECTION_COMPILER=
468 INTROSPECTION_GENERATE=
469 INTROSPECTION_GIRDIR=
470 INTROSPECTION_TYPELIBDIR=
471 if test "x$found_introspection" = "xyes"; then
472 INTROSPECTION_SCANNER=`$PKG_CONFIG --variable=g_ir_scanner gobject-introspection-1.0`
473 INTROSPECTION_COMPILER=`$PKG_CONFIG --variable=g_ir_compiler gobject-introspection-1.0`
474 INTROSPECTION_GENERATE=`$PKG_CONFIG --variable=g_ir_generate gobject-introspection-1.0`
475 INTROSPECTION_GIRDIR=`$PKG_CONFIG --variable=girdir gobject-introspection-1.0`
476 INTROSPECTION_TYPELIBDIR="$($PKG_CONFIG --variable=typelibdir gobject-introspection-1.0)"
477 INTROSPECTION_CFLAGS=`$PKG_CONFIG --cflags gobject-introspection-1.0`
478 INTROSPECTION_LIBS=`$PKG_CONFIG --libs gobject-introspection-1.0`
479 INTROSPECTION_MAKEFILE=`$PKG_CONFIG --variable=datadir gobject-introspection-1.0`/gobject-introspection-1.0/Makefile.introspection
480 fi
481 AC_SUBST(INTROSPECTION_SCANNER)
482 AC_SUBST(INTROSPECTION_COMPILER)
483 AC_SUBST(INTROSPECTION_GENERATE)
484 AC_SUBST(INTROSPECTION_GIRDIR)
485 AC_SUBST(INTROSPECTION_TYPELIBDIR)
486 AC_SUBST(INTROSPECTION_CFLAGS)
487 AC_SUBST(INTROSPECTION_LIBS)
488 AC_SUBST(INTROSPECTION_MAKEFILE)
489
490 AM_CONDITIONAL(HAVE_INTROSPECTION, test "x$found_introspection" = "xyes")
491])
492
493
494dnl Usage:
495dnl GOBJECT_INTROSPECTION_CHECK([minimum-g-i-version])
496
497AC_DEFUN([GOBJECT_INTROSPECTION_CHECK],
498[
499 _GOBJECT_INTROSPECTION_CHECK_INTERNAL([$1])
500])
501
502dnl Usage:
503dnl GOBJECT_INTROSPECTION_REQUIRE([minimum-g-i-version])
504
505
506AC_DEFUN([GOBJECT_INTROSPECTION_REQUIRE],
507[
508 _GOBJECT_INTROSPECTION_CHECK_INTERNAL([$1], [require])
509])
510
511# pkg.m4 - Macros to locate and utilise pkg-config. -*- Autoconf -*-
512# serial 1 (pkg-config-0.24)
513#
514# Copyright © 2004 Scott James Remnant <scott@netsplit.com>.
515#
516# This program is free software; you can redistribute it and/or modify
517# it under the terms of the GNU General Public License as published by
518# the Free Software Foundation; either version 2 of the License, or
519# (at your option) any later version.
520#
521# This program is distributed in the hope that it will be useful, but
522# WITHOUT ANY WARRANTY; without even the implied warranty of
523# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
524# General Public License for more details.
525#
526# You should have received a copy of the GNU General Public License
527# along with this program; if not, write to the Free Software
528# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
529#
530# As a special exception to the GNU General Public License, if you
531# distribute this file as part of a program that contains a
532# configuration script generated by Autoconf, you may include it under
533# the same distribution terms that you use for the rest of that program.
534
535# PKG_PROG_PKG_CONFIG([MIN-VERSION])
536# ----------------------------------
537AC_DEFUN([PKG_PROG_PKG_CONFIG],
538[m4_pattern_forbid([^_?PKG_[A-Z_]+$])
539m4_pattern_allow([^PKG_CONFIG(_PATH)?$])
540AC_ARG_VAR([PKG_CONFIG], [path to pkg-config utility])
541AC_ARG_VAR([PKG_CONFIG_PATH], [directories to add to pkg-config's search path])
542AC_ARG_VAR([PKG_CONFIG_LIBDIR], [path overriding pkg-config's built-in search path])
543
544if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
545 AC_PATH_TOOL([PKG_CONFIG], [pkg-config])
546fi
547if test -n "$PKG_CONFIG"; then
548 _pkg_min_version=m4_default([$1], [0.9.0])
549 AC_MSG_CHECKING([pkg-config is at least version $_pkg_min_version])
550 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
551 AC_MSG_RESULT([yes])
552 else
553 AC_MSG_RESULT([no])
554 PKG_CONFIG=""
555 fi
556fi[]dnl
557])# PKG_PROG_PKG_CONFIG
558
559# PKG_CHECK_EXISTS(MODULES, [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])
560#
561# Check to see whether a particular set of modules exists. Similar
562# to PKG_CHECK_MODULES(), but does not set variables or print errors.
563#
564# Please remember that m4 expands AC_REQUIRE([PKG_PROG_PKG_CONFIG])
565# only at the first occurence in configure.ac, so if the first place
566# it's called might be skipped (such as if it is within an "if", you
567# have to call PKG_CHECK_EXISTS manually
568# --------------------------------------------------------------
569AC_DEFUN([PKG_CHECK_EXISTS],
570[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl
571if test -n "$PKG_CONFIG" && \
572 AC_RUN_LOG([$PKG_CONFIG --exists --print-errors "$1"]); then
573 m4_default([$2], [:])
574m4_ifvaln([$3], [else
575 $3])dnl
576fi])
577
578# _PKG_CONFIG([VARIABLE], [COMMAND], [MODULES])
579# ---------------------------------------------
580m4_define([_PKG_CONFIG],
581[if test -n "$$1"; then
582 pkg_cv_[]$1="$$1"
583 elif test -n "$PKG_CONFIG"; then
584 PKG_CHECK_EXISTS([$3],
585 [pkg_cv_[]$1=`$PKG_CONFIG --[]$2 "$3" 2>/dev/null`],
586 [pkg_failed=yes])
587 else
588 pkg_failed=untried
589fi[]dnl
590])# _PKG_CONFIG
591
592# _PKG_SHORT_ERRORS_SUPPORTED
593# -----------------------------
594AC_DEFUN([_PKG_SHORT_ERRORS_SUPPORTED],
595[AC_REQUIRE([PKG_PROG_PKG_CONFIG])
596if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
597 _pkg_short_errors_supported=yes
598else
599 _pkg_short_errors_supported=no
600fi[]dnl
601])# _PKG_SHORT_ERRORS_SUPPORTED
602
603
604# PKG_CHECK_MODULES(VARIABLE-PREFIX, MODULES, [ACTION-IF-FOUND],
605# [ACTION-IF-NOT-FOUND])
606#
607#
608# Note that if there is a possibility the first call to
609# PKG_CHECK_MODULES might not happen, you should be sure to include an
610# explicit call to PKG_PROG_PKG_CONFIG in your configure.ac
611#
612#
613# --------------------------------------------------------------
614AC_DEFUN([PKG_CHECK_MODULES],
615[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl
616AC_ARG_VAR([$1][_CFLAGS], [C compiler flags for $1, overriding pkg-config])dnl
617AC_ARG_VAR([$1][_LIBS], [linker flags for $1, overriding pkg-config])dnl
618
619pkg_failed=no
620AC_MSG_CHECKING([for $1])
621
622_PKG_CONFIG([$1][_CFLAGS], [cflags], [$2])
623_PKG_CONFIG([$1][_LIBS], [libs], [$2])
624
625m4_define([_PKG_TEXT], [Alternatively, you may set the environment variables $1[]_CFLAGS
626and $1[]_LIBS to avoid the need to call pkg-config.
627See the pkg-config man page for more details.])
628
629if test $pkg_failed = yes; then
630 AC_MSG_RESULT([no])
631 _PKG_SHORT_ERRORS_SUPPORTED
632 if test $_pkg_short_errors_supported = yes; then
633 $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "$2" 2>&1`
634 else
635 $1[]_PKG_ERRORS=`$PKG_CONFIG --print-errors "$2" 2>&1`
636 fi
637 # Put the nasty error message in config.log where it belongs
638 echo "$$1[]_PKG_ERRORS" >&AS_MESSAGE_LOG_FD
639
640 m4_default([$4], [AC_MSG_ERROR(
641[Package requirements ($2) were not met:
642
643$$1_PKG_ERRORS
644
645Consider adjusting the PKG_CONFIG_PATH environment variable if you
646installed software in a non-standard prefix.
647
648_PKG_TEXT])[]dnl
649 ])
650elif test $pkg_failed = untried; then
651 AC_MSG_RESULT([no])
652 m4_default([$4], [AC_MSG_FAILURE(
653[The pkg-config script could not be found or is too old. Make sure it
654is in your PATH or set the PKG_CONFIG environment variable to the full
655path to pkg-config.
656
657_PKG_TEXT
658
659To get pkg-config, see <http://pkg-config.freedesktop.org/>.])[]dnl
660 ])
661else
662 $1[]_CFLAGS=$pkg_cv_[]$1[]_CFLAGS
663 $1[]_LIBS=$pkg_cv_[]$1[]_LIBS
664 AC_MSG_RESULT([yes])
665 $3
666fi[]dnl
667])# PKG_CHECK_MODULES
668
669# Copyright (C) 2002, 2003, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
670#
671# This file is free software; the Free Software Foundation
672# gives unlimited permission to copy and/or distribute it,
673# with or without modifications, as long as this notice is preserved.
674
675# AM_AUTOMAKE_VERSION(VERSION)
676# ----------------------------
677# Automake X.Y traces this macro to ensure aclocal.m4 has been
678# generated from the m4 files accompanying Automake X.Y.
679# (This private macro should not be called outside this file.)
680AC_DEFUN([AM_AUTOMAKE_VERSION],
681[am__api_version='1.11'
682dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
683dnl require some minimum version. Point them to the right macro.
684m4_if([$1], [1.11.1], [],
685 [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
686])
687
688# _AM_AUTOCONF_VERSION(VERSION)
689# -----------------------------
690# aclocal traces this macro to find the Autoconf version.
691# This is a private macro too. Using m4_define simplifies
692# the logic in aclocal, which can simply ignore this definition.
693m4_define([_AM_AUTOCONF_VERSION], [])
694
695# AM_SET_CURRENT_AUTOMAKE_VERSION
696# -------------------------------
697# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
698# This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
699AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
700[AM_AUTOMAKE_VERSION([1.11.1])dnl
701m4_ifndef([AC_AUTOCONF_VERSION],
702 [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
703_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
704
705# AM_AUX_DIR_EXPAND -*- Autoconf -*-
706
707# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
708#
709# This file is free software; the Free Software Foundation
710# gives unlimited permission to copy and/or distribute it,
711# with or without modifications, as long as this notice is preserved.
712
713# For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets
714# $ac_aux_dir to `$srcdir/foo'. In other projects, it is set to
715# `$srcdir', `$srcdir/..', or `$srcdir/../..'.
716#
717# Of course, Automake must honor this variable whenever it calls a
718# tool from the auxiliary directory. The problem is that $srcdir (and
719# therefore $ac_aux_dir as well) can be either absolute or relative,
720# depending on how configure is run. This is pretty annoying, since
721# it makes $ac_aux_dir quite unusable in subdirectories: in the top
722# source directory, any form will work fine, but in subdirectories a
723# relative path needs to be adjusted first.
724#
725# $ac_aux_dir/missing
726# fails when called from a subdirectory if $ac_aux_dir is relative
727# $top_srcdir/$ac_aux_dir/missing
728# fails if $ac_aux_dir is absolute,
729# fails when called from a subdirectory in a VPATH build with
730# a relative $ac_aux_dir
731#
732# The reason of the latter failure is that $top_srcdir and $ac_aux_dir
733# are both prefixed by $srcdir. In an in-source build this is usually
734# harmless because $srcdir is `.', but things will broke when you
735# start a VPATH build or use an absolute $srcdir.
736#
737# So we could use something similar to $top_srcdir/$ac_aux_dir/missing,
738# iff we strip the leading $srcdir from $ac_aux_dir. That would be:
739# am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"`
740# and then we would define $MISSING as
741# MISSING="\${SHELL} $am_aux_dir/missing"
742# This will work as long as MISSING is not called from configure, because
743# unfortunately $(top_srcdir) has no meaning in configure.
744# However there are other variables, like CC, which are often used in
745# configure, and could therefore not use this "fixed" $ac_aux_dir.
746#
747# Another solution, used here, is to always expand $ac_aux_dir to an
748# absolute PATH. The drawback is that using absolute paths prevent a
749# configured tree to be moved without reconfiguration.
750
751AC_DEFUN([AM_AUX_DIR_EXPAND],
752[dnl Rely on autoconf to set up CDPATH properly.
753AC_PREREQ([2.50])dnl
754# expand $ac_aux_dir to an absolute path
755am_aux_dir=`cd $ac_aux_dir && pwd`
756])
757
758# AM_CONDITIONAL -*- Autoconf -*-
759
760# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006, 2008
761# Free Software Foundation, Inc.
762#
763# This file is free software; the Free Software Foundation
764# gives unlimited permission to copy and/or distribute it,
765# with or without modifications, as long as this notice is preserved.
766
767# serial 9
768
769# AM_CONDITIONAL(NAME, SHELL-CONDITION)
770# -------------------------------------
771# Define a conditional.
772AC_DEFUN([AM_CONDITIONAL],
773[AC_PREREQ(2.52)dnl
774 ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])],
775 [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
776AC_SUBST([$1_TRUE])dnl
777AC_SUBST([$1_FALSE])dnl
778_AM_SUBST_NOTMAKE([$1_TRUE])dnl
779_AM_SUBST_NOTMAKE([$1_FALSE])dnl
780m4_define([_AM_COND_VALUE_$1], [$2])dnl
781if $2; then
782 $1_TRUE=
783 $1_FALSE='#'
784else
785 $1_TRUE='#'
786 $1_FALSE=
787fi
788AC_CONFIG_COMMANDS_PRE(
789[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
790 AC_MSG_ERROR([[conditional "$1" was never defined.
791Usually this means the macro was only invoked conditionally.]])
792fi])])
793
794# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2009
795# Free Software Foundation, Inc.
796#
797# This file is free software; the Free Software Foundation
798# gives unlimited permission to copy and/or distribute it,
799# with or without modifications, as long as this notice is preserved.
800
801# serial 10
802
803# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
804# written in clear, in which case automake, when reading aclocal.m4,
805# will think it sees a *use*, and therefore will trigger all it's
806# C support machinery. Also note that it means that autoscan, seeing
807# CC etc. in the Makefile, will ask for an AC_PROG_CC use...
808
809
810# _AM_DEPENDENCIES(NAME)
811# ----------------------
812# See how the compiler implements dependency checking.
813# NAME is "CC", "CXX", "GCJ", or "OBJC".
814# We try a few techniques and use that to set a single cache variable.
815#
816# We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was
817# modified to invoke _AM_DEPENDENCIES(CC); we would have a circular
818# dependency, and given that the user is not expected to run this macro,
819# just rely on AC_PROG_CC.
820AC_DEFUN([_AM_DEPENDENCIES],
821[AC_REQUIRE([AM_SET_DEPDIR])dnl
822AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl
823AC_REQUIRE([AM_MAKE_INCLUDE])dnl
824AC_REQUIRE([AM_DEP_TRACK])dnl
825
826ifelse([$1], CC, [depcc="$CC" am_compiler_list=],
827 [$1], CXX, [depcc="$CXX" am_compiler_list=],
828 [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
829 [$1], UPC, [depcc="$UPC" am_compiler_list=],
830 [$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'],
831 [depcc="$$1" am_compiler_list=])
832
833AC_CACHE_CHECK([dependency style of $depcc],
834 [am_cv_$1_dependencies_compiler_type],
835[if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
836 # We make a subdir and do the tests there. Otherwise we can end up
837 # making bogus files that we don't know about and never remove. For
838 # instance it was reported that on HP-UX the gcc test will end up
839 # making a dummy file named `D' -- because `-MD' means `put the output
840 # in D'.
841 mkdir conftest.dir
842 # Copy depcomp to subdir because otherwise we won't find it if we're
843 # using a relative directory.
844 cp "$am_depcomp" conftest.dir
845 cd conftest.dir
846 # We will build objects and dependencies in a subdirectory because
847 # it helps to detect inapplicable dependency modes. For instance
848 # both Tru64's cc and ICC support -MD to output dependencies as a
849 # side effect of compilation, but ICC will put the dependencies in
850 # the current directory while Tru64 will put them in the object
851 # directory.
852 mkdir sub
853
854 am_cv_$1_dependencies_compiler_type=none
855 if test "$am_compiler_list" = ""; then
856 am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
857 fi
858 am__universal=false
859 m4_case([$1], [CC],
860 [case " $depcc " in #(
861 *\ -arch\ *\ -arch\ *) am__universal=true ;;
862 esac],
863 [CXX],
864 [case " $depcc " in #(
865 *\ -arch\ *\ -arch\ *) am__universal=true ;;
866 esac])
867
868 for depmode in $am_compiler_list; do
869 # Setup a source with many dependencies, because some compilers
870 # like to wrap large dependency lists on column 80 (with \), and
871 # we should not choose a depcomp mode which is confused by this.
872 #
873 # We need to recreate these files for each test, as the compiler may
874 # overwrite some of them when testing with obscure command lines.
875 # This happens at least with the AIX C compiler.
876 : > sub/conftest.c
877 for i in 1 2 3 4 5 6; do
878 echo '#include "conftst'$i'.h"' >> sub/conftest.c
879 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
880 # Solaris 8's {/usr,}/bin/sh.
881 touch sub/conftst$i.h
882 done
883 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
884
885 # We check with `-c' and `-o' for the sake of the "dashmstdout"
886 # mode. It turns out that the SunPro C++ compiler does not properly
887 # handle `-M -o', and we need to detect this. Also, some Intel
888 # versions had trouble with output in subdirs
889 am__obj=sub/conftest.${OBJEXT-o}
890 am__minus_obj="-o $am__obj"
891 case $depmode in
892 gcc)
893 # This depmode causes a compiler race in universal mode.
894 test "$am__universal" = false || continue
895 ;;
896 nosideeffect)
897 # after this tag, mechanisms are not by side-effect, so they'll
898 # only be used when explicitly requested
899 if test "x$enable_dependency_tracking" = xyes; then
900 continue
901 else
902 break
903 fi
904 ;;
905 msvisualcpp | msvcmsys)
906 # This compiler won't grok `-c -o', but also, the minuso test has
907 # not run yet. These depmodes are late enough in the game, and
908 # so weak that their functioning should not be impacted.
909 am__obj=conftest.${OBJEXT-o}
910 am__minus_obj=
911 ;;
912 none) break ;;
913 esac
914 if depmode=$depmode \
915 source=sub/conftest.c object=$am__obj \
916 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
917 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
918 >/dev/null 2>conftest.err &&
919 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
920 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
921 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
922 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
923 # icc doesn't choke on unknown options, it will just issue warnings
924 # or remarks (even with -Werror). So we grep stderr for any message
925 # that says an option was ignored or not supported.
926 # When given -MP, icc 7.0 and 7.1 complain thusly:
927 # icc: Command line warning: ignoring option '-M'; no argument required
928 # The diagnosis changed in icc 8.0:
929 # icc: Command line remark: option '-MP' not supported
930 if (grep 'ignoring option' conftest.err ||
931 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
932 am_cv_$1_dependencies_compiler_type=$depmode
933 break
934 fi
935 fi
936 done
937
938 cd ..
939 rm -rf conftest.dir
940else
941 am_cv_$1_dependencies_compiler_type=none
942fi
943])
944AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type])
945AM_CONDITIONAL([am__fastdep$1], [
946 test "x$enable_dependency_tracking" != xno \
947 && test "$am_cv_$1_dependencies_compiler_type" = gcc3])
948])
949
950
951# AM_SET_DEPDIR
952# -------------
953# Choose a directory name for dependency files.
954# This macro is AC_REQUIREd in _AM_DEPENDENCIES
955AC_DEFUN([AM_SET_DEPDIR],
956[AC_REQUIRE([AM_SET_LEADING_DOT])dnl
957AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl
958])
959
960
961# AM_DEP_TRACK
962# ------------
963AC_DEFUN([AM_DEP_TRACK],
964[AC_ARG_ENABLE(dependency-tracking,
965[ --disable-dependency-tracking speeds up one-time build
966 --enable-dependency-tracking do not reject slow dependency extractors])
967if test "x$enable_dependency_tracking" != xno; then
968 am_depcomp="$ac_aux_dir/depcomp"
969 AMDEPBACKSLASH='\'
970fi
971AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
972AC_SUBST([AMDEPBACKSLASH])dnl
973_AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl
974])
975
976# Generate code to set up dependency tracking. -*- Autoconf -*-
977
978# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2008
979# Free Software Foundation, Inc.
980#
981# This file is free software; the Free Software Foundation
982# gives unlimited permission to copy and/or distribute it,
983# with or without modifications, as long as this notice is preserved.
984
985#serial 5
986
987# _AM_OUTPUT_DEPENDENCY_COMMANDS
988# ------------------------------
989AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
990[{
991 # Autoconf 2.62 quotes --file arguments for eval, but not when files
992 # are listed without --file. Let's play safe and only enable the eval
993 # if we detect the quoting.
994 case $CONFIG_FILES in
995 *\'*) eval set x "$CONFIG_FILES" ;;
996 *) set x $CONFIG_FILES ;;
997 esac
998 shift
999 for mf
1000 do
1001 # Strip MF so we end up with the name of the file.
1002 mf=`echo "$mf" | sed -e 's/:.*$//'`
1003 # Check whether this is an Automake generated Makefile or not.
1004 # We used to match only the files named `Makefile.in', but
1005 # some people rename them; so instead we look at the file content.
1006 # Grep'ing the first line is not enough: some people post-process
1007 # each Makefile.in and add a new line on top of each file to say so.
1008 # Grep'ing the whole file is not good either: AIX grep has a line
1009 # limit of 2048, but all sed's we know have understand at least 4000.
1010 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
1011 dirpart=`AS_DIRNAME("$mf")`
1012 else
1013 continue
1014 fi
1015 # Extract the definition of DEPDIR, am__include, and am__quote
1016 # from the Makefile without running `make'.
1017 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
1018 test -z "$DEPDIR" && continue
1019 am__include=`sed -n 's/^am__include = //p' < "$mf"`
1020 test -z "am__include" && continue
1021 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
1022 # When using ansi2knr, U may be empty or an underscore; expand it
1023 U=`sed -n 's/^U = //p' < "$mf"`
1024 # Find all dependency output files, they are included files with
1025 # $(DEPDIR) in their names. We invoke sed twice because it is the
1026 # simplest approach to changing $(DEPDIR) to its actual value in the
1027 # expansion.
1028 for file in `sed -n "
1029 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
1030 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
1031 # Make sure the directory exists.
1032 test -f "$dirpart/$file" && continue
1033 fdir=`AS_DIRNAME(["$file"])`
1034 AS_MKDIR_P([$dirpart/$fdir])
1035 # echo "creating $dirpart/$file"
1036 echo '# dummy' > "$dirpart/$file"
1037 done
1038 done
1039}
1040])# _AM_OUTPUT_DEPENDENCY_COMMANDS
1041
1042
1043# AM_OUTPUT_DEPENDENCY_COMMANDS
1044# -----------------------------
1045# This macro should only be invoked once -- use via AC_REQUIRE.
1046#
1047# This code is only required when automatic dependency tracking
1048# is enabled. FIXME. This creates each `.P' file that we will
1049# need in order to bootstrap the dependency handling code.
1050AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
1051[AC_CONFIG_COMMANDS([depfiles],
1052 [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],
1053 [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
1054])
1055
1056# Do all the work for Automake. -*- Autoconf -*-
1057
1058# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
1059# 2005, 2006, 2008, 2009 Free Software Foundation, Inc.
1060#
1061# This file is free software; the Free Software Foundation
1062# gives unlimited permission to copy and/or distribute it,
1063# with or without modifications, as long as this notice is preserved.
1064
1065# serial 16
1066
1067# This macro actually does too much. Some checks are only needed if
1068# your package does certain things. But this isn't really a big deal.
1069
1070# AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE])
1071# AM_INIT_AUTOMAKE([OPTIONS])
1072# -----------------------------------------------
1073# The call with PACKAGE and VERSION arguments is the old style
1074# call (pre autoconf-2.50), which is being phased out. PACKAGE
1075# and VERSION should now be passed to AC_INIT and removed from
1076# the call to AM_INIT_AUTOMAKE.
1077# We support both call styles for the transition. After
1078# the next Automake release, Autoconf can make the AC_INIT
1079# arguments mandatory, and then we can depend on a new Autoconf
1080# release and drop the old call support.
1081AC_DEFUN([AM_INIT_AUTOMAKE],
1082[AC_PREREQ([2.62])dnl
1083dnl Autoconf wants to disallow AM_ names. We explicitly allow
1084dnl the ones we care about.
1085m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
1086AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
1087AC_REQUIRE([AC_PROG_INSTALL])dnl
1088if test "`cd $srcdir && pwd`" != "`pwd`"; then
1089 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
1090 # is not polluted with repeated "-I."
1091 AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl
1092 # test to see if srcdir already configured
1093 if test -f $srcdir/config.status; then
1094 AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
1095 fi
1096fi
1097
1098# test whether we have cygpath
1099if test -z "$CYGPATH_W"; then
1100 if (cygpath --version) >/dev/null 2>/dev/null; then
1101 CYGPATH_W='cygpath -w'
1102 else
1103 CYGPATH_W=echo
1104 fi
1105fi
1106AC_SUBST([CYGPATH_W])
1107
1108# Define the identity of the package.
1109dnl Distinguish between old-style and new-style calls.
1110m4_ifval([$2],
1111[m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
1112 AC_SUBST([PACKAGE], [$1])dnl
1113 AC_SUBST([VERSION], [$2])],
1114[_AM_SET_OPTIONS([$1])dnl
1115dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT.
1116m4_if(m4_ifdef([AC_PACKAGE_NAME], 1)m4_ifdef([AC_PACKAGE_VERSION], 1), 11,,
1117 [m4_fatal([AC_INIT should be called with package and version arguments])])dnl
1118 AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
1119 AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
1120
1121_AM_IF_OPTION([no-define],,
1122[AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])
1123 AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl
1124
1125# Some tools Automake needs.
1126AC_REQUIRE([AM_SANITY_CHECK])dnl
1127AC_REQUIRE([AC_ARG_PROGRAM])dnl
1128AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version})
1129AM_MISSING_PROG(AUTOCONF, autoconf)
1130AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version})
1131AM_MISSING_PROG(AUTOHEADER, autoheader)
1132AM_MISSING_PROG(MAKEINFO, makeinfo)
1133AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
1134AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl
1135AC_REQUIRE([AM_PROG_MKDIR_P])dnl
1136# We need awk for the "check" target. The system "awk" is bad on
1137# some platforms.
1138AC_REQUIRE([AC_PROG_AWK])dnl
1139AC_REQUIRE([AC_PROG_MAKE_SET])dnl
1140AC_REQUIRE([AM_SET_LEADING_DOT])dnl
1141_AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])],
1142 [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
1143 [_AM_PROG_TAR([v7])])])
1144_AM_IF_OPTION([no-dependencies],,
1145[AC_PROVIDE_IFELSE([AC_PROG_CC],
1146 [_AM_DEPENDENCIES(CC)],
1147 [define([AC_PROG_CC],
1148 defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
1149AC_PROVIDE_IFELSE([AC_PROG_CXX],
1150 [_AM_DEPENDENCIES(CXX)],
1151 [define([AC_PROG_CXX],
1152 defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
1153AC_PROVIDE_IFELSE([AC_PROG_OBJC],
1154 [_AM_DEPENDENCIES(OBJC)],
1155 [define([AC_PROG_OBJC],
1156 defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl
1157])
1158_AM_IF_OPTION([silent-rules], [AC_REQUIRE([AM_SILENT_RULES])])dnl
1159dnl The `parallel-tests' driver may need to know about EXEEXT, so add the
1160dnl `am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This macro
1161dnl is hooked onto _AC_COMPILER_EXEEXT early, see below.
1162AC_CONFIG_COMMANDS_PRE(dnl
1163[m4_provide_if([_AM_COMPILER_EXEEXT],
1164 [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl
1165])
1166
1167dnl Hook into `_AC_COMPILER_EXEEXT' early to learn its expansion. Do not
1168dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further
1169dnl mangled by Autoconf and run in a shell conditional statement.
1170m4_define([_AC_COMPILER_EXEEXT],
1171m4_defn([_AC_COMPILER_EXEEXT])[m4_provide([_AM_COMPILER_EXEEXT])])
1172
1173
1174# When config.status generates a header, we must update the stamp-h file.
1175# This file resides in the same directory as the config header
1176# that is generated. The stamp files are numbered to have different names.
1177
1178# Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the
1179# loop where config.status creates the headers, so we can generate
1180# our stamp files there.
1181AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK],
1182[# Compute $1's index in $config_headers.
1183_am_arg=$1
1184_am_stamp_count=1
1185for _am_header in $config_headers :; do
1186 case $_am_header in
1187 $_am_arg | $_am_arg:* )
1188 break ;;
1189 * )
1190 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
1191 esac
1192done
1193echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
1194
1195# Copyright (C) 2001, 2003, 2005, 2008 Free Software Foundation, Inc.
1196#
1197# This file is free software; the Free Software Foundation
1198# gives unlimited permission to copy and/or distribute it,
1199# with or without modifications, as long as this notice is preserved.
1200
1201# AM_PROG_INSTALL_SH
1202# ------------------
1203# Define $install_sh.
1204AC_DEFUN([AM_PROG_INSTALL_SH],
1205[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
1206if test x"${install_sh}" != xset; then
1207 case $am_aux_dir in
1208 *\ * | *\ *)
1209 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
1210 *)
1211 install_sh="\${SHELL} $am_aux_dir/install-sh"
1212 esac
1213fi
1214AC_SUBST(install_sh)])
1215
1216# Copyright (C) 2003, 2005 Free Software Foundation, Inc.
1217#
1218# This file is free software; the Free Software Foundation
1219# gives unlimited permission to copy and/or distribute it,
1220# with or without modifications, as long as this notice is preserved.
1221
1222# serial 2
1223
1224# Check whether the underlying file-system supports filenames
1225# with a leading dot. For instance MS-DOS doesn't.
1226AC_DEFUN([AM_SET_LEADING_DOT],
1227[rm -rf .tst 2>/dev/null
1228mkdir .tst 2>/dev/null
1229if test -d .tst; then
1230 am__leading_dot=.
1231else
1232 am__leading_dot=_
1233fi
1234rmdir .tst 2>/dev/null
1235AC_SUBST([am__leading_dot])])
1236
1237# Add --enable-maintainer-mode option to configure. -*- Autoconf -*-
1238# From Jim Meyering
1239
1240# Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004, 2005, 2008
1241# Free Software Foundation, Inc.
1242#
1243# This file is free software; the Free Software Foundation
1244# gives unlimited permission to copy and/or distribute it,
1245# with or without modifications, as long as this notice is preserved.
1246
1247# serial 5
1248
1249# AM_MAINTAINER_MODE([DEFAULT-MODE])
1250# ----------------------------------
1251# Control maintainer-specific portions of Makefiles.
1252# Default is to disable them, unless `enable' is passed literally.
1253# For symmetry, `disable' may be passed as well. Anyway, the user
1254# can override the default with the --enable/--disable switch.
1255AC_DEFUN([AM_MAINTAINER_MODE],
1256[m4_case(m4_default([$1], [disable]),
1257 [enable], [m4_define([am_maintainer_other], [disable])],
1258 [disable], [m4_define([am_maintainer_other], [enable])],
1259 [m4_define([am_maintainer_other], [enable])
1260 m4_warn([syntax], [unexpected argument to AM@&t@_MAINTAINER_MODE: $1])])
1261AC_MSG_CHECKING([whether to am_maintainer_other maintainer-specific portions of Makefiles])
1262 dnl maintainer-mode's default is 'disable' unless 'enable' is passed
1263 AC_ARG_ENABLE([maintainer-mode],
1264[ --][am_maintainer_other][-maintainer-mode am_maintainer_other make rules and dependencies not useful
1265 (and sometimes confusing) to the casual installer],
1266 [USE_MAINTAINER_MODE=$enableval],
1267 [USE_MAINTAINER_MODE=]m4_if(am_maintainer_other, [enable], [no], [yes]))
1268 AC_MSG_RESULT([$USE_MAINTAINER_MODE])
1269 AM_CONDITIONAL([MAINTAINER_MODE], [test $USE_MAINTAINER_MODE = yes])
1270 MAINT=$MAINTAINER_MODE_TRUE
1271 AC_SUBST([MAINT])dnl
1272]
1273)
1274
1275AU_DEFUN([jm_MAINTAINER_MODE], [AM_MAINTAINER_MODE])
1276
1277# Check to see how 'make' treats includes. -*- Autoconf -*-
1278
1279# Copyright (C) 2001, 2002, 2003, 2005, 2009 Free Software Foundation, Inc.
1280#
1281# This file is free software; the Free Software Foundation
1282# gives unlimited permission to copy and/or distribute it,
1283# with or without modifications, as long as this notice is preserved.
1284
1285# serial 4
1286
1287# AM_MAKE_INCLUDE()
1288# -----------------
1289# Check to see how make treats includes.
1290AC_DEFUN([AM_MAKE_INCLUDE],
1291[am_make=${MAKE-make}
1292cat > confinc << 'END'
1293am__doit:
1294 @echo this is the am__doit target
1295.PHONY: am__doit
1296END
1297# If we don't find an include directive, just comment out the code.
1298AC_MSG_CHECKING([for style of include used by $am_make])
1299am__include="#"
1300am__quote=
1301_am_result=none
1302# First try GNU make style include.
1303echo "include confinc" > confmf
1304# Ignore all kinds of additional output from `make'.
1305case `$am_make -s -f confmf 2> /dev/null` in #(
1306*the\ am__doit\ target*)
1307 am__include=include
1308 am__quote=
1309 _am_result=GNU
1310 ;;
1311esac
1312# Now try BSD make style include.
1313if test "$am__include" = "#"; then
1314 echo '.include "confinc"' > confmf
1315 case `$am_make -s -f confmf 2> /dev/null` in #(
1316 *the\ am__doit\ target*)
1317 am__include=.include
1318 am__quote="\""
1319 _am_result=BSD
1320 ;;
1321 esac
1322fi
1323AC_SUBST([am__include])
1324AC_SUBST([am__quote])
1325AC_MSG_RESULT([$_am_result])
1326rm -f confinc confmf
1327])
1328
1329# Fake the existence of programs that GNU maintainers use. -*- Autoconf -*-
1330
1331# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005, 2008
1332# Free Software Foundation, Inc.
1333#
1334# This file is free software; the Free Software Foundation
1335# gives unlimited permission to copy and/or distribute it,
1336# with or without modifications, as long as this notice is preserved.
1337
1338# serial 6
1339
1340# AM_MISSING_PROG(NAME, PROGRAM)
1341# ------------------------------
1342AC_DEFUN([AM_MISSING_PROG],
1343[AC_REQUIRE([AM_MISSING_HAS_RUN])
1344$1=${$1-"${am_missing_run}$2"}
1345AC_SUBST($1)])
1346
1347
1348# AM_MISSING_HAS_RUN
1349# ------------------
1350# Define MISSING if not defined so far and test if it supports --run.
1351# If it does, set am_missing_run to use it, otherwise, to nothing.
1352AC_DEFUN([AM_MISSING_HAS_RUN],
1353[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
1354AC_REQUIRE_AUX_FILE([missing])dnl
1355if test x"${MISSING+set}" != xset; then
1356 case $am_aux_dir in
1357 *\ * | *\ *)
1358 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
1359 *)
1360 MISSING="\${SHELL} $am_aux_dir/missing" ;;
1361 esac
1362fi
1363# Use eval to expand $SHELL
1364if eval "$MISSING --run true"; then
1365 am_missing_run="$MISSING --run "
1366else
1367 am_missing_run=
1368 AC_MSG_WARN([`missing' script is too old or missing])
1369fi
1370])
1371
1372# Copyright (C) 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1373#
1374# This file is free software; the Free Software Foundation
1375# gives unlimited permission to copy and/or distribute it,
1376# with or without modifications, as long as this notice is preserved.
1377
1378# AM_PROG_MKDIR_P
1379# ---------------
1380# Check for `mkdir -p'.
1381AC_DEFUN([AM_PROG_MKDIR_P],
1382[AC_PREREQ([2.60])dnl
1383AC_REQUIRE([AC_PROG_MKDIR_P])dnl
1384dnl Automake 1.8 to 1.9.6 used to define mkdir_p. We now use MKDIR_P,
1385dnl while keeping a definition of mkdir_p for backward compatibility.
1386dnl @MKDIR_P@ is magic: AC_OUTPUT adjusts its value for each Makefile.
1387dnl However we cannot define mkdir_p as $(MKDIR_P) for the sake of
1388dnl Makefile.ins that do not define MKDIR_P, so we do our own
1389dnl adjustment using top_builddir (which is defined more often than
1390dnl MKDIR_P).
1391AC_SUBST([mkdir_p], ["$MKDIR_P"])dnl
1392case $mkdir_p in
1393 [[\\/$]]* | ?:[[\\/]]*) ;;
1394 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
1395esac
1396])
1397
1398# Helper functions for option handling. -*- Autoconf -*-
1399
1400# Copyright (C) 2001, 2002, 2003, 2005, 2008 Free Software Foundation, Inc.
1401#
1402# This file is free software; the Free Software Foundation
1403# gives unlimited permission to copy and/or distribute it,
1404# with or without modifications, as long as this notice is preserved.
1405
1406# serial 4
1407
1408# _AM_MANGLE_OPTION(NAME)
1409# -----------------------
1410AC_DEFUN([_AM_MANGLE_OPTION],
1411[[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])
1412
1413# _AM_SET_OPTION(NAME)
1414# ------------------------------
1415# Set option NAME. Presently that only means defining a flag for this option.
1416AC_DEFUN([_AM_SET_OPTION],
1417[m4_define(_AM_MANGLE_OPTION([$1]), 1)])
1418
1419# _AM_SET_OPTIONS(OPTIONS)
1420# ----------------------------------
1421# OPTIONS is a space-separated list of Automake options.
1422AC_DEFUN([_AM_SET_OPTIONS],
1423[m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
1424
1425# _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET])
1426# -------------------------------------------
1427# Execute IF-SET if OPTION is set, IF-NOT-SET otherwise.
1428AC_DEFUN([_AM_IF_OPTION],
1429[m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
1430
1431# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2008, 2009
1432# Free Software Foundation, Inc.
1433#
1434# This file is free software; the Free Software Foundation
1435# gives unlimited permission to copy and/or distribute it,
1436# with or without modifications, as long as this notice is preserved.
1437
1438# AM_PATH_PYTHON([MINIMUM-VERSION], [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])
1439# ---------------------------------------------------------------------------
1440# Adds support for distributing Python modules and packages. To
1441# install modules, copy them to $(pythondir), using the python_PYTHON
1442# automake variable. To install a package with the same name as the
1443# automake package, install to $(pkgpythondir), or use the
1444# pkgpython_PYTHON automake variable.
1445#
1446# The variables $(pyexecdir) and $(pkgpyexecdir) are provided as
1447# locations to install python extension modules (shared libraries).
1448# Another macro is required to find the appropriate flags to compile
1449# extension modules.
1450#
1451# If your package is configured with a different prefix to python,
1452# users will have to add the install directory to the PYTHONPATH
1453# environment variable, or create a .pth file (see the python
1454# documentation for details).
1455#
1456# If the MINIMUM-VERSION argument is passed, AM_PATH_PYTHON will
1457# cause an error if the version of python installed on the system
1458# doesn't meet the requirement. MINIMUM-VERSION should consist of
1459# numbers and dots only.
1460AC_DEFUN([AM_PATH_PYTHON],
1461 [
1462 dnl Find a Python interpreter. Python versions prior to 2.0 are not
1463 dnl supported. (2.0 was released on October 16, 2000).
1464 m4_define_default([_AM_PYTHON_INTERPRETER_LIST],
1465 [python python2 python3 python3.2 python3.1 python3.0 python2.7 python2.6 python2.5 python2.4 python2.3 python2.2 dnl
1466python2.1 python2.0])
1467
1468 m4_if([$1],[],[
1469 dnl No version check is needed.
1470 # Find any Python interpreter.
1471 if test -z "$PYTHON"; then
1472 AC_PATH_PROGS([PYTHON], _AM_PYTHON_INTERPRETER_LIST, :)
1473 fi
1474 am_display_PYTHON=python
1475 ], [
1476 dnl A version check is needed.
1477 if test -n "$PYTHON"; then
1478 # If the user set $PYTHON, use it and don't search something else.
1479 AC_MSG_CHECKING([whether $PYTHON version >= $1])
1480 AM_PYTHON_CHECK_VERSION([$PYTHON], [$1],
1481 [AC_MSG_RESULT(yes)],
1482 [AC_MSG_ERROR(too old)])
1483 am_display_PYTHON=$PYTHON
1484 else
1485 # Otherwise, try each interpreter until we find one that satisfies
1486 # VERSION.
1487 AC_CACHE_CHECK([for a Python interpreter with version >= $1],
1488 [am_cv_pathless_PYTHON],[
1489 for am_cv_pathless_PYTHON in _AM_PYTHON_INTERPRETER_LIST none; do
1490 test "$am_cv_pathless_PYTHON" = none && break
1491 AM_PYTHON_CHECK_VERSION([$am_cv_pathless_PYTHON], [$1], [break])
1492 done])
1493 # Set $PYTHON to the absolute path of $am_cv_pathless_PYTHON.
1494 if test "$am_cv_pathless_PYTHON" = none; then
1495 PYTHON=:
1496 else
1497 AC_PATH_PROG([PYTHON], [$am_cv_pathless_PYTHON])
1498 fi
1499 am_display_PYTHON=$am_cv_pathless_PYTHON
1500 fi
1501 ])
1502
1503 if test "$PYTHON" = :; then
1504 dnl Run any user-specified action, or abort.
1505 m4_default([$3], [AC_MSG_ERROR([no suitable Python interpreter found])])
1506 else
1507
1508 dnl Query Python for its version number. Getting [:3] seems to be
1509 dnl the best way to do this; it's what "site.py" does in the standard
1510 dnl library.
1511
1512 AC_CACHE_CHECK([for $am_display_PYTHON version], [am_cv_python_version],
1513 [am_cv_python_version=`$PYTHON -c "import sys; sys.stdout.write(sys.version[[:3]])"`])
1514 AC_SUBST([PYTHON_VERSION], [$am_cv_python_version])
1515
1516 dnl Use the values of $prefix and $exec_prefix for the corresponding
1517 dnl values of PYTHON_PREFIX and PYTHON_EXEC_PREFIX. These are made
1518 dnl distinct variables so they can be overridden if need be. However,
1519 dnl general consensus is that you shouldn't need this ability.
1520
1521 AC_SUBST([PYTHON_PREFIX], ['${prefix}'])
1522 AC_SUBST([PYTHON_EXEC_PREFIX], ['${exec_prefix}'])
1523
1524 dnl At times (like when building shared libraries) you may want
1525 dnl to know which OS platform Python thinks this is.
1526
1527 AC_CACHE_CHECK([for $am_display_PYTHON platform], [am_cv_python_platform],
1528 [am_cv_python_platform=`$PYTHON -c "import sys; sys.stdout.write(sys.platform)"`])
1529 AC_SUBST([PYTHON_PLATFORM], [$am_cv_python_platform])
1530
1531
1532 dnl Set up 4 directories:
1533
1534 dnl pythondir -- where to install python scripts. This is the
1535 dnl site-packages directory, not the python standard library
1536 dnl directory like in previous automake betas. This behavior
1537 dnl is more consistent with lispdir.m4 for example.
1538 dnl Query distutils for this directory. distutils does not exist in
1539 dnl Python 1.5, so we fall back to the hardcoded directory if it
1540 dnl doesn't work.
1541 AC_CACHE_CHECK([for $am_display_PYTHON script directory],
1542 [am_cv_python_pythondir],
1543 [if test "x$prefix" = xNONE
1544 then
1545 am_py_prefix=$ac_default_prefix
1546 else
1547 am_py_prefix=$prefix
1548 fi
1549 am_cv_python_pythondir=`$PYTHON -c "import sys; from distutils import sysconfig; sys.stdout.write(sysconfig.get_python_lib(0,0,prefix='$am_py_prefix'))" 2>/dev/null ||
1550 echo "$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages"`
1551 case $am_cv_python_pythondir in
1552 $am_py_prefix*)
1553 am__strip_prefix=`echo "$am_py_prefix" | sed 's|.|.|g'`
1554 am_cv_python_pythondir=`echo "$am_cv_python_pythondir" | sed "s,^$am__strip_prefix,$PYTHON_PREFIX,"`
1555 ;;
1556 *)
1557 case $am_py_prefix in
1558 /usr|/System*) ;;
1559 *)
1560 am_cv_python_pythondir=$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages
1561 ;;
1562 esac
1563 ;;
1564 esac
1565 ])
1566 AC_SUBST([pythondir], [$am_cv_python_pythondir])
1567
1568 dnl pkgpythondir -- $PACKAGE directory under pythondir. Was
1569 dnl PYTHON_SITE_PACKAGE in previous betas, but this naming is
1570 dnl more consistent with the rest of automake.
1571
1572 AC_SUBST([pkgpythondir], [\${pythondir}/$PACKAGE])
1573
1574 dnl pyexecdir -- directory for installing python extension modules
1575 dnl (shared libraries)
1576 dnl Query distutils for this directory. distutils does not exist in
1577 dnl Python 1.5, so we fall back to the hardcoded directory if it
1578 dnl doesn't work.
1579 AC_CACHE_CHECK([for $am_display_PYTHON extension module directory],
1580 [am_cv_python_pyexecdir],
1581 [if test "x$exec_prefix" = xNONE
1582 then
1583 am_py_exec_prefix=$am_py_prefix
1584 else
1585 am_py_exec_prefix=$exec_prefix
1586 fi
1587 am_cv_python_pyexecdir=`$PYTHON -c "import sys; from distutils import sysconfig; sys.stdout.write(sysconfig.get_python_lib(1,0,prefix='$am_py_exec_prefix'))" 2>/dev/null ||
1588 echo "$PYTHON_EXEC_PREFIX/lib/python$PYTHON_VERSION/site-packages"`
1589 case $am_cv_python_pyexecdir in
1590 $am_py_exec_prefix*)
1591 am__strip_prefix=`echo "$am_py_exec_prefix" | sed 's|.|.|g'`
1592 am_cv_python_pyexecdir=`echo "$am_cv_python_pyexecdir" | sed "s,^$am__strip_prefix,$PYTHON_EXEC_PREFIX,"`
1593 ;;
1594 *)
1595 case $am_py_exec_prefix in
1596 /usr|/System*) ;;
1597 *)
1598 am_cv_python_pyexecdir=$PYTHON_EXEC_PREFIX/lib/python$PYTHON_VERSION/site-packages
1599 ;;
1600 esac
1601 ;;
1602 esac
1603 ])
1604 AC_SUBST([pyexecdir], [$am_cv_python_pyexecdir])
1605
1606 dnl pkgpyexecdir -- $(pyexecdir)/$(PACKAGE)
1607
1608 AC_SUBST([pkgpyexecdir], [\${pyexecdir}/$PACKAGE])
1609
1610 dnl Run any user-specified action.
1611 $2
1612 fi
1613
1614])
1615
1616
1617# AM_PYTHON_CHECK_VERSION(PROG, VERSION, [ACTION-IF-TRUE], [ACTION-IF-FALSE])
1618# ---------------------------------------------------------------------------
1619# Run ACTION-IF-TRUE if the Python interpreter PROG has version >= VERSION.
1620# Run ACTION-IF-FALSE otherwise.
1621# This test uses sys.hexversion instead of the string equivalent (first
1622# word of sys.version), in order to cope with versions such as 2.2c1.
1623# This supports Python 2.0 or higher. (2.0 was released on October 16, 2000).
1624AC_DEFUN([AM_PYTHON_CHECK_VERSION],
1625 [prog="import sys
1626# split strings by '.' and convert to numeric. Append some zeros
1627# because we need at least 4 digits for the hex conversion.
1628# map returns an iterator in Python 3.0 and a list in 2.x
1629minver = list(map(int, '$2'.split('.'))) + [[0, 0, 0]]
1630minverhex = 0
1631# xrange is not present in Python 3.0 and range returns an iterator
1632for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[[i]]
1633sys.exit(sys.hexversion < minverhex)"
1634 AS_IF([AM_RUN_LOG([$1 -c "$prog"])], [$3], [$4])])
1635
1636# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
1637#
1638# This file is free software; the Free Software Foundation
1639# gives unlimited permission to copy and/or distribute it,
1640# with or without modifications, as long as this notice is preserved.
1641
1642# AM_RUN_LOG(COMMAND)
1643# -------------------
1644# Run COMMAND, save the exit status in ac_status, and log it.
1645# (This has been adapted from Autoconf's _AC_RUN_LOG macro.)
1646AC_DEFUN([AM_RUN_LOG],
1647[{ echo "$as_me:$LINENO: $1" >&AS_MESSAGE_LOG_FD
1648 ($1) >&AS_MESSAGE_LOG_FD 2>&AS_MESSAGE_LOG_FD
1649 ac_status=$?
1650 echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
1651 (exit $ac_status); }])
1652
1653# Check to make sure that the build environment is sane. -*- Autoconf -*-
1654
1655# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005, 2008
1656# Free Software Foundation, Inc.
1657#
1658# This file is free software; the Free Software Foundation
1659# gives unlimited permission to copy and/or distribute it,
1660# with or without modifications, as long as this notice is preserved.
1661
1662# serial 5
1663
1664# AM_SANITY_CHECK
1665# ---------------
1666AC_DEFUN([AM_SANITY_CHECK],
1667[AC_MSG_CHECKING([whether build environment is sane])
1668# Just in case
1669sleep 1
1670echo timestamp > conftest.file
1671# Reject unsafe characters in $srcdir or the absolute working directory
1672# name. Accept space and tab only in the latter.
1673am_lf='
1674'
1675case `pwd` in
1676 *[[\\\"\#\$\&\'\`$am_lf]]*)
1677 AC_MSG_ERROR([unsafe absolute working directory name]);;
1678esac
1679case $srcdir in
1680 *[[\\\"\#\$\&\'\`$am_lf\ \ ]]*)
1681 AC_MSG_ERROR([unsafe srcdir value: `$srcdir']);;
1682esac
1683
1684# Do `set' in a subshell so we don't clobber the current shell's
1685# arguments. Must try -L first in case configure is actually a
1686# symlink; some systems play weird games with the mod time of symlinks
1687# (eg FreeBSD returns the mod time of the symlink's containing
1688# directory).
1689if (
1690 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
1691 if test "$[*]" = "X"; then
1692 # -L didn't work.
1693 set X `ls -t "$srcdir/configure" conftest.file`
1694 fi
1695 rm -f conftest.file
1696 if test "$[*]" != "X $srcdir/configure conftest.file" \
1697 && test "$[*]" != "X conftest.file $srcdir/configure"; then
1698
1699 # If neither matched, then we have a broken ls. This can happen
1700 # if, for instance, CONFIG_SHELL is bash and it inherits a
1701 # broken ls alias from the environment. This has actually
1702 # happened. Such a system could not be considered "sane".
1703 AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken
1704alias in your environment])
1705 fi
1706
1707 test "$[2]" = conftest.file
1708 )
1709then
1710 # Ok.
1711 :
1712else
1713 AC_MSG_ERROR([newly created file is older than distributed files!
1714Check your system clock])
1715fi
1716AC_MSG_RESULT(yes)])
1717
1718# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
1719#
1720# This file is free software; the Free Software Foundation
1721# gives unlimited permission to copy and/or distribute it,
1722# with or without modifications, as long as this notice is preserved.
1723
1724# AM_PROG_INSTALL_STRIP
1725# ---------------------
1726# One issue with vendor `install' (even GNU) is that you can't
1727# specify the program used to strip binaries. This is especially
1728# annoying in cross-compiling environments, where the build's strip
1729# is unlikely to handle the host's binaries.
1730# Fortunately install-sh will honor a STRIPPROG variable, so we
1731# always use install-sh in `make install-strip', and initialize
1732# STRIPPROG with the value of the STRIP variable (set by the user).
1733AC_DEFUN([AM_PROG_INSTALL_STRIP],
1734[AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
1735# Installed binaries are usually stripped using `strip' when the user
1736# run `make install-strip'. However `strip' might not be the right
1737# tool to use in cross-compilation environments, therefore Automake
1738# will honor the `STRIP' environment variable to overrule this program.
1739dnl Don't test for $cross_compiling = yes, because it might be `maybe'.
1740if test "$cross_compiling" != no; then
1741 AC_CHECK_TOOL([STRIP], [strip], :)
1742fi
1743INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
1744AC_SUBST([INSTALL_STRIP_PROGRAM])])
1745
1746# Copyright (C) 2006, 2008 Free Software Foundation, Inc.
1747#
1748# This file is free software; the Free Software Foundation
1749# gives unlimited permission to copy and/or distribute it,
1750# with or without modifications, as long as this notice is preserved.
1751
1752# serial 2
1753
1754# _AM_SUBST_NOTMAKE(VARIABLE)
1755# ---------------------------
1756# Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in.
1757# This macro is traced by Automake.
1758AC_DEFUN([_AM_SUBST_NOTMAKE])
1759
1760# AM_SUBST_NOTMAKE(VARIABLE)
1761# ---------------------------
1762# Public sister of _AM_SUBST_NOTMAKE.
1763AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
1764
1765# Check how to create a tarball. -*- Autoconf -*-
1766
1767# Copyright (C) 2004, 2005 Free Software Foundation, Inc.
1768#
1769# This file is free software; the Free Software Foundation
1770# gives unlimited permission to copy and/or distribute it,
1771# with or without modifications, as long as this notice is preserved.
1772
1773# serial 2
1774
1775# _AM_PROG_TAR(FORMAT)
1776# --------------------
1777# Check how to create a tarball in format FORMAT.
1778# FORMAT should be one of `v7', `ustar', or `pax'.
1779#
1780# Substitute a variable $(am__tar) that is a command
1781# writing to stdout a FORMAT-tarball containing the directory
1782# $tardir.
1783# tardir=directory && $(am__tar) > result.tar
1784#
1785# Substitute a variable $(am__untar) that extract such
1786# a tarball read from stdin.
1787# $(am__untar) < result.tar
1788AC_DEFUN([_AM_PROG_TAR],
1789[# Always define AMTAR for backward compatibility.
1790AM_MISSING_PROG([AMTAR], [tar])
1791m4_if([$1], [v7],
1792 [am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'],
1793 [m4_case([$1], [ustar],, [pax],,
1794 [m4_fatal([Unknown tar format])])
1795AC_MSG_CHECKING([how to create a $1 tar archive])
1796# Loop over all known methods to create a tar archive until one works.
1797_am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none'
1798_am_tools=${am_cv_prog_tar_$1-$_am_tools}
1799# Do not fold the above two line into one, because Tru64 sh and
1800# Solaris sh will not grok spaces in the rhs of `-'.
1801for _am_tool in $_am_tools
1802do
1803 case $_am_tool in
1804 gnutar)
1805 for _am_tar in tar gnutar gtar;
1806 do
1807 AM_RUN_LOG([$_am_tar --version]) && break
1808 done
1809 am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"'
1810 am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"'
1811 am__untar="$_am_tar -xf -"
1812 ;;
1813 plaintar)
1814 # Must skip GNU tar: if it does not support --format= it doesn't create
1815 # ustar tarball either.
1816 (tar --version) >/dev/null 2>&1 && continue
1817 am__tar='tar chf - "$$tardir"'
1818 am__tar_='tar chf - "$tardir"'
1819 am__untar='tar xf -'
1820 ;;
1821 pax)
1822 am__tar='pax -L -x $1 -w "$$tardir"'
1823 am__tar_='pax -L -x $1 -w "$tardir"'
1824 am__untar='pax -r'
1825 ;;
1826 cpio)
1827 am__tar='find "$$tardir" -print | cpio -o -H $1 -L'
1828 am__tar_='find "$tardir" -print | cpio -o -H $1 -L'
1829 am__untar='cpio -i -H $1 -d'
1830 ;;
1831 none)
1832 am__tar=false
1833 am__tar_=false
1834 am__untar=false
1835 ;;
1836 esac
1837
1838 # If the value was cached, stop now. We just wanted to have am__tar
1839 # and am__untar set.
1840 test -n "${am_cv_prog_tar_$1}" && break
1841
1842 # tar/untar a dummy directory, and stop if the command works
1843 rm -rf conftest.dir
1844 mkdir conftest.dir
1845 echo GrepMe > conftest.dir/file
1846 AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar])
1847 rm -rf conftest.dir
1848 if test -s conftest.tar; then
1849 AM_RUN_LOG([$am__untar <conftest.tar])
1850 grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
1851 fi
1852done
1853rm -rf conftest.dir
1854
1855AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool])
1856AC_MSG_RESULT([$am_cv_prog_tar_$1])])
1857AC_SUBST([am__tar])
1858AC_SUBST([am__untar])
1859]) # _AM_PROG_TAR
1860
1861m4_include([m4/gettext.m4])
1862m4_include([m4/iconv.m4])
1863m4_include([m4/lib-ld.m4])
1864m4_include([m4/lib-link.m4])
1865m4_include([m4/lib-prefix.m4])
1866m4_include([m4/libtool.m4])
1867m4_include([m4/ltoptions.m4])
1868m4_include([m4/ltsugar.m4])
1869m4_include([m4/ltversion.m4])
1870m4_include([m4/lt~obsolete.m4])
1871m4_include([m4/nls.m4])
1872m4_include([m4/po.m4])
1873m4_include([m4/progtest.m4])
1874m4_include([acinclude.m4])
01875
=== added file 'autogen.sh'
--- autogen.sh 1970-01-01 00:00:00 +0000
+++ autogen.sh 2011-01-24 18:52:52 +0000
@@ -0,0 +1,18 @@
1#!/bin/sh
2
3srcdir=`dirname $0`
4test -z "$srcdir" && srcdir=.
5
6ORIGDIR=`pwd`
7cd $srcdir
8
9libtoolize --force --copy || exit $?
10autopoint --force || exit $?
11aclocal -I m4 $ACLOCAL_FLAGS || exit $?
12autoconf || exit $?
13autoheader || exit $?
14automake -c -a || exit $?
15
16cd "$ORIGDIR"
17
18$srcdir/configure --enable-maintainer-mode "$@" || exit $?
019
=== renamed file 'autogen.sh' => 'autogen.sh.moved'
=== added file 'config.guess'
--- config.guess 1970-01-01 00:00:00 +0000
+++ config.guess 2011-01-24 18:52:52 +0000
@@ -0,0 +1,1502 @@
1#! /bin/sh
2# Attempt to guess a canonical system name.
3# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
4# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010
5# Free Software Foundation, Inc.
6
7timestamp='2009-12-30'
8
9# This file is free software; you can redistribute it and/or modify it
10# under the terms of the GNU General Public License as published by
11# the Free Software Foundation; either version 2 of the License, or
12# (at your option) any later version.
13#
14# This program is distributed in the hope that it will be useful, but
15# WITHOUT ANY WARRANTY; without even the implied warranty of
16# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17# General Public License for more details.
18#
19# You should have received a copy of the GNU General Public License
20# along with this program; if not, write to the Free Software
21# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA
22# 02110-1301, USA.
23#
24# As a special exception to the GNU General Public License, if you
25# distribute this file as part of a program that contains a
26# configuration script generated by Autoconf, you may include it under
27# the same distribution terms that you use for the rest of that program.
28
29
30# Originally written by Per Bothner. Please send patches (context
31# diff format) to <config-patches@gnu.org> and include a ChangeLog
32# entry.
33#
34# This script attempts to guess a canonical system name similar to
35# config.sub. If it succeeds, it prints the system name on stdout, and
36# exits with 0. Otherwise, it exits with 1.
37#
38# You can get the latest version of this script from:
39# http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD
40
41me=`echo "$0" | sed -e 's,.*/,,'`
42
43usage="\
44Usage: $0 [OPTION]
45
46Output the configuration name of the system \`$me' is run on.
47
48Operation modes:
49 -h, --help print this help, then exit
50 -t, --time-stamp print date of last modification, then exit
51 -v, --version print version number, then exit
52
53Report bugs and patches to <config-patches@gnu.org>."
54
55version="\
56GNU config.guess ($timestamp)
57
58Originally written by Per Bothner.
59Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
602001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free
61Software Foundation, Inc.
62
63This is free software; see the source for copying conditions. There is NO
64warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
65
66help="
67Try \`$me --help' for more information."
68
69# Parse command line
70while test $# -gt 0 ; do
71 case $1 in
72 --time-stamp | --time* | -t )
73 echo "$timestamp" ; exit ;;
74 --version | -v )
75 echo "$version" ; exit ;;
76 --help | --h* | -h )
77 echo "$usage"; exit ;;
78 -- ) # Stop option processing
79 shift; break ;;
80 - ) # Use stdin as input.
81 break ;;
82 -* )
83 echo "$me: invalid option $1$help" >&2
84 exit 1 ;;
85 * )
86 break ;;
87 esac
88done
89
90if test $# != 0; then
91 echo "$me: too many arguments$help" >&2
92 exit 1
93fi
94
95trap 'exit 1' 1 2 15
96
97# CC_FOR_BUILD -- compiler used by this script. Note that the use of a
98# compiler to aid in system detection is discouraged as it requires
99# temporary files to be created and, as you can see below, it is a
100# headache to deal with in a portable fashion.
101
102# Historically, `CC_FOR_BUILD' used to be named `HOST_CC'. We still
103# use `HOST_CC' if defined, but it is deprecated.
104
105# Portable tmp directory creation inspired by the Autoconf team.
106
107set_cc_for_build='
108trap "exitcode=\$?; (rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null) && exit \$exitcode" 0 ;
109trap "rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null; exit 1" 1 2 13 15 ;
110: ${TMPDIR=/tmp} ;
111 { tmp=`(umask 077 && mktemp -d "$TMPDIR/cgXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" ; } ||
112 { test -n "$RANDOM" && tmp=$TMPDIR/cg$$-$RANDOM && (umask 077 && mkdir $tmp) ; } ||
113 { tmp=$TMPDIR/cg-$$ && (umask 077 && mkdir $tmp) && echo "Warning: creating insecure temp directory" >&2 ; } ||
114 { echo "$me: cannot create a temporary directory in $TMPDIR" >&2 ; exit 1 ; } ;
115dummy=$tmp/dummy ;
116tmpfiles="$dummy.c $dummy.o $dummy.rel $dummy" ;
117case $CC_FOR_BUILD,$HOST_CC,$CC in
118 ,,) echo "int x;" > $dummy.c ;
119 for c in cc gcc c89 c99 ; do
120 if ($c -c -o $dummy.o $dummy.c) >/dev/null 2>&1 ; then
121 CC_FOR_BUILD="$c"; break ;
122 fi ;
123 done ;
124 if test x"$CC_FOR_BUILD" = x ; then
125 CC_FOR_BUILD=no_compiler_found ;
126 fi
127 ;;
128 ,,*) CC_FOR_BUILD=$CC ;;
129 ,*,*) CC_FOR_BUILD=$HOST_CC ;;
130esac ; set_cc_for_build= ;'
131
132# This is needed to find uname on a Pyramid OSx when run in the BSD universe.
133# (ghazi@noc.rutgers.edu 1994-08-24)
134if (test -f /.attbin/uname) >/dev/null 2>&1 ; then
135 PATH=$PATH:/.attbin ; export PATH
136fi
137
138UNAME_MACHINE=`(uname -m) 2>/dev/null` || UNAME_MACHINE=unknown
139UNAME_RELEASE=`(uname -r) 2>/dev/null` || UNAME_RELEASE=unknown
140UNAME_SYSTEM=`(uname -s) 2>/dev/null` || UNAME_SYSTEM=unknown
141UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown
142
143# Note: order is significant - the case branches are not exclusive.
144
145case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
146 *:NetBSD:*:*)
147 # NetBSD (nbsd) targets should (where applicable) match one or
148 # more of the tupples: *-*-netbsdelf*, *-*-netbsdaout*,
149 # *-*-netbsdecoff* and *-*-netbsd*. For targets that recently
150 # switched to ELF, *-*-netbsd* would select the old
151 # object file format. This provides both forward
152 # compatibility and a consistent mechanism for selecting the
153 # object file format.
154 #
155 # Note: NetBSD doesn't particularly care about the vendor
156 # portion of the name. We always set it to "unknown".
157 sysctl="sysctl -n hw.machine_arch"
158 UNAME_MACHINE_ARCH=`(/sbin/$sysctl 2>/dev/null || \
159 /usr/sbin/$sysctl 2>/dev/null || echo unknown)`
160 case "${UNAME_MACHINE_ARCH}" in
161 armeb) machine=armeb-unknown ;;
162 arm*) machine=arm-unknown ;;
163 sh3el) machine=shl-unknown ;;
164 sh3eb) machine=sh-unknown ;;
165 sh5el) machine=sh5le-unknown ;;
166 *) machine=${UNAME_MACHINE_ARCH}-unknown ;;
167 esac
168 # The Operating System including object format, if it has switched
169 # to ELF recently, or will in the future.
170 case "${UNAME_MACHINE_ARCH}" in
171 arm*|i386|m68k|ns32k|sh3*|sparc|vax)
172 eval $set_cc_for_build
173 if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \
174 | grep -q __ELF__
175 then
176 # Once all utilities can be ECOFF (netbsdecoff) or a.out (netbsdaout).
177 # Return netbsd for either. FIX?
178 os=netbsd
179 else
180 os=netbsdelf
181 fi
182 ;;
183 *)
184 os=netbsd
185 ;;
186 esac
187 # The OS release
188 # Debian GNU/NetBSD machines have a different userland, and
189 # thus, need a distinct triplet. However, they do not need
190 # kernel version information, so it can be replaced with a
191 # suitable tag, in the style of linux-gnu.
192 case "${UNAME_VERSION}" in
193 Debian*)
194 release='-gnu'
195 ;;
196 *)
197 release=`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'`
198 ;;
199 esac
200 # Since CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM:
201 # contains redundant information, the shorter form:
202 # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used.
203 echo "${machine}-${os}${release}"
204 exit ;;
205 *:OpenBSD:*:*)
206 UNAME_MACHINE_ARCH=`arch | sed 's/OpenBSD.//'`
207 echo ${UNAME_MACHINE_ARCH}-unknown-openbsd${UNAME_RELEASE}
208 exit ;;
209 *:ekkoBSD:*:*)
210 echo ${UNAME_MACHINE}-unknown-ekkobsd${UNAME_RELEASE}
211 exit ;;
212 *:SolidBSD:*:*)
213 echo ${UNAME_MACHINE}-unknown-solidbsd${UNAME_RELEASE}
214 exit ;;
215 macppc:MirBSD:*:*)
216 echo powerpc-unknown-mirbsd${UNAME_RELEASE}
217 exit ;;
218 *:MirBSD:*:*)
219 echo ${UNAME_MACHINE}-unknown-mirbsd${UNAME_RELEASE}
220 exit ;;
221 alpha:OSF1:*:*)
222 case $UNAME_RELEASE in
223 *4.0)
224 UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'`
225 ;;
226 *5.*)
227 UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $4}'`
228 ;;
229 esac
230 # According to Compaq, /usr/sbin/psrinfo has been available on
231 # OSF/1 and Tru64 systems produced since 1995. I hope that
232 # covers most systems running today. This code pipes the CPU
233 # types through head -n 1, so we only detect the type of CPU 0.
234 ALPHA_CPU_TYPE=`/usr/sbin/psrinfo -v | sed -n -e 's/^ The alpha \(.*\) processor.*$/\1/p' | head -n 1`
235 case "$ALPHA_CPU_TYPE" in
236 "EV4 (21064)")
237 UNAME_MACHINE="alpha" ;;
238 "EV4.5 (21064)")
239 UNAME_MACHINE="alpha" ;;
240 "LCA4 (21066/21068)")
241 UNAME_MACHINE="alpha" ;;
242 "EV5 (21164)")
243 UNAME_MACHINE="alphaev5" ;;
244 "EV5.6 (21164A)")
245 UNAME_MACHINE="alphaev56" ;;
246 "EV5.6 (21164PC)")
247 UNAME_MACHINE="alphapca56" ;;
248 "EV5.7 (21164PC)")
249 UNAME_MACHINE="alphapca57" ;;
250 "EV6 (21264)")
251 UNAME_MACHINE="alphaev6" ;;
252 "EV6.7 (21264A)")
253 UNAME_MACHINE="alphaev67" ;;
254 "EV6.8CB (21264C)")
255 UNAME_MACHINE="alphaev68" ;;
256 "EV6.8AL (21264B)")
257 UNAME_MACHINE="alphaev68" ;;
258 "EV6.8CX (21264D)")
259 UNAME_MACHINE="alphaev68" ;;
260 "EV6.9A (21264/EV69A)")
261 UNAME_MACHINE="alphaev69" ;;
262 "EV7 (21364)")
263 UNAME_MACHINE="alphaev7" ;;
264 "EV7.9 (21364A)")
265 UNAME_MACHINE="alphaev79" ;;
266 esac
267 # A Pn.n version is a patched version.
268 # A Vn.n version is a released version.
269 # A Tn.n version is a released field test version.
270 # A Xn.n version is an unreleased experimental baselevel.
271 # 1.2 uses "1.2" for uname -r.
272 echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[PVTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
273 exit ;;
274 Alpha\ *:Windows_NT*:*)
275 # How do we know it's Interix rather than the generic POSIX subsystem?
276 # Should we change UNAME_MACHINE based on the output of uname instead
277 # of the specific Alpha model?
278 echo alpha-pc-interix
279 exit ;;
280 21064:Windows_NT:50:3)
281 echo alpha-dec-winnt3.5
282 exit ;;
283 Amiga*:UNIX_System_V:4.0:*)
284 echo m68k-unknown-sysv4
285 exit ;;
286 *:[Aa]miga[Oo][Ss]:*:*)
287 echo ${UNAME_MACHINE}-unknown-amigaos
288 exit ;;
289 *:[Mm]orph[Oo][Ss]:*:*)
290 echo ${UNAME_MACHINE}-unknown-morphos
291 exit ;;
292 *:OS/390:*:*)
293 echo i370-ibm-openedition
294 exit ;;
295 *:z/VM:*:*)
296 echo s390-ibm-zvmoe
297 exit ;;
298 *:OS400:*:*)
299 echo powerpc-ibm-os400
300 exit ;;
301 arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*)
302 echo arm-acorn-riscix${UNAME_RELEASE}
303 exit ;;
304 arm:riscos:*:*|arm:RISCOS:*:*)
305 echo arm-unknown-riscos
306 exit ;;
307 SR2?01:HI-UX/MPP:*:* | SR8000:HI-UX/MPP:*:*)
308 echo hppa1.1-hitachi-hiuxmpp
309 exit ;;
310 Pyramid*:OSx*:*:* | MIS*:OSx*:*:* | MIS*:SMP_DC-OSx*:*:*)
311 # akee@wpdis03.wpafb.af.mil (Earle F. Ake) contributed MIS and NILE.
312 if test "`(/bin/universe) 2>/dev/null`" = att ; then
313 echo pyramid-pyramid-sysv3
314 else
315 echo pyramid-pyramid-bsd
316 fi
317 exit ;;
318 NILE*:*:*:dcosx)
319 echo pyramid-pyramid-svr4
320 exit ;;
321 DRS?6000:unix:4.0:6*)
322 echo sparc-icl-nx6
323 exit ;;
324 DRS?6000:UNIX_SV:4.2*:7* | DRS?6000:isis:4.2*:7*)
325 case `/usr/bin/uname -p` in
326 sparc) echo sparc-icl-nx7; exit ;;
327 esac ;;
328 s390x:SunOS:*:*)
329 echo ${UNAME_MACHINE}-ibm-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
330 exit ;;
331 sun4H:SunOS:5.*:*)
332 echo sparc-hal-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
333 exit ;;
334 sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*)
335 echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
336 exit ;;
337 i86pc:AuroraUX:5.*:* | i86xen:AuroraUX:5.*:*)
338 echo i386-pc-auroraux${UNAME_RELEASE}
339 exit ;;
340 i86pc:SunOS:5.*:* | i86xen:SunOS:5.*:*)
341 eval $set_cc_for_build
342 SUN_ARCH="i386"
343 # If there is a compiler, see if it is configured for 64-bit objects.
344 # Note that the Sun cc does not turn __LP64__ into 1 like gcc does.
345 # This test works for both compilers.
346 if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then
347 if (echo '#ifdef __amd64'; echo IS_64BIT_ARCH; echo '#endif') | \
348 (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \
349 grep IS_64BIT_ARCH >/dev/null
350 then
351 SUN_ARCH="x86_64"
352 fi
353 fi
354 echo ${SUN_ARCH}-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
355 exit ;;
356 sun4*:SunOS:6*:*)
357 # According to config.sub, this is the proper way to canonicalize
358 # SunOS6. Hard to guess exactly what SunOS6 will be like, but
359 # it's likely to be more like Solaris than SunOS4.
360 echo sparc-sun-solaris3`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
361 exit ;;
362 sun4*:SunOS:*:*)
363 case "`/usr/bin/arch -k`" in
364 Series*|S4*)
365 UNAME_RELEASE=`uname -v`
366 ;;
367 esac
368 # Japanese Language versions have a version number like `4.1.3-JL'.
369 echo sparc-sun-sunos`echo ${UNAME_RELEASE}|sed -e 's/-/_/'`
370 exit ;;
371 sun3*:SunOS:*:*)
372 echo m68k-sun-sunos${UNAME_RELEASE}
373 exit ;;
374 sun*:*:4.2BSD:*)
375 UNAME_RELEASE=`(sed 1q /etc/motd | awk '{print substr($5,1,3)}') 2>/dev/null`
376 test "x${UNAME_RELEASE}" = "x" && UNAME_RELEASE=3
377 case "`/bin/arch`" in
378 sun3)
379 echo m68k-sun-sunos${UNAME_RELEASE}
380 ;;
381 sun4)
382 echo sparc-sun-sunos${UNAME_RELEASE}
383 ;;
384 esac
385 exit ;;
386 aushp:SunOS:*:*)
387 echo sparc-auspex-sunos${UNAME_RELEASE}
388 exit ;;
389 # The situation for MiNT is a little confusing. The machine name
390 # can be virtually everything (everything which is not
391 # "atarist" or "atariste" at least should have a processor
392 # > m68000). The system name ranges from "MiNT" over "FreeMiNT"
393 # to the lowercase version "mint" (or "freemint"). Finally
394 # the system name "TOS" denotes a system which is actually not
395 # MiNT. But MiNT is downward compatible to TOS, so this should
396 # be no problem.
397 atarist[e]:*MiNT:*:* | atarist[e]:*mint:*:* | atarist[e]:*TOS:*:*)
398 echo m68k-atari-mint${UNAME_RELEASE}
399 exit ;;
400 atari*:*MiNT:*:* | atari*:*mint:*:* | atarist[e]:*TOS:*:*)
401 echo m68k-atari-mint${UNAME_RELEASE}
402 exit ;;
403 *falcon*:*MiNT:*:* | *falcon*:*mint:*:* | *falcon*:*TOS:*:*)
404 echo m68k-atari-mint${UNAME_RELEASE}
405 exit ;;
406 milan*:*MiNT:*:* | milan*:*mint:*:* | *milan*:*TOS:*:*)
407 echo m68k-milan-mint${UNAME_RELEASE}
408 exit ;;
409 hades*:*MiNT:*:* | hades*:*mint:*:* | *hades*:*TOS:*:*)
410 echo m68k-hades-mint${UNAME_RELEASE}
411 exit ;;
412 *:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*)
413 echo m68k-unknown-mint${UNAME_RELEASE}
414 exit ;;
415 m68k:machten:*:*)
416 echo m68k-apple-machten${UNAME_RELEASE}
417 exit ;;
418 powerpc:machten:*:*)
419 echo powerpc-apple-machten${UNAME_RELEASE}
420 exit ;;
421 RISC*:Mach:*:*)
422 echo mips-dec-mach_bsd4.3
423 exit ;;
424 RISC*:ULTRIX:*:*)
425 echo mips-dec-ultrix${UNAME_RELEASE}
426 exit ;;
427 VAX*:ULTRIX*:*:*)
428 echo vax-dec-ultrix${UNAME_RELEASE}
429 exit ;;
430 2020:CLIX:*:* | 2430:CLIX:*:*)
431 echo clipper-intergraph-clix${UNAME_RELEASE}
432 exit ;;
433 mips:*:*:UMIPS | mips:*:*:RISCos)
434 eval $set_cc_for_build
435 sed 's/^ //' << EOF >$dummy.c
436#ifdef __cplusplus
437#include <stdio.h> /* for printf() prototype */
438 int main (int argc, char *argv[]) {
439#else
440 int main (argc, argv) int argc; char *argv[]; {
441#endif
442 #if defined (host_mips) && defined (MIPSEB)
443 #if defined (SYSTYPE_SYSV)
444 printf ("mips-mips-riscos%ssysv\n", argv[1]); exit (0);
445 #endif
446 #if defined (SYSTYPE_SVR4)
447 printf ("mips-mips-riscos%ssvr4\n", argv[1]); exit (0);
448 #endif
449 #if defined (SYSTYPE_BSD43) || defined(SYSTYPE_BSD)
450 printf ("mips-mips-riscos%sbsd\n", argv[1]); exit (0);
451 #endif
452 #endif
453 exit (-1);
454 }
455EOF
456 $CC_FOR_BUILD -o $dummy $dummy.c &&
457 dummyarg=`echo "${UNAME_RELEASE}" | sed -n 's/\([0-9]*\).*/\1/p'` &&
458 SYSTEM_NAME=`$dummy $dummyarg` &&
459 { echo "$SYSTEM_NAME"; exit; }
460 echo mips-mips-riscos${UNAME_RELEASE}
461 exit ;;
462 Motorola:PowerMAX_OS:*:*)
463 echo powerpc-motorola-powermax
464 exit ;;
465 Motorola:*:4.3:PL8-*)
466 echo powerpc-harris-powermax
467 exit ;;
468 Night_Hawk:*:*:PowerMAX_OS | Synergy:PowerMAX_OS:*:*)
469 echo powerpc-harris-powermax
470 exit ;;
471 Night_Hawk:Power_UNIX:*:*)
472 echo powerpc-harris-powerunix
473 exit ;;
474 m88k:CX/UX:7*:*)
475 echo m88k-harris-cxux7
476 exit ;;
477 m88k:*:4*:R4*)
478 echo m88k-motorola-sysv4
479 exit ;;
480 m88k:*:3*:R3*)
481 echo m88k-motorola-sysv3
482 exit ;;
483 AViiON:dgux:*:*)
484 # DG/UX returns AViiON for all architectures
485 UNAME_PROCESSOR=`/usr/bin/uname -p`
486 if [ $UNAME_PROCESSOR = mc88100 ] || [ $UNAME_PROCESSOR = mc88110 ]
487 then
488 if [ ${TARGET_BINARY_INTERFACE}x = m88kdguxelfx ] || \
489 [ ${TARGET_BINARY_INTERFACE}x = x ]
490 then
491 echo m88k-dg-dgux${UNAME_RELEASE}
492 else
493 echo m88k-dg-dguxbcs${UNAME_RELEASE}
494 fi
495 else
496 echo i586-dg-dgux${UNAME_RELEASE}
497 fi
498 exit ;;
499 M88*:DolphinOS:*:*) # DolphinOS (SVR3)
500 echo m88k-dolphin-sysv3
501 exit ;;
502 M88*:*:R3*:*)
503 # Delta 88k system running SVR3
504 echo m88k-motorola-sysv3
505 exit ;;
506 XD88*:*:*:*) # Tektronix XD88 system running UTekV (SVR3)
507 echo m88k-tektronix-sysv3
508 exit ;;
509 Tek43[0-9][0-9]:UTek:*:*) # Tektronix 4300 system running UTek (BSD)
510 echo m68k-tektronix-bsd
511 exit ;;
512 *:IRIX*:*:*)
513 echo mips-sgi-irix`echo ${UNAME_RELEASE}|sed -e 's/-/_/g'`
514 exit ;;
515 ????????:AIX?:[12].1:2) # AIX 2.2.1 or AIX 2.1.1 is RT/PC AIX.
516 echo romp-ibm-aix # uname -m gives an 8 hex-code CPU id
517 exit ;; # Note that: echo "'`uname -s`'" gives 'AIX '
518 i*86:AIX:*:*)
519 echo i386-ibm-aix
520 exit ;;
521 ia64:AIX:*:*)
522 if [ -x /usr/bin/oslevel ] ; then
523 IBM_REV=`/usr/bin/oslevel`
524 else
525 IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE}
526 fi
527 echo ${UNAME_MACHINE}-ibm-aix${IBM_REV}
528 exit ;;
529 *:AIX:2:3)
530 if grep bos325 /usr/include/stdio.h >/dev/null 2>&1; then
531 eval $set_cc_for_build
532 sed 's/^ //' << EOF >$dummy.c
533 #include <sys/systemcfg.h>
534
535 main()
536 {
537 if (!__power_pc())
538 exit(1);
539 puts("powerpc-ibm-aix3.2.5");
540 exit(0);
541 }
542EOF
543 if $CC_FOR_BUILD -o $dummy $dummy.c && SYSTEM_NAME=`$dummy`
544 then
545 echo "$SYSTEM_NAME"
546 else
547 echo rs6000-ibm-aix3.2.5
548 fi
549 elif grep bos324 /usr/include/stdio.h >/dev/null 2>&1; then
550 echo rs6000-ibm-aix3.2.4
551 else
552 echo rs6000-ibm-aix3.2
553 fi
554 exit ;;
555 *:AIX:*:[456])
556 IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'`
557 if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then
558 IBM_ARCH=rs6000
559 else
560 IBM_ARCH=powerpc
561 fi
562 if [ -x /usr/bin/oslevel ] ; then
563 IBM_REV=`/usr/bin/oslevel`
564 else
565 IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE}
566 fi
567 echo ${IBM_ARCH}-ibm-aix${IBM_REV}
568 exit ;;
569 *:AIX:*:*)
570 echo rs6000-ibm-aix
571 exit ;;
572 ibmrt:4.4BSD:*|romp-ibm:BSD:*)
573 echo romp-ibm-bsd4.4
574 exit ;;
575 ibmrt:*BSD:*|romp-ibm:BSD:*) # covers RT/PC BSD and
576 echo romp-ibm-bsd${UNAME_RELEASE} # 4.3 with uname added to
577 exit ;; # report: romp-ibm BSD 4.3
578 *:BOSX:*:*)
579 echo rs6000-bull-bosx
580 exit ;;
581 DPX/2?00:B.O.S.:*:*)
582 echo m68k-bull-sysv3
583 exit ;;
584 9000/[34]??:4.3bsd:1.*:*)
585 echo m68k-hp-bsd
586 exit ;;
587 hp300:4.4BSD:*:* | 9000/[34]??:4.3bsd:2.*:*)
588 echo m68k-hp-bsd4.4
589 exit ;;
590 9000/[34678]??:HP-UX:*:*)
591 HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'`
592 case "${UNAME_MACHINE}" in
593 9000/31? ) HP_ARCH=m68000 ;;
594 9000/[34]?? ) HP_ARCH=m68k ;;
595 9000/[678][0-9][0-9])
596 if [ -x /usr/bin/getconf ]; then
597 sc_cpu_version=`/usr/bin/getconf SC_CPU_VERSION 2>/dev/null`
598 sc_kernel_bits=`/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null`
599 case "${sc_cpu_version}" in
600 523) HP_ARCH="hppa1.0" ;; # CPU_PA_RISC1_0
601 528) HP_ARCH="hppa1.1" ;; # CPU_PA_RISC1_1
602 532) # CPU_PA_RISC2_0
603 case "${sc_kernel_bits}" in
604 32) HP_ARCH="hppa2.0n" ;;
605 64) HP_ARCH="hppa2.0w" ;;
606 '') HP_ARCH="hppa2.0" ;; # HP-UX 10.20
607 esac ;;
608 esac
609 fi
610 if [ "${HP_ARCH}" = "" ]; then
611 eval $set_cc_for_build
612 sed 's/^ //' << EOF >$dummy.c
613
614 #define _HPUX_SOURCE
615 #include <stdlib.h>
616 #include <unistd.h>
617
618 int main ()
619 {
620 #if defined(_SC_KERNEL_BITS)
621 long bits = sysconf(_SC_KERNEL_BITS);
622 #endif
623 long cpu = sysconf (_SC_CPU_VERSION);
624
The diff has been truncated for viewing.

Subscribers

People subscribed via source and target branches

to all changes: