Merge lp:~brian-murray/launchpad-integration/stream into lp:launchpad-integration
- stream
- Merge into ubuntu
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 | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Ubuntu Desktop | Pending | ||
Review via email: mp+47291@code.launchpad.net |
Commit message
Description of the change
This fixes bug 702455. It seems StreamHandler wants stream not strm.
class StreamHandler(
| 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.
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/packagein fo.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
1 | === added directory '.bzr-builddeb' | |||
2 | === renamed directory '.bzr-builddeb' => '.bzr-builddeb.moved' | |||
3 | === added file '.bzr-builddeb/default.conf' | |||
4 | --- .bzr-builddeb/default.conf 1970-01-01 00:00:00 +0000 | |||
5 | +++ .bzr-builddeb/default.conf 2011-01-24 18:52:52 +0000 | |||
6 | @@ -0,0 +1,2 @@ | |||
7 | 1 | [BUILDDEB] | ||
8 | 2 | native = True | ||
9 | 0 | 3 | ||
10 | === added file 'ABOUT-NLS' | |||
11 | --- ABOUT-NLS 1970-01-01 00:00:00 +0000 | |||
12 | +++ ABOUT-NLS 2011-01-24 18:52:52 +0000 | |||
13 | @@ -0,0 +1,768 @@ | |||
14 | 1 | Notes on the Free Translation Project | ||
15 | 2 | ************************************* | ||
16 | 3 | |||
17 | 4 | Free software is going international! The Free Translation Project is | ||
18 | 5 | a way to get maintainers of free software, translators, and users all | ||
19 | 6 | together, so that will gradually become able to speak many languages. | ||
20 | 7 | A few packages already provide translations for their messages. | ||
21 | 8 | |||
22 | 9 | If you found this `ABOUT-NLS' file inside a distribution, you may | ||
23 | 10 | assume that the distributed package does use GNU `gettext' internally, | ||
24 | 11 | itself available at your nearest GNU archive site. But you do _not_ | ||
25 | 12 | need to install GNU `gettext' prior to configuring, installing or using | ||
26 | 13 | this package with messages translated. | ||
27 | 14 | |||
28 | 15 | Installers will find here some useful hints. These notes also | ||
29 | 16 | explain how users should proceed for getting the programs to use the | ||
30 | 17 | available translations. They tell how people wanting to contribute and | ||
31 | 18 | work at translations should contact the appropriate team. | ||
32 | 19 | |||
33 | 20 | When reporting bugs in the `intl/' directory or bugs which may be | ||
34 | 21 | related to internationalization, you should tell about the version of | ||
35 | 22 | `gettext' which is used. The information can be found in the | ||
36 | 23 | `intl/VERSION' file, in internationalized packages. | ||
37 | 24 | |||
38 | 25 | Quick configuration advice | ||
39 | 26 | ========================== | ||
40 | 27 | |||
41 | 28 | If you want to exploit the full power of internationalization, you | ||
42 | 29 | should configure it using | ||
43 | 30 | |||
44 | 31 | ./configure --with-included-gettext | ||
45 | 32 | |||
46 | 33 | to force usage of internationalizing routines provided within this | ||
47 | 34 | package, despite the existence of internationalizing capabilities in the | ||
48 | 35 | operating system where this package is being installed. So far, only | ||
49 | 36 | the `gettext' implementation in the GNU C library version 2 provides as | ||
50 | 37 | many features (such as locale alias, message inheritance, automatic | ||
51 | 38 | charset conversion or plural form handling) as the implementation here. | ||
52 | 39 | It is also not possible to offer this additional functionality on top | ||
53 | 40 | of a `catgets' implementation. Future versions of GNU `gettext' will | ||
54 | 41 | very likely convey even more functionality. So it might be a good idea | ||
55 | 42 | to change to GNU `gettext' as soon as possible. | ||
56 | 43 | |||
57 | 44 | So you need _not_ provide this option if you are using GNU libc 2 or | ||
58 | 45 | you have installed a recent copy of the GNU gettext package with the | ||
59 | 46 | included `libintl'. | ||
60 | 47 | |||
61 | 48 | INSTALL Matters | ||
62 | 49 | =============== | ||
63 | 50 | |||
64 | 51 | Some packages are "localizable" when properly installed; the programs | ||
65 | 52 | they contain can be made to speak your own native language. Most such | ||
66 | 53 | packages use GNU `gettext'. Other packages have their own ways to | ||
67 | 54 | internationalization, predating GNU `gettext'. | ||
68 | 55 | |||
69 | 56 | By default, this package will be installed to allow translation of | ||
70 | 57 | messages. It will automatically detect whether the system already | ||
71 | 58 | provides the GNU `gettext' functions. If not, the GNU `gettext' own | ||
72 | 59 | library will be used. This library is wholly contained within this | ||
73 | 60 | package, usually in the `intl/' subdirectory, so prior installation of | ||
74 | 61 | the GNU `gettext' package is _not_ required. Installers may use | ||
75 | 62 | special options at configuration time for changing the default | ||
76 | 63 | behaviour. The commands: | ||
77 | 64 | |||
78 | 65 | ./configure --with-included-gettext | ||
79 | 66 | ./configure --disable-nls | ||
80 | 67 | |||
81 | 68 | will respectively bypass any pre-existing `gettext' to use the | ||
82 | 69 | internationalizing routines provided within this package, or else, | ||
83 | 70 | _totally_ disable translation of messages. | ||
84 | 71 | |||
85 | 72 | When you already have GNU `gettext' installed on your system and run | ||
86 | 73 | configure without an option for your new package, `configure' will | ||
87 | 74 | probably detect the previously built and installed `libintl.a' file and | ||
88 | 75 | will decide to use this. This might be not what is desirable. You | ||
89 | 76 | should use the more recent version of the GNU `gettext' library. I.e. | ||
90 | 77 | if the file `intl/VERSION' shows that the library which comes with this | ||
91 | 78 | package is more recent, you should use | ||
92 | 79 | |||
93 | 80 | ./configure --with-included-gettext | ||
94 | 81 | |||
95 | 82 | to prevent auto-detection. | ||
96 | 83 | |||
97 | 84 | The configuration process will not test for the `catgets' function | ||
98 | 85 | and therefore it will not be used. The reason is that even an | ||
99 | 86 | emulation of `gettext' on top of `catgets' could not provide all the | ||
100 | 87 | extensions of the GNU `gettext' library. | ||
101 | 88 | |||
102 | 89 | Internationalized packages have usually many `po/LL.po' files, where | ||
103 | 90 | LL gives an ISO 639 two-letter code identifying the language. Unless | ||
104 | 91 | translations have been forbidden at `configure' time by using the | ||
105 | 92 | `--disable-nls' switch, all available translations are installed | ||
106 | 93 | together with the package. However, the environment variable `LINGUAS' | ||
107 | 94 | may be set, prior to configuration, to limit the installed set. | ||
108 | 95 | `LINGUAS' should then contain a space separated list of two-letter | ||
109 | 96 | codes, stating which languages are allowed. | ||
110 | 97 | |||
111 | 98 | Using This Package | ||
112 | 99 | ================== | ||
113 | 100 | |||
114 | 101 | As a user, if your language has been installed for this package, you | ||
115 | 102 | only have to set the `LANG' environment variable to the appropriate | ||
116 | 103 | `LL_CC' combination. Here `LL' is an ISO 639 two-letter language code, | ||
117 | 104 | and `CC' is an ISO 3166 two-letter country code. For example, let's | ||
118 | 105 | suppose that you speak German and live in Germany. At the shell | ||
119 | 106 | prompt, merely execute `setenv LANG de_DE' (in `csh'), | ||
120 | 107 | `export LANG; LANG=de_DE' (in `sh') or `export LANG=de_DE' (in `bash'). | ||
121 | 108 | This can be done from your `.login' or `.profile' file, once and for | ||
122 | 109 | all. | ||
123 | 110 | |||
124 | 111 | You might think that the country code specification is redundant. | ||
125 | 112 | But in fact, some languages have dialects in different countries. For | ||
126 | 113 | example, `de_AT' is used for Austria, and `pt_BR' for Brazil. The | ||
127 | 114 | country code serves to distinguish the dialects. | ||
128 | 115 | |||
129 | 116 | The locale naming convention of `LL_CC', with `LL' denoting the | ||
130 | 117 | language and `CC' denoting the country, is the one use on systems based | ||
131 | 118 | on GNU libc. On other systems, some variations of this scheme are | ||
132 | 119 | used, such as `LL' or `LL_CC.ENCODING'. You can get the list of | ||
133 | 120 | locales supported by your system for your country by running the command | ||
134 | 121 | `locale -a | grep '^LL''. | ||
135 | 122 | |||
136 | 123 | Not all programs have translations for all languages. By default, an | ||
137 | 124 | English message is shown in place of a nonexistent translation. If you | ||
138 | 125 | understand other languages, you can set up a priority list of languages. | ||
139 | 126 | This is done through a different environment variable, called | ||
140 | 127 | `LANGUAGE'. GNU `gettext' gives preference to `LANGUAGE' over `LANG' | ||
141 | 128 | for the purpose of message handling, but you still need to have `LANG' | ||
142 | 129 | set to the primary language; this is required by other parts of the | ||
143 | 130 | system libraries. For example, some Swedish users who would rather | ||
144 | 131 | read translations in German than English for when Swedish is not | ||
145 | 132 | available, set `LANGUAGE' to `sv:de' while leaving `LANG' to `sv_SE'. | ||
146 | 133 | |||
147 | 134 | Special advice for Norwegian users: The language code for Norwegian | ||
148 | 135 | bokma*l changed from `no' to `nb' recently (in 2003). During the | ||
149 | 136 | transition period, while some message catalogs for this language are | ||
150 | 137 | installed under `nb' and some older ones under `no', it's recommended | ||
151 | 138 | for Norwegian users to set `LANGUAGE' to `nb:no' so that both newer and | ||
152 | 139 | older translations are used. | ||
153 | 140 | |||
154 | 141 | In the `LANGUAGE' environment variable, but not in the `LANG' | ||
155 | 142 | environment variable, `LL_CC' combinations can be abbreviated as `LL' | ||
156 | 143 | to denote the language's main dialect. For example, `de' is equivalent | ||
157 | 144 | to `de_DE' (German as spoken in Germany), and `pt' to `pt_PT' | ||
158 | 145 | (Portuguese as spoken in Portugal) in this context. | ||
159 | 146 | |||
160 | 147 | Translating Teams | ||
161 | 148 | ================= | ||
162 | 149 | |||
163 | 150 | For the Free Translation Project to be a success, we need interested | ||
164 | 151 | people who like their own language and write it well, and who are also | ||
165 | 152 | able to synergize with other translators speaking the same language. | ||
166 | 153 | Each translation team has its own mailing list. The up-to-date list of | ||
167 | 154 | teams can be found at the Free Translation Project's homepage, | ||
168 | 155 | `http://www.iro.umontreal.ca/contrib/po/HTML/', in the "National teams" | ||
169 | 156 | area. | ||
170 | 157 | |||
171 | 158 | If you'd like to volunteer to _work_ at translating messages, you | ||
172 | 159 | should become a member of the translating team for your own language. | ||
173 | 160 | The subscribing address is _not_ the same as the list itself, it has | ||
174 | 161 | `-request' appended. For example, speakers of Swedish can send a | ||
175 | 162 | message to `sv-request@li.org', having this message body: | ||
176 | 163 | |||
177 | 164 | subscribe | ||
178 | 165 | |||
179 | 166 | Keep in mind that team members are expected to participate | ||
180 | 167 | _actively_ in translations, or at solving translational difficulties, | ||
181 | 168 | rather than merely lurking around. If your team does not exist yet and | ||
182 | 169 | you want to start one, or if you are unsure about what to do or how to | ||
183 | 170 | get started, please write to `translation@iro.umontreal.ca' to reach the | ||
184 | 171 | coordinator for all translator teams. | ||
185 | 172 | |||
186 | 173 | The English team is special. It works at improving and uniformizing | ||
187 | 174 | the terminology in use. Proven linguistic skill are praised more than | ||
188 | 175 | programming skill, here. | ||
189 | 176 | |||
190 | 177 | Available Packages | ||
191 | 178 | ================== | ||
192 | 179 | |||
193 | 180 | Languages are not equally supported in all packages. The following | ||
194 | 181 | matrix shows the current state of internationalization, as of January | ||
195 | 182 | 2004. The matrix shows, in regard of each package, for which languages | ||
196 | 183 | PO files have been submitted to translation coordination, with a | ||
197 | 184 | translation percentage of at least 50%. | ||
198 | 185 | |||
199 | 186 | Ready PO files af am ar az be bg bs ca cs da de el en en_GB eo es | ||
200 | 187 | +----------------------------------------------------+ | ||
201 | 188 | a2ps | [] [] [] [] | | ||
202 | 189 | aegis | () | | ||
203 | 190 | ant-phone | () | | ||
204 | 191 | anubis | | | ||
205 | 192 | ap-utils | | | ||
206 | 193 | aspell | [] | | ||
207 | 194 | bash | [] [] [] [] | | ||
208 | 195 | batchelor | | | ||
209 | 196 | bfd | [] [] | | ||
210 | 197 | binutils | [] [] | | ||
211 | 198 | bison | [] [] [] | | ||
212 | 199 | bluez-pin | [] [] [] | | ||
213 | 200 | clisp | | | ||
214 | 201 | clisp | [] [] [] | | ||
215 | 202 | console-tools | [] [] | | ||
216 | 203 | coreutils | [] [] [] [] | | ||
217 | 204 | cpio | [] [] [] | | ||
218 | 205 | darkstat | [] () [] | | ||
219 | 206 | diffutils | [] [] [] [] [] [] [] | | ||
220 | 207 | e2fsprogs | [] [] [] | | ||
221 | 208 | enscript | [] [] [] [] | | ||
222 | 209 | error | [] [] [] [] [] | | ||
223 | 210 | fetchmail | [] () [] [] [] [] | | ||
224 | 211 | fileutils | [] [] [] | | ||
225 | 212 | findutils | [] [] [] [] [] [] [] | | ||
226 | 213 | flex | [] [] [] [] | | ||
227 | 214 | fslint | | | ||
228 | 215 | gas | [] | | ||
229 | 216 | gawk | [] [] [] [] | | ||
230 | 217 | gbiff | [] | | ||
231 | 218 | gcal | [] | | ||
232 | 219 | gcc | [] [] | | ||
233 | 220 | gettext | [] [] [] [] [] | | ||
234 | 221 | gettext-examples | [] [] [] [] | | ||
235 | 222 | gettext-runtime | [] [] [] [] [] | | ||
236 | 223 | gettext-tools | [] [] [] | | ||
237 | 224 | gimp-print | [] [] [] [] [] | | ||
238 | 225 | gliv | | | ||
239 | 226 | glunarclock | [] [] | | ||
240 | 227 | gnubiff | [] | | ||
241 | 228 | gnucash | [] () [] [] | | ||
242 | 229 | gnucash-glossary | [] () [] | | ||
243 | 230 | gnupg | [] () [] [] [] [] | | ||
244 | 231 | gpe-aerial | [] | | ||
245 | 232 | gpe-beam | [] [] | | ||
246 | 233 | gpe-calendar | [] [] | | ||
247 | 234 | gpe-clock | [] [] | | ||
248 | 235 | gpe-conf | [] [] | | ||
249 | 236 | gpe-contacts | [] [] | | ||
250 | 237 | gpe-edit | [] | | ||
251 | 238 | gpe-go | [] | | ||
252 | 239 | gpe-login | [] [] | | ||
253 | 240 | gpe-ownerinfo | [] [] | | ||
254 | 241 | gpe-sketchbook | [] [] | | ||
255 | 242 | gpe-su | [] [] | | ||
256 | 243 | gpe-taskmanager | [] [] | | ||
257 | 244 | gpe-timesheet | [] | | ||
258 | 245 | gpe-today | [] [] | | ||
259 | 246 | gpe-todo | [] [] | | ||
260 | 247 | gphoto2 | [] [] [] [] | | ||
261 | 248 | gprof | [] [] [] | | ||
262 | 249 | gpsdrive | () () () | | ||
263 | 250 | gramadoir | [] | | ||
264 | 251 | grep | [] [] [] [] [] [] | | ||
265 | 252 | gretl | [] | | ||
266 | 253 | gtick | [] () | | ||
267 | 254 | hello | [] [] [] [] [] [] | | ||
268 | 255 | id-utils | [] [] | | ||
269 | 256 | indent | [] [] [] [] | | ||
270 | 257 | iso_3166 | [] [] [] [] [] [] [] [] [] [] | | ||
271 | 258 | iso_3166_1 | [] [] [] [] [] [] | | ||
272 | 259 | iso_3166_2 | | | ||
273 | 260 | iso_3166_3 | [] | | ||
274 | 261 | iso_4217 | [] [] [] [] | | ||
275 | 262 | iso_639 | | | ||
276 | 263 | jpilot | [] [] [] | | ||
277 | 264 | jtag | | | ||
278 | 265 | jwhois | [] | | ||
279 | 266 | kbd | [] [] [] [] [] | | ||
280 | 267 | latrine | () | | ||
281 | 268 | ld | [] [] | | ||
282 | 269 | libc | [] [] [] [] [] [] | | ||
283 | 270 | libgpewidget | [] [] | | ||
284 | 271 | libiconv | [] [] [] [] [] | | ||
285 | 272 | lifelines | [] () | | ||
286 | 273 | lilypond | [] | | ||
287 | 274 | lingoteach | | | ||
288 | 275 | lingoteach_lessons | () () | | ||
289 | 276 | lynx | [] [] [] [] | | ||
290 | 277 | m4 | [] [] [] [] | | ||
291 | 278 | mailutils | [] [] | | ||
292 | 279 | make | [] [] [] | | ||
293 | 280 | man-db | [] () [] [] () | | ||
294 | 281 | minicom | [] [] [] | | ||
295 | 282 | mysecretdiary | [] [] [] | | ||
296 | 283 | nano | [] () [] [] [] | | ||
297 | 284 | nano_1_0 | [] () [] [] [] | | ||
298 | 285 | opcodes | [] | | ||
299 | 286 | parted | [] [] [] [] [] | | ||
300 | 287 | ptx | [] [] [] [] [] | | ||
301 | 288 | python | | | ||
302 | 289 | radius | [] | | ||
303 | 290 | recode | [] [] [] [] [] [] [] | | ||
304 | 291 | rpm | [] [] | | ||
305 | 292 | screem | | | ||
306 | 293 | scrollkeeper | [] [] [] [] [] [] | | ||
307 | 294 | sed | [] [] [] [] [] [] | | ||
308 | 295 | sh-utils | [] [] [] | | ||
309 | 296 | shared-mime-info | | | ||
310 | 297 | sharutils | [] [] [] [] [] [] | | ||
311 | 298 | silky | () | | ||
312 | 299 | skencil | [] () [] | | ||
313 | 300 | sketch | [] () [] | | ||
314 | 301 | soundtracker | [] [] [] | | ||
315 | 302 | sp | [] | | ||
316 | 303 | tar | [] [] [] [] | | ||
317 | 304 | texinfo | [] [] [] | | ||
318 | 305 | textutils | [] [] [] [] | | ||
319 | 306 | tin | () () | | ||
320 | 307 | tp-robot | | | ||
321 | 308 | tuxpaint | [] [] [] [] [] [] [] | | ||
322 | 309 | unicode-han-tra... | | | ||
323 | 310 | unicode-transla... | | | ||
324 | 311 | util-linux | [] [] [] [] [] | | ||
325 | 312 | vorbis-tools | [] [] [] [] | | ||
326 | 313 | wastesedge | () | | ||
327 | 314 | wdiff | [] [] [] [] | | ||
328 | 315 | wget | [] [] [] [] [] [] | | ||
329 | 316 | xchat | [] [] [] [] | | ||
330 | 317 | xfree86_xkb_xml | [] [] | | ||
331 | 318 | xpad | [] | | ||
332 | 319 | +----------------------------------------------------+ | ||
333 | 320 | af am ar az be bg bs ca cs da de el en en_GB eo es | ||
334 | 321 | 4 0 0 1 9 4 1 40 41 60 78 17 1 5 13 68 | ||
335 | 322 | |||
336 | 323 | et eu fa fi fr ga gl he hr hu id is it ja ko lg | ||
337 | 324 | +-------------------------------------------------+ | ||
338 | 325 | a2ps | [] [] [] () () | | ||
339 | 326 | aegis | | | ||
340 | 327 | ant-phone | [] | | ||
341 | 328 | anubis | [] | | ||
342 | 329 | ap-utils | [] | | ||
343 | 330 | aspell | [] [] | | ||
344 | 331 | bash | [] [] | | ||
345 | 332 | batchelor | [] [] | | ||
346 | 333 | bfd | [] | | ||
347 | 334 | binutils | [] [] | | ||
348 | 335 | bison | [] [] [] [] | | ||
349 | 336 | bluez-pin | [] [] [] [] [] | | ||
350 | 337 | clisp | | | ||
351 | 338 | clisp | [] | | ||
352 | 339 | console-tools | | | ||
353 | 340 | coreutils | [] [] [] [] [] [] | | ||
354 | 341 | cpio | [] [] [] [] | | ||
355 | 342 | darkstat | () [] [] [] | | ||
356 | 343 | diffutils | [] [] [] [] [] [] [] | | ||
357 | 344 | e2fsprogs | | | ||
358 | 345 | enscript | [] [] | | ||
359 | 346 | error | [] [] [] [] | | ||
360 | 347 | fetchmail | [] | | ||
361 | 348 | fileutils | [] [] [] [] [] [] | | ||
362 | 349 | findutils | [] [] [] [] [] [] [] [] [] [] [] | | ||
363 | 350 | flex | [] [] [] | | ||
364 | 351 | fslint | [] | | ||
365 | 352 | gas | [] | | ||
366 | 353 | gawk | [] [] [] | | ||
367 | 354 | gbiff | [] | | ||
368 | 355 | gcal | [] | | ||
369 | 356 | gcc | [] | | ||
370 | 357 | gettext | [] [] [] | | ||
371 | 358 | gettext-examples | [] [] | | ||
372 | 359 | gettext-runtime | [] [] [] [] [] | | ||
373 | 360 | gettext-tools | [] [] [] | | ||
374 | 361 | gimp-print | [] [] | | ||
375 | 362 | gliv | () | | ||
376 | 363 | glunarclock | [] [] [] [] | | ||
377 | 364 | gnubiff | [] | | ||
378 | 365 | gnucash | () [] | | ||
379 | 366 | gnucash-glossary | [] | | ||
380 | 367 | gnupg | [] [] [] [] [] [] [] | | ||
381 | 368 | gpe-aerial | [] | | ||
382 | 369 | gpe-beam | [] | | ||
383 | 370 | gpe-calendar | [] [] [] | | ||
384 | 371 | gpe-clock | [] | | ||
385 | 372 | gpe-conf | [] | | ||
386 | 373 | gpe-contacts | [] [] | | ||
387 | 374 | gpe-edit | [] [] | | ||
388 | 375 | gpe-go | [] | | ||
389 | 376 | gpe-login | [] [] | | ||
390 | 377 | gpe-ownerinfo | [] [] [] | | ||
391 | 378 | gpe-sketchbook | [] | | ||
392 | 379 | gpe-su | [] | | ||
393 | 380 | gpe-taskmanager | [] | | ||
394 | 381 | gpe-timesheet | [] [] [] | | ||
395 | 382 | gpe-today | [] [] | | ||
396 | 383 | gpe-todo | [] [] | | ||
397 | 384 | gphoto2 | [] [] [] | | ||
398 | 385 | gprof | [] [] | | ||
399 | 386 | gpsdrive | () () () | | ||
400 | 387 | gramadoir | [] [] | | ||
401 | 388 | grep | [] [] [] [] [] [] [] [] [] [] [] | | ||
402 | 389 | gretl | [] [] | | ||
403 | 390 | gtick | [] [] [] | | ||
404 | 391 | hello | [] [] [] [] [] [] [] [] [] [] [] [] [] | | ||
405 | 392 | id-utils | [] [] [] [] | | ||
406 | 393 | indent | [] [] [] [] [] [] [] [] [] | | ||
407 | 394 | iso_3166 | [] [] [] [] [] [] [] | | ||
408 | 395 | iso_3166_1 | [] [] [] [] [] | | ||
409 | 396 | iso_3166_2 | | | ||
410 | 397 | iso_3166_3 | | | ||
411 | 398 | iso_4217 | [] [] [] [] [] [] | | ||
412 | 399 | iso_639 | | | ||
413 | 400 | jpilot | [] () | | ||
414 | 401 | jtag | [] | | ||
415 | 402 | jwhois | [] [] [] [] | | ||
416 | 403 | kbd | [] | | ||
417 | 404 | latrine | [] | | ||
418 | 405 | ld | [] | | ||
419 | 406 | libc | [] [] [] [] [] [] | | ||
420 | 407 | libgpewidget | [] [] [] [] | | ||
421 | 408 | libiconv | [] [] [] [] [] [] [] [] [] | | ||
422 | 409 | lifelines | () | | ||
423 | 410 | lilypond | [] | | ||
424 | 411 | lingoteach | [] [] | | ||
425 | 412 | lingoteach_lessons | | | ||
426 | 413 | lynx | [] [] [] [] | | ||
427 | 414 | m4 | [] [] [] [] | | ||
428 | 415 | mailutils | | | ||
429 | 416 | make | [] [] [] [] [] [] | | ||
430 | 417 | man-db | () () | | ||
431 | 418 | minicom | [] [] [] [] | | ||
432 | 419 | mysecretdiary | [] [] | | ||
433 | 420 | nano | [] [] [] [] | | ||
434 | 421 | nano_1_0 | [] [] [] [] | | ||
435 | 422 | opcodes | [] | | ||
436 | 423 | parted | [] [] [] | | ||
437 | 424 | ptx | [] [] [] [] [] [] [] | | ||
438 | 425 | python | | | ||
439 | 426 | radius | [] | | ||
440 | 427 | recode | [] [] [] [] [] [] | | ||
441 | 428 | rpm | [] [] | | ||
442 | 429 | screem | | | ||
443 | 430 | scrollkeeper | [] | | ||
444 | 431 | sed | [] [] [] [] [] [] [] [] [] | | ||
445 | 432 | sh-utils | [] [] [] [] [] [] [] | | ||
446 | 433 | shared-mime-info | [] [] [] | | ||
447 | 434 | sharutils | [] [] [] [] [] | | ||
448 | 435 | silky | () [] () () | | ||
449 | 436 | skencil | [] | | ||
450 | 437 | sketch | [] | | ||
451 | 438 | soundtracker | [] [] | | ||
452 | 439 | sp | [] () | | ||
453 | 440 | tar | [] [] [] [] [] [] [] [] [] | | ||
454 | 441 | texinfo | [] [] [] [] | | ||
455 | 442 | textutils | [] [] [] [] [] [] | | ||
456 | 443 | tin | [] () | | ||
457 | 444 | tp-robot | [] | | ||
458 | 445 | tuxpaint | [] [] [] [] [] [] [] [] [] | | ||
459 | 446 | unicode-han-tra... | | | ||
460 | 447 | unicode-transla... | [] [] | | ||
461 | 448 | util-linux | [] [] [] [] () [] | | ||
462 | 449 | vorbis-tools | [] | | ||
463 | 450 | wastesedge | () | | ||
464 | 451 | wdiff | [] [] [] [] [] [] | | ||
465 | 452 | wget | [] [] [] [] [] [] [] | | ||
466 | 453 | xchat | [] [] [] | | ||
467 | 454 | xfree86_xkb_xml | [] [] | | ||
468 | 455 | xpad | [] [] | | ||
469 | 456 | +-------------------------------------------------+ | ||
470 | 457 | et eu fa fi fr ga gl he hr hu id is it ja ko lg | ||
471 | 458 | 22 2 1 26 106 28 24 8 10 41 33 1 26 33 12 0 | ||
472 | 459 | |||
473 | 460 | lt lv mk mn ms mt nb nl nn no nso pl pt pt_BR ro ru | ||
474 | 461 | +-----------------------------------------------------+ | ||
475 | 462 | a2ps | [] [] () () [] [] [] | | ||
476 | 463 | aegis | () () () | | ||
477 | 464 | ant-phone | [] [] | | ||
478 | 465 | anubis | [] [] [] [] [] [] | | ||
479 | 466 | ap-utils | [] () [] | | ||
480 | 467 | aspell | [] | | ||
481 | 468 | bash | [] [] [] | | ||
482 | 469 | batchelor | [] | | ||
483 | 470 | bfd | [] | | ||
484 | 471 | binutils | [] | | ||
485 | 472 | bison | [] [] [] [] [] | | ||
486 | 473 | bluez-pin | [] [] [] | | ||
487 | 474 | clisp | | | ||
488 | 475 | clisp | [] | | ||
489 | 476 | console-tools | [] | | ||
490 | 477 | coreutils | [] [] | | ||
491 | 478 | cpio | [] [] [] [] [] | | ||
492 | 479 | darkstat | [] [] [] [] | | ||
493 | 480 | diffutils | [] [] [] [] [] [] | | ||
494 | 481 | e2fsprogs | [] | | ||
495 | 482 | enscript | [] [] [] [] | | ||
496 | 483 | error | [] [] [] | | ||
497 | 484 | fetchmail | [] [] () [] | | ||
498 | 485 | fileutils | [] [] [] | | ||
499 | 486 | findutils | [] [] [] [] [] | | ||
500 | 487 | flex | [] [] [] [] | | ||
501 | 488 | fslint | [] [] | | ||
502 | 489 | gas | | | ||
503 | 490 | gawk | [] [] [] | | ||
504 | 491 | gbiff | [] [] | | ||
505 | 492 | gcal | | | ||
506 | 493 | gcc | | | ||
507 | 494 | gettext | [] [] [] | | ||
508 | 495 | gettext-examples | [] [] [] | | ||
509 | 496 | gettext-runtime | [] [] [] [] | | ||
510 | 497 | gettext-tools | [] [] | | ||
511 | 498 | gimp-print | [] | | ||
512 | 499 | gliv | [] [] [] | | ||
513 | 500 | glunarclock | [] [] [] [] | | ||
514 | 501 | gnubiff | [] | | ||
515 | 502 | gnucash | [] [] () [] | | ||
516 | 503 | gnucash-glossary | [] [] | | ||
517 | 504 | gnupg | [] | | ||
518 | 505 | gpe-aerial | [] [] [] [] | | ||
519 | 506 | gpe-beam | [] [] [] [] | | ||
520 | 507 | gpe-calendar | [] [] [] [] | | ||
521 | 508 | gpe-clock | [] [] [] [] | | ||
522 | 509 | gpe-conf | [] [] [] [] | | ||
523 | 510 | gpe-contacts | [] [] [] [] | | ||
524 | 511 | gpe-edit | [] [] [] [] | | ||
525 | 512 | gpe-go | [] [] [] | | ||
526 | 513 | gpe-login | [] [] [] [] | | ||
527 | 514 | gpe-ownerinfo | [] [] [] [] | | ||
528 | 515 | gpe-sketchbook | [] [] [] [] | | ||
529 | 516 | gpe-su | [] [] [] [] | | ||
530 | 517 | gpe-taskmanager | [] [] [] [] | | ||
531 | 518 | gpe-timesheet | [] [] [] [] | | ||
532 | 519 | gpe-today | [] [] [] [] | | ||
533 | 520 | gpe-todo | [] [] [] [] | | ||
534 | 521 | gphoto2 | [] | | ||
535 | 522 | gprof | [] [] | | ||
536 | 523 | gpsdrive | () () [] | | ||
537 | 524 | gramadoir | () [] | | ||
538 | 525 | grep | [] [] [] [] [] | | ||
539 | 526 | gretl | | | ||
540 | 527 | gtick | [] [] [] | | ||
541 | 528 | hello | [] [] [] [] [] [] [] [] [] [] | | ||
542 | 529 | id-utils | [] [] [] [] | | ||
543 | 530 | indent | [] [] [] [] | | ||
544 | 531 | iso_3166 | [] [] [] | | ||
545 | 532 | iso_3166_1 | [] [] | | ||
546 | 533 | iso_3166_2 | | | ||
547 | 534 | iso_3166_3 | [] | | ||
548 | 535 | iso_4217 | [] [] [] [] [] [] [] [] | | ||
549 | 536 | iso_639 | [] | | ||
550 | 537 | jpilot | () () | | ||
551 | 538 | jtag | | | ||
552 | 539 | jwhois | [] [] [] [] () | | ||
553 | 540 | kbd | [] [] [] | | ||
554 | 541 | latrine | [] | | ||
555 | 542 | ld | | | ||
556 | 543 | libc | [] [] [] [] | | ||
557 | 544 | libgpewidget | [] [] [] | | ||
558 | 545 | libiconv | [] [] [] [] [] | | ||
559 | 546 | lifelines | | | ||
560 | 547 | lilypond | | | ||
561 | 548 | lingoteach | | | ||
562 | 549 | lingoteach_lessons | | | ||
563 | 550 | lynx | [] [] [] | | ||
564 | 551 | m4 | [] [] [] [] [] | | ||
565 | 552 | mailutils | [] [] [] | | ||
566 | 553 | make | [] [] [] [] | | ||
567 | 554 | man-db | [] | | ||
568 | 555 | minicom | [] [] [] [] | | ||
569 | 556 | mysecretdiary | [] [] [] | | ||
570 | 557 | nano | [] [] [] [] [] | | ||
571 | 558 | nano_1_0 | [] [] [] [] [] [] | | ||
572 | 559 | opcodes | [] [] | | ||
573 | 560 | parted | [] [] [] [] | | ||
574 | 561 | ptx | [] [] [] [] [] [] [] [] | | ||
575 | 562 | python | | | ||
576 | 563 | radius | [] [] | | ||
577 | 564 | recode | [] [] [] [] | | ||
578 | 565 | rpm | [] [] [] | | ||
579 | 566 | screem | | | ||
580 | 567 | scrollkeeper | [] [] [] [] [] | | ||
581 | 568 | sed | [] [] [] | | ||
582 | 569 | sh-utils | [] [] | | ||
583 | 570 | shared-mime-info | [] [] | | ||
584 | 571 | sharutils | [] [] | | ||
585 | 572 | silky | () | | ||
586 | 573 | skencil | [] [] | | ||
587 | 574 | sketch | [] [] | | ||
588 | 575 | soundtracker | | | ||
589 | 576 | sp | | | ||
590 | 577 | tar | [] [] [] [] [] [] | | ||
591 | 578 | texinfo | [] [] [] [] | | ||
592 | 579 | textutils | [] [] | | ||
593 | 580 | tin | | | ||
594 | 581 | tp-robot | [] | | ||
595 | 582 | tuxpaint | [] [] [] [] [] [] [] [] | | ||
596 | 583 | unicode-han-tra... | | | ||
597 | 584 | unicode-transla... | | | ||
598 | 585 | util-linux | [] [] [] | | ||
599 | 586 | vorbis-tools | [] [] [] | | ||
600 | 587 | wastesedge | | | ||
601 | 588 | wdiff | [] [] [] [] [] | | ||
602 | 589 | wget | [] [] [] | | ||
603 | 590 | xchat | [] [] [] | | ||
604 | 591 | xfree86_xkb_xml | [] [] | | ||
605 | 592 | xpad | [] [] | | ||
606 | 593 | +-----------------------------------------------------+ | ||
607 | 594 | lt lv mk mn ms mt nb nl nn no nso pl pt pt_BR ro ru | ||
608 | 595 | 1 2 0 3 12 0 10 69 6 7 1 40 26 36 76 63 | ||
609 | 596 | |||
610 | 597 | sk sl sr sv ta th tr uk ven vi wa xh zh_CN zh_TW zu | ||
611 | 598 | +-----------------------------------------------------+ | ||
612 | 599 | a2ps | [] [] [] [] | 16 | ||
613 | 600 | aegis | | 0 | ||
614 | 601 | ant-phone | | 3 | ||
615 | 602 | anubis | [] [] | 9 | ||
616 | 603 | ap-utils | () | 3 | ||
617 | 604 | aspell | | 4 | ||
618 | 605 | bash | | 9 | ||
619 | 606 | batchelor | | 3 | ||
620 | 607 | bfd | [] [] | 6 | ||
621 | 608 | binutils | [] [] [] | 8 | ||
622 | 609 | bison | [] [] | 14 | ||
623 | 610 | bluez-pin | [] [] [] | 14 | ||
624 | 611 | clisp | | 0 | ||
625 | 612 | clisp | | 5 | ||
626 | 613 | console-tools | | 3 | ||
627 | 614 | coreutils | [] [] [] [] | 16 | ||
628 | 615 | cpio | [] [] | 14 | ||
629 | 616 | darkstat | [] [] [] () () | 12 | ||
630 | 617 | diffutils | [] [] [] | 23 | ||
631 | 618 | e2fsprogs | [] [] | 6 | ||
632 | 619 | enscript | [] [] | 12 | ||
633 | 620 | error | [] [] [] | 15 | ||
634 | 621 | fetchmail | [] [] | 11 | ||
635 | 622 | fileutils | [] [] [] [] [] | 17 | ||
636 | 623 | findutils | [] [] [] [] [] [] | 29 | ||
637 | 624 | flex | [] [] | 13 | ||
638 | 625 | fslint | | 3 | ||
639 | 626 | gas | [] | 3 | ||
640 | 627 | gawk | [] [] | 12 | ||
641 | 628 | gbiff | | 4 | ||
642 | 629 | gcal | [] [] | 4 | ||
643 | 630 | gcc | [] | 4 | ||
644 | 631 | gettext | [] [] [] [] [] | 16 | ||
645 | 632 | gettext-examples | [] [] [] [] [] | 14 | ||
646 | 633 | gettext-runtime | [] [] [] [] [] [] [] [] | 22 | ||
647 | 634 | gettext-tools | [] [] [] [] [] [] | 14 | ||
648 | 635 | gimp-print | [] [] | 10 | ||
649 | 636 | gliv | | 3 | ||
650 | 637 | glunarclock | [] [] [] | 13 | ||
651 | 638 | gnubiff | | 3 | ||
652 | 639 | gnucash | [] [] | 9 | ||
653 | 640 | gnucash-glossary | [] [] [] | 8 | ||
654 | 641 | gnupg | [] [] [] [] | 17 | ||
655 | 642 | gpe-aerial | [] | 7 | ||
656 | 643 | gpe-beam | [] | 8 | ||
657 | 644 | gpe-calendar | [] [] [] [] | 13 | ||
658 | 645 | gpe-clock | [] [] [] | 10 | ||
659 | 646 | gpe-conf | [] [] | 9 | ||
660 | 647 | gpe-contacts | [] [] [] | 11 | ||
661 | 648 | gpe-edit | [] [] [] [] [] | 12 | ||
662 | 649 | gpe-go | | 5 | ||
663 | 650 | gpe-login | [] [] [] [] [] | 13 | ||
664 | 651 | gpe-ownerinfo | [] [] [] [] | 13 | ||
665 | 652 | gpe-sketchbook | [] [] | 9 | ||
666 | 653 | gpe-su | [] [] [] | 10 | ||
667 | 654 | gpe-taskmanager | [] [] [] | 10 | ||
668 | 655 | gpe-timesheet | [] [] [] [] | 12 | ||
669 | 656 | gpe-today | [] [] [] [] [] | 13 | ||
670 | 657 | gpe-todo | [] [] [] [] | 12 | ||
671 | 658 | gphoto2 | [] [] [] | 11 | ||
672 | 659 | gprof | [] [] | 9 | ||
673 | 660 | gpsdrive | [] [] | 3 | ||
674 | 661 | gramadoir | [] | 5 | ||
675 | 662 | grep | [] [] [] [] | 26 | ||
676 | 663 | gretl | | 3 | ||
677 | 664 | gtick | | 7 | ||
678 | 665 | hello | [] [] [] [] [] | 34 | ||
679 | 666 | id-utils | [] [] | 12 | ||
680 | 667 | indent | [] [] [] [] | 21 | ||
681 | 668 | iso_3166 | [] [] [] [] [] [] [] | 27 | ||
682 | 669 | iso_3166_1 | [] [] [] | 16 | ||
683 | 670 | iso_3166_2 | | 0 | ||
684 | 671 | iso_3166_3 | | 2 | ||
685 | 672 | iso_4217 | [] [] [] [] [] [] | 24 | ||
686 | 673 | iso_639 | | 1 | ||
687 | 674 | jpilot | [] [] [] [] [] | 9 | ||
688 | 675 | jtag | [] | 2 | ||
689 | 676 | jwhois | () [] [] | 11 | ||
690 | 677 | kbd | [] [] | 11 | ||
691 | 678 | latrine | | 2 | ||
692 | 679 | ld | [] [] | 5 | ||
693 | 680 | libc | [] [] [] [] | 20 | ||
694 | 681 | libgpewidget | [] [] [] [] | 13 | ||
695 | 682 | libiconv | [] [] [] [] [] [] [] [] | 27 | ||
696 | 683 | lifelines | [] | 2 | ||
697 | 684 | lilypond | [] | 3 | ||
698 | 685 | lingoteach | | 2 | ||
699 | 686 | lingoteach_lessons | () | 0 | ||
700 | 687 | lynx | [] [] [] | 14 | ||
701 | 688 | m4 | [] [] | 15 | ||
702 | 689 | mailutils | | 5 | ||
703 | 690 | make | [] [] [] | 16 | ||
704 | 691 | man-db | [] | 5 | ||
705 | 692 | minicom | | 11 | ||
706 | 693 | mysecretdiary | [] [] | 10 | ||
707 | 694 | nano | [] [] [] [] | 17 | ||
708 | 695 | nano_1_0 | [] [] [] | 17 | ||
709 | 696 | opcodes | [] [] | 6 | ||
710 | 697 | parted | [] [] [] | 15 | ||
711 | 698 | ptx | [] [] | 22 | ||
712 | 699 | python | | 0 | ||
713 | 700 | radius | | 4 | ||
714 | 701 | recode | [] [] [] | 20 | ||
715 | 702 | rpm | [] [] | 9 | ||
716 | 703 | screem | [] [] | 2 | ||
717 | 704 | scrollkeeper | [] [] [] | 15 | ||
718 | 705 | sed | [] [] [] [] [] [] | 24 | ||
719 | 706 | sh-utils | [] [] | 14 | ||
720 | 707 | shared-mime-info | [] [] | 7 | ||
721 | 708 | sharutils | [] [] [] [] | 17 | ||
722 | 709 | silky | () | 3 | ||
723 | 710 | skencil | [] | 6 | ||
724 | 711 | sketch | [] | 6 | ||
725 | 712 | soundtracker | [] [] | 7 | ||
726 | 713 | sp | [] | 3 | ||
727 | 714 | tar | [] [] [] [] [] | 24 | ||
728 | 715 | texinfo | [] [] [] | 14 | ||
729 | 716 | textutils | [] [] [] [] | 16 | ||
730 | 717 | tin | | 1 | ||
731 | 718 | tp-robot | | 2 | ||
732 | 719 | tuxpaint | [] [] [] [] [] | 29 | ||
733 | 720 | unicode-han-tra... | | 0 | ||
734 | 721 | unicode-transla... | | 2 | ||
735 | 722 | util-linux | [] [] | 15 | ||
736 | 723 | vorbis-tools | | 8 | ||
737 | 724 | wastesedge | | 0 | ||
738 | 725 | wdiff | [] [] [] | 18 | ||
739 | 726 | wget | [] [] [] [] [] [] [] [] | 24 | ||
740 | 727 | xchat | [] [] [] [] [] | 15 | ||
741 | 728 | xfree86_xkb_xml | [] [] [] [] [] | 11 | ||
742 | 729 | xpad | | 5 | ||
743 | 730 | +-----------------------------------------------------+ | ||
744 | 731 | 63 teams sk sl sr sv ta th tr uk ven vi wa xh zh_CN zh_TW zu | ||
745 | 732 | 131 domains 47 19 28 83 0 0 59 13 1 1 11 0 22 22 0 1373 | ||
746 | 733 | |||
747 | 734 | Some counters in the preceding matrix are higher than the number of | ||
748 | 735 | visible blocks let us expect. This is because a few extra PO files are | ||
749 | 736 | used for implementing regional variants of languages, or language | ||
750 | 737 | dialects. | ||
751 | 738 | |||
752 | 739 | For a PO file in the matrix above to be effective, the package to | ||
753 | 740 | which it applies should also have been internationalized and | ||
754 | 741 | distributed as such by its maintainer. There might be an observable | ||
755 | 742 | lag between the mere existence a PO file and its wide availability in a | ||
756 | 743 | distribution. | ||
757 | 744 | |||
758 | 745 | If January 2004 seems to be old, you may fetch a more recent copy of | ||
759 | 746 | this `ABOUT-NLS' file on most GNU archive sites. The most up-to-date | ||
760 | 747 | matrix with full percentage details can be found at | ||
761 | 748 | `http://www.iro.umontreal.ca/contrib/po/HTML/matrix.html'. | ||
762 | 749 | |||
763 | 750 | Using `gettext' in new packages | ||
764 | 751 | =============================== | ||
765 | 752 | |||
766 | 753 | If you are writing a freely available program and want to | ||
767 | 754 | internationalize it you are welcome to use GNU `gettext' in your | ||
768 | 755 | package. Of course you have to respect the GNU Library General Public | ||
769 | 756 | License which covers the use of the GNU `gettext' library. This means | ||
770 | 757 | in particular that even non-free programs can use `libintl' as a shared | ||
771 | 758 | library, whereas only free software can use `libintl' as a static | ||
772 | 759 | library or use modified versions of `libintl'. | ||
773 | 760 | |||
774 | 761 | Once the sources are changed appropriately and the setup can handle | ||
775 | 762 | the use of `gettext' the only thing missing are the translations. The | ||
776 | 763 | Free Translation Project is also available for packages which are not | ||
777 | 764 | developed inside the GNU project. Therefore the information given above | ||
778 | 765 | applies also for every other Free Software Project. Contact | ||
779 | 766 | `translation@iro.umontreal.ca' to make the `.pot' files available to | ||
780 | 767 | the translation teams. | ||
781 | 768 | |||
782 | 0 | 769 | ||
783 | === added file 'AUTHORS' | |||
784 | === renamed file 'AUTHORS' => 'AUTHORS.moved' | |||
785 | === added file 'COPYING' | |||
786 | --- COPYING 1970-01-01 00:00:00 +0000 | |||
787 | +++ COPYING 2011-01-24 18:52:52 +0000 | |||
788 | @@ -0,0 +1,165 @@ | |||
789 | 1 | GNU LESSER GENERAL PUBLIC LICENSE | ||
790 | 2 | Version 3, 29 June 2007 | ||
791 | 3 | |||
792 | 4 | Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/> | ||
793 | 5 | Everyone is permitted to copy and distribute verbatim copies | ||
794 | 6 | of this license document, but changing it is not allowed. | ||
795 | 7 | |||
796 | 8 | |||
797 | 9 | This version of the GNU Lesser General Public License incorporates | ||
798 | 10 | the terms and conditions of version 3 of the GNU General Public | ||
799 | 11 | License, supplemented by the additional permissions listed below. | ||
800 | 12 | |||
801 | 13 | 0. Additional Definitions. | ||
802 | 14 | |||
803 | 15 | As used herein, "this License" refers to version 3 of the GNU Lesser | ||
804 | 16 | General Public License, and the "GNU GPL" refers to version 3 of the GNU | ||
805 | 17 | General Public License. | ||
806 | 18 | |||
807 | 19 | "The Library" refers to a covered work governed by this License, | ||
808 | 20 | other than an Application or a Combined Work as defined below. | ||
809 | 21 | |||
810 | 22 | An "Application" is any work that makes use of an interface provided | ||
811 | 23 | by the Library, but which is not otherwise based on the Library. | ||
812 | 24 | Defining a subclass of a class defined by the Library is deemed a mode | ||
813 | 25 | of using an interface provided by the Library. | ||
814 | 26 | |||
815 | 27 | A "Combined Work" is a work produced by combining or linking an | ||
816 | 28 | Application with the Library. The particular version of the Library | ||
817 | 29 | with which the Combined Work was made is also called the "Linked | ||
818 | 30 | Version". | ||
819 | 31 | |||
820 | 32 | The "Minimal Corresponding Source" for a Combined Work means the | ||
821 | 33 | Corresponding Source for the Combined Work, excluding any source code | ||
822 | 34 | for portions of the Combined Work that, considered in isolation, are | ||
823 | 35 | based on the Application, and not on the Linked Version. | ||
824 | 36 | |||
825 | 37 | The "Corresponding Application Code" for a Combined Work means the | ||
826 | 38 | object code and/or source code for the Application, including any data | ||
827 | 39 | and utility programs needed for reproducing the Combined Work from the | ||
828 | 40 | Application, but excluding the System Libraries of the Combined Work. | ||
829 | 41 | |||
830 | 42 | 1. Exception to Section 3 of the GNU GPL. | ||
831 | 43 | |||
832 | 44 | You may convey a covered work under sections 3 and 4 of this License | ||
833 | 45 | without being bound by section 3 of the GNU GPL. | ||
834 | 46 | |||
835 | 47 | 2. Conveying Modified Versions. | ||
836 | 48 | |||
837 | 49 | If you modify a copy of the Library, and, in your modifications, a | ||
838 | 50 | facility refers to a function or data to be supplied by an Application | ||
839 | 51 | that uses the facility (other than as an argument passed when the | ||
840 | 52 | facility is invoked), then you may convey a copy of the modified | ||
841 | 53 | version: | ||
842 | 54 | |||
843 | 55 | a) under this License, provided that you make a good faith effort to | ||
844 | 56 | ensure that, in the event an Application does not supply the | ||
845 | 57 | function or data, the facility still operates, and performs | ||
846 | 58 | whatever part of its purpose remains meaningful, or | ||
847 | 59 | |||
848 | 60 | b) under the GNU GPL, with none of the additional permissions of | ||
849 | 61 | this License applicable to that copy. | ||
850 | 62 | |||
851 | 63 | 3. Object Code Incorporating Material from Library Header Files. | ||
852 | 64 | |||
853 | 65 | The object code form of an Application may incorporate material from | ||
854 | 66 | a header file that is part of the Library. You may convey such object | ||
855 | 67 | code under terms of your choice, provided that, if the incorporated | ||
856 | 68 | material is not limited to numerical parameters, data structure | ||
857 | 69 | layouts and accessors, or small macros, inline functions and templates | ||
858 | 70 | (ten or fewer lines in length), you do both of the following: | ||
859 | 71 | |||
860 | 72 | a) Give prominent notice with each copy of the object code that the | ||
861 | 73 | Library is used in it and that the Library and its use are | ||
862 | 74 | covered by this License. | ||
863 | 75 | |||
864 | 76 | b) Accompany the object code with a copy of the GNU GPL and this license | ||
865 | 77 | document. | ||
866 | 78 | |||
867 | 79 | 4. Combined Works. | ||
868 | 80 | |||
869 | 81 | You may convey a Combined Work under terms of your choice that, | ||
870 | 82 | taken together, effectively do not restrict modification of the | ||
871 | 83 | portions of the Library contained in the Combined Work and reverse | ||
872 | 84 | engineering for debugging such modifications, if you also do each of | ||
873 | 85 | the following: | ||
874 | 86 | |||
875 | 87 | a) Give prominent notice with each copy of the Combined Work that | ||
876 | 88 | the Library is used in it and that the Library and its use are | ||
877 | 89 | covered by this License. | ||
878 | 90 | |||
879 | 91 | b) Accompany the Combined Work with a copy of the GNU GPL and this license | ||
880 | 92 | document. | ||
881 | 93 | |||
882 | 94 | c) For a Combined Work that displays copyright notices during | ||
883 | 95 | execution, include the copyright notice for the Library among | ||
884 | 96 | these notices, as well as a reference directing the user to the | ||
885 | 97 | copies of the GNU GPL and this license document. | ||
886 | 98 | |||
887 | 99 | d) Do one of the following: | ||
888 | 100 | |||
889 | 101 | 0) Convey the Minimal Corresponding Source under the terms of this | ||
890 | 102 | License, and the Corresponding Application Code in a form | ||
891 | 103 | suitable for, and under terms that permit, the user to | ||
892 | 104 | recombine or relink the Application with a modified version of | ||
893 | 105 | the Linked Version to produce a modified Combined Work, in the | ||
894 | 106 | manner specified by section 6 of the GNU GPL for conveying | ||
895 | 107 | Corresponding Source. | ||
896 | 108 | |||
897 | 109 | 1) Use a suitable shared library mechanism for linking with the | ||
898 | 110 | Library. A suitable mechanism is one that (a) uses at run time | ||
899 | 111 | a copy of the Library already present on the user's computer | ||
900 | 112 | system, and (b) will operate properly with a modified version | ||
901 | 113 | of the Library that is interface-compatible with the Linked | ||
902 | 114 | Version. | ||
903 | 115 | |||
904 | 116 | e) Provide Installation Information, but only if you would otherwise | ||
905 | 117 | be required to provide such information under section 6 of the | ||
906 | 118 | GNU GPL, and only to the extent that such information is | ||
907 | 119 | necessary to install and execute a modified version of the | ||
908 | 120 | Combined Work produced by recombining or relinking the | ||
909 | 121 | Application with a modified version of the Linked Version. (If | ||
910 | 122 | you use option 4d0, the Installation Information must accompany | ||
911 | 123 | the Minimal Corresponding Source and Corresponding Application | ||
912 | 124 | Code. If you use option 4d1, you must provide the Installation | ||
913 | 125 | Information in the manner specified by section 6 of the GNU GPL | ||
914 | 126 | for conveying Corresponding Source.) | ||
915 | 127 | |||
916 | 128 | 5. Combined Libraries. | ||
917 | 129 | |||
918 | 130 | You may place library facilities that are a work based on the | ||
919 | 131 | Library side by side in a single library together with other library | ||
920 | 132 | facilities that are not Applications and are not covered by this | ||
921 | 133 | License, and convey such a combined library under terms of your | ||
922 | 134 | choice, if you do both of the following: | ||
923 | 135 | |||
924 | 136 | a) Accompany the combined library with a copy of the same work based | ||
925 | 137 | on the Library, uncombined with any other library facilities, | ||
926 | 138 | conveyed under the terms of this License. | ||
927 | 139 | |||
928 | 140 | b) Give prominent notice with the combined library that part of it | ||
929 | 141 | is a work based on the Library, and explaining where to find the | ||
930 | 142 | accompanying uncombined form of the same work. | ||
931 | 143 | |||
932 | 144 | 6. Revised Versions of the GNU Lesser General Public License. | ||
933 | 145 | |||
934 | 146 | The Free Software Foundation may publish revised and/or new versions | ||
935 | 147 | of the GNU Lesser General Public License from time to time. Such new | ||
936 | 148 | versions will be similar in spirit to the present version, but may | ||
937 | 149 | differ in detail to address new problems or concerns. | ||
938 | 150 | |||
939 | 151 | Each version is given a distinguishing version number. If the | ||
940 | 152 | Library as you received it specifies that a certain numbered version | ||
941 | 153 | of the GNU Lesser General Public License "or any later version" | ||
942 | 154 | applies to it, you have the option of following the terms and | ||
943 | 155 | conditions either of that published version or of any later version | ||
944 | 156 | published by the Free Software Foundation. If the Library as you | ||
945 | 157 | received it does not specify a version number of the GNU Lesser | ||
946 | 158 | General Public License, you may choose any version of the GNU Lesser | ||
947 | 159 | General Public License ever published by the Free Software Foundation. | ||
948 | 160 | |||
949 | 161 | If the Library as you received it specifies that a proxy can decide | ||
950 | 162 | whether future versions of the GNU Lesser General Public License shall | ||
951 | 163 | apply, that proxy's public statement of acceptance of any version is | ||
952 | 164 | permanent authorization for you to choose that version for the | ||
953 | 165 | Library. | ||
954 | 0 | 166 | ||
955 | === renamed file 'COPYING' => 'COPYING.moved' | |||
956 | === added file 'ChangeLog' | |||
957 | === renamed file 'ChangeLog' => 'ChangeLog.moved' | |||
958 | === added file 'INSTALL' | |||
959 | --- INSTALL 1970-01-01 00:00:00 +0000 | |||
960 | +++ INSTALL 2011-01-24 18:52:52 +0000 | |||
961 | @@ -0,0 +1,365 @@ | |||
962 | 1 | Installation Instructions | ||
963 | 2 | ************************* | ||
964 | 3 | |||
965 | 4 | Copyright (C) 1994, 1995, 1996, 1999, 2000, 2001, 2002, 2004, 2005, | ||
966 | 5 | 2006, 2007, 2008, 2009 Free Software Foundation, Inc. | ||
967 | 6 | |||
968 | 7 | Copying and distribution of this file, with or without modification, | ||
969 | 8 | are permitted in any medium without royalty provided the copyright | ||
970 | 9 | notice and this notice are preserved. This file is offered as-is, | ||
971 | 10 | without warranty of any kind. | ||
972 | 11 | |||
973 | 12 | Basic Installation | ||
974 | 13 | ================== | ||
975 | 14 | |||
976 | 15 | Briefly, the shell commands `./configure; make; make install' should | ||
977 | 16 | configure, build, and install this package. The following | ||
978 | 17 | more-detailed instructions are generic; see the `README' file for | ||
979 | 18 | instructions specific to this package. Some packages provide this | ||
980 | 19 | `INSTALL' file but do not implement all of the features documented | ||
981 | 20 | below. The lack of an optional feature in a given package is not | ||
982 | 21 | necessarily a bug. More recommendations for GNU packages can be found | ||
983 | 22 | in *note Makefile Conventions: (standards)Makefile Conventions. | ||
984 | 23 | |||
985 | 24 | The `configure' shell script attempts to guess correct values for | ||
986 | 25 | various system-dependent variables used during compilation. It uses | ||
987 | 26 | those values to create a `Makefile' in each directory of the package. | ||
988 | 27 | It may also create one or more `.h' files containing system-dependent | ||
989 | 28 | definitions. Finally, it creates a shell script `config.status' that | ||
990 | 29 | you can run in the future to recreate the current configuration, and a | ||
991 | 30 | file `config.log' containing compiler output (useful mainly for | ||
992 | 31 | debugging `configure'). | ||
993 | 32 | |||
994 | 33 | It can also use an optional file (typically called `config.cache' | ||
995 | 34 | and enabled with `--cache-file=config.cache' or simply `-C') that saves | ||
996 | 35 | the results of its tests to speed up reconfiguring. Caching is | ||
997 | 36 | disabled by default to prevent problems with accidental use of stale | ||
998 | 37 | cache files. | ||
999 | 38 | |||
1000 | 39 | If you need to do unusual things to compile the package, please try | ||
1001 | 40 | to figure out how `configure' could check whether to do them, and mail | ||
1002 | 41 | diffs or instructions to the address given in the `README' so they can | ||
1003 | 42 | be considered for the next release. If you are using the cache, and at | ||
1004 | 43 | some point `config.cache' contains results you don't want to keep, you | ||
1005 | 44 | may remove or edit it. | ||
1006 | 45 | |||
1007 | 46 | The file `configure.ac' (or `configure.in') is used to create | ||
1008 | 47 | `configure' by a program called `autoconf'. You need `configure.ac' if | ||
1009 | 48 | you want to change it or regenerate `configure' using a newer version | ||
1010 | 49 | of `autoconf'. | ||
1011 | 50 | |||
1012 | 51 | The simplest way to compile this package is: | ||
1013 | 52 | |||
1014 | 53 | 1. `cd' to the directory containing the package's source code and type | ||
1015 | 54 | `./configure' to configure the package for your system. | ||
1016 | 55 | |||
1017 | 56 | Running `configure' might take a while. While running, it prints | ||
1018 | 57 | some messages telling which features it is checking for. | ||
1019 | 58 | |||
1020 | 59 | 2. Type `make' to compile the package. | ||
1021 | 60 | |||
1022 | 61 | 3. Optionally, type `make check' to run any self-tests that come with | ||
1023 | 62 | the package, generally using the just-built uninstalled binaries. | ||
1024 | 63 | |||
1025 | 64 | 4. Type `make install' to install the programs and any data files and | ||
1026 | 65 | documentation. When installing into a prefix owned by root, it is | ||
1027 | 66 | recommended that the package be configured and built as a regular | ||
1028 | 67 | user, and only the `make install' phase executed with root | ||
1029 | 68 | privileges. | ||
1030 | 69 | |||
1031 | 70 | 5. Optionally, type `make installcheck' to repeat any self-tests, but | ||
1032 | 71 | this time using the binaries in their final installed location. | ||
1033 | 72 | This target does not install anything. Running this target as a | ||
1034 | 73 | regular user, particularly if the prior `make install' required | ||
1035 | 74 | root privileges, verifies that the installation completed | ||
1036 | 75 | correctly. | ||
1037 | 76 | |||
1038 | 77 | 6. You can remove the program binaries and object files from the | ||
1039 | 78 | source code directory by typing `make clean'. To also remove the | ||
1040 | 79 | files that `configure' created (so you can compile the package for | ||
1041 | 80 | a different kind of computer), type `make distclean'. There is | ||
1042 | 81 | also a `make maintainer-clean' target, but that is intended mainly | ||
1043 | 82 | for the package's developers. If you use it, you may have to get | ||
1044 | 83 | all sorts of other programs in order to regenerate files that came | ||
1045 | 84 | with the distribution. | ||
1046 | 85 | |||
1047 | 86 | 7. Often, you can also type `make uninstall' to remove the installed | ||
1048 | 87 | files again. In practice, not all packages have tested that | ||
1049 | 88 | uninstallation works correctly, even though it is required by the | ||
1050 | 89 | GNU Coding Standards. | ||
1051 | 90 | |||
1052 | 91 | 8. Some packages, particularly those that use Automake, provide `make | ||
1053 | 92 | distcheck', which can by used by developers to test that all other | ||
1054 | 93 | targets like `make install' and `make uninstall' work correctly. | ||
1055 | 94 | This target is generally not run by end users. | ||
1056 | 95 | |||
1057 | 96 | Compilers and Options | ||
1058 | 97 | ===================== | ||
1059 | 98 | |||
1060 | 99 | Some systems require unusual options for compilation or linking that | ||
1061 | 100 | the `configure' script does not know about. Run `./configure --help' | ||
1062 | 101 | for details on some of the pertinent environment variables. | ||
1063 | 102 | |||
1064 | 103 | You can give `configure' initial values for configuration parameters | ||
1065 | 104 | by setting variables in the command line or in the environment. Here | ||
1066 | 105 | is an example: | ||
1067 | 106 | |||
1068 | 107 | ./configure CC=c99 CFLAGS=-g LIBS=-lposix | ||
1069 | 108 | |||
1070 | 109 | *Note Defining Variables::, for more details. | ||
1071 | 110 | |||
1072 | 111 | Compiling For Multiple Architectures | ||
1073 | 112 | ==================================== | ||
1074 | 113 | |||
1075 | 114 | You can compile the package for more than one kind of computer at the | ||
1076 | 115 | same time, by placing the object files for each architecture in their | ||
1077 | 116 | own directory. To do this, you can use GNU `make'. `cd' to the | ||
1078 | 117 | directory where you want the object files and executables to go and run | ||
1079 | 118 | the `configure' script. `configure' automatically checks for the | ||
1080 | 119 | source code in the directory that `configure' is in and in `..'. This | ||
1081 | 120 | is known as a "VPATH" build. | ||
1082 | 121 | |||
1083 | 122 | With a non-GNU `make', it is safer to compile the package for one | ||
1084 | 123 | architecture at a time in the source code directory. After you have | ||
1085 | 124 | installed the package for one architecture, use `make distclean' before | ||
1086 | 125 | reconfiguring for another architecture. | ||
1087 | 126 | |||
1088 | 127 | On MacOS X 10.5 and later systems, you can create libraries and | ||
1089 | 128 | executables that work on multiple system types--known as "fat" or | ||
1090 | 129 | "universal" binaries--by specifying multiple `-arch' options to the | ||
1091 | 130 | compiler but only a single `-arch' option to the preprocessor. Like | ||
1092 | 131 | this: | ||
1093 | 132 | |||
1094 | 133 | ./configure CC="gcc -arch i386 -arch x86_64 -arch ppc -arch ppc64" \ | ||
1095 | 134 | CXX="g++ -arch i386 -arch x86_64 -arch ppc -arch ppc64" \ | ||
1096 | 135 | CPP="gcc -E" CXXCPP="g++ -E" | ||
1097 | 136 | |||
1098 | 137 | This is not guaranteed to produce working output in all cases, you | ||
1099 | 138 | may have to build one architecture at a time and combine the results | ||
1100 | 139 | using the `lipo' tool if you have problems. | ||
1101 | 140 | |||
1102 | 141 | Installation Names | ||
1103 | 142 | ================== | ||
1104 | 143 | |||
1105 | 144 | By default, `make install' installs the package's commands under | ||
1106 | 145 | `/usr/local/bin', include files under `/usr/local/include', etc. You | ||
1107 | 146 | can specify an installation prefix other than `/usr/local' by giving | ||
1108 | 147 | `configure' the option `--prefix=PREFIX', where PREFIX must be an | ||
1109 | 148 | absolute file name. | ||
1110 | 149 | |||
1111 | 150 | You can specify separate installation prefixes for | ||
1112 | 151 | architecture-specific files and architecture-independent files. If you | ||
1113 | 152 | pass the option `--exec-prefix=PREFIX' to `configure', the package uses | ||
1114 | 153 | PREFIX as the prefix for installing programs and libraries. | ||
1115 | 154 | Documentation and other data files still use the regular prefix. | ||
1116 | 155 | |||
1117 | 156 | In addition, if you use an unusual directory layout you can give | ||
1118 | 157 | options like `--bindir=DIR' to specify different values for particular | ||
1119 | 158 | kinds of files. Run `configure --help' for a list of the directories | ||
1120 | 159 | you can set and what kinds of files go in them. In general, the | ||
1121 | 160 | default for these options is expressed in terms of `${prefix}', so that | ||
1122 | 161 | specifying just `--prefix' will affect all of the other directory | ||
1123 | 162 | specifications that were not explicitly provided. | ||
1124 | 163 | |||
1125 | 164 | The most portable way to affect installation locations is to pass the | ||
1126 | 165 | correct locations to `configure'; however, many packages provide one or | ||
1127 | 166 | both of the following shortcuts of passing variable assignments to the | ||
1128 | 167 | `make install' command line to change installation locations without | ||
1129 | 168 | having to reconfigure or recompile. | ||
1130 | 169 | |||
1131 | 170 | The first method involves providing an override variable for each | ||
1132 | 171 | affected directory. For example, `make install | ||
1133 | 172 | prefix=/alternate/directory' will choose an alternate location for all | ||
1134 | 173 | directory configuration variables that were expressed in terms of | ||
1135 | 174 | `${prefix}'. Any directories that were specified during `configure', | ||
1136 | 175 | but not in terms of `${prefix}', must each be overridden at install | ||
1137 | 176 | time for the entire installation to be relocated. The approach of | ||
1138 | 177 | makefile variable overrides for each directory variable is required by | ||
1139 | 178 | the GNU Coding Standards, and ideally causes no recompilation. | ||
1140 | 179 | However, some platforms have known limitations with the semantics of | ||
1141 | 180 | shared libraries that end up requiring recompilation when using this | ||
1142 | 181 | method, particularly noticeable in packages that use GNU Libtool. | ||
1143 | 182 | |||
1144 | 183 | The second method involves providing the `DESTDIR' variable. For | ||
1145 | 184 | example, `make install DESTDIR=/alternate/directory' will prepend | ||
1146 | 185 | `/alternate/directory' before all installation names. The approach of | ||
1147 | 186 | `DESTDIR' overrides is not required by the GNU Coding Standards, and | ||
1148 | 187 | does not work on platforms that have drive letters. On the other hand, | ||
1149 | 188 | it does better at avoiding recompilation issues, and works well even | ||
1150 | 189 | when some directory options were not specified in terms of `${prefix}' | ||
1151 | 190 | at `configure' time. | ||
1152 | 191 | |||
1153 | 192 | Optional Features | ||
1154 | 193 | ================= | ||
1155 | 194 | |||
1156 | 195 | If the package supports it, you can cause programs to be installed | ||
1157 | 196 | with an extra prefix or suffix on their names by giving `configure' the | ||
1158 | 197 | option `--program-prefix=PREFIX' or `--program-suffix=SUFFIX'. | ||
1159 | 198 | |||
1160 | 199 | Some packages pay attention to `--enable-FEATURE' options to | ||
1161 | 200 | `configure', where FEATURE indicates an optional part of the package. | ||
1162 | 201 | They may also pay attention to `--with-PACKAGE' options, where PACKAGE | ||
1163 | 202 | is something like `gnu-as' or `x' (for the X Window System). The | ||
1164 | 203 | `README' should mention any `--enable-' and `--with-' options that the | ||
1165 | 204 | package recognizes. | ||
1166 | 205 | |||
1167 | 206 | For packages that use the X Window System, `configure' can usually | ||
1168 | 207 | find the X include and library files automatically, but if it doesn't, | ||
1169 | 208 | you can use the `configure' options `--x-includes=DIR' and | ||
1170 | 209 | `--x-libraries=DIR' to specify their locations. | ||
1171 | 210 | |||
1172 | 211 | Some packages offer the ability to configure how verbose the | ||
1173 | 212 | execution of `make' will be. For these packages, running `./configure | ||
1174 | 213 | --enable-silent-rules' sets the default to minimal output, which can be | ||
1175 | 214 | overridden with `make V=1'; while running `./configure | ||
1176 | 215 | --disable-silent-rules' sets the default to verbose, which can be | ||
1177 | 216 | overridden with `make V=0'. | ||
1178 | 217 | |||
1179 | 218 | Particular systems | ||
1180 | 219 | ================== | ||
1181 | 220 | |||
1182 | 221 | On HP-UX, the default C compiler is not ANSI C compatible. If GNU | ||
1183 | 222 | CC is not installed, it is recommended to use the following options in | ||
1184 | 223 | order to use an ANSI C compiler: | ||
1185 | 224 | |||
1186 | 225 | ./configure CC="cc -Ae -D_XOPEN_SOURCE=500" | ||
1187 | 226 | |||
1188 | 227 | and if that doesn't work, install pre-built binaries of GCC for HP-UX. | ||
1189 | 228 | |||
1190 | 229 | On OSF/1 a.k.a. Tru64, some versions of the default C compiler cannot | ||
1191 | 230 | parse its `<wchar.h>' header file. The option `-nodtk' can be used as | ||
1192 | 231 | a workaround. If GNU CC is not installed, it is therefore recommended | ||
1193 | 232 | to try | ||
1194 | 233 | |||
1195 | 234 | ./configure CC="cc" | ||
1196 | 235 | |||
1197 | 236 | and if that doesn't work, try | ||
1198 | 237 | |||
1199 | 238 | ./configure CC="cc -nodtk" | ||
1200 | 239 | |||
1201 | 240 | On Solaris, don't put `/usr/ucb' early in your `PATH'. This | ||
1202 | 241 | directory contains several dysfunctional programs; working variants of | ||
1203 | 242 | these programs are available in `/usr/bin'. So, if you need `/usr/ucb' | ||
1204 | 243 | in your `PATH', put it _after_ `/usr/bin'. | ||
1205 | 244 | |||
1206 | 245 | On Haiku, software installed for all users goes in `/boot/common', | ||
1207 | 246 | not `/usr/local'. It is recommended to use the following options: | ||
1208 | 247 | |||
1209 | 248 | ./configure --prefix=/boot/common | ||
1210 | 249 | |||
1211 | 250 | Specifying the System Type | ||
1212 | 251 | ========================== | ||
1213 | 252 | |||
1214 | 253 | There may be some features `configure' cannot figure out | ||
1215 | 254 | automatically, but needs to determine by the type of machine the package | ||
1216 | 255 | will run on. Usually, assuming the package is built to be run on the | ||
1217 | 256 | _same_ architectures, `configure' can figure that out, but if it prints | ||
1218 | 257 | a message saying it cannot guess the machine type, give it the | ||
1219 | 258 | `--build=TYPE' option. TYPE can either be a short name for the system | ||
1220 | 259 | type, such as `sun4', or a canonical name which has the form: | ||
1221 | 260 | |||
1222 | 261 | CPU-COMPANY-SYSTEM | ||
1223 | 262 | |||
1224 | 263 | where SYSTEM can have one of these forms: | ||
1225 | 264 | |||
1226 | 265 | OS | ||
1227 | 266 | KERNEL-OS | ||
1228 | 267 | |||
1229 | 268 | See the file `config.sub' for the possible values of each field. If | ||
1230 | 269 | `config.sub' isn't included in this package, then this package doesn't | ||
1231 | 270 | need to know the machine type. | ||
1232 | 271 | |||
1233 | 272 | If you are _building_ compiler tools for cross-compiling, you should | ||
1234 | 273 | use the option `--target=TYPE' to select the type of system they will | ||
1235 | 274 | produce code for. | ||
1236 | 275 | |||
1237 | 276 | If you want to _use_ a cross compiler, that generates code for a | ||
1238 | 277 | platform different from the build platform, you should specify the | ||
1239 | 278 | "host" platform (i.e., that on which the generated programs will | ||
1240 | 279 | eventually be run) with `--host=TYPE'. | ||
1241 | 280 | |||
1242 | 281 | Sharing Defaults | ||
1243 | 282 | ================ | ||
1244 | 283 | |||
1245 | 284 | If you want to set default values for `configure' scripts to share, | ||
1246 | 285 | you can create a site shell script called `config.site' that gives | ||
1247 | 286 | default values for variables like `CC', `cache_file', and `prefix'. | ||
1248 | 287 | `configure' looks for `PREFIX/share/config.site' if it exists, then | ||
1249 | 288 | `PREFIX/etc/config.site' if it exists. Or, you can set the | ||
1250 | 289 | `CONFIG_SITE' environment variable to the location of the site script. | ||
1251 | 290 | A warning: not all `configure' scripts look for a site script. | ||
1252 | 291 | |||
1253 | 292 | Defining Variables | ||
1254 | 293 | ================== | ||
1255 | 294 | |||
1256 | 295 | Variables not defined in a site shell script can be set in the | ||
1257 | 296 | environment passed to `configure'. However, some packages may run | ||
1258 | 297 | configure again during the build, and the customized values of these | ||
1259 | 298 | variables may be lost. In order to avoid this problem, you should set | ||
1260 | 299 | them in the `configure' command line, using `VAR=value'. For example: | ||
1261 | 300 | |||
1262 | 301 | ./configure CC=/usr/local2/bin/gcc | ||
1263 | 302 | |||
1264 | 303 | causes the specified `gcc' to be used as the C compiler (unless it is | ||
1265 | 304 | overridden in the site shell script). | ||
1266 | 305 | |||
1267 | 306 | Unfortunately, this technique does not work for `CONFIG_SHELL' due to | ||
1268 | 307 | an Autoconf bug. Until the bug is fixed you can use this workaround: | ||
1269 | 308 | |||
1270 | 309 | CONFIG_SHELL=/bin/bash /bin/bash ./configure CONFIG_SHELL=/bin/bash | ||
1271 | 310 | |||
1272 | 311 | `configure' Invocation | ||
1273 | 312 | ====================== | ||
1274 | 313 | |||
1275 | 314 | `configure' recognizes the following options to control how it | ||
1276 | 315 | operates. | ||
1277 | 316 | |||
1278 | 317 | `--help' | ||
1279 | 318 | `-h' | ||
1280 | 319 | Print a summary of all of the options to `configure', and exit. | ||
1281 | 320 | |||
1282 | 321 | `--help=short' | ||
1283 | 322 | `--help=recursive' | ||
1284 | 323 | Print a summary of the options unique to this package's | ||
1285 | 324 | `configure', and exit. The `short' variant lists options used | ||
1286 | 325 | only in the top level, while the `recursive' variant lists options | ||
1287 | 326 | also present in any nested packages. | ||
1288 | 327 | |||
1289 | 328 | `--version' | ||
1290 | 329 | `-V' | ||
1291 | 330 | Print the version of Autoconf used to generate the `configure' | ||
1292 | 331 | script, and exit. | ||
1293 | 332 | |||
1294 | 333 | `--cache-file=FILE' | ||
1295 | 334 | Enable the cache: use and save the results of the tests in FILE, | ||
1296 | 335 | traditionally `config.cache'. FILE defaults to `/dev/null' to | ||
1297 | 336 | disable caching. | ||
1298 | 337 | |||
1299 | 338 | `--config-cache' | ||
1300 | 339 | `-C' | ||
1301 | 340 | Alias for `--cache-file=config.cache'. | ||
1302 | 341 | |||
1303 | 342 | `--quiet' | ||
1304 | 343 | `--silent' | ||
1305 | 344 | `-q' | ||
1306 | 345 | Do not print messages saying which checks are being made. To | ||
1307 | 346 | suppress all normal output, redirect it to `/dev/null' (any error | ||
1308 | 347 | messages will still be shown). | ||
1309 | 348 | |||
1310 | 349 | `--srcdir=DIR' | ||
1311 | 350 | Look for the package's source code in directory DIR. Usually | ||
1312 | 351 | `configure' can determine that directory automatically. | ||
1313 | 352 | |||
1314 | 353 | `--prefix=DIR' | ||
1315 | 354 | Use DIR as the installation prefix. *note Installation Names:: | ||
1316 | 355 | for more details, including other options available for fine-tuning | ||
1317 | 356 | the installation locations. | ||
1318 | 357 | |||
1319 | 358 | `--no-create' | ||
1320 | 359 | `-n' | ||
1321 | 360 | Run the configure checks, but stop before creating any output | ||
1322 | 361 | files. | ||
1323 | 362 | |||
1324 | 363 | `configure' also accepts some other, not widely useful, options. Run | ||
1325 | 364 | `configure --help' for more details. | ||
1326 | 365 | |||
1327 | 0 | 366 | ||
1328 | === added file 'Makefile.am' | |||
1329 | --- Makefile.am 1970-01-01 00:00:00 +0000 | |||
1330 | +++ Makefile.am 2011-01-24 18:52:52 +0000 | |||
1331 | @@ -0,0 +1,27 @@ | |||
1332 | 1 | SUBDIRS = lib po pixmaps | ||
1333 | 2 | |||
1334 | 3 | bin_SCRIPTS = launchpad-integration | ||
1335 | 4 | |||
1336 | 5 | pkgconfigdir = $(libdir)/pkgconfig | ||
1337 | 6 | |||
1338 | 7 | if USE_GTK3 | ||
1339 | 8 | pkgconfig_DATA = launchpad-integration-3.0.pc | ||
1340 | 9 | else | ||
1341 | 10 | pkgconfig_DATA = launchpad-integration.pc launchpad-integration-sharp.pc lpint-bonobo.pc | ||
1342 | 11 | configdir = $(libdir)/cli/launchpad-integration-sharp-1 | ||
1343 | 12 | config_DATA = launchpad-integration-sharp.dll.config | ||
1344 | 13 | endif | ||
1345 | 14 | |||
1346 | 15 | nobase_pkgdata_PYTHON = \ | ||
1347 | 16 | launchpadintegration/__init__.py \ | ||
1348 | 17 | launchpadintegration/main.py \ | ||
1349 | 18 | launchpadintegration/packageinfo.py \ | ||
1350 | 19 | launchpadintegration/urls.py | ||
1351 | 20 | |||
1352 | 21 | EXTRA_DIST = \ | ||
1353 | 22 | launchpad-integration-sharp.dll.config \ | ||
1354 | 23 | launchpad-integration.in \ | ||
1355 | 24 | launchpad-integration.pc.in \ | ||
1356 | 25 | launchpad-integration-3.0.pc.in \ | ||
1357 | 26 | launchpad-integration-sharp.pc.in \ | ||
1358 | 27 | lpint-bonobo.pc.in | ||
1359 | 0 | 28 | ||
1360 | === renamed file 'Makefile.am' => 'Makefile.am.moved' | |||
1361 | === added file 'Makefile.in' | |||
1362 | --- Makefile.in 1970-01-01 00:00:00 +0000 | |||
1363 | +++ Makefile.in 2011-01-24 18:52:52 +0000 | |||
1364 | @@ -0,0 +1,957 @@ | |||
1365 | 1 | # Makefile.in generated by automake 1.11.1 from Makefile.am. | ||
1366 | 2 | # @configure_input@ | ||
1367 | 3 | |||
1368 | 4 | # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, | ||
1369 | 5 | # 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, | ||
1370 | 6 | # Inc. | ||
1371 | 7 | # This Makefile.in is free software; the Free Software Foundation | ||
1372 | 8 | # gives unlimited permission to copy and/or distribute it, | ||
1373 | 9 | # with or without modifications, as long as this notice is preserved. | ||
1374 | 10 | |||
1375 | 11 | # This program is distributed in the hope that it will be useful, | ||
1376 | 12 | # but WITHOUT ANY WARRANTY, to the extent permitted by law; without | ||
1377 | 13 | # even the implied warranty of MERCHANTABILITY or FITNESS FOR A | ||
1378 | 14 | # PARTICULAR PURPOSE. | ||
1379 | 15 | |||
1380 | 16 | @SET_MAKE@ | ||
1381 | 17 | |||
1382 | 18 | |||
1383 | 19 | VPATH = @srcdir@ | ||
1384 | 20 | pkgdatadir = $(datadir)/@PACKAGE@ | ||
1385 | 21 | pkgincludedir = $(includedir)/@PACKAGE@ | ||
1386 | 22 | pkglibdir = $(libdir)/@PACKAGE@ | ||
1387 | 23 | pkglibexecdir = $(libexecdir)/@PACKAGE@ | ||
1388 | 24 | am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd | ||
1389 | 25 | install_sh_DATA = $(install_sh) -c -m 644 | ||
1390 | 26 | install_sh_PROGRAM = $(install_sh) -c | ||
1391 | 27 | install_sh_SCRIPT = $(install_sh) -c | ||
1392 | 28 | INSTALL_HEADER = $(INSTALL_DATA) | ||
1393 | 29 | transform = $(program_transform_name) | ||
1394 | 30 | NORMAL_INSTALL = : | ||
1395 | 31 | PRE_INSTALL = : | ||
1396 | 32 | POST_INSTALL = : | ||
1397 | 33 | NORMAL_UNINSTALL = : | ||
1398 | 34 | PRE_UNINSTALL = : | ||
1399 | 35 | POST_UNINSTALL = : | ||
1400 | 36 | build_triplet = @build@ | ||
1401 | 37 | host_triplet = @host@ | ||
1402 | 38 | subdir = . | ||
1403 | 39 | DIST_COMMON = README $(am__configure_deps) $(nobase_pkgdata_PYTHON) \ | ||
1404 | 40 | $(srcdir)/Makefile.am $(srcdir)/Makefile.in \ | ||
1405 | 41 | $(srcdir)/config.h.in \ | ||
1406 | 42 | $(srcdir)/launchpad-integration-3.0.pc.in \ | ||
1407 | 43 | $(srcdir)/launchpad-integration-sharp.pc.in \ | ||
1408 | 44 | $(srcdir)/launchpad-integration.in \ | ||
1409 | 45 | $(srcdir)/launchpad-integration.pc.in \ | ||
1410 | 46 | $(srcdir)/lpint-bonobo.pc.in $(top_srcdir)/configure ABOUT-NLS \ | ||
1411 | 47 | AUTHORS COPYING ChangeLog INSTALL NEWS config.guess \ | ||
1412 | 48 | config.rpath config.sub depcomp install-sh ltmain.sh missing \ | ||
1413 | 49 | mkinstalldirs py-compile | ||
1414 | 50 | ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 | ||
1415 | 51 | am__aclocal_m4_deps = $(top_srcdir)/m4/gettext.m4 \ | ||
1416 | 52 | $(top_srcdir)/m4/iconv.m4 $(top_srcdir)/m4/lib-ld.m4 \ | ||
1417 | 53 | $(top_srcdir)/m4/lib-link.m4 $(top_srcdir)/m4/lib-prefix.m4 \ | ||
1418 | 54 | $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \ | ||
1419 | 55 | $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \ | ||
1420 | 56 | $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/m4/nls.m4 \ | ||
1421 | 57 | $(top_srcdir)/m4/po.m4 $(top_srcdir)/m4/progtest.m4 \ | ||
1422 | 58 | $(top_srcdir)/acinclude.m4 $(top_srcdir)/configure.ac | ||
1423 | 59 | am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ | ||
1424 | 60 | $(ACLOCAL_M4) | ||
1425 | 61 | am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \ | ||
1426 | 62 | configure.lineno config.status.lineno | ||
1427 | 63 | mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs | ||
1428 | 64 | CONFIG_HEADER = config.h | ||
1429 | 65 | CONFIG_CLEAN_FILES = launchpad-integration.pc \ | ||
1430 | 66 | launchpad-integration-3.0.pc launchpad-integration-sharp.pc \ | ||
1431 | 67 | lpint-bonobo.pc launchpad-integration | ||
1432 | 68 | CONFIG_CLEAN_VPATH_FILES = | ||
1433 | 69 | am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; | ||
1434 | 70 | am__vpath_adj = case $$p in \ | ||
1435 | 71 | $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ | ||
1436 | 72 | *) f=$$p;; \ | ||
1437 | 73 | esac; | ||
1438 | 74 | am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; | ||
1439 | 75 | am__install_max = 40 | ||
1440 | 76 | am__nobase_strip_setup = \ | ||
1441 | 77 | srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` | ||
1442 | 78 | am__nobase_strip = \ | ||
1443 | 79 | for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" | ||
1444 | 80 | am__nobase_list = $(am__nobase_strip_setup); \ | ||
1445 | 81 | for p in $$list; do echo "$$p $$p"; done | \ | ||
1446 | 82 | sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ | ||
1447 | 83 | $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ | ||
1448 | 84 | if (++n[$$2] == $(am__install_max)) \ | ||
1449 | 85 | { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ | ||
1450 | 86 | END { for (dir in files) print dir, files[dir] }' | ||
1451 | 87 | am__base_list = \ | ||
1452 | 88 | sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ | ||
1453 | 89 | sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | ||
1454 | 90 | am__installdirs = "$(DESTDIR)$(bindir)" "$(DESTDIR)$(pkgdatadir)" \ | ||
1455 | 91 | "$(DESTDIR)$(configdir)" "$(DESTDIR)$(pkgconfigdir)" | ||
1456 | 92 | SCRIPTS = $(bin_SCRIPTS) | ||
1457 | 93 | SOURCES = | ||
1458 | 94 | DIST_SOURCES = | ||
1459 | 95 | RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \ | ||
1460 | 96 | html-recursive info-recursive install-data-recursive \ | ||
1461 | 97 | install-dvi-recursive install-exec-recursive \ | ||
1462 | 98 | install-html-recursive install-info-recursive \ | ||
1463 | 99 | install-pdf-recursive install-ps-recursive install-recursive \ | ||
1464 | 100 | installcheck-recursive installdirs-recursive pdf-recursive \ | ||
1465 | 101 | ps-recursive uninstall-recursive | ||
1466 | 102 | py_compile = $(top_srcdir)/py-compile | ||
1467 | 103 | DATA = $(config_DATA) $(pkgconfig_DATA) | ||
1468 | 104 | RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \ | ||
1469 | 105 | distclean-recursive maintainer-clean-recursive | ||
1470 | 106 | AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \ | ||
1471 | 107 | $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \ | ||
1472 | 108 | distdir dist dist-all distcheck | ||
1473 | 109 | ETAGS = etags | ||
1474 | 110 | CTAGS = ctags | ||
1475 | 111 | DIST_SUBDIRS = $(SUBDIRS) | ||
1476 | 112 | DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) | ||
1477 | 113 | distdir = $(PACKAGE)-$(VERSION) | ||
1478 | 114 | top_distdir = $(distdir) | ||
1479 | 115 | am__remove_distdir = \ | ||
1480 | 116 | { test ! -d "$(distdir)" \ | ||
1481 | 117 | || { find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \ | ||
1482 | 118 | && rm -fr "$(distdir)"; }; } | ||
1483 | 119 | am__relativize = \ | ||
1484 | 120 | dir0=`pwd`; \ | ||
1485 | 121 | sed_first='s,^\([^/]*\)/.*$$,\1,'; \ | ||
1486 | 122 | sed_rest='s,^[^/]*/*,,'; \ | ||
1487 | 123 | sed_last='s,^.*/\([^/]*\)$$,\1,'; \ | ||
1488 | 124 | sed_butlast='s,/*[^/]*$$,,'; \ | ||
1489 | 125 | while test -n "$$dir1"; do \ | ||
1490 | 126 | first=`echo "$$dir1" | sed -e "$$sed_first"`; \ | ||
1491 | 127 | if test "$$first" != "."; then \ | ||
1492 | 128 | if test "$$first" = ".."; then \ | ||
1493 | 129 | dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \ | ||
1494 | 130 | dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \ | ||
1495 | 131 | else \ | ||
1496 | 132 | first2=`echo "$$dir2" | sed -e "$$sed_first"`; \ | ||
1497 | 133 | if test "$$first2" = "$$first"; then \ | ||
1498 | 134 | dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \ | ||
1499 | 135 | else \ | ||
1500 | 136 | dir2="../$$dir2"; \ | ||
1501 | 137 | fi; \ | ||
1502 | 138 | dir0="$$dir0"/"$$first"; \ | ||
1503 | 139 | fi; \ | ||
1504 | 140 | fi; \ | ||
1505 | 141 | dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \ | ||
1506 | 142 | done; \ | ||
1507 | 143 | reldir="$$dir2" | ||
1508 | 144 | DIST_ARCHIVES = $(distdir).tar.gz | ||
1509 | 145 | GZIP_ENV = --best | ||
1510 | 146 | distuninstallcheck_listfiles = find . -type f -print | ||
1511 | 147 | distcleancheck_listfiles = find . -type f -print | ||
1512 | 148 | ACLOCAL = @ACLOCAL@ | ||
1513 | 149 | ACLOCAL_AMFLAGS = @ACLOCAL_AMFLAGS@ | ||
1514 | 150 | AL = @AL@ | ||
1515 | 151 | AMTAR = @AMTAR@ | ||
1516 | 152 | AR = @AR@ | ||
1517 | 153 | AUTOCONF = @AUTOCONF@ | ||
1518 | 154 | AUTOHEADER = @AUTOHEADER@ | ||
1519 | 155 | AUTOMAKE = @AUTOMAKE@ | ||
1520 | 156 | AWK = @AWK@ | ||
1521 | 157 | BONOBO_CFLAGS = @BONOBO_CFLAGS@ | ||
1522 | 158 | BONOBO_LIBS = @BONOBO_LIBS@ | ||
1523 | 159 | CC = @CC@ | ||
1524 | 160 | CCDEPMODE = @CCDEPMODE@ | ||
1525 | 161 | CFLAGS = @CFLAGS@ | ||
1526 | 162 | CPP = @CPP@ | ||
1527 | 163 | CPPFLAGS = @CPPFLAGS@ | ||
1528 | 164 | CSC = @CSC@ | ||
1529 | 165 | CYGPATH_W = @CYGPATH_W@ | ||
1530 | 166 | DEFS = @DEFS@ | ||
1531 | 167 | DEPDIR = @DEPDIR@ | ||
1532 | 168 | DSYMUTIL = @DSYMUTIL@ | ||
1533 | 169 | DUMPBIN = @DUMPBIN@ | ||
1534 | 170 | ECHO_C = @ECHO_C@ | ||
1535 | 171 | ECHO_N = @ECHO_N@ | ||
1536 | 172 | ECHO_T = @ECHO_T@ | ||
1537 | 173 | EGREP = @EGREP@ | ||
1538 | 174 | EXEEXT = @EXEEXT@ | ||
1539 | 175 | FGREP = @FGREP@ | ||
1540 | 176 | GACUTIL = @GACUTIL@ | ||
1541 | 177 | GMSGFMT = @GMSGFMT@ | ||
1542 | 178 | GREP = @GREP@ | ||
1543 | 179 | GTK_CFLAGS = @GTK_CFLAGS@ | ||
1544 | 180 | GTK_LIBS = @GTK_LIBS@ | ||
1545 | 181 | GTK_SHARP_CFLAGS = @GTK_SHARP_CFLAGS@ | ||
1546 | 182 | GTK_SHARP_LIBS = @GTK_SHARP_LIBS@ | ||
1547 | 183 | INSTALL = @INSTALL@ | ||
1548 | 184 | INSTALL_DATA = @INSTALL_DATA@ | ||
1549 | 185 | INSTALL_PROGRAM = @INSTALL_PROGRAM@ | ||
1550 | 186 | INSTALL_SCRIPT = @INSTALL_SCRIPT@ | ||
1551 | 187 | INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ | ||
1552 | 188 | INTLLIBS = @INTLLIBS@ | ||
1553 | 189 | INTROSPECTION_CFLAGS = @INTROSPECTION_CFLAGS@ | ||
1554 | 190 | INTROSPECTION_COMPILER = @INTROSPECTION_COMPILER@ | ||
1555 | 191 | INTROSPECTION_GENERATE = @INTROSPECTION_GENERATE@ | ||
1556 | 192 | INTROSPECTION_GIRDIR = @INTROSPECTION_GIRDIR@ | ||
1557 | 193 | INTROSPECTION_LIBS = @INTROSPECTION_LIBS@ | ||
1558 | 194 | INTROSPECTION_MAKEFILE = @INTROSPECTION_MAKEFILE@ | ||
1559 | 195 | INTROSPECTION_SCANNER = @INTROSPECTION_SCANNER@ | ||
1560 | 196 | INTROSPECTION_TYPELIBDIR = @INTROSPECTION_TYPELIBDIR@ | ||
1561 | 197 | LD = @LD@ | ||
1562 | 198 | LDFLAGS = @LDFLAGS@ | ||
1563 | 199 | LIBICONV = @LIBICONV@ | ||
1564 | 200 | LIBINTL = @LIBINTL@ | ||
1565 | 201 | LIBOBJS = @LIBOBJS@ | ||
1566 | 202 | LIBS = @LIBS@ | ||
1567 | 203 | LIBTOOL = @LIBTOOL@ | ||
1568 | 204 | LIPO = @LIPO@ | ||
1569 | 205 | LN_S = @LN_S@ | ||
1570 | 206 | LTLIBICONV = @LTLIBICONV@ | ||
1571 | 207 | LTLIBINTL = @LTLIBINTL@ | ||
1572 | 208 | LTLIBOBJS = @LTLIBOBJS@ | ||
1573 | 209 | MAINT = @MAINT@ | ||
1574 | 210 | MAKEINFO = @MAKEINFO@ | ||
1575 | 211 | MKDIR_P = @MKDIR_P@ | ||
1576 | 212 | MKINSTALLDIRS = @MKINSTALLDIRS@ | ||
1577 | 213 | MONO_DEPENDENCY_CFLAGS = @MONO_DEPENDENCY_CFLAGS@ | ||
1578 | 214 | MONO_DEPENDENCY_LIBS = @MONO_DEPENDENCY_LIBS@ | ||
1579 | 215 | MSGFMT = @MSGFMT@ | ||
1580 | 216 | MSGMERGE = @MSGMERGE@ | ||
1581 | 217 | NM = @NM@ | ||
1582 | 218 | NMEDIT = @NMEDIT@ | ||
1583 | 219 | OBJDUMP = @OBJDUMP@ | ||
1584 | 220 | OBJEXT = @OBJEXT@ | ||
1585 | 221 | OTOOL = @OTOOL@ | ||
1586 | 222 | OTOOL64 = @OTOOL64@ | ||
1587 | 223 | PACKAGE = @PACKAGE@ | ||
1588 | 224 | PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ | ||
1589 | 225 | PACKAGE_NAME = @PACKAGE_NAME@ | ||
1590 | 226 | PACKAGE_STRING = @PACKAGE_STRING@ | ||
1591 | 227 | PACKAGE_TARNAME = @PACKAGE_TARNAME@ | ||
1592 | 228 | PACKAGE_URL = @PACKAGE_URL@ | ||
1593 | 229 | PACKAGE_VERSION = @PACKAGE_VERSION@ | ||
1594 | 230 | PATH_SEPARATOR = @PATH_SEPARATOR@ | ||
1595 | 231 | PKG_CONFIG = @PKG_CONFIG@ | ||
1596 | 232 | PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ | ||
1597 | 233 | PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ | ||
1598 | 234 | POSUB = @POSUB@ | ||
1599 | 235 | PYGTK_CFLAGS = @PYGTK_CFLAGS@ | ||
1600 | 236 | PYGTK_CODEGEN = @PYGTK_CODEGEN@ | ||
1601 | 237 | PYGTK_DEFSDIR = @PYGTK_DEFSDIR@ | ||
1602 | 238 | PYGTK_LIBS = @PYGTK_LIBS@ | ||
1603 | 239 | PYTHON = @PYTHON@ | ||
1604 | 240 | PYTHON_EXEC_PREFIX = @PYTHON_EXEC_PREFIX@ | ||
1605 | 241 | PYTHON_INCLUDES = @PYTHON_INCLUDES@ | ||
1606 | 242 | PYTHON_PLATFORM = @PYTHON_PLATFORM@ | ||
1607 | 243 | PYTHON_PREFIX = @PYTHON_PREFIX@ | ||
1608 | 244 | PYTHON_VERSION = @PYTHON_VERSION@ | ||
1609 | 245 | RANLIB = @RANLIB@ | ||
1610 | 246 | SED = @SED@ | ||
1611 | 247 | SET_MAKE = @SET_MAKE@ | ||
1612 | 248 | SHELL = @SHELL@ | ||
1613 | 249 | STRIP = @STRIP@ | ||
1614 | 250 | USE_NLS = @USE_NLS@ | ||
1615 | 251 | VERSION = @VERSION@ | ||
1616 | 252 | XGETTEXT = @XGETTEXT@ | ||
1617 | 253 | abs_builddir = @abs_builddir@ | ||
1618 | 254 | abs_srcdir = @abs_srcdir@ | ||
1619 | 255 | abs_top_builddir = @abs_top_builddir@ | ||
1620 | 256 | abs_top_srcdir = @abs_top_srcdir@ | ||
1621 | 257 | ac_ct_CC = @ac_ct_CC@ | ||
1622 | 258 | ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ | ||
1623 | 259 | am__include = @am__include@ | ||
1624 | 260 | am__leading_dot = @am__leading_dot@ | ||
1625 | 261 | am__quote = @am__quote@ | ||
1626 | 262 | am__tar = @am__tar@ | ||
1627 | 263 | am__untar = @am__untar@ | ||
1628 | 264 | bindir = @bindir@ | ||
1629 | 265 | build = @build@ | ||
1630 | 266 | build_alias = @build_alias@ | ||
1631 | 267 | build_cpu = @build_cpu@ | ||
1632 | 268 | build_os = @build_os@ | ||
1633 | 269 | build_vendor = @build_vendor@ | ||
1634 | 270 | builddir = @builddir@ | ||
1635 | 271 | datadir = @datadir@ | ||
1636 | 272 | datarootdir = @datarootdir@ | ||
1637 | 273 | docdir = @docdir@ | ||
1638 | 274 | dvidir = @dvidir@ | ||
1639 | 275 | exec_prefix = @exec_prefix@ | ||
1640 | 276 | host = @host@ | ||
1641 | 277 | host_alias = @host_alias@ | ||
1642 | 278 | host_cpu = @host_cpu@ | ||
1643 | 279 | host_os = @host_os@ | ||
1644 | 280 | host_vendor = @host_vendor@ | ||
1645 | 281 | htmldir = @htmldir@ | ||
1646 | 282 | includedir = @includedir@ | ||
1647 | 283 | infodir = @infodir@ | ||
1648 | 284 | install_sh = @install_sh@ | ||
1649 | 285 | libdir = @libdir@ | ||
1650 | 286 | libexecdir = @libexecdir@ | ||
1651 | 287 | localedir = @localedir@ | ||
1652 | 288 | localstatedir = @localstatedir@ | ||
1653 | 289 | lt_ECHO = @lt_ECHO@ | ||
1654 | 290 | mandir = @mandir@ | ||
1655 | 291 | mkdir_p = @mkdir_p@ | ||
1656 | 292 | oldincludedir = @oldincludedir@ | ||
1657 | 293 | pdfdir = @pdfdir@ | ||
1658 | 294 | pkgpyexecdir = @pkgpyexecdir@ | ||
1659 | 295 | pkgpythondir = @pkgpythondir@ | ||
1660 | 296 | prefix = @prefix@ | ||
1661 | 297 | program_transform_name = @program_transform_name@ | ||
1662 | 298 | psdir = @psdir@ | ||
1663 | 299 | pyexecdir = @pyexecdir@ | ||
1664 | 300 | pythondir = @pythondir@ | ||
1665 | 301 | sbindir = @sbindir@ | ||
1666 | 302 | sharedstatedir = @sharedstatedir@ | ||
1667 | 303 | srcdir = @srcdir@ | ||
1668 | 304 | sysconfdir = @sysconfdir@ | ||
1669 | 305 | target_alias = @target_alias@ | ||
1670 | 306 | top_build_prefix = @top_build_prefix@ | ||
1671 | 307 | top_builddir = @top_builddir@ | ||
1672 | 308 | top_srcdir = @top_srcdir@ | ||
1673 | 309 | SUBDIRS = lib po pixmaps | ||
1674 | 310 | bin_SCRIPTS = launchpad-integration | ||
1675 | 311 | pkgconfigdir = $(libdir)/pkgconfig | ||
1676 | 312 | @USE_GTK3_FALSE@pkgconfig_DATA = launchpad-integration.pc launchpad-integration-sharp.pc lpint-bonobo.pc | ||
1677 | 313 | @USE_GTK3_TRUE@pkgconfig_DATA = launchpad-integration-3.0.pc | ||
1678 | 314 | @USE_GTK3_FALSE@configdir = $(libdir)/cli/launchpad-integration-sharp-1 | ||
1679 | 315 | @USE_GTK3_FALSE@config_DATA = launchpad-integration-sharp.dll.config | ||
1680 | 316 | nobase_pkgdata_PYTHON = \ | ||
1681 | 317 | launchpadintegration/__init__.py \ | ||
1682 | 318 | launchpadintegration/main.py \ | ||
1683 | 319 | launchpadintegration/packageinfo.py \ | ||
1684 | 320 | launchpadintegration/urls.py | ||
1685 | 321 | |||
1686 | 322 | EXTRA_DIST = \ | ||
1687 | 323 | launchpad-integration-sharp.dll.config \ | ||
1688 | 324 | launchpad-integration.in \ | ||
1689 | 325 | launchpad-integration.pc.in \ | ||
1690 | 326 | launchpad-integration-3.0.pc.in \ | ||
1691 | 327 | launchpad-integration-sharp.pc.in \ | ||
1692 | 328 | lpint-bonobo.pc.in | ||
1693 | 329 | |||
1694 | 330 | all: config.h | ||
1695 | 331 | $(MAKE) $(AM_MAKEFLAGS) all-recursive | ||
1696 | 332 | |||
1697 | 333 | .SUFFIXES: | ||
1698 | 334 | am--refresh: | ||
1699 | 335 | @: | ||
1700 | 336 | $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) | ||
1701 | 337 | @for dep in $?; do \ | ||
1702 | 338 | case '$(am__configure_deps)' in \ | ||
1703 | 339 | *$$dep*) \ | ||
1704 | 340 | echo ' cd $(srcdir) && $(AUTOMAKE) --gnu'; \ | ||
1705 | 341 | $(am__cd) $(srcdir) && $(AUTOMAKE) --gnu \ | ||
1706 | 342 | && exit 0; \ | ||
1707 | 343 | exit 1;; \ | ||
1708 | 344 | esac; \ | ||
1709 | 345 | done; \ | ||
1710 | 346 | echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile'; \ | ||
1711 | 347 | $(am__cd) $(top_srcdir) && \ | ||
1712 | 348 | $(AUTOMAKE) --gnu Makefile | ||
1713 | 349 | .PRECIOUS: Makefile | ||
1714 | 350 | Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status | ||
1715 | 351 | @case '$?' in \ | ||
1716 | 352 | *config.status*) \ | ||
1717 | 353 | echo ' $(SHELL) ./config.status'; \ | ||
1718 | 354 | $(SHELL) ./config.status;; \ | ||
1719 | 355 | *) \ | ||
1720 | 356 | echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \ | ||
1721 | 357 | cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \ | ||
1722 | 358 | esac; | ||
1723 | 359 | |||
1724 | 360 | $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) | ||
1725 | 361 | $(SHELL) ./config.status --recheck | ||
1726 | 362 | |||
1727 | 363 | $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) | ||
1728 | 364 | $(am__cd) $(srcdir) && $(AUTOCONF) | ||
1729 | 365 | $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) | ||
1730 | 366 | $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS) | ||
1731 | 367 | $(am__aclocal_m4_deps): | ||
1732 | 368 | |||
1733 | 369 | config.h: stamp-h1 | ||
1734 | 370 | @if test ! -f $@; then \ | ||
1735 | 371 | rm -f stamp-h1; \ | ||
1736 | 372 | $(MAKE) $(AM_MAKEFLAGS) stamp-h1; \ | ||
1737 | 373 | else :; fi | ||
1738 | 374 | |||
1739 | 375 | stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status | ||
1740 | 376 | @rm -f stamp-h1 | ||
1741 | 377 | cd $(top_builddir) && $(SHELL) ./config.status config.h | ||
1742 | 378 | $(srcdir)/config.h.in: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) | ||
1743 | 379 | ($(am__cd) $(top_srcdir) && $(AUTOHEADER)) | ||
1744 | 380 | rm -f stamp-h1 | ||
1745 | 381 | touch $@ | ||
1746 | 382 | |||
1747 | 383 | distclean-hdr: | ||
1748 | 384 | -rm -f config.h stamp-h1 | ||
1749 | 385 | launchpad-integration.pc: $(top_builddir)/config.status $(srcdir)/launchpad-integration.pc.in | ||
1750 | 386 | cd $(top_builddir) && $(SHELL) ./config.status $@ | ||
1751 | 387 | launchpad-integration-3.0.pc: $(top_builddir)/config.status $(srcdir)/launchpad-integration-3.0.pc.in | ||
1752 | 388 | cd $(top_builddir) && $(SHELL) ./config.status $@ | ||
1753 | 389 | launchpad-integration-sharp.pc: $(top_builddir)/config.status $(srcdir)/launchpad-integration-sharp.pc.in | ||
1754 | 390 | cd $(top_builddir) && $(SHELL) ./config.status $@ | ||
1755 | 391 | lpint-bonobo.pc: $(top_builddir)/config.status $(srcdir)/lpint-bonobo.pc.in | ||
1756 | 392 | cd $(top_builddir) && $(SHELL) ./config.status $@ | ||
1757 | 393 | launchpad-integration: $(top_builddir)/config.status $(srcdir)/launchpad-integration.in | ||
1758 | 394 | cd $(top_builddir) && $(SHELL) ./config.status $@ | ||
1759 | 395 | install-binSCRIPTS: $(bin_SCRIPTS) | ||
1760 | 396 | @$(NORMAL_INSTALL) | ||
1761 | 397 | test -z "$(bindir)" || $(MKDIR_P) "$(DESTDIR)$(bindir)" | ||
1762 | 398 | @list='$(bin_SCRIPTS)'; test -n "$(bindir)" || list=; \ | ||
1763 | 399 | for p in $$list; do \ | ||
1764 | 400 | if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ | ||
1765 | 401 | if test -f "$$d$$p"; then echo "$$d$$p"; echo "$$p"; else :; fi; \ | ||
1766 | 402 | done | \ | ||
1767 | 403 | sed -e 'p;s,.*/,,;n' \ | ||
1768 | 404 | -e 'h;s|.*|.|' \ | ||
1769 | 405 | -e 'p;x;s,.*/,,;$(transform)' | sed 'N;N;N;s,\n, ,g' | \ | ||
1770 | 406 | $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1; } \ | ||
1771 | 407 | { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \ | ||
1772 | 408 | if ($$2 == $$4) { files[d] = files[d] " " $$1; \ | ||
1773 | 409 | if (++n[d] == $(am__install_max)) { \ | ||
1774 | 410 | print "f", d, files[d]; n[d] = 0; files[d] = "" } } \ | ||
1775 | 411 | else { print "f", d "/" $$4, $$1 } } \ | ||
1776 | 412 | END { for (d in files) print "f", d, files[d] }' | \ | ||
1777 | 413 | while read type dir files; do \ | ||
1778 | 414 | if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \ | ||
1779 | 415 | test -z "$$files" || { \ | ||
1780 | 416 | echo " $(INSTALL_SCRIPT) $$files '$(DESTDIR)$(bindir)$$dir'"; \ | ||
1781 | 417 | $(INSTALL_SCRIPT) $$files "$(DESTDIR)$(bindir)$$dir" || exit $$?; \ | ||
1782 | 418 | } \ | ||
1783 | 419 | ; done | ||
1784 | 420 | |||
1785 | 421 | uninstall-binSCRIPTS: | ||
1786 | 422 | @$(NORMAL_UNINSTALL) | ||
1787 | 423 | @list='$(bin_SCRIPTS)'; test -n "$(bindir)" || exit 0; \ | ||
1788 | 424 | files=`for p in $$list; do echo "$$p"; done | \ | ||
1789 | 425 | sed -e 's,.*/,,;$(transform)'`; \ | ||
1790 | 426 | test -n "$$list" || exit 0; \ | ||
1791 | 427 | echo " ( cd '$(DESTDIR)$(bindir)' && rm -f" $$files ")"; \ | ||
1792 | 428 | cd "$(DESTDIR)$(bindir)" && rm -f $$files | ||
1793 | 429 | |||
1794 | 430 | mostlyclean-libtool: | ||
1795 | 431 | -rm -f *.lo | ||
1796 | 432 | |||
1797 | 433 | clean-libtool: | ||
1798 | 434 | -rm -rf .libs _libs | ||
1799 | 435 | |||
1800 | 436 | distclean-libtool: | ||
1801 | 437 | -rm -f libtool config.lt | ||
1802 | 438 | install-nobase_pkgdataPYTHON: $(nobase_pkgdata_PYTHON) | ||
1803 | 439 | @$(NORMAL_INSTALL) | ||
1804 | 440 | test -z "$(pkgdatadir)" || $(MKDIR_P) "$(DESTDIR)$(pkgdatadir)" | ||
1805 | 441 | @list='$(nobase_pkgdata_PYTHON)'; test -n "$(pkgdatadir)" || list=; \ | ||
1806 | 442 | $(am__nobase_list) | while read dir files; do \ | ||
1807 | 443 | xfiles=; for p in $$files; do \ | ||
1808 | 444 | if test -f "$$p"; then b=; else b="$(srcdir)/"; fi; \ | ||
1809 | 445 | if test -f "$$b$$p"; then xfiles="$$xfiles $$b$$p"; dlist="$$dlist $$p"; \ | ||
1810 | 446 | else :; fi; done; \ | ||
1811 | 447 | test -z "$$xfiles" || { \ | ||
1812 | 448 | test "x$$dir" = x. || { \ | ||
1813 | 449 | echo "$(MKDIR_P) '$(DESTDIR)$(pkgdatadir)/$$dir'"; \ | ||
1814 | 450 | $(MKDIR_P) "$(DESTDIR)$(pkgdatadir)/$$dir"; }; \ | ||
1815 | 451 | echo " $(INSTALL_DATA) $$xfiles '$(DESTDIR)$(pkgdatadir)/$$dir'"; \ | ||
1816 | 452 | $(INSTALL_DATA) $$xfiles "$(DESTDIR)$(pkgdatadir)/$$dir" || exit $$?; }; \ | ||
1817 | 453 | if test -n "$$dlist"; then \ | ||
1818 | 454 | if test -z "$(DESTDIR)"; then \ | ||
1819 | 455 | PYTHON=$(PYTHON) $(py_compile) --basedir "$(pkgdatadir)" $$dlist; \ | ||
1820 | 456 | else \ | ||
1821 | 457 | PYTHON=$(PYTHON) $(py_compile) --destdir "$(DESTDIR)" --basedir "$(pkgdatadir)" $$dlist; \ | ||
1822 | 458 | fi; \ | ||
1823 | 459 | else :; fi \ | ||
1824 | 460 | done | ||
1825 | 461 | |||
1826 | 462 | uninstall-nobase_pkgdataPYTHON: | ||
1827 | 463 | @$(NORMAL_UNINSTALL) | ||
1828 | 464 | @list='$(nobase_pkgdata_PYTHON)'; test -n "$(pkgdatadir)" || list=; \ | ||
1829 | 465 | $(am__nobase_strip_setup); files=`$(am__nobase_strip)`; \ | ||
1830 | 466 | test -n "$$files" || exit 0; \ | ||
1831 | 467 | filesc=`echo "$$files" | sed 's|$$|c|'`; \ | ||
1832 | 468 | fileso=`echo "$$files" | sed 's|$$|o|'`; \ | ||
1833 | 469 | echo " ( cd '$(DESTDIR)$(pkgdatadir)' && rm -f" $$files ")"; \ | ||
1834 | 470 | cd "$(DESTDIR)$(pkgdatadir)" && rm -f $$files || exit $$?; \ | ||
1835 | 471 | echo " ( cd '$(DESTDIR)$(pkgdatadir)' && rm -f" $$filesc ")"; \ | ||
1836 | 472 | cd "$(DESTDIR)$(pkgdatadir)" && rm -f $$filesc || exit $$?; \ | ||
1837 | 473 | echo " ( cd '$(DESTDIR)$(pkgdatadir)' && rm -f" $$fileso ")"; \ | ||
1838 | 474 | cd "$(DESTDIR)$(pkgdatadir)" && rm -f $$fileso | ||
1839 | 475 | install-configDATA: $(config_DATA) | ||
1840 | 476 | @$(NORMAL_INSTALL) | ||
1841 | 477 | test -z "$(configdir)" || $(MKDIR_P) "$(DESTDIR)$(configdir)" | ||
1842 | 478 | @list='$(config_DATA)'; test -n "$(configdir)" || list=; \ | ||
1843 | 479 | for p in $$list; do \ | ||
1844 | 480 | if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ | ||
1845 | 481 | echo "$$d$$p"; \ | ||
1846 | 482 | done | $(am__base_list) | \ | ||
1847 | 483 | while read files; do \ | ||
1848 | 484 | echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(configdir)'"; \ | ||
1849 | 485 | $(INSTALL_DATA) $$files "$(DESTDIR)$(configdir)" || exit $$?; \ | ||
1850 | 486 | done | ||
1851 | 487 | |||
1852 | 488 | uninstall-configDATA: | ||
1853 | 489 | @$(NORMAL_UNINSTALL) | ||
1854 | 490 | @list='$(config_DATA)'; test -n "$(configdir)" || list=; \ | ||
1855 | 491 | files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ | ||
1856 | 492 | test -n "$$files" || exit 0; \ | ||
1857 | 493 | echo " ( cd '$(DESTDIR)$(configdir)' && rm -f" $$files ")"; \ | ||
1858 | 494 | cd "$(DESTDIR)$(configdir)" && rm -f $$files | ||
1859 | 495 | install-pkgconfigDATA: $(pkgconfig_DATA) | ||
1860 | 496 | @$(NORMAL_INSTALL) | ||
1861 | 497 | test -z "$(pkgconfigdir)" || $(MKDIR_P) "$(DESTDIR)$(pkgconfigdir)" | ||
1862 | 498 | @list='$(pkgconfig_DATA)'; test -n "$(pkgconfigdir)" || list=; \ | ||
1863 | 499 | for p in $$list; do \ | ||
1864 | 500 | if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ | ||
1865 | 501 | echo "$$d$$p"; \ | ||
1866 | 502 | done | $(am__base_list) | \ | ||
1867 | 503 | while read files; do \ | ||
1868 | 504 | echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(pkgconfigdir)'"; \ | ||
1869 | 505 | $(INSTALL_DATA) $$files "$(DESTDIR)$(pkgconfigdir)" || exit $$?; \ | ||
1870 | 506 | done | ||
1871 | 507 | |||
1872 | 508 | uninstall-pkgconfigDATA: | ||
1873 | 509 | @$(NORMAL_UNINSTALL) | ||
1874 | 510 | @list='$(pkgconfig_DATA)'; test -n "$(pkgconfigdir)" || list=; \ | ||
1875 | 511 | files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ | ||
1876 | 512 | test -n "$$files" || exit 0; \ | ||
1877 | 513 | echo " ( cd '$(DESTDIR)$(pkgconfigdir)' && rm -f" $$files ")"; \ | ||
1878 | 514 | cd "$(DESTDIR)$(pkgconfigdir)" && rm -f $$files | ||
1879 | 515 | |||
1880 | 516 | # This directory's subdirectories are mostly independent; you can cd | ||
1881 | 517 | # into them and run `make' without going through this Makefile. | ||
1882 | 518 | # To change the values of `make' variables: instead of editing Makefiles, | ||
1883 | 519 | # (1) if the variable is set in `config.status', edit `config.status' | ||
1884 | 520 | # (which will cause the Makefiles to be regenerated when you run `make'); | ||
1885 | 521 | # (2) otherwise, pass the desired values on the `make' command line. | ||
1886 | 522 | $(RECURSIVE_TARGETS): | ||
1887 | 523 | @fail= failcom='exit 1'; \ | ||
1888 | 524 | for f in x $$MAKEFLAGS; do \ | ||
1889 | 525 | case $$f in \ | ||
1890 | 526 | *=* | --[!k]*);; \ | ||
1891 | 527 | *k*) failcom='fail=yes';; \ | ||
1892 | 528 | esac; \ | ||
1893 | 529 | done; \ | ||
1894 | 530 | dot_seen=no; \ | ||
1895 | 531 | target=`echo $@ | sed s/-recursive//`; \ | ||
1896 | 532 | list='$(SUBDIRS)'; for subdir in $$list; do \ | ||
1897 | 533 | echo "Making $$target in $$subdir"; \ | ||
1898 | 534 | if test "$$subdir" = "."; then \ | ||
1899 | 535 | dot_seen=yes; \ | ||
1900 | 536 | local_target="$$target-am"; \ | ||
1901 | 537 | else \ | ||
1902 | 538 | local_target="$$target"; \ | ||
1903 | 539 | fi; \ | ||
1904 | 540 | ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ | ||
1905 | 541 | || eval $$failcom; \ | ||
1906 | 542 | done; \ | ||
1907 | 543 | if test "$$dot_seen" = "no"; then \ | ||
1908 | 544 | $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ | ||
1909 | 545 | fi; test -z "$$fail" | ||
1910 | 546 | |||
1911 | 547 | $(RECURSIVE_CLEAN_TARGETS): | ||
1912 | 548 | @fail= failcom='exit 1'; \ | ||
1913 | 549 | for f in x $$MAKEFLAGS; do \ | ||
1914 | 550 | case $$f in \ | ||
1915 | 551 | *=* | --[!k]*);; \ | ||
1916 | 552 | *k*) failcom='fail=yes';; \ | ||
1917 | 553 | esac; \ | ||
1918 | 554 | done; \ | ||
1919 | 555 | dot_seen=no; \ | ||
1920 | 556 | case "$@" in \ | ||
1921 | 557 | distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ | ||
1922 | 558 | *) list='$(SUBDIRS)' ;; \ | ||
1923 | 559 | esac; \ | ||
1924 | 560 | rev=''; for subdir in $$list; do \ | ||
1925 | 561 | if test "$$subdir" = "."; then :; else \ | ||
1926 | 562 | rev="$$subdir $$rev"; \ | ||
1927 | 563 | fi; \ | ||
1928 | 564 | done; \ | ||
1929 | 565 | rev="$$rev ."; \ | ||
1930 | 566 | target=`echo $@ | sed s/-recursive//`; \ | ||
1931 | 567 | for subdir in $$rev; do \ | ||
1932 | 568 | echo "Making $$target in $$subdir"; \ | ||
1933 | 569 | if test "$$subdir" = "."; then \ | ||
1934 | 570 | local_target="$$target-am"; \ | ||
1935 | 571 | else \ | ||
1936 | 572 | local_target="$$target"; \ | ||
1937 | 573 | fi; \ | ||
1938 | 574 | ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ | ||
1939 | 575 | || eval $$failcom; \ | ||
1940 | 576 | done && test -z "$$fail" | ||
1941 | 577 | tags-recursive: | ||
1942 | 578 | list='$(SUBDIRS)'; for subdir in $$list; do \ | ||
1943 | 579 | test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \ | ||
1944 | 580 | done | ||
1945 | 581 | ctags-recursive: | ||
1946 | 582 | list='$(SUBDIRS)'; for subdir in $$list; do \ | ||
1947 | 583 | test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \ | ||
1948 | 584 | done | ||
1949 | 585 | |||
1950 | 586 | ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) | ||
1951 | 587 | list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ | ||
1952 | 588 | unique=`for i in $$list; do \ | ||
1953 | 589 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ | ||
1954 | 590 | done | \ | ||
1955 | 591 | $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ | ||
1956 | 592 | END { if (nonempty) { for (i in files) print i; }; }'`; \ | ||
1957 | 593 | mkid -fID $$unique | ||
1958 | 594 | tags: TAGS | ||
1959 | 595 | |||
1960 | 596 | TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \ | ||
1961 | 597 | $(TAGS_FILES) $(LISP) | ||
1962 | 598 | set x; \ | ||
1963 | 599 | here=`pwd`; \ | ||
1964 | 600 | if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ | ||
1965 | 601 | include_option=--etags-include; \ | ||
1966 | 602 | empty_fix=.; \ | ||
1967 | 603 | else \ | ||
1968 | 604 | include_option=--include; \ | ||
1969 | 605 | empty_fix=; \ | ||
1970 | 606 | fi; \ | ||
1971 | 607 | list='$(SUBDIRS)'; for subdir in $$list; do \ | ||
1972 | 608 | if test "$$subdir" = .; then :; else \ | ||
1973 | 609 | test ! -f $$subdir/TAGS || \ | ||
1974 | 610 | set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \ | ||
1975 | 611 | fi; \ | ||
1976 | 612 | done; \ | ||
1977 | 613 | list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \ | ||
1978 | 614 | unique=`for i in $$list; do \ | ||
1979 | 615 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ | ||
1980 | 616 | done | \ | ||
1981 | 617 | $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ | ||
1982 | 618 | END { if (nonempty) { for (i in files) print i; }; }'`; \ | ||
1983 | 619 | shift; \ | ||
1984 | 620 | if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ | ||
1985 | 621 | test -n "$$unique" || unique=$$empty_fix; \ | ||
1986 | 622 | if test $$# -gt 0; then \ | ||
1987 | 623 | $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ | ||
1988 | 624 | "$$@" $$unique; \ | ||
1989 | 625 | else \ | ||
1990 | 626 | $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ | ||
1991 | 627 | $$unique; \ | ||
1992 | 628 | fi; \ | ||
1993 | 629 | fi | ||
1994 | 630 | ctags: CTAGS | ||
1995 | 631 | CTAGS: ctags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \ | ||
1996 | 632 | $(TAGS_FILES) $(LISP) | ||
1997 | 633 | list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \ | ||
1998 | 634 | unique=`for i in $$list; do \ | ||
1999 | 635 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ | ||
2000 | 636 | done | \ | ||
2001 | 637 | $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ | ||
2002 | 638 | END { if (nonempty) { for (i in files) print i; }; }'`; \ | ||
2003 | 639 | test -z "$(CTAGS_ARGS)$$unique" \ | ||
2004 | 640 | || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ | ||
2005 | 641 | $$unique | ||
2006 | 642 | |||
2007 | 643 | GTAGS: | ||
2008 | 644 | here=`$(am__cd) $(top_builddir) && pwd` \ | ||
2009 | 645 | && $(am__cd) $(top_srcdir) \ | ||
2010 | 646 | && gtags -i $(GTAGS_ARGS) "$$here" | ||
2011 | 647 | |||
2012 | 648 | distclean-tags: | ||
2013 | 649 | -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags | ||
2014 | 650 | |||
2015 | 651 | distdir: $(DISTFILES) | ||
2016 | 652 | $(am__remove_distdir) | ||
2017 | 653 | test -d "$(distdir)" || mkdir "$(distdir)" | ||
2018 | 654 | @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ | ||
2019 | 655 | topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ | ||
2020 | 656 | list='$(DISTFILES)'; \ | ||
2021 | 657 | dist_files=`for file in $$list; do echo $$file; done | \ | ||
2022 | 658 | sed -e "s|^$$srcdirstrip/||;t" \ | ||
2023 | 659 | -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ | ||
2024 | 660 | case $$dist_files in \ | ||
2025 | 661 | */*) $(MKDIR_P) `echo "$$dist_files" | \ | ||
2026 | 662 | sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ | ||
2027 | 663 | sort -u` ;; \ | ||
2028 | 664 | esac; \ | ||
2029 | 665 | for file in $$dist_files; do \ | ||
2030 | 666 | if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ | ||
2031 | 667 | if test -d $$d/$$file; then \ | ||
2032 | 668 | dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ | ||
2033 | 669 | if test -d "$(distdir)/$$file"; then \ | ||
2034 | 670 | find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ | ||
2035 | 671 | fi; \ | ||
2036 | 672 | if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ | ||
2037 | 673 | cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ | ||
2038 | 674 | find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ | ||
2039 | 675 | fi; \ | ||
2040 | 676 | cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ | ||
2041 | 677 | else \ | ||
2042 | 678 | test -f "$(distdir)/$$file" \ | ||
2043 | 679 | || cp -p $$d/$$file "$(distdir)/$$file" \ | ||
2044 | 680 | || exit 1; \ | ||
2045 | 681 | fi; \ | ||
2046 | 682 | done | ||
2047 | 683 | @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ | ||
2048 | 684 | if test "$$subdir" = .; then :; else \ | ||
2049 | 685 | test -d "$(distdir)/$$subdir" \ | ||
2050 | 686 | || $(MKDIR_P) "$(distdir)/$$subdir" \ | ||
2051 | 687 | || exit 1; \ | ||
2052 | 688 | fi; \ | ||
2053 | 689 | done | ||
2054 | 690 | @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ | ||
2055 | 691 | if test "$$subdir" = .; then :; else \ | ||
2056 | 692 | dir1=$$subdir; dir2="$(distdir)/$$subdir"; \ | ||
2057 | 693 | $(am__relativize); \ | ||
2058 | 694 | new_distdir=$$reldir; \ | ||
2059 | 695 | dir1=$$subdir; dir2="$(top_distdir)"; \ | ||
2060 | 696 | $(am__relativize); \ | ||
2061 | 697 | new_top_distdir=$$reldir; \ | ||
2062 | 698 | echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \ | ||
2063 | 699 | echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \ | ||
2064 | 700 | ($(am__cd) $$subdir && \ | ||
2065 | 701 | $(MAKE) $(AM_MAKEFLAGS) \ | ||
2066 | 702 | top_distdir="$$new_top_distdir" \ | ||
2067 | 703 | distdir="$$new_distdir" \ | ||
2068 | 704 | am__remove_distdir=: \ | ||
2069 | 705 | am__skip_length_check=: \ | ||
2070 | 706 | am__skip_mode_fix=: \ | ||
2071 | 707 | distdir) \ | ||
2072 | 708 | || exit 1; \ | ||
2073 | 709 | fi; \ | ||
2074 | 710 | done | ||
2075 | 711 | -test -n "$(am__skip_mode_fix)" \ | ||
2076 | 712 | || find "$(distdir)" -type d ! -perm -755 \ | ||
2077 | 713 | -exec chmod u+rwx,go+rx {} \; -o \ | ||
2078 | 714 | ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \ | ||
2079 | 715 | ! -type d ! -perm -400 -exec chmod a+r {} \; -o \ | ||
2080 | 716 | ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \ | ||
2081 | 717 | || chmod -R a+r "$(distdir)" | ||
2082 | 718 | dist-gzip: distdir | ||
2083 | 719 | tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz | ||
2084 | 720 | $(am__remove_distdir) | ||
2085 | 721 | |||
2086 | 722 | dist-bzip2: distdir | ||
2087 | 723 | tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2 | ||
2088 | 724 | $(am__remove_distdir) | ||
2089 | 725 | |||
2090 | 726 | dist-lzma: distdir | ||
2091 | 727 | tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma | ||
2092 | 728 | $(am__remove_distdir) | ||
2093 | 729 | |||
2094 | 730 | dist-xz: distdir | ||
2095 | 731 | tardir=$(distdir) && $(am__tar) | xz -c >$(distdir).tar.xz | ||
2096 | 732 | $(am__remove_distdir) | ||
2097 | 733 | |||
2098 | 734 | dist-tarZ: distdir | ||
2099 | 735 | tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z | ||
2100 | 736 | $(am__remove_distdir) | ||
2101 | 737 | |||
2102 | 738 | dist-shar: distdir | ||
2103 | 739 | shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz | ||
2104 | 740 | $(am__remove_distdir) | ||
2105 | 741 | |||
2106 | 742 | dist-zip: distdir | ||
2107 | 743 | -rm -f $(distdir).zip | ||
2108 | 744 | zip -rq $(distdir).zip $(distdir) | ||
2109 | 745 | $(am__remove_distdir) | ||
2110 | 746 | |||
2111 | 747 | dist dist-all: distdir | ||
2112 | 748 | tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz | ||
2113 | 749 | $(am__remove_distdir) | ||
2114 | 750 | |||
2115 | 751 | # This target untars the dist file and tries a VPATH configuration. Then | ||
2116 | 752 | # it guarantees that the distribution is self-contained by making another | ||
2117 | 753 | # tarfile. | ||
2118 | 754 | distcheck: dist | ||
2119 | 755 | case '$(DIST_ARCHIVES)' in \ | ||
2120 | 756 | *.tar.gz*) \ | ||
2121 | 757 | GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\ | ||
2122 | 758 | *.tar.bz2*) \ | ||
2123 | 759 | bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\ | ||
2124 | 760 | *.tar.lzma*) \ | ||
2125 | 761 | lzma -dc $(distdir).tar.lzma | $(am__untar) ;;\ | ||
2126 | 762 | *.tar.xz*) \ | ||
2127 | 763 | xz -dc $(distdir).tar.xz | $(am__untar) ;;\ | ||
2128 | 764 | *.tar.Z*) \ | ||
2129 | 765 | uncompress -c $(distdir).tar.Z | $(am__untar) ;;\ | ||
2130 | 766 | *.shar.gz*) \ | ||
2131 | 767 | GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\ | ||
2132 | 768 | *.zip*) \ | ||
2133 | 769 | unzip $(distdir).zip ;;\ | ||
2134 | 770 | esac | ||
2135 | 771 | chmod -R a-w $(distdir); chmod a+w $(distdir) | ||
2136 | 772 | mkdir $(distdir)/_build | ||
2137 | 773 | mkdir $(distdir)/_inst | ||
2138 | 774 | chmod a-w $(distdir) | ||
2139 | 775 | test -d $(distdir)/_build || exit 0; \ | ||
2140 | 776 | dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \ | ||
2141 | 777 | && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \ | ||
2142 | 778 | && am__cwd=`pwd` \ | ||
2143 | 779 | && $(am__cd) $(distdir)/_build \ | ||
2144 | 780 | && ../configure --srcdir=.. --prefix="$$dc_install_base" \ | ||
2145 | 781 | $(DISTCHECK_CONFIGURE_FLAGS) \ | ||
2146 | 782 | && $(MAKE) $(AM_MAKEFLAGS) \ | ||
2147 | 783 | && $(MAKE) $(AM_MAKEFLAGS) dvi \ | ||
2148 | 784 | && $(MAKE) $(AM_MAKEFLAGS) check \ | ||
2149 | 785 | && $(MAKE) $(AM_MAKEFLAGS) install \ | ||
2150 | 786 | && $(MAKE) $(AM_MAKEFLAGS) installcheck \ | ||
2151 | 787 | && $(MAKE) $(AM_MAKEFLAGS) uninstall \ | ||
2152 | 788 | && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \ | ||
2153 | 789 | distuninstallcheck \ | ||
2154 | 790 | && chmod -R a-w "$$dc_install_base" \ | ||
2155 | 791 | && ({ \ | ||
2156 | 792 | (cd ../.. && umask 077 && mkdir "$$dc_destdir") \ | ||
2157 | 793 | && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \ | ||
2158 | 794 | && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \ | ||
2159 | 795 | && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \ | ||
2160 | 796 | distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \ | ||
2161 | 797 | } || { rm -rf "$$dc_destdir"; exit 1; }) \ | ||
2162 | 798 | && rm -rf "$$dc_destdir" \ | ||
2163 | 799 | && $(MAKE) $(AM_MAKEFLAGS) dist \ | ||
2164 | 800 | && rm -rf $(DIST_ARCHIVES) \ | ||
2165 | 801 | && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \ | ||
2166 | 802 | && cd "$$am__cwd" \ | ||
2167 | 803 | || exit 1 | ||
2168 | 804 | $(am__remove_distdir) | ||
2169 | 805 | @(echo "$(distdir) archives ready for distribution: "; \ | ||
2170 | 806 | list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \ | ||
2171 | 807 | sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x' | ||
2172 | 808 | distuninstallcheck: | ||
2173 | 809 | @$(am__cd) '$(distuninstallcheck_dir)' \ | ||
2174 | 810 | && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \ | ||
2175 | 811 | || { echo "ERROR: files left after uninstall:" ; \ | ||
2176 | 812 | if test -n "$(DESTDIR)"; then \ | ||
2177 | 813 | echo " (check DESTDIR support)"; \ | ||
2178 | 814 | fi ; \ | ||
2179 | 815 | $(distuninstallcheck_listfiles) ; \ | ||
2180 | 816 | exit 1; } >&2 | ||
2181 | 817 | distcleancheck: distclean | ||
2182 | 818 | @if test '$(srcdir)' = . ; then \ | ||
2183 | 819 | echo "ERROR: distcleancheck can only run from a VPATH build" ; \ | ||
2184 | 820 | exit 1 ; \ | ||
2185 | 821 | fi | ||
2186 | 822 | @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \ | ||
2187 | 823 | || { echo "ERROR: files left in build directory after distclean:" ; \ | ||
2188 | 824 | $(distcleancheck_listfiles) ; \ | ||
2189 | 825 | exit 1; } >&2 | ||
2190 | 826 | check-am: all-am | ||
2191 | 827 | check: check-recursive | ||
2192 | 828 | all-am: Makefile $(SCRIPTS) $(DATA) config.h | ||
2193 | 829 | installdirs: installdirs-recursive | ||
2194 | 830 | installdirs-am: | ||
2195 | 831 | for dir in "$(DESTDIR)$(bindir)" "$(DESTDIR)$(pkgdatadir)" "$(DESTDIR)$(configdir)" "$(DESTDIR)$(pkgconfigdir)"; do \ | ||
2196 | 832 | test -z "$$dir" || $(MKDIR_P) "$$dir"; \ | ||
2197 | 833 | done | ||
2198 | 834 | install: install-recursive | ||
2199 | 835 | install-exec: install-exec-recursive | ||
2200 | 836 | install-data: install-data-recursive | ||
2201 | 837 | uninstall: uninstall-recursive | ||
2202 | 838 | |||
2203 | 839 | install-am: all-am | ||
2204 | 840 | @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am | ||
2205 | 841 | |||
2206 | 842 | installcheck: installcheck-recursive | ||
2207 | 843 | install-strip: | ||
2208 | 844 | $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ | ||
2209 | 845 | install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ | ||
2210 | 846 | `test -z '$(STRIP)' || \ | ||
2211 | 847 | echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install | ||
2212 | 848 | mostlyclean-generic: | ||
2213 | 849 | |||
2214 | 850 | clean-generic: | ||
2215 | 851 | |||
2216 | 852 | distclean-generic: | ||
2217 | 853 | -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) | ||
2218 | 854 | -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) | ||
2219 | 855 | |||
2220 | 856 | maintainer-clean-generic: | ||
2221 | 857 | @echo "This command is intended for maintainers to use" | ||
2222 | 858 | @echo "it deletes files that may require special tools to rebuild." | ||
2223 | 859 | clean: clean-recursive | ||
2224 | 860 | |||
2225 | 861 | clean-am: clean-generic clean-libtool mostlyclean-am | ||
2226 | 862 | |||
2227 | 863 | distclean: distclean-recursive | ||
2228 | 864 | -rm -f $(am__CONFIG_DISTCLEAN_FILES) | ||
2229 | 865 | -rm -f Makefile | ||
2230 | 866 | distclean-am: clean-am distclean-generic distclean-hdr \ | ||
2231 | 867 | distclean-libtool distclean-tags | ||
2232 | 868 | |||
2233 | 869 | dvi: dvi-recursive | ||
2234 | 870 | |||
2235 | 871 | dvi-am: | ||
2236 | 872 | |||
2237 | 873 | html: html-recursive | ||
2238 | 874 | |||
2239 | 875 | html-am: | ||
2240 | 876 | |||
2241 | 877 | info: info-recursive | ||
2242 | 878 | |||
2243 | 879 | info-am: | ||
2244 | 880 | |||
2245 | 881 | install-data-am: install-configDATA install-nobase_pkgdataPYTHON \ | ||
2246 | 882 | install-pkgconfigDATA | ||
2247 | 883 | |||
2248 | 884 | install-dvi: install-dvi-recursive | ||
2249 | 885 | |||
2250 | 886 | install-dvi-am: | ||
2251 | 887 | |||
2252 | 888 | install-exec-am: install-binSCRIPTS | ||
2253 | 889 | |||
2254 | 890 | install-html: install-html-recursive | ||
2255 | 891 | |||
2256 | 892 | install-html-am: | ||
2257 | 893 | |||
2258 | 894 | install-info: install-info-recursive | ||
2259 | 895 | |||
2260 | 896 | install-info-am: | ||
2261 | 897 | |||
2262 | 898 | install-man: | ||
2263 | 899 | |||
2264 | 900 | install-pdf: install-pdf-recursive | ||
2265 | 901 | |||
2266 | 902 | install-pdf-am: | ||
2267 | 903 | |||
2268 | 904 | install-ps: install-ps-recursive | ||
2269 | 905 | |||
2270 | 906 | install-ps-am: | ||
2271 | 907 | |||
2272 | 908 | installcheck-am: | ||
2273 | 909 | |||
2274 | 910 | maintainer-clean: maintainer-clean-recursive | ||
2275 | 911 | -rm -f $(am__CONFIG_DISTCLEAN_FILES) | ||
2276 | 912 | -rm -rf $(top_srcdir)/autom4te.cache | ||
2277 | 913 | -rm -f Makefile | ||
2278 | 914 | maintainer-clean-am: distclean-am maintainer-clean-generic | ||
2279 | 915 | |||
2280 | 916 | mostlyclean: mostlyclean-recursive | ||
2281 | 917 | |||
2282 | 918 | mostlyclean-am: mostlyclean-generic mostlyclean-libtool | ||
2283 | 919 | |||
2284 | 920 | pdf: pdf-recursive | ||
2285 | 921 | |||
2286 | 922 | pdf-am: | ||
2287 | 923 | |||
2288 | 924 | ps: ps-recursive | ||
2289 | 925 | |||
2290 | 926 | ps-am: | ||
2291 | 927 | |||
2292 | 928 | uninstall-am: uninstall-binSCRIPTS uninstall-configDATA \ | ||
2293 | 929 | uninstall-nobase_pkgdataPYTHON uninstall-pkgconfigDATA | ||
2294 | 930 | |||
2295 | 931 | .MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) all \ | ||
2296 | 932 | ctags-recursive install-am install-strip tags-recursive | ||
2297 | 933 | |||
2298 | 934 | .PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \ | ||
2299 | 935 | all all-am am--refresh check check-am clean clean-generic \ | ||
2300 | 936 | clean-libtool ctags ctags-recursive dist dist-all dist-bzip2 \ | ||
2301 | 937 | dist-gzip dist-lzma dist-shar dist-tarZ dist-xz dist-zip \ | ||
2302 | 938 | distcheck distclean distclean-generic distclean-hdr \ | ||
2303 | 939 | distclean-libtool distclean-tags distcleancheck distdir \ | ||
2304 | 940 | distuninstallcheck dvi dvi-am html html-am info info-am \ | ||
2305 | 941 | install install-am install-binSCRIPTS install-configDATA \ | ||
2306 | 942 | install-data install-data-am install-dvi install-dvi-am \ | ||
2307 | 943 | install-exec install-exec-am install-html install-html-am \ | ||
2308 | 944 | install-info install-info-am install-man \ | ||
2309 | 945 | install-nobase_pkgdataPYTHON install-pdf install-pdf-am \ | ||
2310 | 946 | install-pkgconfigDATA install-ps install-ps-am install-strip \ | ||
2311 | 947 | installcheck installcheck-am installdirs installdirs-am \ | ||
2312 | 948 | maintainer-clean maintainer-clean-generic mostlyclean \ | ||
2313 | 949 | mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ | ||
2314 | 950 | tags tags-recursive uninstall uninstall-am \ | ||
2315 | 951 | uninstall-binSCRIPTS uninstall-configDATA \ | ||
2316 | 952 | uninstall-nobase_pkgdataPYTHON uninstall-pkgconfigDATA | ||
2317 | 953 | |||
2318 | 954 | |||
2319 | 955 | # Tell versions [3.59,3.63) of GNU make to not export all variables. | ||
2320 | 956 | # Otherwise a system limit (for SysV at least) may be exceeded. | ||
2321 | 957 | .NOEXPORT: | ||
2322 | 0 | 958 | ||
2323 | === added file 'NEWS' | |||
2324 | === renamed file 'NEWS' => 'NEWS.moved' | |||
2325 | === added file 'README' | |||
2326 | === renamed file 'README' => 'README.moved' | |||
2327 | === added file 'URLS' | |||
2328 | --- URLS 1970-01-01 00:00:00 +0000 | |||
2329 | +++ URLS 2011-01-24 18:52:52 +0000 | |||
2330 | @@ -0,0 +1,103 @@ | |||
2331 | 1 | |||
2332 | 2 | LaunchpadIntegration | ||
2333 | 3 | ==================== | ||
2334 | 4 | |||
2335 | 5 | There are three operations we want to support are: | ||
2336 | 6 | 1. Display the Soyuz information page for the given package | ||
2337 | 7 | 2. Display the Rosetta translations page for the given package | ||
2338 | 8 | 3. Display a Malone bug entry form for the given package. | ||
2339 | 9 | |||
2340 | 10 | We want to display these pages in the user's preferred web browser so | ||
2341 | 11 | that we don't need to worry about authentication, etc. | ||
2342 | 12 | |||
2343 | 13 | Soyuz Information Page | ||
2344 | 14 | ====================== | ||
2345 | 15 | |||
2346 | 16 | http://launchpad.net/$distro/$release/+source/$sourcepackagename | ||
2347 | 17 | |||
2348 | 18 | |||
2349 | 19 | Rosetta Translations Page | ||
2350 | 20 | ========================= | ||
2351 | 21 | |||
2352 | 22 | http://translations.launchpad.net/$distro/$release/+source/$sourcepackagename | ||
2353 | 23 | |||
2354 | 24 | Do we send them to a page specific to the user's configured locale? | ||
2355 | 25 | |||
2356 | 26 | |||
2357 | 27 | Malone Bug Entry Form | ||
2358 | 28 | ===================== | ||
2359 | 29 | |||
2360 | 30 | This one is a bit different. We want to prefill the form with some | ||
2361 | 31 | information about the system, similar to how the debian reportbug | ||
2362 | 32 | script does. The information we can provide includes: | ||
2363 | 33 | * source package name | ||
2364 | 34 | * binary package name | ||
2365 | 35 | * version | ||
2366 | 36 | * architecture | ||
2367 | 37 | * distro | ||
2368 | 38 | * distro release | ||
2369 | 39 | * architecture | ||
2370 | 40 | * kernel/locale info | ||
2371 | 41 | * versions of dependencies | ||
2372 | 42 | |||
2373 | 43 | In Malone, this could be used to automatically add package | ||
2374 | 44 | infestations to bugs when they get created. The information would | ||
2375 | 45 | likely be dumped into the comments box as part of a template for the | ||
2376 | 46 | user to fill in. | ||
2377 | 47 | |||
2378 | 48 | Given that we can only spawn a web browser with a URL, this quantity | ||
2379 | 49 | of information could easily exceed the URL length limit. | ||
2380 | 50 | |||
2381 | 51 | The suggestion on IRC was to have a system where we post some | ||
2382 | 52 | information to the server before hand, getting back a token in return. | ||
2383 | 53 | This token is then used to construct the URL to send the user to (the | ||
2384 | 54 | token could actually be the URL). The creation of such tokens would | ||
2385 | 55 | need to be possible without authentication, and they should expire | ||
2386 | 56 | after some interval. | ||
2387 | 57 | |||
2388 | 58 | This process might go something like this: | ||
2389 | 59 | |||
2390 | 60 | POST /special-bug-submission-url HTTP/1.1 | ||
2391 | 61 | Content-Type: application/xml | ||
2392 | 62 | Content-Length: ... | ||
2393 | 63 | |||
2394 | 64 | <bugdata> | ||
2395 | 65 | <distro>Ubuntu</distro> | ||
2396 | 66 | <distrorelease>hoary</distrorelease> | ||
2397 | 67 | <distroarch>amd64</distroarch> | ||
2398 | 68 | <binarypackagename>mozilla-firefox</binarypackagename> | ||
2399 | 69 | <sourcepackagename>mozilla-firefox</sourcepackagename> | ||
2400 | 70 | <version>1.0.2-0ubuntu5.3</version> | ||
2401 | 71 | <dependencies> | ||
2402 | 72 | ... | ||
2403 | 73 | </dependencies> | ||
2404 | 74 | </bugdata> | ||
2405 | 75 | |||
2406 | 76 | HTTP/1.1 303 See Other | ||
2407 | 77 | Location: https://launchpad.net/malone/bugs/+package?token=XXXXXXXX | ||
2408 | 78 | ... | ||
2409 | 79 | |||
2410 | 80 | We then open the resulting URL in the user's preferred browser. | ||
2411 | 81 | |||
2412 | 82 | |||
2413 | 83 | Gathering Information | ||
2414 | 84 | ===================== | ||
2415 | 85 | |||
2416 | 86 | The identify.py script demonstrates grabbing of the package specific | ||
2417 | 87 | information, using one of the following (in increasing order of | ||
2418 | 88 | reliability): | ||
2419 | 89 | * an X window ID (or letting the user pick the window) | ||
2420 | 90 | * a process ID | ||
2421 | 91 | * a file owned by the package | ||
2422 | 92 | * the package name | ||
2423 | 93 | |||
2424 | 94 | Distro Name and Release can be found with lsb_release program: | ||
2425 | 95 | $ lsb_release --id --codename --short | ||
2426 | 96 | Ubuntu hoary | ||
2427 | 97 | |||
2428 | 98 | Dpkg can tell us the distro arch: | ||
2429 | 99 | $ dpkg --print-architecture | ||
2430 | 100 | amd64 | ||
2431 | 101 | |||
2432 | 102 | Kernel version can be found with os.uname(). Locale info can be found | ||
2433 | 103 | from environment and locale.setlocale(''). | ||
2434 | 0 | 104 | ||
2435 | === renamed file 'URLS' => 'URLS.moved' | |||
2436 | === added file 'acinclude.m4' | |||
2437 | --- acinclude.m4 1970-01-01 00:00:00 +0000 | |||
2438 | +++ acinclude.m4 2011-01-24 18:52:52 +0000 | |||
2439 | @@ -0,0 +1,28 @@ | |||
2440 | 1 | dnl a macro to check for ability to create python extensions | ||
2441 | 2 | dnl AM_CHECK_PYTHON_HEADERS([ACTION-IF-POSSIBLE], [ACTION-IF-NOT-POSSIBLE]) | ||
2442 | 3 | dnl function also defines PYTHON_INCLUDES | ||
2443 | 4 | AC_DEFUN([AM_CHECK_PYTHON_HEADERS], | ||
2444 | 5 | [AC_REQUIRE([AM_PATH_PYTHON]) | ||
2445 | 6 | AC_MSG_CHECKING(for headers required to compile python extensions) | ||
2446 | 7 | dnl deduce PYTHON_INCLUDES | ||
2447 | 8 | py_prefix=`$PYTHON -c "import sys; print sys.prefix"` | ||
2448 | 9 | py_exec_prefix=`$PYTHON -c "import sys; print sys.exec_prefix"` | ||
2449 | 10 | if test -x "$PYTHON-config"; then | ||
2450 | 11 | PYTHON_INCLUDES=`$PYTHON-config --includes 2>/dev/null` | ||
2451 | 12 | else | ||
2452 | 13 | PYTHON_INCLUDES="-I${py_prefix}/include/python${PYTHON_VERSION}" | ||
2453 | 14 | if test "$py_prefix" != "$py_exec_prefix"; then | ||
2454 | 15 | PYTHON_INCLUDES="$PYTHON_INCLUDES -I${py_exec_prefix}/include/python${PYTHON_VERSION}" | ||
2455 | 16 | fi | ||
2456 | 17 | fi | ||
2457 | 18 | AC_SUBST(PYTHON_INCLUDES) | ||
2458 | 19 | dnl check if the headers exist: | ||
2459 | 20 | save_CPPFLAGS="$CPPFLAGS" | ||
2460 | 21 | CPPFLAGS="$CPPFLAGS $PYTHON_INCLUDES" | ||
2461 | 22 | AC_TRY_CPP([#include <Python.h>],dnl | ||
2462 | 23 | [AC_MSG_RESULT(found) | ||
2463 | 24 | $1],dnl | ||
2464 | 25 | [AC_MSG_RESULT(not found) | ||
2465 | 26 | $2]) | ||
2466 | 27 | CPPFLAGS="$save_CPPFLAGS" | ||
2467 | 28 | ]) | ||
2468 | 0 | 29 | ||
2469 | === renamed file 'acinclude.m4' => 'acinclude.m4.moved' | |||
2470 | === added file 'aclocal.m4' | |||
2471 | --- aclocal.m4 1970-01-01 00:00:00 +0000 | |||
2472 | +++ aclocal.m4 2011-01-24 18:52:52 +0000 | |||
2473 | @@ -0,0 +1,1874 @@ | |||
2474 | 1 | # generated automatically by aclocal 1.11.1 -*- Autoconf -*- | ||
2475 | 2 | |||
2476 | 3 | # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, | ||
2477 | 4 | # 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc. | ||
2478 | 5 | # This file is free software; the Free Software Foundation | ||
2479 | 6 | # gives unlimited permission to copy and/or distribute it, | ||
2480 | 7 | # with or without modifications, as long as this notice is preserved. | ||
2481 | 8 | |||
2482 | 9 | # This program is distributed in the hope that it will be useful, | ||
2483 | 10 | # but WITHOUT ANY WARRANTY, to the extent permitted by law; without | ||
2484 | 11 | # even the implied warranty of MERCHANTABILITY or FITNESS FOR A | ||
2485 | 12 | # PARTICULAR PURPOSE. | ||
2486 | 13 | |||
2487 | 14 | m4_ifndef([AC_AUTOCONF_VERSION], | ||
2488 | 15 | [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl | ||
2489 | 16 | m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.67],, | ||
2490 | 17 | [m4_warning([this file was generated for autoconf 2.67. | ||
2491 | 18 | You have another version of autoconf. It may work, but is not guaranteed to. | ||
2492 | 19 | If you have problems, you may need to regenerate the build system entirely. | ||
2493 | 20 | To do so, use the procedure documented by the package, typically `autoreconf'.])]) | ||
2494 | 21 | |||
2495 | 22 | # Configure paths for GTK+ | ||
2496 | 23 | # Owen Taylor 1997-2001 | ||
2497 | 24 | |||
2498 | 25 | dnl AM_PATH_GTK_2_0([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND [, MODULES]]]]) | ||
2499 | 26 | dnl Test for GTK+, and define GTK_CFLAGS and GTK_LIBS, if gthread is specified in MODULES, | ||
2500 | 27 | dnl pass to pkg-config | ||
2501 | 28 | dnl | ||
2502 | 29 | AC_DEFUN([AM_PATH_GTK_2_0], | ||
2503 | 30 | [dnl | ||
2504 | 31 | dnl Get the cflags and libraries from pkg-config | ||
2505 | 32 | dnl | ||
2506 | 33 | AC_ARG_ENABLE(gtktest, [ --disable-gtktest do not try to compile and run a test GTK+ program], | ||
2507 | 34 | , enable_gtktest=yes) | ||
2508 | 35 | |||
2509 | 36 | pkg_config_args=gtk+-2.0 | ||
2510 | 37 | for module in . $4 | ||
2511 | 38 | do | ||
2512 | 39 | case "$module" in | ||
2513 | 40 | gthread) | ||
2514 | 41 | pkg_config_args="$pkg_config_args gthread-2.0" | ||
2515 | 42 | ;; | ||
2516 | 43 | esac | ||
2517 | 44 | done | ||
2518 | 45 | |||
2519 | 46 | no_gtk="" | ||
2520 | 47 | |||
2521 | 48 | AC_PATH_PROG(PKG_CONFIG, pkg-config, no) | ||
2522 | 49 | |||
2523 | 50 | if test x$PKG_CONFIG != xno ; then | ||
2524 | 51 | if pkg-config --atleast-pkgconfig-version 0.7 ; then | ||
2525 | 52 | : | ||
2526 | 53 | else | ||
2527 | 54 | echo "*** pkg-config too old; version 0.7 or better required." | ||
2528 | 55 | no_gtk=yes | ||
2529 | 56 | PKG_CONFIG=no | ||
2530 | 57 | fi | ||
2531 | 58 | else | ||
2532 | 59 | no_gtk=yes | ||
2533 | 60 | fi | ||
2534 | 61 | |||
2535 | 62 | min_gtk_version=ifelse([$1], ,2.0.0,$1) | ||
2536 | 63 | AC_MSG_CHECKING(for GTK+ - version >= $min_gtk_version) | ||
2537 | 64 | |||
2538 | 65 | if test x$PKG_CONFIG != xno ; then | ||
2539 | 66 | ## don't try to run the test against uninstalled libtool libs | ||
2540 | 67 | if $PKG_CONFIG --uninstalled $pkg_config_args; then | ||
2541 | 68 | echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH" | ||
2542 | 69 | enable_gtktest=no | ||
2543 | 70 | fi | ||
2544 | 71 | |||
2545 | 72 | if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then | ||
2546 | 73 | : | ||
2547 | 74 | else | ||
2548 | 75 | no_gtk=yes | ||
2549 | 76 | fi | ||
2550 | 77 | fi | ||
2551 | 78 | |||
2552 | 79 | if test x"$no_gtk" = x ; then | ||
2553 | 80 | GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags` | ||
2554 | 81 | GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs` | ||
2555 | 82 | gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \ | ||
2556 | 83 | sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\1/'` | ||
2557 | 84 | gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \ | ||
2558 | 85 | sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\2/'` | ||
2559 | 86 | gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \ | ||
2560 | 87 | sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\3/'` | ||
2561 | 88 | if test "x$enable_gtktest" = "xyes" ; then | ||
2562 | 89 | ac_save_CFLAGS="$CFLAGS" | ||
2563 | 90 | ac_save_LIBS="$LIBS" | ||
2564 | 91 | CFLAGS="$CFLAGS $GTK_CFLAGS" | ||
2565 | 92 | LIBS="$GTK_LIBS $LIBS" | ||
2566 | 93 | dnl | ||
2567 | 94 | dnl Now check if the installed GTK+ is sufficiently new. (Also sanity | ||
2568 | 95 | dnl checks the results of pkg-config to some extent) | ||
2569 | 96 | dnl | ||
2570 | 97 | rm -f conf.gtktest | ||
2571 | 98 | AC_TRY_RUN([ | ||
2572 | 99 | #include <gtk/gtk.h> | ||
2573 | 100 | #include <stdio.h> | ||
2574 | 101 | #include <stdlib.h> | ||
2575 | 102 | |||
2576 | 103 | int | ||
2577 | 104 | main () | ||
2578 | 105 | { | ||
2579 | 106 | int major, minor, micro; | ||
2580 | 107 | char *tmp_version; | ||
2581 | 108 | |||
2582 | 109 | fclose (fopen ("conf.gtktest", "w")); | ||
2583 | 110 | |||
2584 | 111 | /* HP/UX 9 (%@#!) writes to sscanf strings */ | ||
2585 | 112 | tmp_version = g_strdup("$min_gtk_version"); | ||
2586 | 113 | if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) { | ||
2587 | 114 | printf("%s, bad version string\n", "$min_gtk_version"); | ||
2588 | 115 | exit(1); | ||
2589 | 116 | } | ||
2590 | 117 | |||
2591 | 118 | if ((gtk_major_version != $gtk_config_major_version) || | ||
2592 | 119 | (gtk_minor_version != $gtk_config_minor_version) || | ||
2593 | 120 | (gtk_micro_version != $gtk_config_micro_version)) | ||
2594 | 121 | { | ||
2595 | 122 | printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n", | ||
2596 | 123 | $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version, | ||
2597 | 124 | gtk_major_version, gtk_minor_version, gtk_micro_version); | ||
2598 | 125 | printf ("*** was found! If pkg-config was correct, then it is best\n"); | ||
2599 | 126 | printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n"); | ||
2600 | 127 | printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n"); | ||
2601 | 128 | printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n"); | ||
2602 | 129 | printf("*** required on your system.\n"); | ||
2603 | 130 | printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n"); | ||
2604 | 131 | printf("*** to point to the correct configuration files\n"); | ||
2605 | 132 | } | ||
2606 | 133 | else if ((gtk_major_version != GTK_MAJOR_VERSION) || | ||
2607 | 134 | (gtk_minor_version != GTK_MINOR_VERSION) || | ||
2608 | 135 | (gtk_micro_version != GTK_MICRO_VERSION)) | ||
2609 | 136 | { | ||
2610 | 137 | printf("*** GTK+ header files (version %d.%d.%d) do not match\n", | ||
2611 | 138 | GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION); | ||
2612 | 139 | printf("*** library (version %d.%d.%d)\n", | ||
2613 | 140 | gtk_major_version, gtk_minor_version, gtk_micro_version); | ||
2614 | 141 | } | ||
2615 | 142 | else | ||
2616 | 143 | { | ||
2617 | 144 | if ((gtk_major_version > major) || | ||
2618 | 145 | ((gtk_major_version == major) && (gtk_minor_version > minor)) || | ||
2619 | 146 | ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro))) | ||
2620 | 147 | { | ||
2621 | 148 | return 0; | ||
2622 | 149 | } | ||
2623 | 150 | else | ||
2624 | 151 | { | ||
2625 | 152 | printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n", | ||
2626 | 153 | gtk_major_version, gtk_minor_version, gtk_micro_version); | ||
2627 | 154 | printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n", | ||
2628 | 155 | major, minor, micro); | ||
2629 | 156 | printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n"); | ||
2630 | 157 | printf("***\n"); | ||
2631 | 158 | printf("*** If you have already installed a sufficiently new version, this error\n"); | ||
2632 | 159 | printf("*** probably means that the wrong copy of the pkg-config shell script is\n"); | ||
2633 | 160 | printf("*** being found. The easiest way to fix this is to remove the old version\n"); | ||
2634 | 161 | printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n"); | ||
2635 | 162 | printf("*** correct copy of pkg-config. (In this case, you will have to\n"); | ||
2636 | 163 | printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n"); | ||
2637 | 164 | printf("*** so that the correct libraries are found at run-time))\n"); | ||
2638 | 165 | } | ||
2639 | 166 | } | ||
2640 | 167 | return 1; | ||
2641 | 168 | } | ||
2642 | 169 | ],, no_gtk=yes,[echo $ac_n "cross compiling; assumed OK... $ac_c"]) | ||
2643 | 170 | CFLAGS="$ac_save_CFLAGS" | ||
2644 | 171 | LIBS="$ac_save_LIBS" | ||
2645 | 172 | fi | ||
2646 | 173 | fi | ||
2647 | 174 | if test "x$no_gtk" = x ; then | ||
2648 | 175 | AC_MSG_RESULT(yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)) | ||
2649 | 176 | ifelse([$2], , :, [$2]) | ||
2650 | 177 | else | ||
2651 | 178 | AC_MSG_RESULT(no) | ||
2652 | 179 | if test "$PKG_CONFIG" = "no" ; then | ||
2653 | 180 | echo "*** A new enough version of pkg-config was not found." | ||
2654 | 181 | echo "*** See http://pkgconfig.sourceforge.net" | ||
2655 | 182 | else | ||
2656 | 183 | if test -f conf.gtktest ; then | ||
2657 | 184 | : | ||
2658 | 185 | else | ||
2659 | 186 | echo "*** Could not run GTK+ test program, checking why..." | ||
2660 | 187 | ac_save_CFLAGS="$CFLAGS" | ||
2661 | 188 | ac_save_LIBS="$LIBS" | ||
2662 | 189 | CFLAGS="$CFLAGS $GTK_CFLAGS" | ||
2663 | 190 | LIBS="$LIBS $GTK_LIBS" | ||
2664 | 191 | AC_TRY_LINK([ | ||
2665 | 192 | #include <gtk/gtk.h> | ||
2666 | 193 | #include <stdio.h> | ||
2667 | 194 | ], [ return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version)); ], | ||
2668 | 195 | [ echo "*** The test program compiled, but did not run. This usually means" | ||
2669 | 196 | echo "*** that the run-time linker is not finding GTK+ or finding the wrong" | ||
2670 | 197 | echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your" | ||
2671 | 198 | echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point" | ||
2672 | 199 | echo "*** to the installed location Also, make sure you have run ldconfig if that" | ||
2673 | 200 | echo "*** is required on your system" | ||
2674 | 201 | echo "***" | ||
2675 | 202 | echo "*** If you have an old version installed, it is best to remove it, although" | ||
2676 | 203 | echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH" ], | ||
2677 | 204 | [ echo "*** The test program failed to compile or link. See the file config.log for the" | ||
2678 | 205 | echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."]) | ||
2679 | 206 | CFLAGS="$ac_save_CFLAGS" | ||
2680 | 207 | LIBS="$ac_save_LIBS" | ||
2681 | 208 | fi | ||
2682 | 209 | fi | ||
2683 | 210 | GTK_CFLAGS="" | ||
2684 | 211 | GTK_LIBS="" | ||
2685 | 212 | ifelse([$3], , :, [$3]) | ||
2686 | 213 | fi | ||
2687 | 214 | AC_SUBST(GTK_CFLAGS) | ||
2688 | 215 | AC_SUBST(GTK_LIBS) | ||
2689 | 216 | rm -f conf.gtktest | ||
2690 | 217 | ]) | ||
2691 | 218 | |||
2692 | 219 | # Configure paths for GTK+ | ||
2693 | 220 | # Owen Taylor 1997-2001 | ||
2694 | 221 | |||
2695 | 222 | dnl AM_PATH_GTK_3_0([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND [, MODULES]]]]) | ||
2696 | 223 | dnl Test for GTK+, and define GTK_CFLAGS and GTK_LIBS, if gthread is specified in MODULES, | ||
2697 | 224 | dnl pass to pkg-config | ||
2698 | 225 | dnl | ||
2699 | 226 | AC_DEFUN([AM_PATH_GTK_3_0], | ||
2700 | 227 | [dnl | ||
2701 | 228 | dnl Get the cflags and libraries from pkg-config | ||
2702 | 229 | dnl | ||
2703 | 230 | AC_ARG_ENABLE(gtktest, [ --disable-gtktest do not try to compile and run a test GTK+ program], | ||
2704 | 231 | , enable_gtktest=yes) | ||
2705 | 232 | |||
2706 | 233 | pkg_config_args=gtk+-3.0 | ||
2707 | 234 | for module in . $4 | ||
2708 | 235 | do | ||
2709 | 236 | case "$module" in | ||
2710 | 237 | gthread) | ||
2711 | 238 | pkg_config_args="$pkg_config_args gthread-2.0" | ||
2712 | 239 | ;; | ||
2713 | 240 | esac | ||
2714 | 241 | done | ||
2715 | 242 | |||
2716 | 243 | no_gtk="" | ||
2717 | 244 | |||
2718 | 245 | AC_PATH_PROG(PKG_CONFIG, pkg-config, no) | ||
2719 | 246 | |||
2720 | 247 | if test x$PKG_CONFIG != xno ; then | ||
2721 | 248 | if pkg-config --atleast-pkgconfig-version 0.7 ; then | ||
2722 | 249 | : | ||
2723 | 250 | else | ||
2724 | 251 | echo "*** pkg-config too old; version 0.7 or better required." | ||
2725 | 252 | no_gtk=yes | ||
2726 | 253 | PKG_CONFIG=no | ||
2727 | 254 | fi | ||
2728 | 255 | else | ||
2729 | 256 | no_gtk=yes | ||
2730 | 257 | fi | ||
2731 | 258 | |||
2732 | 259 | min_gtk_version=ifelse([$1], ,3.0.0,$1) | ||
2733 | 260 | AC_MSG_CHECKING(for GTK+ - version >= $min_gtk_version) | ||
2734 | 261 | |||
2735 | 262 | if test x$PKG_CONFIG != xno ; then | ||
2736 | 263 | ## don't try to run the test against uninstalled libtool libs | ||
2737 | 264 | if $PKG_CONFIG --uninstalled $pkg_config_args; then | ||
2738 | 265 | echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH" | ||
2739 | 266 | enable_gtktest=no | ||
2740 | 267 | fi | ||
2741 | 268 | |||
2742 | 269 | if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then | ||
2743 | 270 | : | ||
2744 | 271 | else | ||
2745 | 272 | no_gtk=yes | ||
2746 | 273 | fi | ||
2747 | 274 | fi | ||
2748 | 275 | |||
2749 | 276 | if test x"$no_gtk" = x ; then | ||
2750 | 277 | GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags` | ||
2751 | 278 | GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs` | ||
2752 | 279 | gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-3.0 | \ | ||
2753 | 280 | sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\1/'` | ||
2754 | 281 | gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-3.0 | \ | ||
2755 | 282 | sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\2/'` | ||
2756 | 283 | gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-3.0 | \ | ||
2757 | 284 | sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\3/'` | ||
2758 | 285 | if test "x$enable_gtktest" = "xyes" ; then | ||
2759 | 286 | ac_save_CFLAGS="$CFLAGS" | ||
2760 | 287 | ac_save_LIBS="$LIBS" | ||
2761 | 288 | CFLAGS="$CFLAGS $GTK_CFLAGS" | ||
2762 | 289 | LIBS="$GTK_LIBS $LIBS" | ||
2763 | 290 | dnl | ||
2764 | 291 | dnl Now check if the installed GTK+ is sufficiently new. (Also sanity | ||
2765 | 292 | dnl checks the results of pkg-config to some extent) | ||
2766 | 293 | dnl | ||
2767 | 294 | rm -f conf.gtktest | ||
2768 | 295 | AC_TRY_RUN([ | ||
2769 | 296 | #include <gtk/gtk.h> | ||
2770 | 297 | #include <stdio.h> | ||
2771 | 298 | #include <stdlib.h> | ||
2772 | 299 | |||
2773 | 300 | int | ||
2774 | 301 | main () | ||
2775 | 302 | { | ||
2776 | 303 | int major, minor, micro; | ||
2777 | 304 | char *tmp_version; | ||
2778 | 305 | |||
2779 | 306 | fclose (fopen ("conf.gtktest", "w")); | ||
2780 | 307 | |||
2781 | 308 | /* HP/UX 9 (%@#!) writes to sscanf strings */ | ||
2782 | 309 | tmp_version = g_strdup("$min_gtk_version"); | ||
2783 | 310 | if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) { | ||
2784 | 311 | printf("%s, bad version string\n", "$min_gtk_version"); | ||
2785 | 312 | exit(1); | ||
2786 | 313 | } | ||
2787 | 314 | |||
2788 | 315 | if ((gtk_major_version != $gtk_config_major_version) || | ||
2789 | 316 | (gtk_minor_version != $gtk_config_minor_version) || | ||
2790 | 317 | (gtk_micro_version != $gtk_config_micro_version)) | ||
2791 | 318 | { | ||
2792 | 319 | printf("\n*** 'pkg-config --modversion gtk+-3.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n", | ||
2793 | 320 | $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version, | ||
2794 | 321 | gtk_major_version, gtk_minor_version, gtk_micro_version); | ||
2795 | 322 | printf ("*** was found! If pkg-config was correct, then it is best\n"); | ||
2796 | 323 | printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n"); | ||
2797 | 324 | printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n"); | ||
2798 | 325 | printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n"); | ||
2799 | 326 | printf("*** required on your system.\n"); | ||
2800 | 327 | printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n"); | ||
2801 | 328 | printf("*** to point to the correct configuration files\n"); | ||
2802 | 329 | } | ||
2803 | 330 | else if ((gtk_major_version != GTK_MAJOR_VERSION) || | ||
2804 | 331 | (gtk_minor_version != GTK_MINOR_VERSION) || | ||
2805 | 332 | (gtk_micro_version != GTK_MICRO_VERSION)) | ||
2806 | 333 | { | ||
2807 | 334 | printf("*** GTK+ header files (version %d.%d.%d) do not match\n", | ||
2808 | 335 | GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION); | ||
2809 | 336 | printf("*** library (version %d.%d.%d)\n", | ||
2810 | 337 | gtk_major_version, gtk_minor_version, gtk_micro_version); | ||
2811 | 338 | } | ||
2812 | 339 | else | ||
2813 | 340 | { | ||
2814 | 341 | if ((gtk_major_version > major) || | ||
2815 | 342 | ((gtk_major_version == major) && (gtk_minor_version > minor)) || | ||
2816 | 343 | ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro))) | ||
2817 | 344 | { | ||
2818 | 345 | return 0; | ||
2819 | 346 | } | ||
2820 | 347 | else | ||
2821 | 348 | { | ||
2822 | 349 | printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n", | ||
2823 | 350 | gtk_major_version, gtk_minor_version, gtk_micro_version); | ||
2824 | 351 | printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n", | ||
2825 | 352 | major, minor, micro); | ||
2826 | 353 | printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n"); | ||
2827 | 354 | printf("***\n"); | ||
2828 | 355 | printf("*** If you have already installed a sufficiently new version, this error\n"); | ||
2829 | 356 | printf("*** probably means that the wrong copy of the pkg-config shell script is\n"); | ||
2830 | 357 | printf("*** being found. The easiest way to fix this is to remove the old version\n"); | ||
2831 | 358 | printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n"); | ||
2832 | 359 | printf("*** correct copy of pkg-config. (In this case, you will have to\n"); | ||
2833 | 360 | printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n"); | ||
2834 | 361 | printf("*** so that the correct libraries are found at run-time))\n"); | ||
2835 | 362 | } | ||
2836 | 363 | } | ||
2837 | 364 | return 1; | ||
2838 | 365 | } | ||
2839 | 366 | ],, no_gtk=yes,[echo $ac_n "cross compiling; assumed OK... $ac_c"]) | ||
2840 | 367 | CFLAGS="$ac_save_CFLAGS" | ||
2841 | 368 | LIBS="$ac_save_LIBS" | ||
2842 | 369 | fi | ||
2843 | 370 | fi | ||
2844 | 371 | if test "x$no_gtk" = x ; then | ||
2845 | 372 | AC_MSG_RESULT(yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)) | ||
2846 | 373 | ifelse([$2], , :, [$2]) | ||
2847 | 374 | else | ||
2848 | 375 | AC_MSG_RESULT(no) | ||
2849 | 376 | if test "$PKG_CONFIG" = "no" ; then | ||
2850 | 377 | echo "*** A new enough version of pkg-config was not found." | ||
2851 | 378 | echo "*** See http://pkgconfig.sourceforge.net" | ||
2852 | 379 | else | ||
2853 | 380 | if test -f conf.gtktest ; then | ||
2854 | 381 | : | ||
2855 | 382 | else | ||
2856 | 383 | echo "*** Could not run GTK+ test program, checking why..." | ||
2857 | 384 | ac_save_CFLAGS="$CFLAGS" | ||
2858 | 385 | ac_save_LIBS="$LIBS" | ||
2859 | 386 | CFLAGS="$CFLAGS $GTK_CFLAGS" | ||
2860 | 387 | LIBS="$LIBS $GTK_LIBS" | ||
2861 | 388 | AC_TRY_LINK([ | ||
2862 | 389 | #include <gtk/gtk.h> | ||
2863 | 390 | #include <stdio.h> | ||
2864 | 391 | ], [ return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version)); ], | ||
2865 | 392 | [ echo "*** The test program compiled, but did not run. This usually means" | ||
2866 | 393 | echo "*** that the run-time linker is not finding GTK+ or finding the wrong" | ||
2867 | 394 | echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your" | ||
2868 | 395 | echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point" | ||
2869 | 396 | echo "*** to the installed location Also, make sure you have run ldconfig if that" | ||
2870 | 397 | echo "*** is required on your system" | ||
2871 | 398 | echo "***" | ||
2872 | 399 | echo "*** If you have an old version installed, it is best to remove it, although" | ||
2873 | 400 | echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH" ], | ||
2874 | 401 | [ echo "*** The test program failed to compile or link. See the file config.log for the" | ||
2875 | 402 | echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."]) | ||
2876 | 403 | CFLAGS="$ac_save_CFLAGS" | ||
2877 | 404 | LIBS="$ac_save_LIBS" | ||
2878 | 405 | fi | ||
2879 | 406 | fi | ||
2880 | 407 | GTK_CFLAGS="" | ||
2881 | 408 | GTK_LIBS="" | ||
2882 | 409 | ifelse([$3], , :, [$3]) | ||
2883 | 410 | fi | ||
2884 | 411 | AC_SUBST(GTK_CFLAGS) | ||
2885 | 412 | AC_SUBST(GTK_LIBS) | ||
2886 | 413 | rm -f conf.gtktest | ||
2887 | 414 | ]) | ||
2888 | 415 | |||
2889 | 416 | dnl -*- mode: autoconf -*- | ||
2890 | 417 | dnl Copyright 2009 Johan Dahlin | ||
2891 | 418 | dnl | ||
2892 | 419 | dnl This file is free software; the author(s) gives unlimited | ||
2893 | 420 | dnl permission to copy and/or distribute it, with or without | ||
2894 | 421 | dnl modifications, as long as this notice is preserved. | ||
2895 | 422 | dnl | ||
2896 | 423 | |||
2897 | 424 | # serial 1 | ||
2898 | 425 | |||
2899 | 426 | m4_define([_GOBJECT_INTROSPECTION_CHECK_INTERNAL], | ||
2900 | 427 | [ | ||
2901 | 428 | AC_BEFORE([AC_PROG_LIBTOOL],[$0])dnl setup libtool first | ||
2902 | 429 | AC_BEFORE([AM_PROG_LIBTOOL],[$0])dnl setup libtool first | ||
2903 | 430 | AC_BEFORE([LT_INIT],[$0])dnl setup libtool first | ||
2904 | 431 | |||
2905 | 432 | dnl enable/disable introspection | ||
2906 | 433 | m4_if([$2], [require], | ||
2907 | 434 | [dnl | ||
2908 | 435 | enable_introspection=yes | ||
2909 | 436 | ],[dnl | ||
2910 | 437 | AC_ARG_ENABLE(introspection, | ||
2911 | 438 | AS_HELP_STRING([--enable-introspection[=@<:@no/auto/yes@:>@]], | ||
2912 | 439 | [Enable introspection for this build]),, | ||
2913 | 440 | [enable_introspection=auto]) | ||
2914 | 441 | ])dnl | ||
2915 | 442 | |||
2916 | 443 | AC_MSG_CHECKING([for gobject-introspection]) | ||
2917 | 444 | |||
2918 | 445 | dnl presence/version checking | ||
2919 | 446 | AS_CASE([$enable_introspection], | ||
2920 | 447 | [no], [dnl | ||
2921 | 448 | found_introspection="no (disabled, use --enable-introspection to enable)" | ||
2922 | 449 | ],dnl | ||
2923 | 450 | [yes],[dnl | ||
2924 | 451 | PKG_CHECK_EXISTS([gobject-introspection-1.0],, | ||
2925 | 452 | AC_MSG_ERROR([gobject-introspection-1.0 is not installed])) | ||
2926 | 453 | PKG_CHECK_EXISTS([gobject-introspection-1.0 >= $1], | ||
2927 | 454 | found_introspection=yes, | ||
2928 | 455 | AC_MSG_ERROR([You need to have gobject-introspection >= $1 installed to build AC_PACKAGE_NAME])) | ||
2929 | 456 | ],dnl | ||
2930 | 457 | [auto],[dnl | ||
2931 | 458 | PKG_CHECK_EXISTS([gobject-introspection-1.0 >= $1], found_introspection=yes, found_introspection=no) | ||
2932 | 459 | ],dnl | ||
2933 | 460 | [dnl | ||
2934 | 461 | AC_MSG_ERROR([invalid argument passed to --enable-introspection, should be one of @<:@no/auto/yes@:>@]) | ||
2935 | 462 | ])dnl | ||
2936 | 463 | |||
2937 | 464 | AC_MSG_RESULT([$found_introspection]) | ||
2938 | 465 | |||
2939 | 466 | INTROSPECTION_SCANNER= | ||
2940 | 467 | INTROSPECTION_COMPILER= | ||
2941 | 468 | INTROSPECTION_GENERATE= | ||
2942 | 469 | INTROSPECTION_GIRDIR= | ||
2943 | 470 | INTROSPECTION_TYPELIBDIR= | ||
2944 | 471 | if test "x$found_introspection" = "xyes"; then | ||
2945 | 472 | INTROSPECTION_SCANNER=`$PKG_CONFIG --variable=g_ir_scanner gobject-introspection-1.0` | ||
2946 | 473 | INTROSPECTION_COMPILER=`$PKG_CONFIG --variable=g_ir_compiler gobject-introspection-1.0` | ||
2947 | 474 | INTROSPECTION_GENERATE=`$PKG_CONFIG --variable=g_ir_generate gobject-introspection-1.0` | ||
2948 | 475 | INTROSPECTION_GIRDIR=`$PKG_CONFIG --variable=girdir gobject-introspection-1.0` | ||
2949 | 476 | INTROSPECTION_TYPELIBDIR="$($PKG_CONFIG --variable=typelibdir gobject-introspection-1.0)" | ||
2950 | 477 | INTROSPECTION_CFLAGS=`$PKG_CONFIG --cflags gobject-introspection-1.0` | ||
2951 | 478 | INTROSPECTION_LIBS=`$PKG_CONFIG --libs gobject-introspection-1.0` | ||
2952 | 479 | INTROSPECTION_MAKEFILE=`$PKG_CONFIG --variable=datadir gobject-introspection-1.0`/gobject-introspection-1.0/Makefile.introspection | ||
2953 | 480 | fi | ||
2954 | 481 | AC_SUBST(INTROSPECTION_SCANNER) | ||
2955 | 482 | AC_SUBST(INTROSPECTION_COMPILER) | ||
2956 | 483 | AC_SUBST(INTROSPECTION_GENERATE) | ||
2957 | 484 | AC_SUBST(INTROSPECTION_GIRDIR) | ||
2958 | 485 | AC_SUBST(INTROSPECTION_TYPELIBDIR) | ||
2959 | 486 | AC_SUBST(INTROSPECTION_CFLAGS) | ||
2960 | 487 | AC_SUBST(INTROSPECTION_LIBS) | ||
2961 | 488 | AC_SUBST(INTROSPECTION_MAKEFILE) | ||
2962 | 489 | |||
2963 | 490 | AM_CONDITIONAL(HAVE_INTROSPECTION, test "x$found_introspection" = "xyes") | ||
2964 | 491 | ]) | ||
2965 | 492 | |||
2966 | 493 | |||
2967 | 494 | dnl Usage: | ||
2968 | 495 | dnl GOBJECT_INTROSPECTION_CHECK([minimum-g-i-version]) | ||
2969 | 496 | |||
2970 | 497 | AC_DEFUN([GOBJECT_INTROSPECTION_CHECK], | ||
2971 | 498 | [ | ||
2972 | 499 | _GOBJECT_INTROSPECTION_CHECK_INTERNAL([$1]) | ||
2973 | 500 | ]) | ||
2974 | 501 | |||
2975 | 502 | dnl Usage: | ||
2976 | 503 | dnl GOBJECT_INTROSPECTION_REQUIRE([minimum-g-i-version]) | ||
2977 | 504 | |||
2978 | 505 | |||
2979 | 506 | AC_DEFUN([GOBJECT_INTROSPECTION_REQUIRE], | ||
2980 | 507 | [ | ||
2981 | 508 | _GOBJECT_INTROSPECTION_CHECK_INTERNAL([$1], [require]) | ||
2982 | 509 | ]) | ||
2983 | 510 | |||
2984 | 511 | # pkg.m4 - Macros to locate and utilise pkg-config. -*- Autoconf -*- | ||
2985 | 512 | # serial 1 (pkg-config-0.24) | ||
2986 | 513 | # | ||
2987 | 514 | # Copyright © 2004 Scott James Remnant <scott@netsplit.com>. | ||
2988 | 515 | # | ||
2989 | 516 | # This program is free software; you can redistribute it and/or modify | ||
2990 | 517 | # it under the terms of the GNU General Public License as published by | ||
2991 | 518 | # the Free Software Foundation; either version 2 of the License, or | ||
2992 | 519 | # (at your option) any later version. | ||
2993 | 520 | # | ||
2994 | 521 | # This program is distributed in the hope that it will be useful, but | ||
2995 | 522 | # WITHOUT ANY WARRANTY; without even the implied warranty of | ||
2996 | 523 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
2997 | 524 | # General Public License for more details. | ||
2998 | 525 | # | ||
2999 | 526 | # You should have received a copy of the GNU General Public License | ||
3000 | 527 | # along with this program; if not, write to the Free Software | ||
3001 | 528 | # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | ||
3002 | 529 | # | ||
3003 | 530 | # As a special exception to the GNU General Public License, if you | ||
3004 | 531 | # distribute this file as part of a program that contains a | ||
3005 | 532 | # configuration script generated by Autoconf, you may include it under | ||
3006 | 533 | # the same distribution terms that you use for the rest of that program. | ||
3007 | 534 | |||
3008 | 535 | # PKG_PROG_PKG_CONFIG([MIN-VERSION]) | ||
3009 | 536 | # ---------------------------------- | ||
3010 | 537 | AC_DEFUN([PKG_PROG_PKG_CONFIG], | ||
3011 | 538 | [m4_pattern_forbid([^_?PKG_[A-Z_]+$]) | ||
3012 | 539 | m4_pattern_allow([^PKG_CONFIG(_PATH)?$]) | ||
3013 | 540 | AC_ARG_VAR([PKG_CONFIG], [path to pkg-config utility]) | ||
3014 | 541 | AC_ARG_VAR([PKG_CONFIG_PATH], [directories to add to pkg-config's search path]) | ||
3015 | 542 | AC_ARG_VAR([PKG_CONFIG_LIBDIR], [path overriding pkg-config's built-in search path]) | ||
3016 | 543 | |||
3017 | 544 | if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then | ||
3018 | 545 | AC_PATH_TOOL([PKG_CONFIG], [pkg-config]) | ||
3019 | 546 | fi | ||
3020 | 547 | if test -n "$PKG_CONFIG"; then | ||
3021 | 548 | _pkg_min_version=m4_default([$1], [0.9.0]) | ||
3022 | 549 | AC_MSG_CHECKING([pkg-config is at least version $_pkg_min_version]) | ||
3023 | 550 | if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then | ||
3024 | 551 | AC_MSG_RESULT([yes]) | ||
3025 | 552 | else | ||
3026 | 553 | AC_MSG_RESULT([no]) | ||
3027 | 554 | PKG_CONFIG="" | ||
3028 | 555 | fi | ||
3029 | 556 | fi[]dnl | ||
3030 | 557 | ])# PKG_PROG_PKG_CONFIG | ||
3031 | 558 | |||
3032 | 559 | # PKG_CHECK_EXISTS(MODULES, [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND]) | ||
3033 | 560 | # | ||
3034 | 561 | # Check to see whether a particular set of modules exists. Similar | ||
3035 | 562 | # to PKG_CHECK_MODULES(), but does not set variables or print errors. | ||
3036 | 563 | # | ||
3037 | 564 | # Please remember that m4 expands AC_REQUIRE([PKG_PROG_PKG_CONFIG]) | ||
3038 | 565 | # only at the first occurence in configure.ac, so if the first place | ||
3039 | 566 | # it's called might be skipped (such as if it is within an "if", you | ||
3040 | 567 | # have to call PKG_CHECK_EXISTS manually | ||
3041 | 568 | # -------------------------------------------------------------- | ||
3042 | 569 | AC_DEFUN([PKG_CHECK_EXISTS], | ||
3043 | 570 | [AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl | ||
3044 | 571 | if test -n "$PKG_CONFIG" && \ | ||
3045 | 572 | AC_RUN_LOG([$PKG_CONFIG --exists --print-errors "$1"]); then | ||
3046 | 573 | m4_default([$2], [:]) | ||
3047 | 574 | m4_ifvaln([$3], [else | ||
3048 | 575 | $3])dnl | ||
3049 | 576 | fi]) | ||
3050 | 577 | |||
3051 | 578 | # _PKG_CONFIG([VARIABLE], [COMMAND], [MODULES]) | ||
3052 | 579 | # --------------------------------------------- | ||
3053 | 580 | m4_define([_PKG_CONFIG], | ||
3054 | 581 | [if test -n "$$1"; then | ||
3055 | 582 | pkg_cv_[]$1="$$1" | ||
3056 | 583 | elif test -n "$PKG_CONFIG"; then | ||
3057 | 584 | PKG_CHECK_EXISTS([$3], | ||
3058 | 585 | [pkg_cv_[]$1=`$PKG_CONFIG --[]$2 "$3" 2>/dev/null`], | ||
3059 | 586 | [pkg_failed=yes]) | ||
3060 | 587 | else | ||
3061 | 588 | pkg_failed=untried | ||
3062 | 589 | fi[]dnl | ||
3063 | 590 | ])# _PKG_CONFIG | ||
3064 | 591 | |||
3065 | 592 | # _PKG_SHORT_ERRORS_SUPPORTED | ||
3066 | 593 | # ----------------------------- | ||
3067 | 594 | AC_DEFUN([_PKG_SHORT_ERRORS_SUPPORTED], | ||
3068 | 595 | [AC_REQUIRE([PKG_PROG_PKG_CONFIG]) | ||
3069 | 596 | if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then | ||
3070 | 597 | _pkg_short_errors_supported=yes | ||
3071 | 598 | else | ||
3072 | 599 | _pkg_short_errors_supported=no | ||
3073 | 600 | fi[]dnl | ||
3074 | 601 | ])# _PKG_SHORT_ERRORS_SUPPORTED | ||
3075 | 602 | |||
3076 | 603 | |||
3077 | 604 | # PKG_CHECK_MODULES(VARIABLE-PREFIX, MODULES, [ACTION-IF-FOUND], | ||
3078 | 605 | # [ACTION-IF-NOT-FOUND]) | ||
3079 | 606 | # | ||
3080 | 607 | # | ||
3081 | 608 | # Note that if there is a possibility the first call to | ||
3082 | 609 | # PKG_CHECK_MODULES might not happen, you should be sure to include an | ||
3083 | 610 | # explicit call to PKG_PROG_PKG_CONFIG in your configure.ac | ||
3084 | 611 | # | ||
3085 | 612 | # | ||
3086 | 613 | # -------------------------------------------------------------- | ||
3087 | 614 | AC_DEFUN([PKG_CHECK_MODULES], | ||
3088 | 615 | [AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl | ||
3089 | 616 | AC_ARG_VAR([$1][_CFLAGS], [C compiler flags for $1, overriding pkg-config])dnl | ||
3090 | 617 | AC_ARG_VAR([$1][_LIBS], [linker flags for $1, overriding pkg-config])dnl | ||
3091 | 618 | |||
3092 | 619 | pkg_failed=no | ||
3093 | 620 | AC_MSG_CHECKING([for $1]) | ||
3094 | 621 | |||
3095 | 622 | _PKG_CONFIG([$1][_CFLAGS], [cflags], [$2]) | ||
3096 | 623 | _PKG_CONFIG([$1][_LIBS], [libs], [$2]) | ||
3097 | 624 | |||
3098 | 625 | m4_define([_PKG_TEXT], [Alternatively, you may set the environment variables $1[]_CFLAGS | ||
3099 | 626 | and $1[]_LIBS to avoid the need to call pkg-config. | ||
3100 | 627 | See the pkg-config man page for more details.]) | ||
3101 | 628 | |||
3102 | 629 | if test $pkg_failed = yes; then | ||
3103 | 630 | AC_MSG_RESULT([no]) | ||
3104 | 631 | _PKG_SHORT_ERRORS_SUPPORTED | ||
3105 | 632 | if test $_pkg_short_errors_supported = yes; then | ||
3106 | 633 | $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "$2" 2>&1` | ||
3107 | 634 | else | ||
3108 | 635 | $1[]_PKG_ERRORS=`$PKG_CONFIG --print-errors "$2" 2>&1` | ||
3109 | 636 | fi | ||
3110 | 637 | # Put the nasty error message in config.log where it belongs | ||
3111 | 638 | echo "$$1[]_PKG_ERRORS" >&AS_MESSAGE_LOG_FD | ||
3112 | 639 | |||
3113 | 640 | m4_default([$4], [AC_MSG_ERROR( | ||
3114 | 641 | [Package requirements ($2) were not met: | ||
3115 | 642 | |||
3116 | 643 | $$1_PKG_ERRORS | ||
3117 | 644 | |||
3118 | 645 | Consider adjusting the PKG_CONFIG_PATH environment variable if you | ||
3119 | 646 | installed software in a non-standard prefix. | ||
3120 | 647 | |||
3121 | 648 | _PKG_TEXT])[]dnl | ||
3122 | 649 | ]) | ||
3123 | 650 | elif test $pkg_failed = untried; then | ||
3124 | 651 | AC_MSG_RESULT([no]) | ||
3125 | 652 | m4_default([$4], [AC_MSG_FAILURE( | ||
3126 | 653 | [The pkg-config script could not be found or is too old. Make sure it | ||
3127 | 654 | is in your PATH or set the PKG_CONFIG environment variable to the full | ||
3128 | 655 | path to pkg-config. | ||
3129 | 656 | |||
3130 | 657 | _PKG_TEXT | ||
3131 | 658 | |||
3132 | 659 | To get pkg-config, see <http://pkg-config.freedesktop.org/>.])[]dnl | ||
3133 | 660 | ]) | ||
3134 | 661 | else | ||
3135 | 662 | $1[]_CFLAGS=$pkg_cv_[]$1[]_CFLAGS | ||
3136 | 663 | $1[]_LIBS=$pkg_cv_[]$1[]_LIBS | ||
3137 | 664 | AC_MSG_RESULT([yes]) | ||
3138 | 665 | $3 | ||
3139 | 666 | fi[]dnl | ||
3140 | 667 | ])# PKG_CHECK_MODULES | ||
3141 | 668 | |||
3142 | 669 | # Copyright (C) 2002, 2003, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. | ||
3143 | 670 | # | ||
3144 | 671 | # This file is free software; the Free Software Foundation | ||
3145 | 672 | # gives unlimited permission to copy and/or distribute it, | ||
3146 | 673 | # with or without modifications, as long as this notice is preserved. | ||
3147 | 674 | |||
3148 | 675 | # AM_AUTOMAKE_VERSION(VERSION) | ||
3149 | 676 | # ---------------------------- | ||
3150 | 677 | # Automake X.Y traces this macro to ensure aclocal.m4 has been | ||
3151 | 678 | # generated from the m4 files accompanying Automake X.Y. | ||
3152 | 679 | # (This private macro should not be called outside this file.) | ||
3153 | 680 | AC_DEFUN([AM_AUTOMAKE_VERSION], | ||
3154 | 681 | [am__api_version='1.11' | ||
3155 | 682 | dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to | ||
3156 | 683 | dnl require some minimum version. Point them to the right macro. | ||
3157 | 684 | m4_if([$1], [1.11.1], [], | ||
3158 | 685 | [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl | ||
3159 | 686 | ]) | ||
3160 | 687 | |||
3161 | 688 | # _AM_AUTOCONF_VERSION(VERSION) | ||
3162 | 689 | # ----------------------------- | ||
3163 | 690 | # aclocal traces this macro to find the Autoconf version. | ||
3164 | 691 | # This is a private macro too. Using m4_define simplifies | ||
3165 | 692 | # the logic in aclocal, which can simply ignore this definition. | ||
3166 | 693 | m4_define([_AM_AUTOCONF_VERSION], []) | ||
3167 | 694 | |||
3168 | 695 | # AM_SET_CURRENT_AUTOMAKE_VERSION | ||
3169 | 696 | # ------------------------------- | ||
3170 | 697 | # Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced. | ||
3171 | 698 | # This function is AC_REQUIREd by AM_INIT_AUTOMAKE. | ||
3172 | 699 | AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], | ||
3173 | 700 | [AM_AUTOMAKE_VERSION([1.11.1])dnl | ||
3174 | 701 | m4_ifndef([AC_AUTOCONF_VERSION], | ||
3175 | 702 | [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl | ||
3176 | 703 | _AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))]) | ||
3177 | 704 | |||
3178 | 705 | # AM_AUX_DIR_EXPAND -*- Autoconf -*- | ||
3179 | 706 | |||
3180 | 707 | # Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc. | ||
3181 | 708 | # | ||
3182 | 709 | # This file is free software; the Free Software Foundation | ||
3183 | 710 | # gives unlimited permission to copy and/or distribute it, | ||
3184 | 711 | # with or without modifications, as long as this notice is preserved. | ||
3185 | 712 | |||
3186 | 713 | # For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets | ||
3187 | 714 | # $ac_aux_dir to `$srcdir/foo'. In other projects, it is set to | ||
3188 | 715 | # `$srcdir', `$srcdir/..', or `$srcdir/../..'. | ||
3189 | 716 | # | ||
3190 | 717 | # Of course, Automake must honor this variable whenever it calls a | ||
3191 | 718 | # tool from the auxiliary directory. The problem is that $srcdir (and | ||
3192 | 719 | # therefore $ac_aux_dir as well) can be either absolute or relative, | ||
3193 | 720 | # depending on how configure is run. This is pretty annoying, since | ||
3194 | 721 | # it makes $ac_aux_dir quite unusable in subdirectories: in the top | ||
3195 | 722 | # source directory, any form will work fine, but in subdirectories a | ||
3196 | 723 | # relative path needs to be adjusted first. | ||
3197 | 724 | # | ||
3198 | 725 | # $ac_aux_dir/missing | ||
3199 | 726 | # fails when called from a subdirectory if $ac_aux_dir is relative | ||
3200 | 727 | # $top_srcdir/$ac_aux_dir/missing | ||
3201 | 728 | # fails if $ac_aux_dir is absolute, | ||
3202 | 729 | # fails when called from a subdirectory in a VPATH build with | ||
3203 | 730 | # a relative $ac_aux_dir | ||
3204 | 731 | # | ||
3205 | 732 | # The reason of the latter failure is that $top_srcdir and $ac_aux_dir | ||
3206 | 733 | # are both prefixed by $srcdir. In an in-source build this is usually | ||
3207 | 734 | # harmless because $srcdir is `.', but things will broke when you | ||
3208 | 735 | # start a VPATH build or use an absolute $srcdir. | ||
3209 | 736 | # | ||
3210 | 737 | # So we could use something similar to $top_srcdir/$ac_aux_dir/missing, | ||
3211 | 738 | # iff we strip the leading $srcdir from $ac_aux_dir. That would be: | ||
3212 | 739 | # am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"` | ||
3213 | 740 | # and then we would define $MISSING as | ||
3214 | 741 | # MISSING="\${SHELL} $am_aux_dir/missing" | ||
3215 | 742 | # This will work as long as MISSING is not called from configure, because | ||
3216 | 743 | # unfortunately $(top_srcdir) has no meaning in configure. | ||
3217 | 744 | # However there are other variables, like CC, which are often used in | ||
3218 | 745 | # configure, and could therefore not use this "fixed" $ac_aux_dir. | ||
3219 | 746 | # | ||
3220 | 747 | # Another solution, used here, is to always expand $ac_aux_dir to an | ||
3221 | 748 | # absolute PATH. The drawback is that using absolute paths prevent a | ||
3222 | 749 | # configured tree to be moved without reconfiguration. | ||
3223 | 750 | |||
3224 | 751 | AC_DEFUN([AM_AUX_DIR_EXPAND], | ||
3225 | 752 | [dnl Rely on autoconf to set up CDPATH properly. | ||
3226 | 753 | AC_PREREQ([2.50])dnl | ||
3227 | 754 | # expand $ac_aux_dir to an absolute path | ||
3228 | 755 | am_aux_dir=`cd $ac_aux_dir && pwd` | ||
3229 | 756 | ]) | ||
3230 | 757 | |||
3231 | 758 | # AM_CONDITIONAL -*- Autoconf -*- | ||
3232 | 759 | |||
3233 | 760 | # Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006, 2008 | ||
3234 | 761 | # Free Software Foundation, Inc. | ||
3235 | 762 | # | ||
3236 | 763 | # This file is free software; the Free Software Foundation | ||
3237 | 764 | # gives unlimited permission to copy and/or distribute it, | ||
3238 | 765 | # with or without modifications, as long as this notice is preserved. | ||
3239 | 766 | |||
3240 | 767 | # serial 9 | ||
3241 | 768 | |||
3242 | 769 | # AM_CONDITIONAL(NAME, SHELL-CONDITION) | ||
3243 | 770 | # ------------------------------------- | ||
3244 | 771 | # Define a conditional. | ||
3245 | 772 | AC_DEFUN([AM_CONDITIONAL], | ||
3246 | 773 | [AC_PREREQ(2.52)dnl | ||
3247 | 774 | ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])], | ||
3248 | 775 | [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl | ||
3249 | 776 | AC_SUBST([$1_TRUE])dnl | ||
3250 | 777 | AC_SUBST([$1_FALSE])dnl | ||
3251 | 778 | _AM_SUBST_NOTMAKE([$1_TRUE])dnl | ||
3252 | 779 | _AM_SUBST_NOTMAKE([$1_FALSE])dnl | ||
3253 | 780 | m4_define([_AM_COND_VALUE_$1], [$2])dnl | ||
3254 | 781 | if $2; then | ||
3255 | 782 | $1_TRUE= | ||
3256 | 783 | $1_FALSE='#' | ||
3257 | 784 | else | ||
3258 | 785 | $1_TRUE='#' | ||
3259 | 786 | $1_FALSE= | ||
3260 | 787 | fi | ||
3261 | 788 | AC_CONFIG_COMMANDS_PRE( | ||
3262 | 789 | [if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then | ||
3263 | 790 | AC_MSG_ERROR([[conditional "$1" was never defined. | ||
3264 | 791 | Usually this means the macro was only invoked conditionally.]]) | ||
3265 | 792 | fi])]) | ||
3266 | 793 | |||
3267 | 794 | # Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2009 | ||
3268 | 795 | # Free Software Foundation, Inc. | ||
3269 | 796 | # | ||
3270 | 797 | # This file is free software; the Free Software Foundation | ||
3271 | 798 | # gives unlimited permission to copy and/or distribute it, | ||
3272 | 799 | # with or without modifications, as long as this notice is preserved. | ||
3273 | 800 | |||
3274 | 801 | # serial 10 | ||
3275 | 802 | |||
3276 | 803 | # There are a few dirty hacks below to avoid letting `AC_PROG_CC' be | ||
3277 | 804 | # written in clear, in which case automake, when reading aclocal.m4, | ||
3278 | 805 | # will think it sees a *use*, and therefore will trigger all it's | ||
3279 | 806 | # C support machinery. Also note that it means that autoscan, seeing | ||
3280 | 807 | # CC etc. in the Makefile, will ask for an AC_PROG_CC use... | ||
3281 | 808 | |||
3282 | 809 | |||
3283 | 810 | # _AM_DEPENDENCIES(NAME) | ||
3284 | 811 | # ---------------------- | ||
3285 | 812 | # See how the compiler implements dependency checking. | ||
3286 | 813 | # NAME is "CC", "CXX", "GCJ", or "OBJC". | ||
3287 | 814 | # We try a few techniques and use that to set a single cache variable. | ||
3288 | 815 | # | ||
3289 | 816 | # We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was | ||
3290 | 817 | # modified to invoke _AM_DEPENDENCIES(CC); we would have a circular | ||
3291 | 818 | # dependency, and given that the user is not expected to run this macro, | ||
3292 | 819 | # just rely on AC_PROG_CC. | ||
3293 | 820 | AC_DEFUN([_AM_DEPENDENCIES], | ||
3294 | 821 | [AC_REQUIRE([AM_SET_DEPDIR])dnl | ||
3295 | 822 | AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl | ||
3296 | 823 | AC_REQUIRE([AM_MAKE_INCLUDE])dnl | ||
3297 | 824 | AC_REQUIRE([AM_DEP_TRACK])dnl | ||
3298 | 825 | |||
3299 | 826 | ifelse([$1], CC, [depcc="$CC" am_compiler_list=], | ||
3300 | 827 | [$1], CXX, [depcc="$CXX" am_compiler_list=], | ||
3301 | 828 | [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'], | ||
3302 | 829 | [$1], UPC, [depcc="$UPC" am_compiler_list=], | ||
3303 | 830 | [$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'], | ||
3304 | 831 | [depcc="$$1" am_compiler_list=]) | ||
3305 | 832 | |||
3306 | 833 | AC_CACHE_CHECK([dependency style of $depcc], | ||
3307 | 834 | [am_cv_$1_dependencies_compiler_type], | ||
3308 | 835 | [if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then | ||
3309 | 836 | # We make a subdir and do the tests there. Otherwise we can end up | ||
3310 | 837 | # making bogus files that we don't know about and never remove. For | ||
3311 | 838 | # instance it was reported that on HP-UX the gcc test will end up | ||
3312 | 839 | # making a dummy file named `D' -- because `-MD' means `put the output | ||
3313 | 840 | # in D'. | ||
3314 | 841 | mkdir conftest.dir | ||
3315 | 842 | # Copy depcomp to subdir because otherwise we won't find it if we're | ||
3316 | 843 | # using a relative directory. | ||
3317 | 844 | cp "$am_depcomp" conftest.dir | ||
3318 | 845 | cd conftest.dir | ||
3319 | 846 | # We will build objects and dependencies in a subdirectory because | ||
3320 | 847 | # it helps to detect inapplicable dependency modes. For instance | ||
3321 | 848 | # both Tru64's cc and ICC support -MD to output dependencies as a | ||
3322 | 849 | # side effect of compilation, but ICC will put the dependencies in | ||
3323 | 850 | # the current directory while Tru64 will put them in the object | ||
3324 | 851 | # directory. | ||
3325 | 852 | mkdir sub | ||
3326 | 853 | |||
3327 | 854 | am_cv_$1_dependencies_compiler_type=none | ||
3328 | 855 | if test "$am_compiler_list" = ""; then | ||
3329 | 856 | am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp` | ||
3330 | 857 | fi | ||
3331 | 858 | am__universal=false | ||
3332 | 859 | m4_case([$1], [CC], | ||
3333 | 860 | [case " $depcc " in #( | ||
3334 | 861 | *\ -arch\ *\ -arch\ *) am__universal=true ;; | ||
3335 | 862 | esac], | ||
3336 | 863 | [CXX], | ||
3337 | 864 | [case " $depcc " in #( | ||
3338 | 865 | *\ -arch\ *\ -arch\ *) am__universal=true ;; | ||
3339 | 866 | esac]) | ||
3340 | 867 | |||
3341 | 868 | for depmode in $am_compiler_list; do | ||
3342 | 869 | # Setup a source with many dependencies, because some compilers | ||
3343 | 870 | # like to wrap large dependency lists on column 80 (with \), and | ||
3344 | 871 | # we should not choose a depcomp mode which is confused by this. | ||
3345 | 872 | # | ||
3346 | 873 | # We need to recreate these files for each test, as the compiler may | ||
3347 | 874 | # overwrite some of them when testing with obscure command lines. | ||
3348 | 875 | # This happens at least with the AIX C compiler. | ||
3349 | 876 | : > sub/conftest.c | ||
3350 | 877 | for i in 1 2 3 4 5 6; do | ||
3351 | 878 | echo '#include "conftst'$i'.h"' >> sub/conftest.c | ||
3352 | 879 | # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with | ||
3353 | 880 | # Solaris 8's {/usr,}/bin/sh. | ||
3354 | 881 | touch sub/conftst$i.h | ||
3355 | 882 | done | ||
3356 | 883 | echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf | ||
3357 | 884 | |||
3358 | 885 | # We check with `-c' and `-o' for the sake of the "dashmstdout" | ||
3359 | 886 | # mode. It turns out that the SunPro C++ compiler does not properly | ||
3360 | 887 | # handle `-M -o', and we need to detect this. Also, some Intel | ||
3361 | 888 | # versions had trouble with output in subdirs | ||
3362 | 889 | am__obj=sub/conftest.${OBJEXT-o} | ||
3363 | 890 | am__minus_obj="-o $am__obj" | ||
3364 | 891 | case $depmode in | ||
3365 | 892 | gcc) | ||
3366 | 893 | # This depmode causes a compiler race in universal mode. | ||
3367 | 894 | test "$am__universal" = false || continue | ||
3368 | 895 | ;; | ||
3369 | 896 | nosideeffect) | ||
3370 | 897 | # after this tag, mechanisms are not by side-effect, so they'll | ||
3371 | 898 | # only be used when explicitly requested | ||
3372 | 899 | if test "x$enable_dependency_tracking" = xyes; then | ||
3373 | 900 | continue | ||
3374 | 901 | else | ||
3375 | 902 | break | ||
3376 | 903 | fi | ||
3377 | 904 | ;; | ||
3378 | 905 | msvisualcpp | msvcmsys) | ||
3379 | 906 | # This compiler won't grok `-c -o', but also, the minuso test has | ||
3380 | 907 | # not run yet. These depmodes are late enough in the game, and | ||
3381 | 908 | # so weak that their functioning should not be impacted. | ||
3382 | 909 | am__obj=conftest.${OBJEXT-o} | ||
3383 | 910 | am__minus_obj= | ||
3384 | 911 | ;; | ||
3385 | 912 | none) break ;; | ||
3386 | 913 | esac | ||
3387 | 914 | if depmode=$depmode \ | ||
3388 | 915 | source=sub/conftest.c object=$am__obj \ | ||
3389 | 916 | depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ | ||
3390 | 917 | $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ | ||
3391 | 918 | >/dev/null 2>conftest.err && | ||
3392 | 919 | grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && | ||
3393 | 920 | grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && | ||
3394 | 921 | grep $am__obj sub/conftest.Po > /dev/null 2>&1 && | ||
3395 | 922 | ${MAKE-make} -s -f confmf > /dev/null 2>&1; then | ||
3396 | 923 | # icc doesn't choke on unknown options, it will just issue warnings | ||
3397 | 924 | # or remarks (even with -Werror). So we grep stderr for any message | ||
3398 | 925 | # that says an option was ignored or not supported. | ||
3399 | 926 | # When given -MP, icc 7.0 and 7.1 complain thusly: | ||
3400 | 927 | # icc: Command line warning: ignoring option '-M'; no argument required | ||
3401 | 928 | # The diagnosis changed in icc 8.0: | ||
3402 | 929 | # icc: Command line remark: option '-MP' not supported | ||
3403 | 930 | if (grep 'ignoring option' conftest.err || | ||
3404 | 931 | grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else | ||
3405 | 932 | am_cv_$1_dependencies_compiler_type=$depmode | ||
3406 | 933 | break | ||
3407 | 934 | fi | ||
3408 | 935 | fi | ||
3409 | 936 | done | ||
3410 | 937 | |||
3411 | 938 | cd .. | ||
3412 | 939 | rm -rf conftest.dir | ||
3413 | 940 | else | ||
3414 | 941 | am_cv_$1_dependencies_compiler_type=none | ||
3415 | 942 | fi | ||
3416 | 943 | ]) | ||
3417 | 944 | AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type]) | ||
3418 | 945 | AM_CONDITIONAL([am__fastdep$1], [ | ||
3419 | 946 | test "x$enable_dependency_tracking" != xno \ | ||
3420 | 947 | && test "$am_cv_$1_dependencies_compiler_type" = gcc3]) | ||
3421 | 948 | ]) | ||
3422 | 949 | |||
3423 | 950 | |||
3424 | 951 | # AM_SET_DEPDIR | ||
3425 | 952 | # ------------- | ||
3426 | 953 | # Choose a directory name for dependency files. | ||
3427 | 954 | # This macro is AC_REQUIREd in _AM_DEPENDENCIES | ||
3428 | 955 | AC_DEFUN([AM_SET_DEPDIR], | ||
3429 | 956 | [AC_REQUIRE([AM_SET_LEADING_DOT])dnl | ||
3430 | 957 | AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl | ||
3431 | 958 | ]) | ||
3432 | 959 | |||
3433 | 960 | |||
3434 | 961 | # AM_DEP_TRACK | ||
3435 | 962 | # ------------ | ||
3436 | 963 | AC_DEFUN([AM_DEP_TRACK], | ||
3437 | 964 | [AC_ARG_ENABLE(dependency-tracking, | ||
3438 | 965 | [ --disable-dependency-tracking speeds up one-time build | ||
3439 | 966 | --enable-dependency-tracking do not reject slow dependency extractors]) | ||
3440 | 967 | if test "x$enable_dependency_tracking" != xno; then | ||
3441 | 968 | am_depcomp="$ac_aux_dir/depcomp" | ||
3442 | 969 | AMDEPBACKSLASH='\' | ||
3443 | 970 | fi | ||
3444 | 971 | AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno]) | ||
3445 | 972 | AC_SUBST([AMDEPBACKSLASH])dnl | ||
3446 | 973 | _AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl | ||
3447 | 974 | ]) | ||
3448 | 975 | |||
3449 | 976 | # Generate code to set up dependency tracking. -*- Autoconf -*- | ||
3450 | 977 | |||
3451 | 978 | # Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2008 | ||
3452 | 979 | # Free Software Foundation, Inc. | ||
3453 | 980 | # | ||
3454 | 981 | # This file is free software; the Free Software Foundation | ||
3455 | 982 | # gives unlimited permission to copy and/or distribute it, | ||
3456 | 983 | # with or without modifications, as long as this notice is preserved. | ||
3457 | 984 | |||
3458 | 985 | #serial 5 | ||
3459 | 986 | |||
3460 | 987 | # _AM_OUTPUT_DEPENDENCY_COMMANDS | ||
3461 | 988 | # ------------------------------ | ||
3462 | 989 | AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS], | ||
3463 | 990 | [{ | ||
3464 | 991 | # Autoconf 2.62 quotes --file arguments for eval, but not when files | ||
3465 | 992 | # are listed without --file. Let's play safe and only enable the eval | ||
3466 | 993 | # if we detect the quoting. | ||
3467 | 994 | case $CONFIG_FILES in | ||
3468 | 995 | *\'*) eval set x "$CONFIG_FILES" ;; | ||
3469 | 996 | *) set x $CONFIG_FILES ;; | ||
3470 | 997 | esac | ||
3471 | 998 | shift | ||
3472 | 999 | for mf | ||
3473 | 1000 | do | ||
3474 | 1001 | # Strip MF so we end up with the name of the file. | ||
3475 | 1002 | mf=`echo "$mf" | sed -e 's/:.*$//'` | ||
3476 | 1003 | # Check whether this is an Automake generated Makefile or not. | ||
3477 | 1004 | # We used to match only the files named `Makefile.in', but | ||
3478 | 1005 | # some people rename them; so instead we look at the file content. | ||
3479 | 1006 | # Grep'ing the first line is not enough: some people post-process | ||
3480 | 1007 | # each Makefile.in and add a new line on top of each file to say so. | ||
3481 | 1008 | # Grep'ing the whole file is not good either: AIX grep has a line | ||
3482 | 1009 | # limit of 2048, but all sed's we know have understand at least 4000. | ||
3483 | 1010 | if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then | ||
3484 | 1011 | dirpart=`AS_DIRNAME("$mf")` | ||
3485 | 1012 | else | ||
3486 | 1013 | continue | ||
3487 | 1014 | fi | ||
3488 | 1015 | # Extract the definition of DEPDIR, am__include, and am__quote | ||
3489 | 1016 | # from the Makefile without running `make'. | ||
3490 | 1017 | DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` | ||
3491 | 1018 | test -z "$DEPDIR" && continue | ||
3492 | 1019 | am__include=`sed -n 's/^am__include = //p' < "$mf"` | ||
3493 | 1020 | test -z "am__include" && continue | ||
3494 | 1021 | am__quote=`sed -n 's/^am__quote = //p' < "$mf"` | ||
3495 | 1022 | # When using ansi2knr, U may be empty or an underscore; expand it | ||
3496 | 1023 | U=`sed -n 's/^U = //p' < "$mf"` | ||
3497 | 1024 | # Find all dependency output files, they are included files with | ||
3498 | 1025 | # $(DEPDIR) in their names. We invoke sed twice because it is the | ||
3499 | 1026 | # simplest approach to changing $(DEPDIR) to its actual value in the | ||
3500 | 1027 | # expansion. | ||
3501 | 1028 | for file in `sed -n " | ||
3502 | 1029 | s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ | ||
3503 | 1030 | sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do | ||
3504 | 1031 | # Make sure the directory exists. | ||
3505 | 1032 | test -f "$dirpart/$file" && continue | ||
3506 | 1033 | fdir=`AS_DIRNAME(["$file"])` | ||
3507 | 1034 | AS_MKDIR_P([$dirpart/$fdir]) | ||
3508 | 1035 | # echo "creating $dirpart/$file" | ||
3509 | 1036 | echo '# dummy' > "$dirpart/$file" | ||
3510 | 1037 | done | ||
3511 | 1038 | done | ||
3512 | 1039 | } | ||
3513 | 1040 | ])# _AM_OUTPUT_DEPENDENCY_COMMANDS | ||
3514 | 1041 | |||
3515 | 1042 | |||
3516 | 1043 | # AM_OUTPUT_DEPENDENCY_COMMANDS | ||
3517 | 1044 | # ----------------------------- | ||
3518 | 1045 | # This macro should only be invoked once -- use via AC_REQUIRE. | ||
3519 | 1046 | # | ||
3520 | 1047 | # This code is only required when automatic dependency tracking | ||
3521 | 1048 | # is enabled. FIXME. This creates each `.P' file that we will | ||
3522 | 1049 | # need in order to bootstrap the dependency handling code. | ||
3523 | 1050 | AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS], | ||
3524 | 1051 | [AC_CONFIG_COMMANDS([depfiles], | ||
3525 | 1052 | [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS], | ||
3526 | 1053 | [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"]) | ||
3527 | 1054 | ]) | ||
3528 | 1055 | |||
3529 | 1056 | # Do all the work for Automake. -*- Autoconf -*- | ||
3530 | 1057 | |||
3531 | 1058 | # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, | ||
3532 | 1059 | # 2005, 2006, 2008, 2009 Free Software Foundation, Inc. | ||
3533 | 1060 | # | ||
3534 | 1061 | # This file is free software; the Free Software Foundation | ||
3535 | 1062 | # gives unlimited permission to copy and/or distribute it, | ||
3536 | 1063 | # with or without modifications, as long as this notice is preserved. | ||
3537 | 1064 | |||
3538 | 1065 | # serial 16 | ||
3539 | 1066 | |||
3540 | 1067 | # This macro actually does too much. Some checks are only needed if | ||
3541 | 1068 | # your package does certain things. But this isn't really a big deal. | ||
3542 | 1069 | |||
3543 | 1070 | # AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE]) | ||
3544 | 1071 | # AM_INIT_AUTOMAKE([OPTIONS]) | ||
3545 | 1072 | # ----------------------------------------------- | ||
3546 | 1073 | # The call with PACKAGE and VERSION arguments is the old style | ||
3547 | 1074 | # call (pre autoconf-2.50), which is being phased out. PACKAGE | ||
3548 | 1075 | # and VERSION should now be passed to AC_INIT and removed from | ||
3549 | 1076 | # the call to AM_INIT_AUTOMAKE. | ||
3550 | 1077 | # We support both call styles for the transition. After | ||
3551 | 1078 | # the next Automake release, Autoconf can make the AC_INIT | ||
3552 | 1079 | # arguments mandatory, and then we can depend on a new Autoconf | ||
3553 | 1080 | # release and drop the old call support. | ||
3554 | 1081 | AC_DEFUN([AM_INIT_AUTOMAKE], | ||
3555 | 1082 | [AC_PREREQ([2.62])dnl | ||
3556 | 1083 | dnl Autoconf wants to disallow AM_ names. We explicitly allow | ||
3557 | 1084 | dnl the ones we care about. | ||
3558 | 1085 | m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl | ||
3559 | 1086 | AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl | ||
3560 | 1087 | AC_REQUIRE([AC_PROG_INSTALL])dnl | ||
3561 | 1088 | if test "`cd $srcdir && pwd`" != "`pwd`"; then | ||
3562 | 1089 | # Use -I$(srcdir) only when $(srcdir) != ., so that make's output | ||
3563 | 1090 | # is not polluted with repeated "-I." | ||
3564 | 1091 | AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl | ||
3565 | 1092 | # test to see if srcdir already configured | ||
3566 | 1093 | if test -f $srcdir/config.status; then | ||
3567 | 1094 | AC_MSG_ERROR([source directory already configured; run "make distclean" there first]) | ||
3568 | 1095 | fi | ||
3569 | 1096 | fi | ||
3570 | 1097 | |||
3571 | 1098 | # test whether we have cygpath | ||
3572 | 1099 | if test -z "$CYGPATH_W"; then | ||
3573 | 1100 | if (cygpath --version) >/dev/null 2>/dev/null; then | ||
3574 | 1101 | CYGPATH_W='cygpath -w' | ||
3575 | 1102 | else | ||
3576 | 1103 | CYGPATH_W=echo | ||
3577 | 1104 | fi | ||
3578 | 1105 | fi | ||
3579 | 1106 | AC_SUBST([CYGPATH_W]) | ||
3580 | 1107 | |||
3581 | 1108 | # Define the identity of the package. | ||
3582 | 1109 | dnl Distinguish between old-style and new-style calls. | ||
3583 | 1110 | m4_ifval([$2], | ||
3584 | 1111 | [m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl | ||
3585 | 1112 | AC_SUBST([PACKAGE], [$1])dnl | ||
3586 | 1113 | AC_SUBST([VERSION], [$2])], | ||
3587 | 1114 | [_AM_SET_OPTIONS([$1])dnl | ||
3588 | 1115 | dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT. | ||
3589 | 1116 | m4_if(m4_ifdef([AC_PACKAGE_NAME], 1)m4_ifdef([AC_PACKAGE_VERSION], 1), 11,, | ||
3590 | 1117 | [m4_fatal([AC_INIT should be called with package and version arguments])])dnl | ||
3591 | 1118 | AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl | ||
3592 | 1119 | AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl | ||
3593 | 1120 | |||
3594 | 1121 | _AM_IF_OPTION([no-define],, | ||
3595 | 1122 | [AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package]) | ||
3596 | 1123 | AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl | ||
3597 | 1124 | |||
3598 | 1125 | # Some tools Automake needs. | ||
3599 | 1126 | AC_REQUIRE([AM_SANITY_CHECK])dnl | ||
3600 | 1127 | AC_REQUIRE([AC_ARG_PROGRAM])dnl | ||
3601 | 1128 | AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version}) | ||
3602 | 1129 | AM_MISSING_PROG(AUTOCONF, autoconf) | ||
3603 | 1130 | AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version}) | ||
3604 | 1131 | AM_MISSING_PROG(AUTOHEADER, autoheader) | ||
3605 | 1132 | AM_MISSING_PROG(MAKEINFO, makeinfo) | ||
3606 | 1133 | AC_REQUIRE([AM_PROG_INSTALL_SH])dnl | ||
3607 | 1134 | AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl | ||
3608 | 1135 | AC_REQUIRE([AM_PROG_MKDIR_P])dnl | ||
3609 | 1136 | # We need awk for the "check" target. The system "awk" is bad on | ||
3610 | 1137 | # some platforms. | ||
3611 | 1138 | AC_REQUIRE([AC_PROG_AWK])dnl | ||
3612 | 1139 | AC_REQUIRE([AC_PROG_MAKE_SET])dnl | ||
3613 | 1140 | AC_REQUIRE([AM_SET_LEADING_DOT])dnl | ||
3614 | 1141 | _AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])], | ||
3615 | 1142 | [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])], | ||
3616 | 1143 | [_AM_PROG_TAR([v7])])]) | ||
3617 | 1144 | _AM_IF_OPTION([no-dependencies],, | ||
3618 | 1145 | [AC_PROVIDE_IFELSE([AC_PROG_CC], | ||
3619 | 1146 | [_AM_DEPENDENCIES(CC)], | ||
3620 | 1147 | [define([AC_PROG_CC], | ||
3621 | 1148 | defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl | ||
3622 | 1149 | AC_PROVIDE_IFELSE([AC_PROG_CXX], | ||
3623 | 1150 | [_AM_DEPENDENCIES(CXX)], | ||
3624 | 1151 | [define([AC_PROG_CXX], | ||
3625 | 1152 | defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl | ||
3626 | 1153 | AC_PROVIDE_IFELSE([AC_PROG_OBJC], | ||
3627 | 1154 | [_AM_DEPENDENCIES(OBJC)], | ||
3628 | 1155 | [define([AC_PROG_OBJC], | ||
3629 | 1156 | defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl | ||
3630 | 1157 | ]) | ||
3631 | 1158 | _AM_IF_OPTION([silent-rules], [AC_REQUIRE([AM_SILENT_RULES])])dnl | ||
3632 | 1159 | dnl The `parallel-tests' driver may need to know about EXEEXT, so add the | ||
3633 | 1160 | dnl `am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This macro | ||
3634 | 1161 | dnl is hooked onto _AC_COMPILER_EXEEXT early, see below. | ||
3635 | 1162 | AC_CONFIG_COMMANDS_PRE(dnl | ||
3636 | 1163 | [m4_provide_if([_AM_COMPILER_EXEEXT], | ||
3637 | 1164 | [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl | ||
3638 | 1165 | ]) | ||
3639 | 1166 | |||
3640 | 1167 | dnl Hook into `_AC_COMPILER_EXEEXT' early to learn its expansion. Do not | ||
3641 | 1168 | dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further | ||
3642 | 1169 | dnl mangled by Autoconf and run in a shell conditional statement. | ||
3643 | 1170 | m4_define([_AC_COMPILER_EXEEXT], | ||
3644 | 1171 | m4_defn([_AC_COMPILER_EXEEXT])[m4_provide([_AM_COMPILER_EXEEXT])]) | ||
3645 | 1172 | |||
3646 | 1173 | |||
3647 | 1174 | # When config.status generates a header, we must update the stamp-h file. | ||
3648 | 1175 | # This file resides in the same directory as the config header | ||
3649 | 1176 | # that is generated. The stamp files are numbered to have different names. | ||
3650 | 1177 | |||
3651 | 1178 | # Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the | ||
3652 | 1179 | # loop where config.status creates the headers, so we can generate | ||
3653 | 1180 | # our stamp files there. | ||
3654 | 1181 | AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK], | ||
3655 | 1182 | [# Compute $1's index in $config_headers. | ||
3656 | 1183 | _am_arg=$1 | ||
3657 | 1184 | _am_stamp_count=1 | ||
3658 | 1185 | for _am_header in $config_headers :; do | ||
3659 | 1186 | case $_am_header in | ||
3660 | 1187 | $_am_arg | $_am_arg:* ) | ||
3661 | 1188 | break ;; | ||
3662 | 1189 | * ) | ||
3663 | 1190 | _am_stamp_count=`expr $_am_stamp_count + 1` ;; | ||
3664 | 1191 | esac | ||
3665 | 1192 | done | ||
3666 | 1193 | echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count]) | ||
3667 | 1194 | |||
3668 | 1195 | # Copyright (C) 2001, 2003, 2005, 2008 Free Software Foundation, Inc. | ||
3669 | 1196 | # | ||
3670 | 1197 | # This file is free software; the Free Software Foundation | ||
3671 | 1198 | # gives unlimited permission to copy and/or distribute it, | ||
3672 | 1199 | # with or without modifications, as long as this notice is preserved. | ||
3673 | 1200 | |||
3674 | 1201 | # AM_PROG_INSTALL_SH | ||
3675 | 1202 | # ------------------ | ||
3676 | 1203 | # Define $install_sh. | ||
3677 | 1204 | AC_DEFUN([AM_PROG_INSTALL_SH], | ||
3678 | 1205 | [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl | ||
3679 | 1206 | if test x"${install_sh}" != xset; then | ||
3680 | 1207 | case $am_aux_dir in | ||
3681 | 1208 | *\ * | *\ *) | ||
3682 | 1209 | install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; | ||
3683 | 1210 | *) | ||
3684 | 1211 | install_sh="\${SHELL} $am_aux_dir/install-sh" | ||
3685 | 1212 | esac | ||
3686 | 1213 | fi | ||
3687 | 1214 | AC_SUBST(install_sh)]) | ||
3688 | 1215 | |||
3689 | 1216 | # Copyright (C) 2003, 2005 Free Software Foundation, Inc. | ||
3690 | 1217 | # | ||
3691 | 1218 | # This file is free software; the Free Software Foundation | ||
3692 | 1219 | # gives unlimited permission to copy and/or distribute it, | ||
3693 | 1220 | # with or without modifications, as long as this notice is preserved. | ||
3694 | 1221 | |||
3695 | 1222 | # serial 2 | ||
3696 | 1223 | |||
3697 | 1224 | # Check whether the underlying file-system supports filenames | ||
3698 | 1225 | # with a leading dot. For instance MS-DOS doesn't. | ||
3699 | 1226 | AC_DEFUN([AM_SET_LEADING_DOT], | ||
3700 | 1227 | [rm -rf .tst 2>/dev/null | ||
3701 | 1228 | mkdir .tst 2>/dev/null | ||
3702 | 1229 | if test -d .tst; then | ||
3703 | 1230 | am__leading_dot=. | ||
3704 | 1231 | else | ||
3705 | 1232 | am__leading_dot=_ | ||
3706 | 1233 | fi | ||
3707 | 1234 | rmdir .tst 2>/dev/null | ||
3708 | 1235 | AC_SUBST([am__leading_dot])]) | ||
3709 | 1236 | |||
3710 | 1237 | # Add --enable-maintainer-mode option to configure. -*- Autoconf -*- | ||
3711 | 1238 | # From Jim Meyering | ||
3712 | 1239 | |||
3713 | 1240 | # Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004, 2005, 2008 | ||
3714 | 1241 | # Free Software Foundation, Inc. | ||
3715 | 1242 | # | ||
3716 | 1243 | # This file is free software; the Free Software Foundation | ||
3717 | 1244 | # gives unlimited permission to copy and/or distribute it, | ||
3718 | 1245 | # with or without modifications, as long as this notice is preserved. | ||
3719 | 1246 | |||
3720 | 1247 | # serial 5 | ||
3721 | 1248 | |||
3722 | 1249 | # AM_MAINTAINER_MODE([DEFAULT-MODE]) | ||
3723 | 1250 | # ---------------------------------- | ||
3724 | 1251 | # Control maintainer-specific portions of Makefiles. | ||
3725 | 1252 | # Default is to disable them, unless `enable' is passed literally. | ||
3726 | 1253 | # For symmetry, `disable' may be passed as well. Anyway, the user | ||
3727 | 1254 | # can override the default with the --enable/--disable switch. | ||
3728 | 1255 | AC_DEFUN([AM_MAINTAINER_MODE], | ||
3729 | 1256 | [m4_case(m4_default([$1], [disable]), | ||
3730 | 1257 | [enable], [m4_define([am_maintainer_other], [disable])], | ||
3731 | 1258 | [disable], [m4_define([am_maintainer_other], [enable])], | ||
3732 | 1259 | [m4_define([am_maintainer_other], [enable]) | ||
3733 | 1260 | m4_warn([syntax], [unexpected argument to AM@&t@_MAINTAINER_MODE: $1])]) | ||
3734 | 1261 | AC_MSG_CHECKING([whether to am_maintainer_other maintainer-specific portions of Makefiles]) | ||
3735 | 1262 | dnl maintainer-mode's default is 'disable' unless 'enable' is passed | ||
3736 | 1263 | AC_ARG_ENABLE([maintainer-mode], | ||
3737 | 1264 | [ --][am_maintainer_other][-maintainer-mode am_maintainer_other make rules and dependencies not useful | ||
3738 | 1265 | (and sometimes confusing) to the casual installer], | ||
3739 | 1266 | [USE_MAINTAINER_MODE=$enableval], | ||
3740 | 1267 | [USE_MAINTAINER_MODE=]m4_if(am_maintainer_other, [enable], [no], [yes])) | ||
3741 | 1268 | AC_MSG_RESULT([$USE_MAINTAINER_MODE]) | ||
3742 | 1269 | AM_CONDITIONAL([MAINTAINER_MODE], [test $USE_MAINTAINER_MODE = yes]) | ||
3743 | 1270 | MAINT=$MAINTAINER_MODE_TRUE | ||
3744 | 1271 | AC_SUBST([MAINT])dnl | ||
3745 | 1272 | ] | ||
3746 | 1273 | ) | ||
3747 | 1274 | |||
3748 | 1275 | AU_DEFUN([jm_MAINTAINER_MODE], [AM_MAINTAINER_MODE]) | ||
3749 | 1276 | |||
3750 | 1277 | # Check to see how 'make' treats includes. -*- Autoconf -*- | ||
3751 | 1278 | |||
3752 | 1279 | # Copyright (C) 2001, 2002, 2003, 2005, 2009 Free Software Foundation, Inc. | ||
3753 | 1280 | # | ||
3754 | 1281 | # This file is free software; the Free Software Foundation | ||
3755 | 1282 | # gives unlimited permission to copy and/or distribute it, | ||
3756 | 1283 | # with or without modifications, as long as this notice is preserved. | ||
3757 | 1284 | |||
3758 | 1285 | # serial 4 | ||
3759 | 1286 | |||
3760 | 1287 | # AM_MAKE_INCLUDE() | ||
3761 | 1288 | # ----------------- | ||
3762 | 1289 | # Check to see how make treats includes. | ||
3763 | 1290 | AC_DEFUN([AM_MAKE_INCLUDE], | ||
3764 | 1291 | [am_make=${MAKE-make} | ||
3765 | 1292 | cat > confinc << 'END' | ||
3766 | 1293 | am__doit: | ||
3767 | 1294 | @echo this is the am__doit target | ||
3768 | 1295 | .PHONY: am__doit | ||
3769 | 1296 | END | ||
3770 | 1297 | # If we don't find an include directive, just comment out the code. | ||
3771 | 1298 | AC_MSG_CHECKING([for style of include used by $am_make]) | ||
3772 | 1299 | am__include="#" | ||
3773 | 1300 | am__quote= | ||
3774 | 1301 | _am_result=none | ||
3775 | 1302 | # First try GNU make style include. | ||
3776 | 1303 | echo "include confinc" > confmf | ||
3777 | 1304 | # Ignore all kinds of additional output from `make'. | ||
3778 | 1305 | case `$am_make -s -f confmf 2> /dev/null` in #( | ||
3779 | 1306 | *the\ am__doit\ target*) | ||
3780 | 1307 | am__include=include | ||
3781 | 1308 | am__quote= | ||
3782 | 1309 | _am_result=GNU | ||
3783 | 1310 | ;; | ||
3784 | 1311 | esac | ||
3785 | 1312 | # Now try BSD make style include. | ||
3786 | 1313 | if test "$am__include" = "#"; then | ||
3787 | 1314 | echo '.include "confinc"' > confmf | ||
3788 | 1315 | case `$am_make -s -f confmf 2> /dev/null` in #( | ||
3789 | 1316 | *the\ am__doit\ target*) | ||
3790 | 1317 | am__include=.include | ||
3791 | 1318 | am__quote="\"" | ||
3792 | 1319 | _am_result=BSD | ||
3793 | 1320 | ;; | ||
3794 | 1321 | esac | ||
3795 | 1322 | fi | ||
3796 | 1323 | AC_SUBST([am__include]) | ||
3797 | 1324 | AC_SUBST([am__quote]) | ||
3798 | 1325 | AC_MSG_RESULT([$_am_result]) | ||
3799 | 1326 | rm -f confinc confmf | ||
3800 | 1327 | ]) | ||
3801 | 1328 | |||
3802 | 1329 | # Fake the existence of programs that GNU maintainers use. -*- Autoconf -*- | ||
3803 | 1330 | |||
3804 | 1331 | # Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005, 2008 | ||
3805 | 1332 | # Free Software Foundation, Inc. | ||
3806 | 1333 | # | ||
3807 | 1334 | # This file is free software; the Free Software Foundation | ||
3808 | 1335 | # gives unlimited permission to copy and/or distribute it, | ||
3809 | 1336 | # with or without modifications, as long as this notice is preserved. | ||
3810 | 1337 | |||
3811 | 1338 | # serial 6 | ||
3812 | 1339 | |||
3813 | 1340 | # AM_MISSING_PROG(NAME, PROGRAM) | ||
3814 | 1341 | # ------------------------------ | ||
3815 | 1342 | AC_DEFUN([AM_MISSING_PROG], | ||
3816 | 1343 | [AC_REQUIRE([AM_MISSING_HAS_RUN]) | ||
3817 | 1344 | $1=${$1-"${am_missing_run}$2"} | ||
3818 | 1345 | AC_SUBST($1)]) | ||
3819 | 1346 | |||
3820 | 1347 | |||
3821 | 1348 | # AM_MISSING_HAS_RUN | ||
3822 | 1349 | # ------------------ | ||
3823 | 1350 | # Define MISSING if not defined so far and test if it supports --run. | ||
3824 | 1351 | # If it does, set am_missing_run to use it, otherwise, to nothing. | ||
3825 | 1352 | AC_DEFUN([AM_MISSING_HAS_RUN], | ||
3826 | 1353 | [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl | ||
3827 | 1354 | AC_REQUIRE_AUX_FILE([missing])dnl | ||
3828 | 1355 | if test x"${MISSING+set}" != xset; then | ||
3829 | 1356 | case $am_aux_dir in | ||
3830 | 1357 | *\ * | *\ *) | ||
3831 | 1358 | MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; | ||
3832 | 1359 | *) | ||
3833 | 1360 | MISSING="\${SHELL} $am_aux_dir/missing" ;; | ||
3834 | 1361 | esac | ||
3835 | 1362 | fi | ||
3836 | 1363 | # Use eval to expand $SHELL | ||
3837 | 1364 | if eval "$MISSING --run true"; then | ||
3838 | 1365 | am_missing_run="$MISSING --run " | ||
3839 | 1366 | else | ||
3840 | 1367 | am_missing_run= | ||
3841 | 1368 | AC_MSG_WARN([`missing' script is too old or missing]) | ||
3842 | 1369 | fi | ||
3843 | 1370 | ]) | ||
3844 | 1371 | |||
3845 | 1372 | # Copyright (C) 2003, 2004, 2005, 2006 Free Software Foundation, Inc. | ||
3846 | 1373 | # | ||
3847 | 1374 | # This file is free software; the Free Software Foundation | ||
3848 | 1375 | # gives unlimited permission to copy and/or distribute it, | ||
3849 | 1376 | # with or without modifications, as long as this notice is preserved. | ||
3850 | 1377 | |||
3851 | 1378 | # AM_PROG_MKDIR_P | ||
3852 | 1379 | # --------------- | ||
3853 | 1380 | # Check for `mkdir -p'. | ||
3854 | 1381 | AC_DEFUN([AM_PROG_MKDIR_P], | ||
3855 | 1382 | [AC_PREREQ([2.60])dnl | ||
3856 | 1383 | AC_REQUIRE([AC_PROG_MKDIR_P])dnl | ||
3857 | 1384 | dnl Automake 1.8 to 1.9.6 used to define mkdir_p. We now use MKDIR_P, | ||
3858 | 1385 | dnl while keeping a definition of mkdir_p for backward compatibility. | ||
3859 | 1386 | dnl @MKDIR_P@ is magic: AC_OUTPUT adjusts its value for each Makefile. | ||
3860 | 1387 | dnl However we cannot define mkdir_p as $(MKDIR_P) for the sake of | ||
3861 | 1388 | dnl Makefile.ins that do not define MKDIR_P, so we do our own | ||
3862 | 1389 | dnl adjustment using top_builddir (which is defined more often than | ||
3863 | 1390 | dnl MKDIR_P). | ||
3864 | 1391 | AC_SUBST([mkdir_p], ["$MKDIR_P"])dnl | ||
3865 | 1392 | case $mkdir_p in | ||
3866 | 1393 | [[\\/$]]* | ?:[[\\/]]*) ;; | ||
3867 | 1394 | */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; | ||
3868 | 1395 | esac | ||
3869 | 1396 | ]) | ||
3870 | 1397 | |||
3871 | 1398 | # Helper functions for option handling. -*- Autoconf -*- | ||
3872 | 1399 | |||
3873 | 1400 | # Copyright (C) 2001, 2002, 2003, 2005, 2008 Free Software Foundation, Inc. | ||
3874 | 1401 | # | ||
3875 | 1402 | # This file is free software; the Free Software Foundation | ||
3876 | 1403 | # gives unlimited permission to copy and/or distribute it, | ||
3877 | 1404 | # with or without modifications, as long as this notice is preserved. | ||
3878 | 1405 | |||
3879 | 1406 | # serial 4 | ||
3880 | 1407 | |||
3881 | 1408 | # _AM_MANGLE_OPTION(NAME) | ||
3882 | 1409 | # ----------------------- | ||
3883 | 1410 | AC_DEFUN([_AM_MANGLE_OPTION], | ||
3884 | 1411 | [[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])]) | ||
3885 | 1412 | |||
3886 | 1413 | # _AM_SET_OPTION(NAME) | ||
3887 | 1414 | # ------------------------------ | ||
3888 | 1415 | # Set option NAME. Presently that only means defining a flag for this option. | ||
3889 | 1416 | AC_DEFUN([_AM_SET_OPTION], | ||
3890 | 1417 | [m4_define(_AM_MANGLE_OPTION([$1]), 1)]) | ||
3891 | 1418 | |||
3892 | 1419 | # _AM_SET_OPTIONS(OPTIONS) | ||
3893 | 1420 | # ---------------------------------- | ||
3894 | 1421 | # OPTIONS is a space-separated list of Automake options. | ||
3895 | 1422 | AC_DEFUN([_AM_SET_OPTIONS], | ||
3896 | 1423 | [m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])]) | ||
3897 | 1424 | |||
3898 | 1425 | # _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET]) | ||
3899 | 1426 | # ------------------------------------------- | ||
3900 | 1427 | # Execute IF-SET if OPTION is set, IF-NOT-SET otherwise. | ||
3901 | 1428 | AC_DEFUN([_AM_IF_OPTION], | ||
3902 | 1429 | [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])]) | ||
3903 | 1430 | |||
3904 | 1431 | # Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2008, 2009 | ||
3905 | 1432 | # Free Software Foundation, Inc. | ||
3906 | 1433 | # | ||
3907 | 1434 | # This file is free software; the Free Software Foundation | ||
3908 | 1435 | # gives unlimited permission to copy and/or distribute it, | ||
3909 | 1436 | # with or without modifications, as long as this notice is preserved. | ||
3910 | 1437 | |||
3911 | 1438 | # AM_PATH_PYTHON([MINIMUM-VERSION], [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND]) | ||
3912 | 1439 | # --------------------------------------------------------------------------- | ||
3913 | 1440 | # Adds support for distributing Python modules and packages. To | ||
3914 | 1441 | # install modules, copy them to $(pythondir), using the python_PYTHON | ||
3915 | 1442 | # automake variable. To install a package with the same name as the | ||
3916 | 1443 | # automake package, install to $(pkgpythondir), or use the | ||
3917 | 1444 | # pkgpython_PYTHON automake variable. | ||
3918 | 1445 | # | ||
3919 | 1446 | # The variables $(pyexecdir) and $(pkgpyexecdir) are provided as | ||
3920 | 1447 | # locations to install python extension modules (shared libraries). | ||
3921 | 1448 | # Another macro is required to find the appropriate flags to compile | ||
3922 | 1449 | # extension modules. | ||
3923 | 1450 | # | ||
3924 | 1451 | # If your package is configured with a different prefix to python, | ||
3925 | 1452 | # users will have to add the install directory to the PYTHONPATH | ||
3926 | 1453 | # environment variable, or create a .pth file (see the python | ||
3927 | 1454 | # documentation for details). | ||
3928 | 1455 | # | ||
3929 | 1456 | # If the MINIMUM-VERSION argument is passed, AM_PATH_PYTHON will | ||
3930 | 1457 | # cause an error if the version of python installed on the system | ||
3931 | 1458 | # doesn't meet the requirement. MINIMUM-VERSION should consist of | ||
3932 | 1459 | # numbers and dots only. | ||
3933 | 1460 | AC_DEFUN([AM_PATH_PYTHON], | ||
3934 | 1461 | [ | ||
3935 | 1462 | dnl Find a Python interpreter. Python versions prior to 2.0 are not | ||
3936 | 1463 | dnl supported. (2.0 was released on October 16, 2000). | ||
3937 | 1464 | m4_define_default([_AM_PYTHON_INTERPRETER_LIST], | ||
3938 | 1465 | [python python2 python3 python3.2 python3.1 python3.0 python2.7 python2.6 python2.5 python2.4 python2.3 python2.2 dnl | ||
3939 | 1466 | python2.1 python2.0]) | ||
3940 | 1467 | |||
3941 | 1468 | m4_if([$1],[],[ | ||
3942 | 1469 | dnl No version check is needed. | ||
3943 | 1470 | # Find any Python interpreter. | ||
3944 | 1471 | if test -z "$PYTHON"; then | ||
3945 | 1472 | AC_PATH_PROGS([PYTHON], _AM_PYTHON_INTERPRETER_LIST, :) | ||
3946 | 1473 | fi | ||
3947 | 1474 | am_display_PYTHON=python | ||
3948 | 1475 | ], [ | ||
3949 | 1476 | dnl A version check is needed. | ||
3950 | 1477 | if test -n "$PYTHON"; then | ||
3951 | 1478 | # If the user set $PYTHON, use it and don't search something else. | ||
3952 | 1479 | AC_MSG_CHECKING([whether $PYTHON version >= $1]) | ||
3953 | 1480 | AM_PYTHON_CHECK_VERSION([$PYTHON], [$1], | ||
3954 | 1481 | [AC_MSG_RESULT(yes)], | ||
3955 | 1482 | [AC_MSG_ERROR(too old)]) | ||
3956 | 1483 | am_display_PYTHON=$PYTHON | ||
3957 | 1484 | else | ||
3958 | 1485 | # Otherwise, try each interpreter until we find one that satisfies | ||
3959 | 1486 | # VERSION. | ||
3960 | 1487 | AC_CACHE_CHECK([for a Python interpreter with version >= $1], | ||
3961 | 1488 | [am_cv_pathless_PYTHON],[ | ||
3962 | 1489 | for am_cv_pathless_PYTHON in _AM_PYTHON_INTERPRETER_LIST none; do | ||
3963 | 1490 | test "$am_cv_pathless_PYTHON" = none && break | ||
3964 | 1491 | AM_PYTHON_CHECK_VERSION([$am_cv_pathless_PYTHON], [$1], [break]) | ||
3965 | 1492 | done]) | ||
3966 | 1493 | # Set $PYTHON to the absolute path of $am_cv_pathless_PYTHON. | ||
3967 | 1494 | if test "$am_cv_pathless_PYTHON" = none; then | ||
3968 | 1495 | PYTHON=: | ||
3969 | 1496 | else | ||
3970 | 1497 | AC_PATH_PROG([PYTHON], [$am_cv_pathless_PYTHON]) | ||
3971 | 1498 | fi | ||
3972 | 1499 | am_display_PYTHON=$am_cv_pathless_PYTHON | ||
3973 | 1500 | fi | ||
3974 | 1501 | ]) | ||
3975 | 1502 | |||
3976 | 1503 | if test "$PYTHON" = :; then | ||
3977 | 1504 | dnl Run any user-specified action, or abort. | ||
3978 | 1505 | m4_default([$3], [AC_MSG_ERROR([no suitable Python interpreter found])]) | ||
3979 | 1506 | else | ||
3980 | 1507 | |||
3981 | 1508 | dnl Query Python for its version number. Getting [:3] seems to be | ||
3982 | 1509 | dnl the best way to do this; it's what "site.py" does in the standard | ||
3983 | 1510 | dnl library. | ||
3984 | 1511 | |||
3985 | 1512 | AC_CACHE_CHECK([for $am_display_PYTHON version], [am_cv_python_version], | ||
3986 | 1513 | [am_cv_python_version=`$PYTHON -c "import sys; sys.stdout.write(sys.version[[:3]])"`]) | ||
3987 | 1514 | AC_SUBST([PYTHON_VERSION], [$am_cv_python_version]) | ||
3988 | 1515 | |||
3989 | 1516 | dnl Use the values of $prefix and $exec_prefix for the corresponding | ||
3990 | 1517 | dnl values of PYTHON_PREFIX and PYTHON_EXEC_PREFIX. These are made | ||
3991 | 1518 | dnl distinct variables so they can be overridden if need be. However, | ||
3992 | 1519 | dnl general consensus is that you shouldn't need this ability. | ||
3993 | 1520 | |||
3994 | 1521 | AC_SUBST([PYTHON_PREFIX], ['${prefix}']) | ||
3995 | 1522 | AC_SUBST([PYTHON_EXEC_PREFIX], ['${exec_prefix}']) | ||
3996 | 1523 | |||
3997 | 1524 | dnl At times (like when building shared libraries) you may want | ||
3998 | 1525 | dnl to know which OS platform Python thinks this is. | ||
3999 | 1526 | |||
4000 | 1527 | AC_CACHE_CHECK([for $am_display_PYTHON platform], [am_cv_python_platform], | ||
4001 | 1528 | [am_cv_python_platform=`$PYTHON -c "import sys; sys.stdout.write(sys.platform)"`]) | ||
4002 | 1529 | AC_SUBST([PYTHON_PLATFORM], [$am_cv_python_platform]) | ||
4003 | 1530 | |||
4004 | 1531 | |||
4005 | 1532 | dnl Set up 4 directories: | ||
4006 | 1533 | |||
4007 | 1534 | dnl pythondir -- where to install python scripts. This is the | ||
4008 | 1535 | dnl site-packages directory, not the python standard library | ||
4009 | 1536 | dnl directory like in previous automake betas. This behavior | ||
4010 | 1537 | dnl is more consistent with lispdir.m4 for example. | ||
4011 | 1538 | dnl Query distutils for this directory. distutils does not exist in | ||
4012 | 1539 | dnl Python 1.5, so we fall back to the hardcoded directory if it | ||
4013 | 1540 | dnl doesn't work. | ||
4014 | 1541 | AC_CACHE_CHECK([for $am_display_PYTHON script directory], | ||
4015 | 1542 | [am_cv_python_pythondir], | ||
4016 | 1543 | [if test "x$prefix" = xNONE | ||
4017 | 1544 | then | ||
4018 | 1545 | am_py_prefix=$ac_default_prefix | ||
4019 | 1546 | else | ||
4020 | 1547 | am_py_prefix=$prefix | ||
4021 | 1548 | fi | ||
4022 | 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 || | ||
4023 | 1550 | echo "$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages"` | ||
4024 | 1551 | case $am_cv_python_pythondir in | ||
4025 | 1552 | $am_py_prefix*) | ||
4026 | 1553 | am__strip_prefix=`echo "$am_py_prefix" | sed 's|.|.|g'` | ||
4027 | 1554 | am_cv_python_pythondir=`echo "$am_cv_python_pythondir" | sed "s,^$am__strip_prefix,$PYTHON_PREFIX,"` | ||
4028 | 1555 | ;; | ||
4029 | 1556 | *) | ||
4030 | 1557 | case $am_py_prefix in | ||
4031 | 1558 | /usr|/System*) ;; | ||
4032 | 1559 | *) | ||
4033 | 1560 | am_cv_python_pythondir=$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages | ||
4034 | 1561 | ;; | ||
4035 | 1562 | esac | ||
4036 | 1563 | ;; | ||
4037 | 1564 | esac | ||
4038 | 1565 | ]) | ||
4039 | 1566 | AC_SUBST([pythondir], [$am_cv_python_pythondir]) | ||
4040 | 1567 | |||
4041 | 1568 | dnl pkgpythondir -- $PACKAGE directory under pythondir. Was | ||
4042 | 1569 | dnl PYTHON_SITE_PACKAGE in previous betas, but this naming is | ||
4043 | 1570 | dnl more consistent with the rest of automake. | ||
4044 | 1571 | |||
4045 | 1572 | AC_SUBST([pkgpythondir], [\${pythondir}/$PACKAGE]) | ||
4046 | 1573 | |||
4047 | 1574 | dnl pyexecdir -- directory for installing python extension modules | ||
4048 | 1575 | dnl (shared libraries) | ||
4049 | 1576 | dnl Query distutils for this directory. distutils does not exist in | ||
4050 | 1577 | dnl Python 1.5, so we fall back to the hardcoded directory if it | ||
4051 | 1578 | dnl doesn't work. | ||
4052 | 1579 | AC_CACHE_CHECK([for $am_display_PYTHON extension module directory], | ||
4053 | 1580 | [am_cv_python_pyexecdir], | ||
4054 | 1581 | [if test "x$exec_prefix" = xNONE | ||
4055 | 1582 | then | ||
4056 | 1583 | am_py_exec_prefix=$am_py_prefix | ||
4057 | 1584 | else | ||
4058 | 1585 | am_py_exec_prefix=$exec_prefix | ||
4059 | 1586 | fi | ||
4060 | 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 || | ||
4061 | 1588 | echo "$PYTHON_EXEC_PREFIX/lib/python$PYTHON_VERSION/site-packages"` | ||
4062 | 1589 | case $am_cv_python_pyexecdir in | ||
4063 | 1590 | $am_py_exec_prefix*) | ||
4064 | 1591 | am__strip_prefix=`echo "$am_py_exec_prefix" | sed 's|.|.|g'` | ||
4065 | 1592 | am_cv_python_pyexecdir=`echo "$am_cv_python_pyexecdir" | sed "s,^$am__strip_prefix,$PYTHON_EXEC_PREFIX,"` | ||
4066 | 1593 | ;; | ||
4067 | 1594 | *) | ||
4068 | 1595 | case $am_py_exec_prefix in | ||
4069 | 1596 | /usr|/System*) ;; | ||
4070 | 1597 | *) | ||
4071 | 1598 | am_cv_python_pyexecdir=$PYTHON_EXEC_PREFIX/lib/python$PYTHON_VERSION/site-packages | ||
4072 | 1599 | ;; | ||
4073 | 1600 | esac | ||
4074 | 1601 | ;; | ||
4075 | 1602 | esac | ||
4076 | 1603 | ]) | ||
4077 | 1604 | AC_SUBST([pyexecdir], [$am_cv_python_pyexecdir]) | ||
4078 | 1605 | |||
4079 | 1606 | dnl pkgpyexecdir -- $(pyexecdir)/$(PACKAGE) | ||
4080 | 1607 | |||
4081 | 1608 | AC_SUBST([pkgpyexecdir], [\${pyexecdir}/$PACKAGE]) | ||
4082 | 1609 | |||
4083 | 1610 | dnl Run any user-specified action. | ||
4084 | 1611 | $2 | ||
4085 | 1612 | fi | ||
4086 | 1613 | |||
4087 | 1614 | ]) | ||
4088 | 1615 | |||
4089 | 1616 | |||
4090 | 1617 | # AM_PYTHON_CHECK_VERSION(PROG, VERSION, [ACTION-IF-TRUE], [ACTION-IF-FALSE]) | ||
4091 | 1618 | # --------------------------------------------------------------------------- | ||
4092 | 1619 | # Run ACTION-IF-TRUE if the Python interpreter PROG has version >= VERSION. | ||
4093 | 1620 | # Run ACTION-IF-FALSE otherwise. | ||
4094 | 1621 | # This test uses sys.hexversion instead of the string equivalent (first | ||
4095 | 1622 | # word of sys.version), in order to cope with versions such as 2.2c1. | ||
4096 | 1623 | # This supports Python 2.0 or higher. (2.0 was released on October 16, 2000). | ||
4097 | 1624 | AC_DEFUN([AM_PYTHON_CHECK_VERSION], | ||
4098 | 1625 | [prog="import sys | ||
4099 | 1626 | # split strings by '.' and convert to numeric. Append some zeros | ||
4100 | 1627 | # because we need at least 4 digits for the hex conversion. | ||
4101 | 1628 | # map returns an iterator in Python 3.0 and a list in 2.x | ||
4102 | 1629 | minver = list(map(int, '$2'.split('.'))) + [[0, 0, 0]] | ||
4103 | 1630 | minverhex = 0 | ||
4104 | 1631 | # xrange is not present in Python 3.0 and range returns an iterator | ||
4105 | 1632 | for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[[i]] | ||
4106 | 1633 | sys.exit(sys.hexversion < minverhex)" | ||
4107 | 1634 | AS_IF([AM_RUN_LOG([$1 -c "$prog"])], [$3], [$4])]) | ||
4108 | 1635 | |||
4109 | 1636 | # Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc. | ||
4110 | 1637 | # | ||
4111 | 1638 | # This file is free software; the Free Software Foundation | ||
4112 | 1639 | # gives unlimited permission to copy and/or distribute it, | ||
4113 | 1640 | # with or without modifications, as long as this notice is preserved. | ||
4114 | 1641 | |||
4115 | 1642 | # AM_RUN_LOG(COMMAND) | ||
4116 | 1643 | # ------------------- | ||
4117 | 1644 | # Run COMMAND, save the exit status in ac_status, and log it. | ||
4118 | 1645 | # (This has been adapted from Autoconf's _AC_RUN_LOG macro.) | ||
4119 | 1646 | AC_DEFUN([AM_RUN_LOG], | ||
4120 | 1647 | [{ echo "$as_me:$LINENO: $1" >&AS_MESSAGE_LOG_FD | ||
4121 | 1648 | ($1) >&AS_MESSAGE_LOG_FD 2>&AS_MESSAGE_LOG_FD | ||
4122 | 1649 | ac_status=$? | ||
4123 | 1650 | echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD | ||
4124 | 1651 | (exit $ac_status); }]) | ||
4125 | 1652 | |||
4126 | 1653 | # Check to make sure that the build environment is sane. -*- Autoconf -*- | ||
4127 | 1654 | |||
4128 | 1655 | # Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005, 2008 | ||
4129 | 1656 | # Free Software Foundation, Inc. | ||
4130 | 1657 | # | ||
4131 | 1658 | # This file is free software; the Free Software Foundation | ||
4132 | 1659 | # gives unlimited permission to copy and/or distribute it, | ||
4133 | 1660 | # with or without modifications, as long as this notice is preserved. | ||
4134 | 1661 | |||
4135 | 1662 | # serial 5 | ||
4136 | 1663 | |||
4137 | 1664 | # AM_SANITY_CHECK | ||
4138 | 1665 | # --------------- | ||
4139 | 1666 | AC_DEFUN([AM_SANITY_CHECK], | ||
4140 | 1667 | [AC_MSG_CHECKING([whether build environment is sane]) | ||
4141 | 1668 | # Just in case | ||
4142 | 1669 | sleep 1 | ||
4143 | 1670 | echo timestamp > conftest.file | ||
4144 | 1671 | # Reject unsafe characters in $srcdir or the absolute working directory | ||
4145 | 1672 | # name. Accept space and tab only in the latter. | ||
4146 | 1673 | am_lf=' | ||
4147 | 1674 | ' | ||
4148 | 1675 | case `pwd` in | ||
4149 | 1676 | *[[\\\"\#\$\&\'\`$am_lf]]*) | ||
4150 | 1677 | AC_MSG_ERROR([unsafe absolute working directory name]);; | ||
4151 | 1678 | esac | ||
4152 | 1679 | case $srcdir in | ||
4153 | 1680 | *[[\\\"\#\$\&\'\`$am_lf\ \ ]]*) | ||
4154 | 1681 | AC_MSG_ERROR([unsafe srcdir value: `$srcdir']);; | ||
4155 | 1682 | esac | ||
4156 | 1683 | |||
4157 | 1684 | # Do `set' in a subshell so we don't clobber the current shell's | ||
4158 | 1685 | # arguments. Must try -L first in case configure is actually a | ||
4159 | 1686 | # symlink; some systems play weird games with the mod time of symlinks | ||
4160 | 1687 | # (eg FreeBSD returns the mod time of the symlink's containing | ||
4161 | 1688 | # directory). | ||
4162 | 1689 | if ( | ||
4163 | 1690 | set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` | ||
4164 | 1691 | if test "$[*]" = "X"; then | ||
4165 | 1692 | # -L didn't work. | ||
4166 | 1693 | set X `ls -t "$srcdir/configure" conftest.file` | ||
4167 | 1694 | fi | ||
4168 | 1695 | rm -f conftest.file | ||
4169 | 1696 | if test "$[*]" != "X $srcdir/configure conftest.file" \ | ||
4170 | 1697 | && test "$[*]" != "X conftest.file $srcdir/configure"; then | ||
4171 | 1698 | |||
4172 | 1699 | # If neither matched, then we have a broken ls. This can happen | ||
4173 | 1700 | # if, for instance, CONFIG_SHELL is bash and it inherits a | ||
4174 | 1701 | # broken ls alias from the environment. This has actually | ||
4175 | 1702 | # happened. Such a system could not be considered "sane". | ||
4176 | 1703 | AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken | ||
4177 | 1704 | alias in your environment]) | ||
4178 | 1705 | fi | ||
4179 | 1706 | |||
4180 | 1707 | test "$[2]" = conftest.file | ||
4181 | 1708 | ) | ||
4182 | 1709 | then | ||
4183 | 1710 | # Ok. | ||
4184 | 1711 | : | ||
4185 | 1712 | else | ||
4186 | 1713 | AC_MSG_ERROR([newly created file is older than distributed files! | ||
4187 | 1714 | Check your system clock]) | ||
4188 | 1715 | fi | ||
4189 | 1716 | AC_MSG_RESULT(yes)]) | ||
4190 | 1717 | |||
4191 | 1718 | # Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc. | ||
4192 | 1719 | # | ||
4193 | 1720 | # This file is free software; the Free Software Foundation | ||
4194 | 1721 | # gives unlimited permission to copy and/or distribute it, | ||
4195 | 1722 | # with or without modifications, as long as this notice is preserved. | ||
4196 | 1723 | |||
4197 | 1724 | # AM_PROG_INSTALL_STRIP | ||
4198 | 1725 | # --------------------- | ||
4199 | 1726 | # One issue with vendor `install' (even GNU) is that you can't | ||
4200 | 1727 | # specify the program used to strip binaries. This is especially | ||
4201 | 1728 | # annoying in cross-compiling environments, where the build's strip | ||
4202 | 1729 | # is unlikely to handle the host's binaries. | ||
4203 | 1730 | # Fortunately install-sh will honor a STRIPPROG variable, so we | ||
4204 | 1731 | # always use install-sh in `make install-strip', and initialize | ||
4205 | 1732 | # STRIPPROG with the value of the STRIP variable (set by the user). | ||
4206 | 1733 | AC_DEFUN([AM_PROG_INSTALL_STRIP], | ||
4207 | 1734 | [AC_REQUIRE([AM_PROG_INSTALL_SH])dnl | ||
4208 | 1735 | # Installed binaries are usually stripped using `strip' when the user | ||
4209 | 1736 | # run `make install-strip'. However `strip' might not be the right | ||
4210 | 1737 | # tool to use in cross-compilation environments, therefore Automake | ||
4211 | 1738 | # will honor the `STRIP' environment variable to overrule this program. | ||
4212 | 1739 | dnl Don't test for $cross_compiling = yes, because it might be `maybe'. | ||
4213 | 1740 | if test "$cross_compiling" != no; then | ||
4214 | 1741 | AC_CHECK_TOOL([STRIP], [strip], :) | ||
4215 | 1742 | fi | ||
4216 | 1743 | INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" | ||
4217 | 1744 | AC_SUBST([INSTALL_STRIP_PROGRAM])]) | ||
4218 | 1745 | |||
4219 | 1746 | # Copyright (C) 2006, 2008 Free Software Foundation, Inc. | ||
4220 | 1747 | # | ||
4221 | 1748 | # This file is free software; the Free Software Foundation | ||
4222 | 1749 | # gives unlimited permission to copy and/or distribute it, | ||
4223 | 1750 | # with or without modifications, as long as this notice is preserved. | ||
4224 | 1751 | |||
4225 | 1752 | # serial 2 | ||
4226 | 1753 | |||
4227 | 1754 | # _AM_SUBST_NOTMAKE(VARIABLE) | ||
4228 | 1755 | # --------------------------- | ||
4229 | 1756 | # Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in. | ||
4230 | 1757 | # This macro is traced by Automake. | ||
4231 | 1758 | AC_DEFUN([_AM_SUBST_NOTMAKE]) | ||
4232 | 1759 | |||
4233 | 1760 | # AM_SUBST_NOTMAKE(VARIABLE) | ||
4234 | 1761 | # --------------------------- | ||
4235 | 1762 | # Public sister of _AM_SUBST_NOTMAKE. | ||
4236 | 1763 | AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)]) | ||
4237 | 1764 | |||
4238 | 1765 | # Check how to create a tarball. -*- Autoconf -*- | ||
4239 | 1766 | |||
4240 | 1767 | # Copyright (C) 2004, 2005 Free Software Foundation, Inc. | ||
4241 | 1768 | # | ||
4242 | 1769 | # This file is free software; the Free Software Foundation | ||
4243 | 1770 | # gives unlimited permission to copy and/or distribute it, | ||
4244 | 1771 | # with or without modifications, as long as this notice is preserved. | ||
4245 | 1772 | |||
4246 | 1773 | # serial 2 | ||
4247 | 1774 | |||
4248 | 1775 | # _AM_PROG_TAR(FORMAT) | ||
4249 | 1776 | # -------------------- | ||
4250 | 1777 | # Check how to create a tarball in format FORMAT. | ||
4251 | 1778 | # FORMAT should be one of `v7', `ustar', or `pax'. | ||
4252 | 1779 | # | ||
4253 | 1780 | # Substitute a variable $(am__tar) that is a command | ||
4254 | 1781 | # writing to stdout a FORMAT-tarball containing the directory | ||
4255 | 1782 | # $tardir. | ||
4256 | 1783 | # tardir=directory && $(am__tar) > result.tar | ||
4257 | 1784 | # | ||
4258 | 1785 | # Substitute a variable $(am__untar) that extract such | ||
4259 | 1786 | # a tarball read from stdin. | ||
4260 | 1787 | # $(am__untar) < result.tar | ||
4261 | 1788 | AC_DEFUN([_AM_PROG_TAR], | ||
4262 | 1789 | [# Always define AMTAR for backward compatibility. | ||
4263 | 1790 | AM_MISSING_PROG([AMTAR], [tar]) | ||
4264 | 1791 | m4_if([$1], [v7], | ||
4265 | 1792 | [am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'], | ||
4266 | 1793 | [m4_case([$1], [ustar],, [pax],, | ||
4267 | 1794 | [m4_fatal([Unknown tar format])]) | ||
4268 | 1795 | AC_MSG_CHECKING([how to create a $1 tar archive]) | ||
4269 | 1796 | # Loop over all known methods to create a tar archive until one works. | ||
4270 | 1797 | _am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none' | ||
4271 | 1798 | _am_tools=${am_cv_prog_tar_$1-$_am_tools} | ||
4272 | 1799 | # Do not fold the above two line into one, because Tru64 sh and | ||
4273 | 1800 | # Solaris sh will not grok spaces in the rhs of `-'. | ||
4274 | 1801 | for _am_tool in $_am_tools | ||
4275 | 1802 | do | ||
4276 | 1803 | case $_am_tool in | ||
4277 | 1804 | gnutar) | ||
4278 | 1805 | for _am_tar in tar gnutar gtar; | ||
4279 | 1806 | do | ||
4280 | 1807 | AM_RUN_LOG([$_am_tar --version]) && break | ||
4281 | 1808 | done | ||
4282 | 1809 | am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"' | ||
4283 | 1810 | am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"' | ||
4284 | 1811 | am__untar="$_am_tar -xf -" | ||
4285 | 1812 | ;; | ||
4286 | 1813 | plaintar) | ||
4287 | 1814 | # Must skip GNU tar: if it does not support --format= it doesn't create | ||
4288 | 1815 | # ustar tarball either. | ||
4289 | 1816 | (tar --version) >/dev/null 2>&1 && continue | ||
4290 | 1817 | am__tar='tar chf - "$$tardir"' | ||
4291 | 1818 | am__tar_='tar chf - "$tardir"' | ||
4292 | 1819 | am__untar='tar xf -' | ||
4293 | 1820 | ;; | ||
4294 | 1821 | pax) | ||
4295 | 1822 | am__tar='pax -L -x $1 -w "$$tardir"' | ||
4296 | 1823 | am__tar_='pax -L -x $1 -w "$tardir"' | ||
4297 | 1824 | am__untar='pax -r' | ||
4298 | 1825 | ;; | ||
4299 | 1826 | cpio) | ||
4300 | 1827 | am__tar='find "$$tardir" -print | cpio -o -H $1 -L' | ||
4301 | 1828 | am__tar_='find "$tardir" -print | cpio -o -H $1 -L' | ||
4302 | 1829 | am__untar='cpio -i -H $1 -d' | ||
4303 | 1830 | ;; | ||
4304 | 1831 | none) | ||
4305 | 1832 | am__tar=false | ||
4306 | 1833 | am__tar_=false | ||
4307 | 1834 | am__untar=false | ||
4308 | 1835 | ;; | ||
4309 | 1836 | esac | ||
4310 | 1837 | |||
4311 | 1838 | # If the value was cached, stop now. We just wanted to have am__tar | ||
4312 | 1839 | # and am__untar set. | ||
4313 | 1840 | test -n "${am_cv_prog_tar_$1}" && break | ||
4314 | 1841 | |||
4315 | 1842 | # tar/untar a dummy directory, and stop if the command works | ||
4316 | 1843 | rm -rf conftest.dir | ||
4317 | 1844 | mkdir conftest.dir | ||
4318 | 1845 | echo GrepMe > conftest.dir/file | ||
4319 | 1846 | AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar]) | ||
4320 | 1847 | rm -rf conftest.dir | ||
4321 | 1848 | if test -s conftest.tar; then | ||
4322 | 1849 | AM_RUN_LOG([$am__untar <conftest.tar]) | ||
4323 | 1850 | grep GrepMe conftest.dir/file >/dev/null 2>&1 && break | ||
4324 | 1851 | fi | ||
4325 | 1852 | done | ||
4326 | 1853 | rm -rf conftest.dir | ||
4327 | 1854 | |||
4328 | 1855 | AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool]) | ||
4329 | 1856 | AC_MSG_RESULT([$am_cv_prog_tar_$1])]) | ||
4330 | 1857 | AC_SUBST([am__tar]) | ||
4331 | 1858 | AC_SUBST([am__untar]) | ||
4332 | 1859 | ]) # _AM_PROG_TAR | ||
4333 | 1860 | |||
4334 | 1861 | m4_include([m4/gettext.m4]) | ||
4335 | 1862 | m4_include([m4/iconv.m4]) | ||
4336 | 1863 | m4_include([m4/lib-ld.m4]) | ||
4337 | 1864 | m4_include([m4/lib-link.m4]) | ||
4338 | 1865 | m4_include([m4/lib-prefix.m4]) | ||
4339 | 1866 | m4_include([m4/libtool.m4]) | ||
4340 | 1867 | m4_include([m4/ltoptions.m4]) | ||
4341 | 1868 | m4_include([m4/ltsugar.m4]) | ||
4342 | 1869 | m4_include([m4/ltversion.m4]) | ||
4343 | 1870 | m4_include([m4/lt~obsolete.m4]) | ||
4344 | 1871 | m4_include([m4/nls.m4]) | ||
4345 | 1872 | m4_include([m4/po.m4]) | ||
4346 | 1873 | m4_include([m4/progtest.m4]) | ||
4347 | 1874 | m4_include([acinclude.m4]) | ||
4348 | 0 | 1875 | ||
4349 | === added file 'autogen.sh' | |||
4350 | --- autogen.sh 1970-01-01 00:00:00 +0000 | |||
4351 | +++ autogen.sh 2011-01-24 18:52:52 +0000 | |||
4352 | @@ -0,0 +1,18 @@ | |||
4353 | 1 | #!/bin/sh | ||
4354 | 2 | |||
4355 | 3 | srcdir=`dirname $0` | ||
4356 | 4 | test -z "$srcdir" && srcdir=. | ||
4357 | 5 | |||
4358 | 6 | ORIGDIR=`pwd` | ||
4359 | 7 | cd $srcdir | ||
4360 | 8 | |||
4361 | 9 | libtoolize --force --copy || exit $? | ||
4362 | 10 | autopoint --force || exit $? | ||
4363 | 11 | aclocal -I m4 $ACLOCAL_FLAGS || exit $? | ||
4364 | 12 | autoconf || exit $? | ||
4365 | 13 | autoheader || exit $? | ||
4366 | 14 | automake -c -a || exit $? | ||
4367 | 15 | |||
4368 | 16 | cd "$ORIGDIR" | ||
4369 | 17 | |||
4370 | 18 | $srcdir/configure --enable-maintainer-mode "$@" || exit $? | ||
4371 | 0 | 19 | ||
4372 | === renamed file 'autogen.sh' => 'autogen.sh.moved' | |||
4373 | === added file 'config.guess' | |||
4374 | --- config.guess 1970-01-01 00:00:00 +0000 | |||
4375 | +++ config.guess 2011-01-24 18:52:52 +0000 | |||
4376 | @@ -0,0 +1,1502 @@ | |||
4377 | 1 | #! /bin/sh | ||
4378 | 2 | # Attempt to guess a canonical system name. | ||
4379 | 3 | # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, | ||
4380 | 4 | # 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 | ||
4381 | 5 | # Free Software Foundation, Inc. | ||
4382 | 6 | |||
4383 | 7 | timestamp='2009-12-30' | ||
4384 | 8 | |||
4385 | 9 | # This file is free software; you can redistribute it and/or modify it | ||
4386 | 10 | # under the terms of the GNU General Public License as published by | ||
4387 | 11 | # the Free Software Foundation; either version 2 of the License, or | ||
4388 | 12 | # (at your option) any later version. | ||
4389 | 13 | # | ||
4390 | 14 | # This program is distributed in the hope that it will be useful, but | ||
4391 | 15 | # WITHOUT ANY WARRANTY; without even the implied warranty of | ||
4392 | 16 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
4393 | 17 | # General Public License for more details. | ||
4394 | 18 | # | ||
4395 | 19 | # You should have received a copy of the GNU General Public License | ||
4396 | 20 | # along with this program; if not, write to the Free Software | ||
4397 | 21 | # Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA | ||
4398 | 22 | # 02110-1301, USA. | ||
4399 | 23 | # | ||
4400 | 24 | # As a special exception to the GNU General Public License, if you | ||
4401 | 25 | # distribute this file as part of a program that contains a | ||
4402 | 26 | # configuration script generated by Autoconf, you may include it under | ||
4403 | 27 | # the same distribution terms that you use for the rest of that program. | ||
4404 | 28 | |||
4405 | 29 | |||
4406 | 30 | # Originally written by Per Bothner. Please send patches (context | ||
4407 | 31 | # diff format) to <config-patches@gnu.org> and include a ChangeLog | ||
4408 | 32 | # entry. | ||
4409 | 33 | # | ||
4410 | 34 | # This script attempts to guess a canonical system name similar to | ||
4411 | 35 | # config.sub. If it succeeds, it prints the system name on stdout, and | ||
4412 | 36 | # exits with 0. Otherwise, it exits with 1. | ||
4413 | 37 | # | ||
4414 | 38 | # You can get the latest version of this script from: | ||
4415 | 39 | # http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD | ||
4416 | 40 | |||
4417 | 41 | me=`echo "$0" | sed -e 's,.*/,,'` | ||
4418 | 42 | |||
4419 | 43 | usage="\ | ||
4420 | 44 | Usage: $0 [OPTION] | ||
4421 | 45 | |||
4422 | 46 | Output the configuration name of the system \`$me' is run on. | ||
4423 | 47 | |||
4424 | 48 | Operation modes: | ||
4425 | 49 | -h, --help print this help, then exit | ||
4426 | 50 | -t, --time-stamp print date of last modification, then exit | ||
4427 | 51 | -v, --version print version number, then exit | ||
4428 | 52 | |||
4429 | 53 | Report bugs and patches to <config-patches@gnu.org>." | ||
4430 | 54 | |||
4431 | 55 | version="\ | ||
4432 | 56 | GNU config.guess ($timestamp) | ||
4433 | 57 | |||
4434 | 58 | Originally written by Per Bothner. | ||
4435 | 59 | Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, | ||
4436 | 60 | 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free | ||
4437 | 61 | Software Foundation, Inc. | ||
4438 | 62 | |||
4439 | 63 | This is free software; see the source for copying conditions. There is NO | ||
4440 | 64 | warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." | ||
4441 | 65 | |||
4442 | 66 | help=" | ||
4443 | 67 | Try \`$me --help' for more information." | ||
4444 | 68 | |||
4445 | 69 | # Parse command line | ||
4446 | 70 | while test $# -gt 0 ; do | ||
4447 | 71 | case $1 in | ||
4448 | 72 | --time-stamp | --time* | -t ) | ||
4449 | 73 | echo "$timestamp" ; exit ;; | ||
4450 | 74 | --version | -v ) | ||
4451 | 75 | echo "$version" ; exit ;; | ||
4452 | 76 | --help | --h* | -h ) | ||
4453 | 77 | echo "$usage"; exit ;; | ||
4454 | 78 | -- ) # Stop option processing | ||
4455 | 79 | shift; break ;; | ||
4456 | 80 | - ) # Use stdin as input. | ||
4457 | 81 | break ;; | ||
4458 | 82 | -* ) | ||
4459 | 83 | echo "$me: invalid option $1$help" >&2 | ||
4460 | 84 | exit 1 ;; | ||
4461 | 85 | * ) | ||
4462 | 86 | break ;; | ||
4463 | 87 | esac | ||
4464 | 88 | done | ||
4465 | 89 | |||
4466 | 90 | if test $# != 0; then | ||
4467 | 91 | echo "$me: too many arguments$help" >&2 | ||
4468 | 92 | exit 1 | ||
4469 | 93 | fi | ||
4470 | 94 | |||
4471 | 95 | trap 'exit 1' 1 2 15 | ||
4472 | 96 | |||
4473 | 97 | # CC_FOR_BUILD -- compiler used by this script. Note that the use of a | ||
4474 | 98 | # compiler to aid in system detection is discouraged as it requires | ||
4475 | 99 | # temporary files to be created and, as you can see below, it is a | ||
4476 | 100 | # headache to deal with in a portable fashion. | ||
4477 | 101 | |||
4478 | 102 | # Historically, `CC_FOR_BUILD' used to be named `HOST_CC'. We still | ||
4479 | 103 | # use `HOST_CC' if defined, but it is deprecated. | ||
4480 | 104 | |||
4481 | 105 | # Portable tmp directory creation inspired by the Autoconf team. | ||
4482 | 106 | |||
4483 | 107 | set_cc_for_build=' | ||
4484 | 108 | trap "exitcode=\$?; (rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null) && exit \$exitcode" 0 ; | ||
4485 | 109 | trap "rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null; exit 1" 1 2 13 15 ; | ||
4486 | 110 | : ${TMPDIR=/tmp} ; | ||
4487 | 111 | { tmp=`(umask 077 && mktemp -d "$TMPDIR/cgXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" ; } || | ||
4488 | 112 | { test -n "$RANDOM" && tmp=$TMPDIR/cg$$-$RANDOM && (umask 077 && mkdir $tmp) ; } || | ||
4489 | 113 | { tmp=$TMPDIR/cg-$$ && (umask 077 && mkdir $tmp) && echo "Warning: creating insecure temp directory" >&2 ; } || | ||
4490 | 114 | { echo "$me: cannot create a temporary directory in $TMPDIR" >&2 ; exit 1 ; } ; | ||
4491 | 115 | dummy=$tmp/dummy ; | ||
4492 | 116 | tmpfiles="$dummy.c $dummy.o $dummy.rel $dummy" ; | ||
4493 | 117 | case $CC_FOR_BUILD,$HOST_CC,$CC in | ||
4494 | 118 | ,,) echo "int x;" > $dummy.c ; | ||
4495 | 119 | for c in cc gcc c89 c99 ; do | ||
4496 | 120 | if ($c -c -o $dummy.o $dummy.c) >/dev/null 2>&1 ; then | ||
4497 | 121 | CC_FOR_BUILD="$c"; break ; | ||
4498 | 122 | fi ; | ||
4499 | 123 | done ; | ||
4500 | 124 | if test x"$CC_FOR_BUILD" = x ; then | ||
4501 | 125 | CC_FOR_BUILD=no_compiler_found ; | ||
4502 | 126 | fi | ||
4503 | 127 | ;; | ||
4504 | 128 | ,,*) CC_FOR_BUILD=$CC ;; | ||
4505 | 129 | ,*,*) CC_FOR_BUILD=$HOST_CC ;; | ||
4506 | 130 | esac ; set_cc_for_build= ;' | ||
4507 | 131 | |||
4508 | 132 | # This is needed to find uname on a Pyramid OSx when run in the BSD universe. | ||
4509 | 133 | # (ghazi@noc.rutgers.edu 1994-08-24) | ||
4510 | 134 | if (test -f /.attbin/uname) >/dev/null 2>&1 ; then | ||
4511 | 135 | PATH=$PATH:/.attbin ; export PATH | ||
4512 | 136 | fi | ||
4513 | 137 | |||
4514 | 138 | UNAME_MACHINE=`(uname -m) 2>/dev/null` || UNAME_MACHINE=unknown | ||
4515 | 139 | UNAME_RELEASE=`(uname -r) 2>/dev/null` || UNAME_RELEASE=unknown | ||
4516 | 140 | UNAME_SYSTEM=`(uname -s) 2>/dev/null` || UNAME_SYSTEM=unknown | ||
4517 | 141 | UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown | ||
4518 | 142 | |||
4519 | 143 | # Note: order is significant - the case branches are not exclusive. | ||
4520 | 144 | |||
4521 | 145 | case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in | ||
4522 | 146 | *:NetBSD:*:*) | ||
4523 | 147 | # NetBSD (nbsd) targets should (where applicable) match one or | ||
4524 | 148 | # more of the tupples: *-*-netbsdelf*, *-*-netbsdaout*, | ||
4525 | 149 | # *-*-netbsdecoff* and *-*-netbsd*. For targets that recently | ||
4526 | 150 | # switched to ELF, *-*-netbsd* would select the old | ||
4527 | 151 | # object file format. This provides both forward | ||
4528 | 152 | # compatibility and a consistent mechanism for selecting the | ||
4529 | 153 | # object file format. | ||
4530 | 154 | # | ||
4531 | 155 | # Note: NetBSD doesn't particularly care about the vendor | ||
4532 | 156 | # portion of the name. We always set it to "unknown". | ||
4533 | 157 | sysctl="sysctl -n hw.machine_arch" | ||
4534 | 158 | UNAME_MACHINE_ARCH=`(/sbin/$sysctl 2>/dev/null || \ | ||
4535 | 159 | /usr/sbin/$sysctl 2>/dev/null || echo unknown)` | ||
4536 | 160 | case "${UNAME_MACHINE_ARCH}" in | ||
4537 | 161 | armeb) machine=armeb-unknown ;; | ||
4538 | 162 | arm*) machine=arm-unknown ;; | ||
4539 | 163 | sh3el) machine=shl-unknown ;; | ||
4540 | 164 | sh3eb) machine=sh-unknown ;; | ||
4541 | 165 | sh5el) machine=sh5le-unknown ;; | ||
4542 | 166 | *) machine=${UNAME_MACHINE_ARCH}-unknown ;; | ||
4543 | 167 | esac | ||
4544 | 168 | # The Operating System including object format, if it has switched | ||
4545 | 169 | # to ELF recently, or will in the future. | ||
4546 | 170 | case "${UNAME_MACHINE_ARCH}" in | ||
4547 | 171 | arm*|i386|m68k|ns32k|sh3*|sparc|vax) | ||
4548 | 172 | eval $set_cc_for_build | ||
4549 | 173 | if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \ | ||
4550 | 174 | | grep -q __ELF__ | ||
4551 | 175 | then | ||
4552 | 176 | # Once all utilities can be ECOFF (netbsdecoff) or a.out (netbsdaout). | ||
4553 | 177 | # Return netbsd for either. FIX? | ||
4554 | 178 | os=netbsd | ||
4555 | 179 | else | ||
4556 | 180 | os=netbsdelf | ||
4557 | 181 | fi | ||
4558 | 182 | ;; | ||
4559 | 183 | *) | ||
4560 | 184 | os=netbsd | ||
4561 | 185 | ;; | ||
4562 | 186 | esac | ||
4563 | 187 | # The OS release | ||
4564 | 188 | # Debian GNU/NetBSD machines have a different userland, and | ||
4565 | 189 | # thus, need a distinct triplet. However, they do not need | ||
4566 | 190 | # kernel version information, so it can be replaced with a | ||
4567 | 191 | # suitable tag, in the style of linux-gnu. | ||
4568 | 192 | case "${UNAME_VERSION}" in | ||
4569 | 193 | Debian*) | ||
4570 | 194 | release='-gnu' | ||
4571 | 195 | ;; | ||
4572 | 196 | *) | ||
4573 | 197 | release=`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'` | ||
4574 | 198 | ;; | ||
4575 | 199 | esac | ||
4576 | 200 | # Since CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM: | ||
4577 | 201 | # contains redundant information, the shorter form: | ||
4578 | 202 | # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used. | ||
4579 | 203 | echo "${machine}-${os}${release}" | ||
4580 | 204 | exit ;; | ||
4581 | 205 | *:OpenBSD:*:*) | ||
4582 | 206 | UNAME_MACHINE_ARCH=`arch | sed 's/OpenBSD.//'` | ||
4583 | 207 | echo ${UNAME_MACHINE_ARCH}-unknown-openbsd${UNAME_RELEASE} | ||
4584 | 208 | exit ;; | ||
4585 | 209 | *:ekkoBSD:*:*) | ||
4586 | 210 | echo ${UNAME_MACHINE}-unknown-ekkobsd${UNAME_RELEASE} | ||
4587 | 211 | exit ;; | ||
4588 | 212 | *:SolidBSD:*:*) | ||
4589 | 213 | echo ${UNAME_MACHINE}-unknown-solidbsd${UNAME_RELEASE} | ||
4590 | 214 | exit ;; | ||
4591 | 215 | macppc:MirBSD:*:*) | ||
4592 | 216 | echo powerpc-unknown-mirbsd${UNAME_RELEASE} | ||
4593 | 217 | exit ;; | ||
4594 | 218 | *:MirBSD:*:*) | ||
4595 | 219 | echo ${UNAME_MACHINE}-unknown-mirbsd${UNAME_RELEASE} | ||
4596 | 220 | exit ;; | ||
4597 | 221 | alpha:OSF1:*:*) | ||
4598 | 222 | case $UNAME_RELEASE in | ||
4599 | 223 | *4.0) | ||
4600 | 224 | UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'` | ||
4601 | 225 | ;; | ||
4602 | 226 | *5.*) | ||
4603 | 227 | UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $4}'` | ||
4604 | 228 | ;; | ||
4605 | 229 | esac | ||
4606 | 230 | # According to Compaq, /usr/sbin/psrinfo has been available on | ||
4607 | 231 | # OSF/1 and Tru64 systems produced since 1995. I hope that | ||
4608 | 232 | # covers most systems running today. This code pipes the CPU | ||
4609 | 233 | # types through head -n 1, so we only detect the type of CPU 0. | ||
4610 | 234 | ALPHA_CPU_TYPE=`/usr/sbin/psrinfo -v | sed -n -e 's/^ The alpha \(.*\) processor.*$/\1/p' | head -n 1` | ||
4611 | 235 | case "$ALPHA_CPU_TYPE" in | ||
4612 | 236 | "EV4 (21064)") | ||
4613 | 237 | UNAME_MACHINE="alpha" ;; | ||
4614 | 238 | "EV4.5 (21064)") | ||
4615 | 239 | UNAME_MACHINE="alpha" ;; | ||
4616 | 240 | "LCA4 (21066/21068)") | ||
4617 | 241 | UNAME_MACHINE="alpha" ;; | ||
4618 | 242 | "EV5 (21164)") | ||
4619 | 243 | UNAME_MACHINE="alphaev5" ;; | ||
4620 | 244 | "EV5.6 (21164A)") | ||
4621 | 245 | UNAME_MACHINE="alphaev56" ;; | ||
4622 | 246 | "EV5.6 (21164PC)") | ||
4623 | 247 | UNAME_MACHINE="alphapca56" ;; | ||
4624 | 248 | "EV5.7 (21164PC)") | ||
4625 | 249 | UNAME_MACHINE="alphapca57" ;; | ||
4626 | 250 | "EV6 (21264)") | ||
4627 | 251 | UNAME_MACHINE="alphaev6" ;; | ||
4628 | 252 | "EV6.7 (21264A)") | ||
4629 | 253 | UNAME_MACHINE="alphaev67" ;; | ||
4630 | 254 | "EV6.8CB (21264C)") | ||
4631 | 255 | UNAME_MACHINE="alphaev68" ;; | ||
4632 | 256 | "EV6.8AL (21264B)") | ||
4633 | 257 | UNAME_MACHINE="alphaev68" ;; | ||
4634 | 258 | "EV6.8CX (21264D)") | ||
4635 | 259 | UNAME_MACHINE="alphaev68" ;; | ||
4636 | 260 | "EV6.9A (21264/EV69A)") | ||
4637 | 261 | UNAME_MACHINE="alphaev69" ;; | ||
4638 | 262 | "EV7 (21364)") | ||
4639 | 263 | UNAME_MACHINE="alphaev7" ;; | ||
4640 | 264 | "EV7.9 (21364A)") | ||
4641 | 265 | UNAME_MACHINE="alphaev79" ;; | ||
4642 | 266 | esac | ||
4643 | 267 | # A Pn.n version is a patched version. | ||
4644 | 268 | # A Vn.n version is a released version. | ||
4645 | 269 | # A Tn.n version is a released field test version. | ||
4646 | 270 | # A Xn.n version is an unreleased experimental baselevel. | ||
4647 | 271 | # 1.2 uses "1.2" for uname -r. | ||
4648 | 272 | echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[PVTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'` | ||
4649 | 273 | exit ;; | ||
4650 | 274 | Alpha\ *:Windows_NT*:*) | ||
4651 | 275 | # How do we know it's Interix rather than the generic POSIX subsystem? | ||
4652 | 276 | # Should we change UNAME_MACHINE based on the output of uname instead | ||
4653 | 277 | # of the specific Alpha model? | ||
4654 | 278 | echo alpha-pc-interix | ||
4655 | 279 | exit ;; | ||
4656 | 280 | 21064:Windows_NT:50:3) | ||
4657 | 281 | echo alpha-dec-winnt3.5 | ||
4658 | 282 | exit ;; | ||
4659 | 283 | Amiga*:UNIX_System_V:4.0:*) | ||
4660 | 284 | echo m68k-unknown-sysv4 | ||
4661 | 285 | exit ;; | ||
4662 | 286 | *:[Aa]miga[Oo][Ss]:*:*) | ||
4663 | 287 | echo ${UNAME_MACHINE}-unknown-amigaos | ||
4664 | 288 | exit ;; | ||
4665 | 289 | *:[Mm]orph[Oo][Ss]:*:*) | ||
4666 | 290 | echo ${UNAME_MACHINE}-unknown-morphos | ||
4667 | 291 | exit ;; | ||
4668 | 292 | *:OS/390:*:*) | ||
4669 | 293 | echo i370-ibm-openedition | ||
4670 | 294 | exit ;; | ||
4671 | 295 | *:z/VM:*:*) | ||
4672 | 296 | echo s390-ibm-zvmoe | ||
4673 | 297 | exit ;; | ||
4674 | 298 | *:OS400:*:*) | ||
4675 | 299 | echo powerpc-ibm-os400 | ||
4676 | 300 | exit ;; | ||
4677 | 301 | arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*) | ||
4678 | 302 | echo arm-acorn-riscix${UNAME_RELEASE} | ||
4679 | 303 | exit ;; | ||
4680 | 304 | arm:riscos:*:*|arm:RISCOS:*:*) | ||
4681 | 305 | echo arm-unknown-riscos | ||
4682 | 306 | exit ;; | ||
4683 | 307 | SR2?01:HI-UX/MPP:*:* | SR8000:HI-UX/MPP:*:*) | ||
4684 | 308 | echo hppa1.1-hitachi-hiuxmpp | ||
4685 | 309 | exit ;; | ||
4686 | 310 | Pyramid*:OSx*:*:* | MIS*:OSx*:*:* | MIS*:SMP_DC-OSx*:*:*) | ||
4687 | 311 | # akee@wpdis03.wpafb.af.mil (Earle F. Ake) contributed MIS and NILE. | ||
4688 | 312 | if test "`(/bin/universe) 2>/dev/null`" = att ; then | ||
4689 | 313 | echo pyramid-pyramid-sysv3 | ||
4690 | 314 | else | ||
4691 | 315 | echo pyramid-pyramid-bsd | ||
4692 | 316 | fi | ||
4693 | 317 | exit ;; | ||
4694 | 318 | NILE*:*:*:dcosx) | ||
4695 | 319 | echo pyramid-pyramid-svr4 | ||
4696 | 320 | exit ;; | ||
4697 | 321 | DRS?6000:unix:4.0:6*) | ||
4698 | 322 | echo sparc-icl-nx6 | ||
4699 | 323 | exit ;; | ||
4700 | 324 | DRS?6000:UNIX_SV:4.2*:7* | DRS?6000:isis:4.2*:7*) | ||
4701 | 325 | case `/usr/bin/uname -p` in | ||
4702 | 326 | sparc) echo sparc-icl-nx7; exit ;; | ||
4703 | 327 | esac ;; | ||
4704 | 328 | s390x:SunOS:*:*) | ||
4705 | 329 | echo ${UNAME_MACHINE}-ibm-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` | ||
4706 | 330 | exit ;; | ||
4707 | 331 | sun4H:SunOS:5.*:*) | ||
4708 | 332 | echo sparc-hal-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` | ||
4709 | 333 | exit ;; | ||
4710 | 334 | sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*) | ||
4711 | 335 | echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` | ||
4712 | 336 | exit ;; | ||
4713 | 337 | i86pc:AuroraUX:5.*:* | i86xen:AuroraUX:5.*:*) | ||
4714 | 338 | echo i386-pc-auroraux${UNAME_RELEASE} | ||
4715 | 339 | exit ;; | ||
4716 | 340 | i86pc:SunOS:5.*:* | i86xen:SunOS:5.*:*) | ||
4717 | 341 | eval $set_cc_for_build | ||
4718 | 342 | SUN_ARCH="i386" | ||
4719 | 343 | # If there is a compiler, see if it is configured for 64-bit objects. | ||
4720 | 344 | # Note that the Sun cc does not turn __LP64__ into 1 like gcc does. | ||
4721 | 345 | # This test works for both compilers. | ||
4722 | 346 | if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then | ||
4723 | 347 | if (echo '#ifdef __amd64'; echo IS_64BIT_ARCH; echo '#endif') | \ | ||
4724 | 348 | (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \ | ||
4725 | 349 | grep IS_64BIT_ARCH >/dev/null | ||
4726 | 350 | then | ||
4727 | 351 | SUN_ARCH="x86_64" | ||
4728 | 352 | fi | ||
4729 | 353 | fi | ||
4730 | 354 | echo ${SUN_ARCH}-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` | ||
4731 | 355 | exit ;; | ||
4732 | 356 | sun4*:SunOS:6*:*) | ||
4733 | 357 | # According to config.sub, this is the proper way to canonicalize | ||
4734 | 358 | # SunOS6. Hard to guess exactly what SunOS6 will be like, but | ||
4735 | 359 | # it's likely to be more like Solaris than SunOS4. | ||
4736 | 360 | echo sparc-sun-solaris3`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` | ||
4737 | 361 | exit ;; | ||
4738 | 362 | sun4*:SunOS:*:*) | ||
4739 | 363 | case "`/usr/bin/arch -k`" in | ||
4740 | 364 | Series*|S4*) | ||
4741 | 365 | UNAME_RELEASE=`uname -v` | ||
4742 | 366 | ;; | ||
4743 | 367 | esac | ||
4744 | 368 | # Japanese Language versions have a version number like `4.1.3-JL'. | ||
4745 | 369 | echo sparc-sun-sunos`echo ${UNAME_RELEASE}|sed -e 's/-/_/'` | ||
4746 | 370 | exit ;; | ||
4747 | 371 | sun3*:SunOS:*:*) | ||
4748 | 372 | echo m68k-sun-sunos${UNAME_RELEASE} | ||
4749 | 373 | exit ;; | ||
4750 | 374 | sun*:*:4.2BSD:*) | ||
4751 | 375 | UNAME_RELEASE=`(sed 1q /etc/motd | awk '{print substr($5,1,3)}') 2>/dev/null` | ||
4752 | 376 | test "x${UNAME_RELEASE}" = "x" && UNAME_RELEASE=3 | ||
4753 | 377 | case "`/bin/arch`" in | ||
4754 | 378 | sun3) | ||
4755 | 379 | echo m68k-sun-sunos${UNAME_RELEASE} | ||
4756 | 380 | ;; | ||
4757 | 381 | sun4) | ||
4758 | 382 | echo sparc-sun-sunos${UNAME_RELEASE} | ||
4759 | 383 | ;; | ||
4760 | 384 | esac | ||
4761 | 385 | exit ;; | ||
4762 | 386 | aushp:SunOS:*:*) | ||
4763 | 387 | echo sparc-auspex-sunos${UNAME_RELEASE} | ||
4764 | 388 | exit ;; | ||
4765 | 389 | # The situation for MiNT is a little confusing. The machine name | ||
4766 | 390 | # can be virtually everything (everything which is not | ||
4767 | 391 | # "atarist" or "atariste" at least should have a processor | ||
4768 | 392 | # > m68000). The system name ranges from "MiNT" over "FreeMiNT" | ||
4769 | 393 | # to the lowercase version "mint" (or "freemint"). Finally | ||
4770 | 394 | # the system name "TOS" denotes a system which is actually not | ||
4771 | 395 | # MiNT. But MiNT is downward compatible to TOS, so this should | ||
4772 | 396 | # be no problem. | ||
4773 | 397 | atarist[e]:*MiNT:*:* | atarist[e]:*mint:*:* | atarist[e]:*TOS:*:*) | ||
4774 | 398 | echo m68k-atari-mint${UNAME_RELEASE} | ||
4775 | 399 | exit ;; | ||
4776 | 400 | atari*:*MiNT:*:* | atari*:*mint:*:* | atarist[e]:*TOS:*:*) | ||
4777 | 401 | echo m68k-atari-mint${UNAME_RELEASE} | ||
4778 | 402 | exit ;; | ||
4779 | 403 | *falcon*:*MiNT:*:* | *falcon*:*mint:*:* | *falcon*:*TOS:*:*) | ||
4780 | 404 | echo m68k-atari-mint${UNAME_RELEASE} | ||
4781 | 405 | exit ;; | ||
4782 | 406 | milan*:*MiNT:*:* | milan*:*mint:*:* | *milan*:*TOS:*:*) | ||
4783 | 407 | echo m68k-milan-mint${UNAME_RELEASE} | ||
4784 | 408 | exit ;; | ||
4785 | 409 | hades*:*MiNT:*:* | hades*:*mint:*:* | *hades*:*TOS:*:*) | ||
4786 | 410 | echo m68k-hades-mint${UNAME_RELEASE} | ||
4787 | 411 | exit ;; | ||
4788 | 412 | *:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*) | ||
4789 | 413 | echo m68k-unknown-mint${UNAME_RELEASE} | ||
4790 | 414 | exit ;; | ||
4791 | 415 | m68k:machten:*:*) | ||
4792 | 416 | echo m68k-apple-machten${UNAME_RELEASE} | ||
4793 | 417 | exit ;; | ||
4794 | 418 | powerpc:machten:*:*) | ||
4795 | 419 | echo powerpc-apple-machten${UNAME_RELEASE} | ||
4796 | 420 | exit ;; | ||
4797 | 421 | RISC*:Mach:*:*) | ||
4798 | 422 | echo mips-dec-mach_bsd4.3 | ||
4799 | 423 | exit ;; | ||
4800 | 424 | RISC*:ULTRIX:*:*) | ||
4801 | 425 | echo mips-dec-ultrix${UNAME_RELEASE} | ||
4802 | 426 | exit ;; | ||
4803 | 427 | VAX*:ULTRIX*:*:*) | ||
4804 | 428 | echo vax-dec-ultrix${UNAME_RELEASE} | ||
4805 | 429 | exit ;; | ||
4806 | 430 | 2020:CLIX:*:* | 2430:CLIX:*:*) | ||
4807 | 431 | echo clipper-intergraph-clix${UNAME_RELEASE} | ||
4808 | 432 | exit ;; | ||
4809 | 433 | mips:*:*:UMIPS | mips:*:*:RISCos) | ||
4810 | 434 | eval $set_cc_for_build | ||
4811 | 435 | sed 's/^ //' << EOF >$dummy.c | ||
4812 | 436 | #ifdef __cplusplus | ||
4813 | 437 | #include <stdio.h> /* for printf() prototype */ | ||
4814 | 438 | int main (int argc, char *argv[]) { | ||
4815 | 439 | #else | ||
4816 | 440 | int main (argc, argv) int argc; char *argv[]; { | ||
4817 | 441 | #endif | ||
4818 | 442 | #if defined (host_mips) && defined (MIPSEB) | ||
4819 | 443 | #if defined (SYSTYPE_SYSV) | ||
4820 | 444 | printf ("mips-mips-riscos%ssysv\n", argv[1]); exit (0); | ||
4821 | 445 | #endif | ||
4822 | 446 | #if defined (SYSTYPE_SVR4) | ||
4823 | 447 | printf ("mips-mips-riscos%ssvr4\n", argv[1]); exit (0); | ||
4824 | 448 | #endif | ||
4825 | 449 | #if defined (SYSTYPE_BSD43) || defined(SYSTYPE_BSD) | ||
4826 | 450 | printf ("mips-mips-riscos%sbsd\n", argv[1]); exit (0); | ||
4827 | 451 | #endif | ||
4828 | 452 | #endif | ||
4829 | 453 | exit (-1); | ||
4830 | 454 | } | ||
4831 | 455 | EOF | ||
4832 | 456 | $CC_FOR_BUILD -o $dummy $dummy.c && | ||
4833 | 457 | dummyarg=`echo "${UNAME_RELEASE}" | sed -n 's/\([0-9]*\).*/\1/p'` && | ||
4834 | 458 | SYSTEM_NAME=`$dummy $dummyarg` && | ||
4835 | 459 | { echo "$SYSTEM_NAME"; exit; } | ||
4836 | 460 | echo mips-mips-riscos${UNAME_RELEASE} | ||
4837 | 461 | exit ;; | ||
4838 | 462 | Motorola:PowerMAX_OS:*:*) | ||
4839 | 463 | echo powerpc-motorola-powermax | ||
4840 | 464 | exit ;; | ||
4841 | 465 | Motorola:*:4.3:PL8-*) | ||
4842 | 466 | echo powerpc-harris-powermax | ||
4843 | 467 | exit ;; | ||
4844 | 468 | Night_Hawk:*:*:PowerMAX_OS | Synergy:PowerMAX_OS:*:*) | ||
4845 | 469 | echo powerpc-harris-powermax | ||
4846 | 470 | exit ;; | ||
4847 | 471 | Night_Hawk:Power_UNIX:*:*) | ||
4848 | 472 | echo powerpc-harris-powerunix | ||
4849 | 473 | exit ;; | ||
4850 | 474 | m88k:CX/UX:7*:*) | ||
4851 | 475 | echo m88k-harris-cxux7 | ||
4852 | 476 | exit ;; | ||
4853 | 477 | m88k:*:4*:R4*) | ||
4854 | 478 | echo m88k-motorola-sysv4 | ||
4855 | 479 | exit ;; | ||
4856 | 480 | m88k:*:3*:R3*) | ||
4857 | 481 | echo m88k-motorola-sysv3 | ||
4858 | 482 | exit ;; | ||
4859 | 483 | AViiON:dgux:*:*) | ||
4860 | 484 | # DG/UX returns AViiON for all architectures | ||
4861 | 485 | UNAME_PROCESSOR=`/usr/bin/uname -p` | ||
4862 | 486 | if [ $UNAME_PROCESSOR = mc88100 ] || [ $UNAME_PROCESSOR = mc88110 ] | ||
4863 | 487 | then | ||
4864 | 488 | if [ ${TARGET_BINARY_INTERFACE}x = m88kdguxelfx ] || \ | ||
4865 | 489 | [ ${TARGET_BINARY_INTERFACE}x = x ] | ||
4866 | 490 | then | ||
4867 | 491 | echo m88k-dg-dgux${UNAME_RELEASE} | ||
4868 | 492 | else | ||
4869 | 493 | echo m88k-dg-dguxbcs${UNAME_RELEASE} | ||
4870 | 494 | fi | ||
4871 | 495 | else | ||
4872 | 496 | echo i586-dg-dgux${UNAME_RELEASE} | ||
4873 | 497 | fi | ||
4874 | 498 | exit ;; | ||
4875 | 499 | M88*:DolphinOS:*:*) # DolphinOS (SVR3) | ||
4876 | 500 | echo m88k-dolphin-sysv3 | ||
4877 | 501 | exit ;; | ||
4878 | 502 | M88*:*:R3*:*) | ||
4879 | 503 | # Delta 88k system running SVR3 | ||
4880 | 504 | echo m88k-motorola-sysv3 | ||
4881 | 505 | exit ;; | ||
4882 | 506 | XD88*:*:*:*) # Tektronix XD88 system running UTekV (SVR3) | ||
4883 | 507 | echo m88k-tektronix-sysv3 | ||
4884 | 508 | exit ;; | ||
4885 | 509 | Tek43[0-9][0-9]:UTek:*:*) # Tektronix 4300 system running UTek (BSD) | ||
4886 | 510 | echo m68k-tektronix-bsd | ||
4887 | 511 | exit ;; | ||
4888 | 512 | *:IRIX*:*:*) | ||
4889 | 513 | echo mips-sgi-irix`echo ${UNAME_RELEASE}|sed -e 's/-/_/g'` | ||
4890 | 514 | exit ;; | ||
4891 | 515 | ????????:AIX?:[12].1:2) # AIX 2.2.1 or AIX 2.1.1 is RT/PC AIX. | ||
4892 | 516 | echo romp-ibm-aix # uname -m gives an 8 hex-code CPU id | ||
4893 | 517 | exit ;; # Note that: echo "'`uname -s`'" gives 'AIX ' | ||
4894 | 518 | i*86:AIX:*:*) | ||
4895 | 519 | echo i386-ibm-aix | ||
4896 | 520 | exit ;; | ||
4897 | 521 | ia64:AIX:*:*) | ||
4898 | 522 | if [ -x /usr/bin/oslevel ] ; then | ||
4899 | 523 | IBM_REV=`/usr/bin/oslevel` | ||
4900 | 524 | else | ||
4901 | 525 | IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE} | ||
4902 | 526 | fi | ||
4903 | 527 | echo ${UNAME_MACHINE}-ibm-aix${IBM_REV} | ||
4904 | 528 | exit ;; | ||
4905 | 529 | *:AIX:2:3) | ||
4906 | 530 | if grep bos325 /usr/include/stdio.h >/dev/null 2>&1; then | ||
4907 | 531 | eval $set_cc_for_build | ||
4908 | 532 | sed 's/^ //' << EOF >$dummy.c | ||
4909 | 533 | #include <sys/systemcfg.h> | ||
4910 | 534 | |||
4911 | 535 | main() | ||
4912 | 536 | { | ||
4913 | 537 | if (!__power_pc()) | ||
4914 | 538 | exit(1); | ||
4915 | 539 | puts("powerpc-ibm-aix3.2.5"); | ||
4916 | 540 | exit(0); | ||
4917 | 541 | } | ||
4918 | 542 | EOF | ||
4919 | 543 | if $CC_FOR_BUILD -o $dummy $dummy.c && SYSTEM_NAME=`$dummy` | ||
4920 | 544 | then | ||
4921 | 545 | echo "$SYSTEM_NAME" | ||
4922 | 546 | else | ||
4923 | 547 | echo rs6000-ibm-aix3.2.5 | ||
4924 | 548 | fi | ||
4925 | 549 | elif grep bos324 /usr/include/stdio.h >/dev/null 2>&1; then | ||
4926 | 550 | echo rs6000-ibm-aix3.2.4 | ||
4927 | 551 | else | ||
4928 | 552 | echo rs6000-ibm-aix3.2 | ||
4929 | 553 | fi | ||
4930 | 554 | exit ;; | ||
4931 | 555 | *:AIX:*:[456]) | ||
4932 | 556 | IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'` | ||
4933 | 557 | if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then | ||
4934 | 558 | IBM_ARCH=rs6000 | ||
4935 | 559 | else | ||
4936 | 560 | IBM_ARCH=powerpc | ||
4937 | 561 | fi | ||
4938 | 562 | if [ -x /usr/bin/oslevel ] ; then | ||
4939 | 563 | IBM_REV=`/usr/bin/oslevel` | ||
4940 | 564 | else | ||
4941 | 565 | IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE} | ||
4942 | 566 | fi | ||
4943 | 567 | echo ${IBM_ARCH}-ibm-aix${IBM_REV} | ||
4944 | 568 | exit ;; | ||
4945 | 569 | *:AIX:*:*) | ||
4946 | 570 | echo rs6000-ibm-aix | ||
4947 | 571 | exit ;; | ||
4948 | 572 | ibmrt:4.4BSD:*|romp-ibm:BSD:*) | ||
4949 | 573 | echo romp-ibm-bsd4.4 | ||
4950 | 574 | exit ;; | ||
4951 | 575 | ibmrt:*BSD:*|romp-ibm:BSD:*) # covers RT/PC BSD and | ||
4952 | 576 | echo romp-ibm-bsd${UNAME_RELEASE} # 4.3 with uname added to | ||
4953 | 577 | exit ;; # report: romp-ibm BSD 4.3 | ||
4954 | 578 | *:BOSX:*:*) | ||
4955 | 579 | echo rs6000-bull-bosx | ||
4956 | 580 | exit ;; | ||
4957 | 581 | DPX/2?00:B.O.S.:*:*) | ||
4958 | 582 | echo m68k-bull-sysv3 | ||
4959 | 583 | exit ;; | ||
4960 | 584 | 9000/[34]??:4.3bsd:1.*:*) | ||
4961 | 585 | echo m68k-hp-bsd | ||
4962 | 586 | exit ;; | ||
4963 | 587 | hp300:4.4BSD:*:* | 9000/[34]??:4.3bsd:2.*:*) | ||
4964 | 588 | echo m68k-hp-bsd4.4 | ||
4965 | 589 | exit ;; | ||
4966 | 590 | 9000/[34678]??:HP-UX:*:*) | ||
4967 | 591 | HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'` | ||
4968 | 592 | case "${UNAME_MACHINE}" in | ||
4969 | 593 | 9000/31? ) HP_ARCH=m68000 ;; | ||
4970 | 594 | 9000/[34]?? ) HP_ARCH=m68k ;; | ||
4971 | 595 | 9000/[678][0-9][0-9]) | ||
4972 | 596 | if [ -x /usr/bin/getconf ]; then | ||
4973 | 597 | sc_cpu_version=`/usr/bin/getconf SC_CPU_VERSION 2>/dev/null` | ||
4974 | 598 | sc_kernel_bits=`/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null` | ||
4975 | 599 | case "${sc_cpu_version}" in | ||
4976 | 600 | 523) HP_ARCH="hppa1.0" ;; # CPU_PA_RISC1_0 | ||
4977 | 601 | 528) HP_ARCH="hppa1.1" ;; # CPU_PA_RISC1_1 | ||
4978 | 602 | 532) # CPU_PA_RISC2_0 | ||
4979 | 603 | case "${sc_kernel_bits}" in | ||
4980 | 604 | 32) HP_ARCH="hppa2.0n" ;; | ||
4981 | 605 | 64) HP_ARCH="hppa2.0w" ;; | ||
4982 | 606 | '') HP_ARCH="hppa2.0" ;; # HP-UX 10.20 | ||
4983 | 607 | esac ;; | ||
4984 | 608 | esac | ||
4985 | 609 | fi | ||
4986 | 610 | if [ "${HP_ARCH}" = "" ]; then | ||
4987 | 611 | eval $set_cc_for_build | ||
4988 | 612 | sed 's/^ //' << EOF >$dummy.c | ||
4989 | 613 | |||
4990 | 614 | #define _HPUX_SOURCE | ||
4991 | 615 | #include <stdlib.h> | ||
4992 | 616 | #include <unistd.h> | ||
4993 | 617 | |||
4994 | 618 | int main () | ||
4995 | 619 | { | ||
4996 | 620 | #if defined(_SC_KERNEL_BITS) | ||
4997 | 621 | long bits = sysconf(_SC_KERNEL_BITS); | ||
4998 | 622 | #endif | ||
4999 | 623 | long cpu = sysconf (_SC_CPU_VERSION); | ||
5000 | 624 |