Merge lp:~cyphermox/ubuntu/lucid/acct/merge_6.5.1-1_lp510177 into lp:ubuntu/lucid/acct

Proposed by Mathieu Trudel-Lapierre
Status: Merged
Merged at revision: not available
Proposed branch: lp:~cyphermox/ubuntu/lucid/acct/merge_6.5.1-1_lp510177
Merge into: lp:ubuntu/lucid/acct
Diff against target: 80113 lines
To merge this branch: bzr merge lp:~cyphermox/ubuntu/lucid/acct/merge_6.5.1-1_lp510177
Reviewer Review Type Date Requested Status
Registry Administrators Pending
Review via email: mp+17766@code.launchpad.net
To post a comment you must log in.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'AUTHORS'
--- AUTHORS 2006-03-18 18:38:00 +0000
+++ AUTHORS 2010-01-20 17:40:26 +0000
@@ -3,4 +3,6 @@
3Noel Cragg <noel@gnu.ai.mit.edu>. Wrote initial versions of all3Noel Cragg <noel@gnu.ai.mit.edu>. Wrote initial versions of all
4utilities and was stuck maintaining them until 1998.4utilities and was stuck maintaining them until 1998.
55
6Ciaran O'Riordan <ciaran@member.fsf.org> is the current maintainer.6Ciaran O'Riordan <ciaran@member.fsf.org> was the former maintainer.
7
8Markus Gothe <nietzsche@lysator.liu.se> is the current maintainer.
79
=== modified file 'COPYING'
--- COPYING 2002-03-06 21:54:12 +0000
+++ COPYING 2010-01-20 17:40:26 +0000
@@ -1,285 +1,626 @@
1 GNU GENERAL PUBLIC LICENSE1 GNU GENERAL PUBLIC LICENSE
2 Version 2, June 19912 Version 3, 29 June 2007
33
4 Copyright (C) 1989, 1991 Free Software Foundation, Inc.4 Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
5 675 Mass Ave, Cambridge, MA 02139, USA
6 Everyone is permitted to copy and distribute verbatim copies5 Everyone is permitted to copy and distribute verbatim copies
7 of this license document, but changing it is not allowed.6 of this license document, but changing it is not allowed.
87
9 Preamble8 Preamble
109
11 The licenses for most software are designed to take away your10 The GNU General Public License is a free, copyleft license for
12freedom to share and change it. By contrast, the GNU General Public11software and other kinds of works.
13License is intended to guarantee your freedom to share and change free12
14software--to make sure the software is free for all its users. This13 The licenses for most software and other practical works are designed
15General Public License applies to most of the Free Software14to take away your freedom to share and change the works. By contrast,
16Foundation's software and to any other program whose authors commit to15the GNU General Public License is intended to guarantee your freedom to
17using it. (Some other Free Software Foundation software is covered by16share and change all versions of a program--to make sure it remains free
18the GNU Library General Public License instead.) You can apply it to17software for all its users. We, the Free Software Foundation, use the
18GNU General Public License for most of our software; it applies also to
19any other work released this way by its authors. You can apply it to
19your programs, too.20your programs, too.
2021
21 When we speak of free software, we are referring to freedom, not22 When we speak of free software, we are referring to freedom, not
22price. Our General Public Licenses are designed to make sure that you23price. Our General Public Licenses are designed to make sure that you
23have the freedom to distribute copies of free software (and charge for24have the freedom to distribute copies of free software (and charge for
24this service if you wish), that you receive source code or can get it25them if you wish), that you receive source code or can get it if you
25if you want it, that you can change the software or use pieces of it26want it, that you can change the software or use pieces of it in new
26in new free programs; and that you know you can do these things.27free programs, and that you know you can do these things.
2728
28 To protect your rights, we need to make restrictions that forbid29 To protect your rights, we need to prevent others from denying you
29anyone to deny you these rights or to ask you to surrender the rights.30these rights or asking you to surrender the rights. Therefore, you have
30These restrictions translate to certain responsibilities for you if you31certain responsibilities if you distribute copies of the software, or if
31distribute copies of the software, or if you modify it.32you modify it: responsibilities to respect the freedom of others.
3233
33 For example, if you distribute copies of such a program, whether34 For example, if you distribute copies of such a program, whether
34gratis or for a fee, you must give the recipients all the rights that35gratis or for a fee, you must pass on to the recipients the same
35you have. You must make sure that they, too, receive or can get the36freedoms that you received. You must make sure that they, too, receive
36source code. And you must show them these terms so they know their37or can get the source code. And you must show them these terms so they
37rights.38know their rights.
3839
39 We protect your rights with two steps: (1) copyright the software, and40 Developers that use the GNU GPL protect your rights with two steps:
40(2) offer you this license which gives you legal permission to copy,41(1) assert copyright on the software, and (2) offer you this License
41distribute and/or modify the software.42giving you legal permission to copy, distribute and/or modify it.
4243
43 Also, for each author's protection and ours, we want to make certain44 For the developers' and authors' protection, the GPL clearly explains
44that everyone understands that there is no warranty for this free45that there is no warranty for this free software. For both users' and
45software. If the software is modified by someone else and passed on, we46authors' sake, the GPL requires that modified versions be marked as
46want its recipients to know that what they have is not the original, so47changed, so that their problems will not be attributed erroneously to
47that any problems introduced by others will not reflect on the original48authors of previous versions.
48authors' reputations.49
4950 Some devices are designed to deny users access to install or run
50 Finally, any free program is threatened constantly by software51modified versions of the software inside them, although the manufacturer
51patents. We wish to avoid the danger that redistributors of a free52can do so. This is fundamentally incompatible with the aim of
52program will individually obtain patent licenses, in effect making the53protecting users' freedom to change the software. The systematic
53program proprietary. To prevent this, we have made it clear that any54pattern of such abuse occurs in the area of products for individuals to
54patent must be licensed for everyone's free use or not licensed at all.55use, which is precisely where it is most unacceptable. Therefore, we
56have designed this version of the GPL to prohibit the practice for those
57products. If such problems arise substantially in other domains, we
58stand ready to extend this provision to those domains in future versions
59of the GPL, as needed to protect the freedom of users.
60
61 Finally, every program is threatened constantly by software patents.
62States should not allow patents to restrict development and use of
63software on general-purpose computers, but in those that do, we wish to
64avoid the special danger that patents applied to a free program could
65make it effectively proprietary. To prevent this, the GPL assures that
66patents cannot be used to render the program non-free.
5567
56 The precise terms and conditions for copying, distribution and68 The precise terms and conditions for copying, distribution and
57modification follow.69modification follow.
58
5970
60 GNU GENERAL PUBLIC LICENSE
61 TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
62
63 0. This License applies to any program or other work which contains
64a notice placed by the copyright holder saying it may be distributed
65under the terms of this General Public License. The "Program", below,
66refers to any such program or work, and a "work based on the Program"
67means either the Program or any derivative work under copyright law:
68that is to say, a work containing the Program or a portion of it,
69either verbatim or with modifications and/or translated into another
70language. (Hereinafter, translation is included without limitation in
71the term "modification".) Each licensee is addressed as "you".
72
73Activities other than copying, distribution and modification are not
74covered by this License; they are outside its scope. The act of
75running the Program is not restricted, and the output from the Program
76is covered only if its contents constitute a work based on the
77Program (independent of having been made by running the Program).
78Whether that is true depends on what the Program does.
79
80 1. You may copy and distribute verbatim copies of the Program's
81source code as you receive it, in any medium, provided that you
82conspicuously and appropriately publish on each copy an appropriate
83copyright notice and disclaimer of warranty; keep intact all the
84notices that refer to this License and to the absence of any warranty;
85and give any other recipients of the Program a copy of this License
86along with the Program.
87
88You may charge a fee for the physical act of transferring a copy, and
89you may at your option offer warranty protection in exchange for a fee.
90
91 2. You may modify your copy or copies of the Program or any portion
92of it, thus forming a work based on the Program, and copy and
93distribute such modifications or work under the terms of Section 1
94above, provided that you also meet all of these conditions:
95
96 a) You must cause the modified files to carry prominent notices
97 stating that you changed the files and the date of any change.
98
99 b) You must cause any work that you distribute or publish, that in
100 whole or in part contains or is derived from the Program or any
101 part thereof, to be licensed as a whole at no charge to all third
102 parties under the terms of this License.
103
104 c) If the modified program normally reads commands interactively
105 when run, you must cause it, when started running for such
106 interactive use in the most ordinary way, to print or display an
107 announcement including an appropriate copyright notice and a
108 notice that there is no warranty (or else, saying that you provide
109 a warranty) and that users may redistribute the program under
110 these conditions, and telling the user how to view a copy of this
111 License. (Exception: if the Program itself is interactive but
112 does not normally print such an announcement, your work based on
113 the Program is not required to print an announcement.)
114
11571
116These requirements apply to the modified work as a whole. If
117identifiable sections of that work are not derived from the Program,
118and can be reasonably considered independent and separate works in
119themselves, then this License, and its terms, do not apply to those
120sections when you distribute them as separate works. But when you
121distribute the same sections as part of a whole which is a work based
122on the Program, the distribution of the whole must be on the terms of
123this License, whose permissions for other licensees extend to the
124entire whole, and thus to each and every part regardless of who wrote it.
125
126Thus, it is not the intent of this section to claim rights or contest
127your rights to work written entirely by you; rather, the intent is to
128exercise the right to control the distribution of derivative or
129collective works based on the Program.
130
131In addition, mere aggregation of another work not based on the Program
132with the Program (or with a work based on the Program) on a volume of
133a storage or distribution medium does not bring the other work under
134the scope of this License.
135
136 3. You may copy and distribute the Program (or a work based on it,
137under Section 2) in object code or executable form under the terms of
138Sections 1 and 2 above provided that you also do one of the following:
139
140 a) Accompany it with the complete corresponding machine-readable
141 source code, which must be distributed under the terms of Sections
142 1 and 2 above on a medium customarily used for software interchange; or,
143
144 b) Accompany it with a written offer, valid for at least three
145 years, to give any third party, for a charge no more than your
146 cost of physically performing source distribution, a complete
147 machine-readable copy of the corresponding source code, to be
148 distributed under the terms of Sections 1 and 2 above on a medium
149 customarily used for software interchange; or,
150
151 c) Accompany it with the information you received as to the offer
152 to distribute corresponding source code. (This alternative is
153 allowed only for noncommercial distribution and only if you
154 received the program in object code or executable form with such
155 an offer, in accord with Subsection b above.)
156
157The source code for a work means the preferred form of the work for
158making modifications to it. For an executable work, complete source
159code means all the source code for all modules it contains, plus any
160associated interface definition files, plus the scripts used to
161control compilation and installation of the executable. However, as a
162special exception, the source code distributed need not include
163anything that is normally distributed (in either source or binary
164form) with the major components (compiler, kernel, and so on) of the
165operating system on which the executable runs, unless that component
166itself accompanies the executable.
167
168If distribution of executable or object code is made by offering
169access to copy from a designated place, then offering equivalent
170access to copy the source code from the same place counts as
171distribution of the source code, even though third parties are not
172compelled to copy the source along with the object code.
173
17472
175 4. You may not copy, modify, sublicense, or distribute the Program73
176except as expressly provided under this License. Any attempt74 TERMS AND CONDITIONS
177otherwise to copy, modify, sublicense or distribute the Program is75
178void, and will automatically terminate your rights under this License.76 0. Definitions.
179However, parties who have received copies, or rights, from you under77
180this License will not have their licenses terminated so long as such78 "This License" refers to version 3 of the GNU General Public License.
181parties remain in full compliance.79
18280 "Copyright" also means copyright-like laws that apply to other kinds of
183 5. You are not required to accept this License, since you have not81works, such as semiconductor masks.
184signed it. However, nothing else grants you permission to modify or82
185distribute the Program or its derivative works. These actions are83 "The Program" refers to any copyrightable work licensed under this
186prohibited by law if you do not accept this License. Therefore, by84License. Each licensee is addressed as "you". "Licensees" and
187modifying or distributing the Program (or any work based on the85"recipients" may be individuals or organizations.
188Program), you indicate your acceptance of this License to do so, and86
189all its terms and conditions for copying, distributing or modifying87 To "modify" a work means to copy from or adapt all or part of the work
190the Program or works based on it.88in a fashion requiring copyright permission, other than the making of an
19189exact copy. The resulting work is called a "modified version" of the
192 6. Each time you redistribute the Program (or any work based on the90earlier work or a work "based on" the earlier work.
193Program), the recipient automatically receives a license from the91
194original licensor to copy, distribute or modify the Program subject to92 A "covered work" means either the unmodified Program or a work based
195these terms and conditions. You may not impose any further93on the Program.
196restrictions on the recipients' exercise of the rights granted herein.94
197You are not responsible for enforcing compliance by third parties to95 To "propagate" a work means to do anything with it that, without
96permission, would make you directly or secondarily liable for
97infringement under applicable copyright law, except executing it on a
98computer or modifying a private copy. Propagation includes copying,
99distribution (with or without modification), making available to the
100public, and in some countries other activities as well.
101
102 To "convey" a work means any kind of propagation that enables other
103parties to make or receive copies. Mere interaction with a user through
104a computer network, with no transfer of a copy, is not conveying.
105
106 An interactive user interface displays "Appropriate Legal Notices"
107to the extent that it includes a convenient and prominently visible
108feature that (1) displays an appropriate copyright notice, and (2)
109tells the user that there is no warranty for the work (except to the
110extent that warranties are provided), that licensees may convey the
111work under this License, and how to view a copy of this License. If
112the interface presents a list of user commands or options, such as a
113menu, a prominent item in the list meets this criterion.
114
115 1. Source Code.
116
117 The "source code" for a work means the preferred form of the work
118for making modifications to it. "Object code" means any non-source
119form of a work.
120
121 A "Standard Interface" means an interface that either is an official
122standard defined by a recognized standards body, or, in the case of
123interfaces specified for a particular programming language, one that
124is widely used among developers working in that language.
125
126 The "System Libraries" of an executable work include anything, other
127than the work as a whole, that (a) is included in the normal form of
128packaging a Major Component, but which is not part of that Major
129Component, and (b) serves only to enable use of the work with that
130Major Component, or to implement a Standard Interface for which an
131implementation is available to the public in source code form. A
132"Major Component", in this context, means a major essential component
133(kernel, window system, and so on) of the specific operating system
134(if any) on which the executable work runs, or a compiler used to
135produce the work, or an object code interpreter used to run it.
136
137 The "Corresponding Source" for a work in object code form means all
138the source code needed to generate, install, and (for an executable
139work) run the object code and to modify the work, including scripts to
140control those activities. However, it does not include the work's
141System Libraries, or general-purpose tools or generally available free
142programs which are used unmodified in performing those activities but
143which are not part of the work. For example, Corresponding Source
144includes interface definition files associated with source files for
145the work, and the source code for shared libraries and dynamically
146linked subprograms that the work is specifically designed to require,
147such as by intimate data communication or control flow between those
148subprograms and other parts of the work.
149
150 The Corresponding Source need not include anything that users
151can regenerate automatically from other parts of the Corresponding
152Source.
153
154 The Corresponding Source for a work in source code form is that
155same work.
156
157 2. Basic Permissions.
158
159 All rights granted under this License are granted for the term of
160copyright on the Program, and are irrevocable provided the stated
161conditions are met. This License explicitly affirms your unlimited
162permission to run the unmodified Program. The output from running a
163covered work is covered by this License only if the output, given its
164content, constitutes a covered work. This License acknowledges your
165rights of fair use or other equivalent, as provided by copyright law.
166
167 You may make, run and propagate covered works that you do not
168convey, without conditions so long as your license otherwise remains
169in force. You may convey covered works to others for the sole purpose
170of having them make modifications exclusively for you, or provide you
171with facilities for running those works, provided that you comply with
172the terms of this License in conveying all material for which you do
173not control copyright. Those thus making or running the covered works
174for you must do so exclusively on your behalf, under your direction
175and control, on terms that prohibit them from making any copies of
176your copyrighted material outside their relationship with you.
177
178 Conveying under any other circumstances is permitted solely under
179the conditions stated below. Sublicensing is not allowed; section 10
180makes it unnecessary.
181
182 3. Protecting Users' Legal Rights From Anti-Circumvention Law.
183
184 No covered work shall be deemed part of an effective technological
185measure under any applicable law fulfilling obligations under article
18611 of the WIPO copyright treaty adopted on 20 December 1996, or
187similar laws prohibiting or restricting circumvention of such
188measures.
189
190 When you convey a covered work, you waive any legal power to forbid
191circumvention of technological measures to the extent such circumvention
192is effected by exercising rights under this License with respect to
193the covered work, and you disclaim any intention to limit operation or
194modification of the work as a means of enforcing, against the work's
195users, your or third parties' legal rights to forbid circumvention of
196technological measures.
197
198 4. Conveying Verbatim Copies.
199
200 You may convey verbatim copies of the Program's source code as you
201receive it, in any medium, provided that you conspicuously and
202appropriately publish on each copy an appropriate copyright notice;
203keep intact all notices stating that this License and any
204non-permissive terms added in accord with section 7 apply to the code;
205keep intact all notices of the absence of any warranty; and give all
206recipients a copy of this License along with the Program.
207
208 You may charge any price or no price for each copy that you convey,
209and you may offer support or warranty protection for a fee.
210
211 5. Conveying Modified Source Versions.
212
213 You may convey a work based on the Program, or the modifications to
214produce it from the Program, in the form of source code under the
215terms of section 4, provided that you also meet all of these conditions:
216
217 a) The work must carry prominent notices stating that you modified
218 it, and giving a relevant date.
219
220 b) The work must carry prominent notices stating that it is
221 released under this License and any conditions added under section
222 7. This requirement modifies the requirement in section 4 to
223 "keep intact all notices".
224
225 c) You must license the entire work, as a whole, under this
226 License to anyone who comes into possession of a copy. This
227 License will therefore apply, along with any applicable section 7
228 additional terms, to the whole of the work, and all its parts,
229 regardless of how they are packaged. This License gives no
230 permission to license the work in any other way, but it does not
231 invalidate such permission if you have separately received it.
232
233 d) If the work has interactive user interfaces, each must display
234 Appropriate Legal Notices; however, if the Program has interactive
235 interfaces that do not display Appropriate Legal Notices, your
236 work need not make them do so.
237
238 A compilation of a covered work with other separate and independent
239works, which are not by their nature extensions of the covered work,
240and which are not combined with it such as to form a larger program,
241in or on a volume of a storage or distribution medium, is called an
242"aggregate" if the compilation and its resulting copyright are not
243used to limit the access or legal rights of the compilation's users
244beyond what the individual works permit. Inclusion of a covered work
245in an aggregate does not cause this License to apply to the other
246parts of the aggregate.
247
248 6. Conveying Non-Source Forms.
249
250 You may convey a covered work in object code form under the terms
251of sections 4 and 5, provided that you also convey the
252machine-readable Corresponding Source under the terms of this License,
253in one of these ways:
254
255 a) Convey the object code in, or embodied in, a physical product
256 (including a physical distribution medium), accompanied by the
257 Corresponding Source fixed on a durable physical medium
258 customarily used for software interchange.
259
260 b) Convey the object code in, or embodied in, a physical product
261 (including a physical distribution medium), accompanied by a
262 written offer, valid for at least three years and valid for as
263 long as you offer spare parts or customer support for that product
264 model, to give anyone who possesses the object code either (1) a
265 copy of the Corresponding Source for all the software in the
266 product that is covered by this License, on a durable physical
267 medium customarily used for software interchange, for a price no
268 more than your reasonable cost of physically performing this
269 conveying of source, or (2) access to copy the
270 Corresponding Source from a network server at no charge.
271
272 c) Convey individual copies of the object code with a copy of the
273 written offer to provide the Corresponding Source. This
274 alternative is allowed only occasionally and noncommercially, and
275 only if you received the object code with such an offer, in accord
276 with subsection 6b.
277
278 d) Convey the object code by offering access from a designated
279 place (gratis or for a charge), and offer equivalent access to the
280 Corresponding Source in the same way through the same place at no
281 further charge. You need not require recipients to copy the
282 Corresponding Source along with the object code. If the place to
283 copy the object code is a network server, the Corresponding Source
284 may be on a different server (operated by you or a third party)
285 that supports equivalent copying facilities, provided you maintain
286 clear directions next to the object code saying where to find the
287 Corresponding Source. Regardless of what server hosts the
288 Corresponding Source, you remain obligated to ensure that it is
289 available for as long as needed to satisfy these requirements.
290
291 e) Convey the object code using peer-to-peer transmission, provided
292 you inform other peers where the object code and Corresponding
293 Source of the work are being offered to the general public at no
294 charge under subsection 6d.
295
296 A separable portion of the object code, whose source code is excluded
297from the Corresponding Source as a System Library, need not be
298included in conveying the object code work.
299
300 A "User Product" is either (1) a "consumer product", which means any
301tangible personal property which is normally used for personal, family,
302or household purposes, or (2) anything designed or sold for incorporation
303into a dwelling. In determining whether a product is a consumer product,
304doubtful cases shall be resolved in favor of coverage. For a particular
305product received by a particular user, "normally used" refers to a
306typical or common use of that class of product, regardless of the status
307of the particular user or of the way in which the particular user
308actually uses, or expects or is expected to use, the product. A product
309is a consumer product regardless of whether the product has substantial
310commercial, industrial or non-consumer uses, unless such uses represent
311the only significant mode of use of the product.
312
313 "Installation Information" for a User Product means any methods,
314procedures, authorization keys, or other information required to install
315and execute modified versions of a covered work in that User Product from
316a modified version of its Corresponding Source. The information must
317suffice to ensure that the continued functioning of the modified object
318code is in no case prevented or interfered with solely because
319modification has been made.
320
321 If you convey an object code work under this section in, or with, or
322specifically for use in, a User Product, and the conveying occurs as
323part of a transaction in which the right of possession and use of the
324User Product is transferred to the recipient in perpetuity or for a
325fixed term (regardless of how the transaction is characterized), the
326Corresponding Source conveyed under this section must be accompanied
327by the Installation Information. But this requirement does not apply
328if neither you nor any third party retains the ability to install
329modified object code on the User Product (for example, the work has
330been installed in ROM).
331
332 The requirement to provide Installation Information does not include a
333requirement to continue to provide support service, warranty, or updates
334for a work that has been modified or installed by the recipient, or for
335the User Product in which it has been modified or installed. Access to a
336network may be denied when the modification itself materially and
337adversely affects the operation of the network or violates the rules and
338protocols for communication across the network.
339
340 Corresponding Source conveyed, and Installation Information provided,
341in accord with this section must be in a format that is publicly
342documented (and with an implementation available to the public in
343source code form), and must require no special password or key for
344unpacking, reading or copying.
345
346 7. Additional Terms.
347
348 "Additional permissions" are terms that supplement the terms of this
349License by making exceptions from one or more of its conditions.
350Additional permissions that are applicable to the entire Program shall
351be treated as though they were included in this License, to the extent
352that they are valid under applicable law. If additional permissions
353apply only to part of the Program, that part may be used separately
354under those permissions, but the entire Program remains governed by
355this License without regard to the additional permissions.
356
357 When you convey a copy of a covered work, you may at your option
358remove any additional permissions from that copy, or from any part of
359it. (Additional permissions may be written to require their own
360removal in certain cases when you modify the work.) You may place
361additional permissions on material, added by you to a covered work,
362for which you have or can give appropriate copyright permission.
363
364 Notwithstanding any other provision of this License, for material you
365add to a covered work, you may (if authorized by the copyright holders of
366that material) supplement the terms of this License with terms:
367
368 a) Disclaiming warranty or limiting liability differently from the
369 terms of sections 15 and 16 of this License; or
370
371 b) Requiring preservation of specified reasonable legal notices or
372 author attributions in that material or in the Appropriate Legal
373 Notices displayed by works containing it; or
374
375 c) Prohibiting misrepresentation of the origin of that material, or
376 requiring that modified versions of such material be marked in
377 reasonable ways as different from the original version; or
378
379 d) Limiting the use for publicity purposes of names of licensors or
380 authors of the material; or
381
382 e) Declining to grant rights under trademark law for use of some
383 trade names, trademarks, or service marks; or
384
385 f) Requiring indemnification of licensors and authors of that
386 material by anyone who conveys the material (or modified versions of
387 it) with contractual assumptions of liability to the recipient, for
388 any liability that these contractual assumptions directly impose on
389 those licensors and authors.
390
391 All other non-permissive additional terms are considered "further
392restrictions" within the meaning of section 10. If the Program as you
393received it, or any part of it, contains a notice stating that it is
394governed by this License along with a term that is a further
395restriction, you may remove that term. If a license document contains
396a further restriction but permits relicensing or conveying under this
397License, you may add to a covered work material governed by the terms
398of that license document, provided that the further restriction does
399not survive such relicensing or conveying.
400
401 If you add terms to a covered work in accord with this section, you
402must place, in the relevant source files, a statement of the
403additional terms that apply to those files, or a notice indicating
404where to find the applicable terms.
405
406 Additional terms, permissive or non-permissive, may be stated in the
407form of a separately written license, or stated as exceptions;
408the above requirements apply either way.
409
410 8. Termination.
411
412 You may not propagate or modify a covered work except as expressly
413provided under this License. Any attempt otherwise to propagate or
414modify it is void, and will automatically terminate your rights under
415this License (including any patent licenses granted under the third
416paragraph of section 11).
417
418 However, if you cease all violation of this License, then your
419license from a particular copyright holder is reinstated (a)
420provisionally, unless and until the copyright holder explicitly and
421finally terminates your license, and (b) permanently, if the copyright
422holder fails to notify you of the violation by some reasonable means
423prior to 60 days after the cessation.
424
425 Moreover, your license from a particular copyright holder is
426reinstated permanently if the copyright holder notifies you of the
427violation by some reasonable means, this is the first time you have
428received notice of violation of this License (for any work) from that
429copyright holder, and you cure the violation prior to 30 days after
430your receipt of the notice.
431
432 Termination of your rights under this section does not terminate the
433licenses of parties who have received copies or rights from you under
434this License. If your rights have been terminated and not permanently
435reinstated, you do not qualify to receive new licenses for the same
436material under section 10.
437
438 9. Acceptance Not Required for Having Copies.
439
440 You are not required to accept this License in order to receive or
441run a copy of the Program. Ancillary propagation of a covered work
442occurring solely as a consequence of using peer-to-peer transmission
443to receive a copy likewise does not require acceptance. However,
444nothing other than this License grants you permission to propagate or
445modify any covered work. These actions infringe copyright if you do
446not accept this License. Therefore, by modifying or propagating a
447covered work, you indicate your acceptance of this License to do so.
448
449 10. Automatic Licensing of Downstream Recipients.
450
451 Each time you convey a covered work, the recipient automatically
452receives a license from the original licensors, to run, modify and
453propagate that work, subject to this License. You are not responsible
454for enforcing compliance by third parties with this License.
455
456 An "entity transaction" is a transaction transferring control of an
457organization, or substantially all assets of one, or subdividing an
458organization, or merging organizations. If propagation of a covered
459work results from an entity transaction, each party to that
460transaction who receives a copy of the work also receives whatever
461licenses to the work the party's predecessor in interest had or could
462give under the previous paragraph, plus a right to possession of the
463Corresponding Source of the work from the predecessor in interest, if
464the predecessor has it or can get it with reasonable efforts.
465
466 You may not impose any further restrictions on the exercise of the
467rights granted or affirmed under this License. For example, you may
468not impose a license fee, royalty, or other charge for exercise of
469rights granted under this License, and you may not initiate litigation
470(including a cross-claim or counterclaim in a lawsuit) alleging that
471any patent claim is infringed by making, using, selling, offering for
472sale, or importing the Program or any portion of it.
473
474 11. Patents.
475
476 A "contributor" is a copyright holder who authorizes use under this
477License of the Program or a work on which the Program is based. The
478work thus licensed is called the contributor's "contributor version".
479
480 A contributor's "essential patent claims" are all patent claims
481owned or controlled by the contributor, whether already acquired or
482hereafter acquired, that would be infringed by some manner, permitted
483by this License, of making, using, or selling its contributor version,
484but do not include claims that would be infringed only as a
485consequence of further modification of the contributor version. For
486purposes of this definition, "control" includes the right to grant
487patent sublicenses in a manner consistent with the requirements of
198this License.488this License.
199489
200 7. If, as a consequence of a court judgment or allegation of patent490 Each contributor grants you a non-exclusive, worldwide, royalty-free
201infringement or for any other reason (not limited to patent issues),491patent license under the contributor's essential patent claims, to
202conditions are imposed on you (whether by court order, agreement or492make, use, sell, offer for sale, import and otherwise run, modify and
493propagate the contents of its contributor version.
494
495 In the following three paragraphs, a "patent license" is any express
496agreement or commitment, however denominated, not to enforce a patent
497(such as an express permission to practice a patent or covenant not to
498sue for patent infringement). To "grant" such a patent license to a
499party means to make such an agreement or commitment not to enforce a
500patent against the party.
501
502 If you convey a covered work, knowingly relying on a patent license,
503and the Corresponding Source of the work is not available for anyone
504to copy, free of charge and under the terms of this License, through a
505publicly available network server or other readily accessible means,
506then you must either (1) cause the Corresponding Source to be so
507available, or (2) arrange to deprive yourself of the benefit of the
508patent license for this particular work, or (3) arrange, in a manner
509consistent with the requirements of this License, to extend the patent
510license to downstream recipients. "Knowingly relying" means you have
511actual knowledge that, but for the patent license, your conveying the
512covered work in a country, or your recipient's use of the covered work
513in a country, would infringe one or more identifiable patents in that
514country that you have reason to believe are valid.
515
516 If, pursuant to or in connection with a single transaction or
517arrangement, you convey, or propagate by procuring conveyance of, a
518covered work, and grant a patent license to some of the parties
519receiving the covered work authorizing them to use, propagate, modify
520or convey a specific copy of the covered work, then the patent license
521you grant is automatically extended to all recipients of the covered
522work and works based on it.
523
524 A patent license is "discriminatory" if it does not include within
525the scope of its coverage, prohibits the exercise of, or is
526conditioned on the non-exercise of one or more of the rights that are
527specifically granted under this License. You may not convey a covered
528work if you are a party to an arrangement with a third party that is
529in the business of distributing software, under which you make payment
530to the third party based on the extent of your activity of conveying
531the work, and under which the third party grants, to any of the
532parties who would receive the covered work from you, a discriminatory
533patent license (a) in connection with copies of the covered work
534conveyed by you (or copies made from those copies), or (b) primarily
535for and in connection with specific products or compilations that
536contain the covered work, unless you entered into that arrangement,
537or that patent license was granted, prior to 28 March 2007.
538
539 Nothing in this License shall be construed as excluding or limiting
540any implied license or other defenses to infringement that may
541otherwise be available to you under applicable patent law.
542
543 12. No Surrender of Others' Freedom.
544
545 If conditions are imposed on you (whether by court order, agreement or
203otherwise) that contradict the conditions of this License, they do not546otherwise) that contradict the conditions of this License, they do not
204excuse you from the conditions of this License. If you cannot
205distribute so as to satisfy simultaneously your obligations under this
206License and any other pertinent obligations, then as a consequence you
207may not distribute the Program at all. For example, if a patent
208license would not permit royalty-free redistribution of the Program by
209all those who receive copies directly or indirectly through you, then
210the only way you could satisfy both it and this License would be to
211refrain entirely from distribution of the Program.
212
213If any portion of this section is held invalid or unenforceable under
214any particular circumstance, the balance of the section is intended to
215apply and the section as a whole is intended to apply in other
216circumstances.
217
218It is not the purpose of this section to induce you to infringe any
219patents or other property right claims or to contest validity of any
220such claims; this section has the sole purpose of protecting the
221integrity of the free software distribution system, which is
222implemented by public license practices. Many people have made
223generous contributions to the wide range of software distributed
224through that system in reliance on consistent application of that
225system; it is up to the author/donor to decide if he or she is willing
226to distribute software through any other system and a licensee cannot
227impose that choice.
228
229This section is intended to make thoroughly clear what is believed to
230be a consequence of the rest of this License.
231
232547
233 8. If the distribution and/or use of the Program is restricted in548excuse you from the conditions of this License. If you cannot convey a
234certain countries either by patents or by copyrighted interfaces, the549covered work so as to satisfy simultaneously your obligations under this
235original copyright holder who places the Program under this License550License and any other pertinent obligations, then as a consequence you may
236may add an explicit geographical distribution limitation excluding551not convey it at all. For example, if you agree to terms that obligate you
237those countries, so that distribution is permitted only in or among552to collect a royalty for further conveying from those to whom you convey
238countries not thus excluded. In such case, this License incorporates553the Program, the only way you could satisfy both those terms and this
239the limitation as if written in the body of this License.554License would be to refrain entirely from conveying the Program.
240555
241 9. The Free Software Foundation may publish revised and/or new versions556 13. Use with the GNU Affero General Public License.
242of the General Public License from time to time. Such new versions will557
558 Notwithstanding any other provision of this License, you have
559permission to link or combine any covered work with a work licensed
560under version 3 of the GNU Affero General Public License into a single
561combined work, and to convey the resulting work. The terms of this
562License will continue to apply to the part which is the covered work,
563but the special requirements of the GNU Affero General Public License,
564section 13, concerning interaction through a network will apply to the
565combination as such.
566
567 14. Revised Versions of this License.
568
569 The Free Software Foundation may publish revised and/or new versions of
570the GNU General Public License from time to time. Such new versions will
243be similar in spirit to the present version, but may differ in detail to571be similar in spirit to the present version, but may differ in detail to
244address new problems or concerns.572address new problems or concerns.
245573
246Each version is given a distinguishing version number. If the Program
247specifies a version number of this License which applies to it and "any
248later version", you have the option of following the terms and conditions
249either of that version or of any later version published by the Free
250Software Foundation. If the Program does not specify a version number of
251this License, you may choose any version ever published by the Free Software
252Foundation.
253
254 10. If you wish to incorporate parts of the Program into other free
255programs whose distribution conditions are different, write to the author
256to ask for permission. For software which is copyrighted by the Free
257Software Foundation, write to the Free Software Foundation; we sometimes
258make exceptions for this. Our decision will be guided by the two goals
259of preserving the free status of all derivatives of our free software and
260of promoting the sharing and reuse of software generally.
261
262 NO WARRANTY
263
264 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
265FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
266OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
267PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
268OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
269MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
270TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
271PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
272REPAIR OR CORRECTION.
273
274 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
275WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
276REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
277INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
278OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
279TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
280YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
281PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
282POSSIBILITY OF SUCH DAMAGES.
283
284 END OF TERMS AND CONDITIONS
285
286574
287 Appendix: How to Apply These Terms to Your New Programs575 Each version is given a distinguishing version number. If the
576Program specifies that a certain numbered version of the GNU General
577Public License "or any later version" applies to it, you have the
578option of following the terms and conditions either of that numbered
579version or of any later version published by the Free Software
580Foundation. If the Program does not specify a version number of the
581GNU General Public License, you may choose any version ever published
582by the Free Software Foundation.
583
584 If the Program specifies that a proxy can decide which future
585versions of the GNU General Public License can be used, that proxy's
586public statement of acceptance of a version permanently authorizes you
587to choose that version for the Program.
588
589 Later license versions may give you additional or different
590permissions. However, no additional obligations are imposed on any
591author or copyright holder as a result of your choosing to follow a
592later version.
593
594 15. Disclaimer of Warranty.
595
596 THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
597APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
598HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
599OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
600THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
601PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
602IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
603ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
604
605 16. Limitation of Liability.
606
607 IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
608WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
609THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
610GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
611USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
612DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
613PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
614EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
615SUCH DAMAGES.
616
617 17. Interpretation of Sections 15 and 16.
618
619 If the disclaimer of warranty and limitation of liability provided
620above cannot be given local legal effect according to their terms,
621reviewing courts shall apply local law that most closely approximates
622an absolute waiver of all civil liability in connection with the
623Program, unless a warranty or assumption of liability accompanies a
624copy of the Program in return for a fee.
625
626 END OF TERMS AND CONDITIONS
627
628 How to Apply These Terms to Your New Programs
288629
289 If you develop a new program, and you want it to be of the greatest630 If you develop a new program, and you want it to be of the greatest
290possible use to the public, the best way to achieve this is to make it631possible use to the public, the best way to achieve this is to make it
@@ -287,15 +628,15 @@
287628
288 To do so, attach the following notices to the program. It is safest629 To do so, attach the following notices to the program. It is safest
289to attach them to the start of each source file to most effectively630to attach them to the start of each source file to most effectively
290convey the exclusion of warranty; and each file should have at least631state the exclusion of warranty; and each file should have at least
291the "copyright" line and a pointer to where the full notice is found.632the "copyright" line and a pointer to where the full notice is found.
292633
293 <one line to give the program's name and a brief idea of what it does.>634 <one line to give the program's name and a brief idea of what it does.>
294 Copyright (C) 19yy <name of author>635 Copyright (C) <year> <name of author>
295636
296 This program is free software; you can redistribute it and/or modify637 This program is free software: you can redistribute it and/or modify
297 it under the terms of the GNU General Public License as published by638 it under the terms of the GNU General Public License as published by
298 the Free Software Foundation; either version 2 of the License, or639 the Free Software Foundation, either version 3 of the License, or
299 (at your option) any later version.640 (at your option) any later version.
300641
301 This program is distributed in the hope that it will be useful,642 This program is distributed in the hope that it will be useful,
@@ -304,36 +645,30 @@
304 GNU General Public License for more details.645 GNU General Public License for more details.
305646
306 You should have received a copy of the GNU General Public License647 You should have received a copy of the GNU General Public License
307 along with this program; if not, write to the Free Software648 along with this program. If not, see <http://www.gnu.org/licenses/>.
308 Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
309649
310Also add information on how to contact you by electronic and paper mail.650Also add information on how to contact you by electronic and paper mail.
311651
312If the program is interactive, make it output a short notice like this652 If the program does terminal interaction, make it output a short
313when it starts in an interactive mode:653notice like this when it starts in an interactive mode:
314654
315 Gnomovision version 69, Copyright (C) 19yy name of author655 <program> Copyright (C) <year> <name of author>
316 Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.656 This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
317 This is free software, and you are welcome to redistribute it657 This is free software, and you are welcome to redistribute it
318 under certain conditions; type `show c' for details.658 under certain conditions; type `show c' for details.
319659
320The hypothetical commands `show w' and `show c' should show the appropriate660The hypothetical commands `show w' and `show c' should show the appropriate
321parts of the General Public License. Of course, the commands you use may661parts of the General Public License. Of course, your program's commands
322be called something other than `show w' and `show c'; they could even be662might be different; for a GUI interface, you would use an "about box".
323mouse-clicks or menu items--whatever suits your program.663
324664 You should also get your employer (if you work as a programmer) or school,
325You should also get your employer (if you work as a programmer) or your665if any, to sign a "copyright disclaimer" for the program, if necessary.
326school, if any, to sign a "copyright disclaimer" for the program, if666For more information on this, and how to apply and follow the GNU GPL, see
327necessary. Here is a sample; alter the names:667<http://www.gnu.org/licenses/>.
328668
329 Yoyodyne, Inc., hereby disclaims all copyright interest in the program669 The GNU General Public License does not permit incorporating your program
330 `Gnomovision' (which makes passes at compilers) written by James Hacker.670into proprietary programs. If your program is a subroutine library, you
331671may consider it more useful to permit linking proprietary applications with
332 <signature of Ty Coon>, 1 April 1989672the library. If this is what you want to do, use the GNU Lesser General
333 Ty Coon, President of Vice673Public License instead of this License. But first, please read
334674<http://www.gnu.org/philosophy/why-not-lgpl.html>.
335This General Public License does not permit incorporating your program into
336proprietary programs. If your program is a subroutine library, you may
337consider it more useful to permit linking proprietary applications with the
338library. If this is what you want to do, use the GNU Library General
339Public License instead of this License.
340675
=== modified file 'ChangeLog'
--- ChangeLog 2006-03-18 18:38:00 +0000
+++ ChangeLog 2010-01-20 17:40:26 +0000
@@ -1,3 +1,7 @@
1Mon Aug 24 00:01:05 2009 Markus Gothe <nietzsche@lysator.liu.se>
2
3 * Major overhaul, releasing GNU Acct 6.5.
4
1Sat Jan 07 23:10:00 2006 Tim Schmielau <tim@physik3.uni-rostock.de>5Sat Jan 07 23:10:00 2006 Tim Schmielau <tim@physik3.uni-rostock.de>
26
3 * NEWS: document changes in the upcoming 6.4 release.7 * NEWS: document changes in the upcoming 6.4 release.
48
=== modified file 'INSTALL'
--- INSTALL 2006-03-18 18:38:00 +0000
+++ INSTALL 2010-01-20 17:40:26 +0000
@@ -1,16 +1,19 @@
1Installation Instructions1Installation Instructions
2*************************2*************************
33
4Copyright (C) 1994, 1995, 1996, 1999, 2000, 2001, 2002, 2004, 2005 Free4Copyright (C) 1994, 1995, 1996, 1999, 2000, 2001, 2002, 2004, 2005,
5Software Foundation, Inc.52006, 2007, 2008 Free Software Foundation, Inc.
66
7This file is free documentation; the Free Software Foundation gives7 This file is free documentation; the Free Software Foundation gives
8unlimited permission to copy, distribute and modify it.8unlimited permission to copy, distribute and modify it.
99
10Basic Installation10Basic Installation
11==================11==================
1212
13These are generic installation instructions.13 Briefly, the shell commands `./configure; make; make install' should
14configure, build, and install this package. The following
15more-detailed instructions are generic; see the `README' file for
16instructions specific to this package.
1417
15 The `configure' shell script attempts to guess correct values for18 The `configure' shell script attempts to guess correct values for
16various system-dependent variables used during compilation. It uses19various system-dependent variables used during compilation. It uses
@@ -23,9 +26,9 @@
2326
24 It can also use an optional file (typically called `config.cache'27 It can also use an optional file (typically called `config.cache'
25and enabled with `--cache-file=config.cache' or simply `-C') that saves28and enabled with `--cache-file=config.cache' or simply `-C') that saves
26the results of its tests to speed up reconfiguring. (Caching is29the results of its tests to speed up reconfiguring. Caching is
27disabled by default to prevent problems with accidental use of stale30disabled by default to prevent problems with accidental use of stale
28cache files.)31cache files.
2932
30 If you need to do unusual things to compile the package, please try33 If you need to do unusual things to compile the package, please try
31to figure out how `configure' could check whether to do them, and mail34to figure out how `configure' could check whether to do them, and mail
@@ -35,20 +38,17 @@
35may remove or edit it.38may remove or edit it.
3639
37 The file `configure.ac' (or `configure.in') is used to create40 The file `configure.ac' (or `configure.in') is used to create
38`configure' by a program called `autoconf'. You only need41`configure' by a program called `autoconf'. You need `configure.ac' if
39`configure.ac' if you want to change it or regenerate `configure' using42you want to change it or regenerate `configure' using a newer version
40a newer version of `autoconf'.43of `autoconf'.
4144
42The simplest way to compile this package is:45The simplest way to compile this package is:
4346
44 1. `cd' to the directory containing the package's source code and type47 1. `cd' to the directory containing the package's source code and type
45 `./configure' to configure the package for your system. If you're48 `./configure' to configure the package for your system.
46 using `csh' on an old version of System V, you might need to type
47 `sh ./configure' instead to prevent `csh' from trying to execute
48 `configure' itself.
4949
50 Running `configure' takes awhile. While running, it prints some50 Running `configure' might take a while. While running, it prints
51 messages telling which features it is checking for.51 some messages telling which features it is checking for.
5252
53 2. Type `make' to compile the package.53 2. Type `make' to compile the package.
5454
@@ -67,42 +67,57 @@
67 all sorts of other programs in order to regenerate files that came67 all sorts of other programs in order to regenerate files that came
68 with the distribution.68 with the distribution.
6969
70 6. Often, you can also type `make uninstall' to remove the installed
71 files again.
72
70Compilers and Options73Compilers and Options
71=====================74=====================
7275
73Some systems require unusual options for compilation or linking that the76 Some systems require unusual options for compilation or linking that
74`configure' script does not know about. Run `./configure --help' for77the `configure' script does not know about. Run `./configure --help'
75details on some of the pertinent environment variables.78for details on some of the pertinent environment variables.
7679
77 You can give `configure' initial values for configuration parameters80 You can give `configure' initial values for configuration parameters
78by setting variables in the command line or in the environment. Here81by setting variables in the command line or in the environment. Here
79is an example:82is an example:
8083
81 ./configure CC=c89 CFLAGS=-O2 LIBS=-lposix84 ./configure CC=c99 CFLAGS=-g LIBS=-lposix
8285
83 *Note Defining Variables::, for more details.86 *Note Defining Variables::, for more details.
8487
85Compiling For Multiple Architectures88Compiling For Multiple Architectures
86====================================89====================================
8790
88You can compile the package for more than one kind of computer at the91 You can compile the package for more than one kind of computer at the
89same time, by placing the object files for each architecture in their92same time, by placing the object files for each architecture in their
90own directory. To do this, you must use a version of `make' that93own directory. To do this, you can use GNU `make'. `cd' to the
91supports the `VPATH' variable, such as GNU `make'. `cd' to the
92directory where you want the object files and executables to go and run94directory where you want the object files and executables to go and run
93the `configure' script. `configure' automatically checks for the95the `configure' script. `configure' automatically checks for the
94source code in the directory that `configure' is in and in `..'.96source code in the directory that `configure' is in and in `..'.
9597
96 If you have to use a `make' that does not support the `VPATH'98 With a non-GNU `make', it is safer to compile the package for one
97variable, you have to compile the package for one architecture at a99architecture at a time in the source code directory. After you have
98time in the source code directory. After you have installed the100installed the package for one architecture, use `make distclean' before
99package for one architecture, use `make distclean' before reconfiguring101reconfiguring for another architecture.
100for another architecture.102
103 On MacOS X 10.5 and later systems, you can create libraries and
104executables that work on multiple system types--known as "fat" or
105"universal" binaries--by specifying multiple `-arch' options to the
106compiler but only a single `-arch' option to the preprocessor. Like
107this:
108
109 ./configure CC="gcc -arch i386 -arch x86_64 -arch ppc -arch ppc64" \
110 CXX="g++ -arch i386 -arch x86_64 -arch ppc -arch ppc64" \
111 CPP="gcc -E" CXXCPP="g++ -E"
112
113 This is not guaranteed to produce working output in all cases, you
114may have to build one architecture at a time and combine the results
115using the `lipo' tool if you have problems.
101116
102Installation Names117Installation Names
103==================118==================
104119
105By default, `make install' installs the package's commands under120 By default, `make install' installs the package's commands under
106`/usr/local/bin', include files under `/usr/local/include', etc. You121`/usr/local/bin', include files under `/usr/local/include', etc. You
107can specify an installation prefix other than `/usr/local' by giving122can specify an installation prefix other than `/usr/local' by giving
108`configure' the option `--prefix=PREFIX'.123`configure' the option `--prefix=PREFIX'.
@@ -125,7 +140,7 @@
125Optional Features140Optional Features
126=================141=================
127142
128Some packages pay attention to `--enable-FEATURE' options to143 Some packages pay attention to `--enable-FEATURE' options to
129`configure', where FEATURE indicates an optional part of the package.144`configure', where FEATURE indicates an optional part of the package.
130They may also pay attention to `--with-PACKAGE' options, where PACKAGE145They may also pay attention to `--with-PACKAGE' options, where PACKAGE
131is something like `gnu-as' or `x' (for the X Window System). The146is something like `gnu-as' or `x' (for the X Window System). The
@@ -137,14 +152,36 @@
137you can use the `configure' options `--x-includes=DIR' and152you can use the `configure' options `--x-includes=DIR' and
138`--x-libraries=DIR' to specify their locations.153`--x-libraries=DIR' to specify their locations.
139154
155Particular systems
156==================
157
158 On HP-UX, the default C compiler is not ANSI C compatible. If GNU
159CC is not installed, it is recommended to use the following options in
160order to use an ANSI C compiler:
161
162 ./configure CC="cc -Ae"
163
164and if that doesn't work, install pre-built binaries of GCC for HP-UX.
165
166 On OSF/1 a.k.a. Tru64, some versions of the default C compiler cannot
167parse its `<wchar.h>' header file. The option `-nodtk' can be used as
168a workaround. If GNU CC is not installed, it is therefore recommended
169to try
170
171 ./configure CC="cc"
172
173and if that doesn't work, try
174
175 ./configure CC="cc -nodtk"
176
140Specifying the System Type177Specifying the System Type
141==========================178==========================
142179
143There may be some features `configure' cannot figure out automatically,180 There may be some features `configure' cannot figure out
144but needs to determine by the type of machine the package will run on.181automatically, but needs to determine by the type of machine the package
145Usually, assuming the package is built to be run on the _same_182will run on. Usually, assuming the package is built to be run on the
146architectures, `configure' can figure that out, but if it prints a183_same_ architectures, `configure' can figure that out, but if it prints
147message saying it cannot guess the machine type, give it the184a message saying it cannot guess the machine type, give it the
148`--build=TYPE' option. TYPE can either be a short name for the system185`--build=TYPE' option. TYPE can either be a short name for the system
149type, such as `sun4', or a canonical name which has the form:186type, such as `sun4', or a canonical name which has the form:
150187
@@ -170,9 +207,9 @@
170Sharing Defaults207Sharing Defaults
171================208================
172209
173If you want to set default values for `configure' scripts to share, you210 If you want to set default values for `configure' scripts to share,
174can create a site shell script called `config.site' that gives default211you can create a site shell script called `config.site' that gives
175values for variables like `CC', `cache_file', and `prefix'.212default values for variables like `CC', `cache_file', and `prefix'.
176`configure' looks for `PREFIX/share/config.site' if it exists, then213`configure' looks for `PREFIX/share/config.site' if it exists, then
177`PREFIX/etc/config.site' if it exists. Or, you can set the214`PREFIX/etc/config.site' if it exists. Or, you can set the
178`CONFIG_SITE' environment variable to the location of the site script.215`CONFIG_SITE' environment variable to the location of the site script.
@@ -181,7 +218,7 @@
181Defining Variables218Defining Variables
182==================219==================
183220
184Variables not defined in a site shell script can be set in the221 Variables not defined in a site shell script can be set in the
185environment passed to `configure'. However, some packages may run222environment passed to `configure'. However, some packages may run
186configure again during the build, and the customized values of these223configure again during the build, and the customized values of these
187variables may be lost. In order to avoid this problem, you should set224variables may be lost. In order to avoid this problem, you should set
@@ -190,21 +227,29 @@
190 ./configure CC=/usr/local2/bin/gcc227 ./configure CC=/usr/local2/bin/gcc
191228
192causes the specified `gcc' to be used as the C compiler (unless it is229causes the specified `gcc' to be used as the C compiler (unless it is
193overridden in the site shell script). Here is a another example:230overridden in the site shell script).
194231
195 /bin/bash ./configure CONFIG_SHELL=/bin/bash232Unfortunately, this technique does not work for `CONFIG_SHELL' due to
196233an Autoconf bug. Until the bug is fixed you can use this workaround:
197Here the `CONFIG_SHELL=/bin/bash' operand causes subsequent234
198configuration-related scripts to be executed by `/bin/bash'.235 CONFIG_SHELL=/bin/bash /bin/bash ./configure CONFIG_SHELL=/bin/bash
199236
200`configure' Invocation237`configure' Invocation
201======================238======================
202239
203`configure' recognizes the following options to control how it operates.240 `configure' recognizes the following options to control how it
241operates.
204242
205`--help'243`--help'
206`-h'244`-h'
207 Print a summary of the options to `configure', and exit.245 Print a summary of all of the options to `configure', and exit.
246
247`--help=short'
248`--help=recursive'
249 Print a summary of the options unique to this package's
250 `configure', and exit. The `short' variant lists options used
251 only in the top level, while the `recursive' variant lists options
252 also present in any nested packages.
208253
209`--version'254`--version'
210`-V'255`-V'
@@ -231,6 +276,16 @@
231 Look for the package's source code in directory DIR. Usually276 Look for the package's source code in directory DIR. Usually
232 `configure' can determine that directory automatically.277 `configure' can determine that directory automatically.
233278
279`--prefix=DIR'
280 Use DIR as the installation prefix. *Note Installation Names::
281 for more details, including other options available for fine-tuning
282 the installation locations.
283
284`--no-create'
285`-n'
286 Run the configure checks, but stop before creating any output
287 files.
288
234`configure' also accepts some other, not widely useful, options. Run289`configure' also accepts some other, not widely useful, options. Run
235`configure --help' for more details.290`configure --help' for more details.
236291
237292
=== modified file 'Makefile.am'
--- Makefile.am 2006-03-18 18:38:00 +0000
+++ Makefile.am 2010-01-20 17:40:26 +0000
@@ -1,6 +1,11 @@
1## Â$Id: Makefile.am,v 1.12 2009/09/05 20:58:56 nihilus Exp $
1## Process this file with automake to produce Makefile.in2## Process this file with automake to produce Makefile.in
23
3AUTOMAKE_OPTIONS = ansi2knr4AUTOMAKE_OPTIONS =
5ACLOCAL_AMFLAGS = -I m4
6AM_CPPFLAGS = -I$(top_builddir)/lib -I$(top_srcdir)/lib
7
8SUBDIRS = lib
49
5## What programs do we want to build?10## What programs do we want to build?
611
@@ -8,36 +13,33 @@
8sbin_PROGRAMS = dump-utmp @DUMP_ACCT_PROG@ @ACCTON_PROG@ @SA_PROG@13sbin_PROGRAMS = dump-utmp @DUMP_ACCT_PROG@ @ACCTON_PROG@ @SA_PROG@
9EXTRA_PROGRAMS = lastcomm dump-acct accton sa14EXTRA_PROGRAMS = lastcomm dump-acct accton sa
1015
16# What libs do we want to link against?
17
18LDADD = lib/libgnu.la
19
11## From what sources are those programs built?20## From what sources are those programs built?
1221
13ac_SOURCES = ac.c common.c file_rd.c getopt.c getopt1.c hashtab.c \22ac_SOURCES = ac.c common.c file_rd.c hashtab.c \
14 mktime.c utmp_rd.c23 utmp_rd.c
15ac_LDADD = @ALLOCA@24
1625accton_SOURCES = accton.c common.c
17accton_SOURCES = accton.c common.c getopt.c getopt1.c26
18accton_LDADD = @ALLOCA@27dump_acct_SOURCES = dump-acct.c common.c file_rd.c \
19
20dump_acct_SOURCES = dump-acct.c common.c getopt.c getopt1.c file_rd.c \
21 pacct_rd.c28 pacct_rd.c
22dump_acct_LDADD = @ALLOCA@29
2330dump_utmp_SOURCES = dump-utmp.c common.c file_rd.c \
24dump_utmp_SOURCES = dump-utmp.c common.c getopt.c getopt1.c file_rd.c \31 utmp_rd.c
25 utmp_rd.c32
26dump_utmp_LDADD = @ALLOCA@33last_SOURCES = last.c common.c file_rd.c hashtab.c \
2734 utmp_rd.c
28last_SOURCES = last.c common.c file_rd.c getopt.c getopt1.c hashtab.c \35
29 utmp_rd.c36lastcomm_SOURCES = lastcomm.c common.c dev_hash.c file_rd.c \
30last_LDADD = @ALLOCA@37 hashtab.c pacct_rd.c uid_hash.c
3138
32lastcomm_SOURCES = lastcomm.c common.c dev_hash.c file_rd.c getopt.c \39sa_SOURCES = sa.c common.c file_rd.c hashtab.c \
33 getopt1.c hashtab.c pacct_rd.c uid_hash.c
34lastcomm_LDADD = @ALLOCA@
35
36sa_SOURCES = sa.c common.c file_rd.c getopt.c getopt1.c hashtab.c \
37 pacct_rd.c uid_hash.c40 pacct_rd.c uid_hash.c
38sa_LDADD = @ALLOCA@
3941
40noinst_HEADERS = common.h config.h dev_hash.h file_rd.h getopt.h hashtab.h \42noinst_HEADERS = common.h config.h dev_hash.h file_rd.h hashtab.h \
41 pacct_rd.h uid_hash.h utmp_rd.h al_share.cpp linux-acct.h43 pacct_rd.h uid_hash.h utmp_rd.h al_share.cpp linux-acct.h
4244
43# What documentation should we include?45# What documentation should we include?
@@ -50,7 +52,7 @@
50#man_MANS = ac.1 last.1 @ACCTON_MAN@ @LASTCOMM_MAN@ @SA_MAN@52#man_MANS = ac.1 last.1 @ACCTON_MAN@ @LASTCOMM_MAN@ @SA_MAN@
51# but I had to use:53# but I had to use:
52man_MANS = ac.1 accton.8 last.1 lastcomm.1 sa.854man_MANS = ac.1 accton.8 last.1 lastcomm.1 sa.8
53EXTRA_DIST = ac.1 accton.8 last.1 lastcomm.1 sa.8 TODO mktime.c55EXTRA_DIST = ac.1 accton.8 last.1 lastcomm.1 sa.8 TODO m4/gnulib-cache.m4
5456
55## Extra stuff to remove when cleaning57## Extra stuff to remove when cleaning
5658
@@ -58,9 +60,6 @@
5860
59## Extra targets for debugging61## Extra targets for debugging
6062
61mktime: mktime.c
62 $(CC) $(LDFLAGS) -DDEBUG mktime.c -o mktime
63
64## Extra targets for comparing system utilities to these utils63## Extra targets for comparing system utilities to these utils
6564
66compare: compare-ac compare-last compare-lastcomm compare-sa65compare: compare-ac compare-last compare-lastcomm compare-sa
6766
=== modified file 'Makefile.in'
--- Makefile.in 2006-03-18 18:38:00 +0000
+++ Makefile.in 2010-01-20 17:40:26 +0000
@@ -1,8 +1,8 @@
1# Makefile.in generated by automake 1.9.6 from Makefile.am.1# Makefile.in generated by automake 1.10.2 from Makefile.am.
2# @configure_input@2# @configure_input@
33
4# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,4# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
5# 2003, 2004, 2005 Free Software Foundation, Inc.5# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
6# This Makefile.in is free software; the Free Software Foundation6# This Makefile.in is free software; the Free Software Foundation
7# gives unlimited permission to copy and/or distribute it,7# gives unlimited permission to copy and/or distribute it,
8# with or without modifications, as long as this notice is preserved.8# with or without modifications, as long as this notice is preserved.
@@ -15,15 +15,11 @@
15@SET_MAKE@15@SET_MAKE@
1616
1717
18srcdir = @srcdir@
19top_srcdir = @top_srcdir@
20VPATH = @srcdir@18VPATH = @srcdir@
21pkgdatadir = $(datadir)/@PACKAGE@19pkgdatadir = $(datadir)/@PACKAGE@
22pkglibdir = $(libdir)/@PACKAGE@20pkglibdir = $(libdir)/@PACKAGE@
23pkgincludedir = $(includedir)/@PACKAGE@21pkgincludedir = $(includedir)/@PACKAGE@
24top_builddir = .
25am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd22am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
26INSTALL = @INSTALL@
27install_sh_DATA = $(install_sh) -c -m 64423install_sh_DATA = $(install_sh) -c -m 644
28install_sh_PROGRAM = $(install_sh) -c24install_sh_PROGRAM = $(install_sh) -c
29install_sh_SCRIPT = $(install_sh) -c25install_sh_SCRIPT = $(install_sh) -c
@@ -38,26 +34,44 @@
38build_triplet = @build@34build_triplet = @build@
39host_triplet = @host@35host_triplet = @host@
40target_triplet = @target@36target_triplet = @target@
41ANSI2KNR = @ANSI2KNR@
42bin_PROGRAMS = ac$(EXEEXT) last$(EXEEXT) @LASTCOMM_PROG@37bin_PROGRAMS = ac$(EXEEXT) last$(EXEEXT) @LASTCOMM_PROG@
43sbin_PROGRAMS = dump-utmp$(EXEEXT) @DUMP_ACCT_PROG@ @ACCTON_PROG@ \38sbin_PROGRAMS = dump-utmp$(EXEEXT) @DUMP_ACCT_PROG@ @ACCTON_PROG@ \
44 @SA_PROG@ $(am__empty)39 @SA_PROG@ $(am__empty)
45EXTRA_PROGRAMS = lastcomm$(EXEEXT) dump-acct$(EXEEXT) accton$(EXEEXT) \40EXTRA_PROGRAMS = lastcomm$(EXEEXT) dump-acct$(EXEEXT) accton$(EXEEXT) \
46 sa$(EXEEXT)41 sa$(EXEEXT)
42subdir = .
47DIST_COMMON = README $(am__configure_deps) $(noinst_HEADERS) \43DIST_COMMON = README $(am__configure_deps) $(noinst_HEADERS) \
48 $(srcdir)/Makefile.am $(srcdir)/Makefile.in \44 $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
49 $(srcdir)/config.h.in $(srcdir)/files.h.in $(srcdir)/stamp-vti \45 $(srcdir)/config.h.in $(srcdir)/files.h.in $(srcdir)/stamp-vti \
50 $(srcdir)/version.h.in $(srcdir)/version.texi \46 $(srcdir)/version.h.in $(srcdir)/version.texi \
51 $(top_srcdir)/configure AUTHORS COPYING ChangeLog INSTALL NEWS \47 $(top_srcdir)/configure AUTHORS COPYING ChangeLog INSTALL NEWS \
52 TODO alloca.c ansi2knr.1 ansi2knr.c config.guess config.sub \48 TODO config.guess config.sub depcomp install-sh ltmain.sh \
53 depcomp install-sh mdate-sh missing mkinstalldirs texinfo.tex49 mdate-sh missing mkinstalldirs texinfo.tex
54subdir = .
55ACLOCAL_M4 = $(top_srcdir)/aclocal.m450ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
56am__aclocal_m4_deps = $(top_srcdir)/configure.in51am__aclocal_m4_deps = $(top_srcdir)/m4/00gnulib.m4 \
52 $(top_srcdir)/m4/alloca.m4 $(top_srcdir)/m4/dirname.m4 \
53 $(top_srcdir)/m4/dos.m4 $(top_srcdir)/m4/double-slash-root.m4 \
54 $(top_srcdir)/m4/errno_h.m4 $(top_srcdir)/m4/error.m4 \
55 $(top_srcdir)/m4/exitfail.m4 $(top_srcdir)/m4/extensions.m4 \
56 $(top_srcdir)/m4/getopt.m4 $(top_srcdir)/m4/getpagesize.m4 \
57 $(top_srcdir)/m4/gnulib-common.m4 \
58 $(top_srcdir)/m4/gnulib-comp.m4 \
59 $(top_srcdir)/m4/include_next.m4 $(top_srcdir)/m4/inline.m4 \
60 $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \
61 $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
62 $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/m4/mktime.m4 \
63 $(top_srcdir)/m4/multiarch.m4 $(top_srcdir)/m4/onceonly.m4 \
64 $(top_srcdir)/m4/rename.m4 $(top_srcdir)/m4/stdbool.m4 \
65 $(top_srcdir)/m4/stdlib_h.m4 $(top_srcdir)/m4/strerror.m4 \
66 $(top_srcdir)/m4/string_h.m4 $(top_srcdir)/m4/strndup.m4 \
67 $(top_srcdir)/m4/strnlen.m4 $(top_srcdir)/m4/sys_stat_h.m4 \
68 $(top_srcdir)/m4/time_h.m4 $(top_srcdir)/m4/time_r.m4 \
69 $(top_srcdir)/m4/unistd_h.m4 $(top_srcdir)/m4/xalloc.m4 \
70 $(top_srcdir)/m4/xstrndup.m4 $(top_srcdir)/configure.ac
57am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \71am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
58 $(ACLOCAL_M4)72 $(ACLOCAL_M4)
59am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \73am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
60 configure.lineno configure.status.lineno74 configure.lineno config.status.lineno
61mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs75mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
62CONFIG_HEADER = config.h76CONFIG_HEADER = config.h
63CONFIG_CLEAN_FILES = files.h version.h77CONFIG_CLEAN_FILES = files.h version.h
@@ -67,48 +81,53 @@
67binPROGRAMS_INSTALL = $(INSTALL_PROGRAM)81binPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
68sbinPROGRAMS_INSTALL = $(INSTALL_PROGRAM)82sbinPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
69PROGRAMS = $(bin_PROGRAMS) $(sbin_PROGRAMS)83PROGRAMS = $(bin_PROGRAMS) $(sbin_PROGRAMS)
70am_ac_OBJECTS = ac$U.$(OBJEXT) common$U.$(OBJEXT) file_rd$U.$(OBJEXT) \84am_ac_OBJECTS = ac.$(OBJEXT) common.$(OBJEXT) file_rd.$(OBJEXT) \
71 getopt$U.$(OBJEXT) getopt1$U.$(OBJEXT) hashtab$U.$(OBJEXT) \85 hashtab.$(OBJEXT) utmp_rd.$(OBJEXT)
72 mktime$U.$(OBJEXT) utmp_rd$U.$(OBJEXT)
73ac_OBJECTS = $(am_ac_OBJECTS)86ac_OBJECTS = $(am_ac_OBJECTS)
74ac_DEPENDENCIES = @ALLOCA@87ac_LDADD = $(LDADD)
75am_accton_OBJECTS = accton$U.$(OBJEXT) common$U.$(OBJEXT) \88ac_DEPENDENCIES = lib/libgnu.la
76 getopt$U.$(OBJEXT) getopt1$U.$(OBJEXT)89am_accton_OBJECTS = accton.$(OBJEXT) common.$(OBJEXT)
77accton_OBJECTS = $(am_accton_OBJECTS)90accton_OBJECTS = $(am_accton_OBJECTS)
78accton_DEPENDENCIES = @ALLOCA@91accton_LDADD = $(LDADD)
79am_dump_acct_OBJECTS = dump-acct$U.$(OBJEXT) common$U.$(OBJEXT) \92accton_DEPENDENCIES = lib/libgnu.la
80 getopt$U.$(OBJEXT) getopt1$U.$(OBJEXT) file_rd$U.$(OBJEXT) \93am_dump_acct_OBJECTS = dump-acct.$(OBJEXT) common.$(OBJEXT) \
81 pacct_rd$U.$(OBJEXT)94 file_rd.$(OBJEXT) pacct_rd.$(OBJEXT)
82dump_acct_OBJECTS = $(am_dump_acct_OBJECTS)95dump_acct_OBJECTS = $(am_dump_acct_OBJECTS)
83dump_acct_DEPENDENCIES = @ALLOCA@96dump_acct_LDADD = $(LDADD)
84am_dump_utmp_OBJECTS = dump-utmp$U.$(OBJEXT) common$U.$(OBJEXT) \97dump_acct_DEPENDENCIES = lib/libgnu.la
85 getopt$U.$(OBJEXT) getopt1$U.$(OBJEXT) file_rd$U.$(OBJEXT) \98am_dump_utmp_OBJECTS = dump-utmp.$(OBJEXT) common.$(OBJEXT) \
86 utmp_rd$U.$(OBJEXT)99 file_rd.$(OBJEXT) utmp_rd.$(OBJEXT)
87dump_utmp_OBJECTS = $(am_dump_utmp_OBJECTS)100dump_utmp_OBJECTS = $(am_dump_utmp_OBJECTS)
88dump_utmp_DEPENDENCIES = @ALLOCA@101dump_utmp_LDADD = $(LDADD)
89am_last_OBJECTS = last$U.$(OBJEXT) common$U.$(OBJEXT) \102dump_utmp_DEPENDENCIES = lib/libgnu.la
90 file_rd$U.$(OBJEXT) getopt$U.$(OBJEXT) getopt1$U.$(OBJEXT) \103am_last_OBJECTS = last.$(OBJEXT) common.$(OBJEXT) file_rd.$(OBJEXT) \
91 hashtab$U.$(OBJEXT) utmp_rd$U.$(OBJEXT)104 hashtab.$(OBJEXT) utmp_rd.$(OBJEXT)
92last_OBJECTS = $(am_last_OBJECTS)105last_OBJECTS = $(am_last_OBJECTS)
93last_DEPENDENCIES = @ALLOCA@106last_LDADD = $(LDADD)
94am_lastcomm_OBJECTS = lastcomm$U.$(OBJEXT) common$U.$(OBJEXT) \107last_DEPENDENCIES = lib/libgnu.la
95 dev_hash$U.$(OBJEXT) file_rd$U.$(OBJEXT) getopt$U.$(OBJEXT) \108am_lastcomm_OBJECTS = lastcomm.$(OBJEXT) common.$(OBJEXT) \
96 getopt1$U.$(OBJEXT) hashtab$U.$(OBJEXT) pacct_rd$U.$(OBJEXT) \109 dev_hash.$(OBJEXT) file_rd.$(OBJEXT) hashtab.$(OBJEXT) \
97 uid_hash$U.$(OBJEXT)110 pacct_rd.$(OBJEXT) uid_hash.$(OBJEXT)
98lastcomm_OBJECTS = $(am_lastcomm_OBJECTS)111lastcomm_OBJECTS = $(am_lastcomm_OBJECTS)
99lastcomm_DEPENDENCIES = @ALLOCA@112lastcomm_LDADD = $(LDADD)
100am_sa_OBJECTS = sa$U.$(OBJEXT) common$U.$(OBJEXT) file_rd$U.$(OBJEXT) \113lastcomm_DEPENDENCIES = lib/libgnu.la
101 getopt$U.$(OBJEXT) getopt1$U.$(OBJEXT) hashtab$U.$(OBJEXT) \114am_sa_OBJECTS = sa.$(OBJEXT) common.$(OBJEXT) file_rd.$(OBJEXT) \
102 pacct_rd$U.$(OBJEXT) uid_hash$U.$(OBJEXT)115 hashtab.$(OBJEXT) pacct_rd.$(OBJEXT) uid_hash.$(OBJEXT)
103sa_OBJECTS = $(am_sa_OBJECTS)116sa_OBJECTS = $(am_sa_OBJECTS)
104sa_DEPENDENCIES = @ALLOCA@117sa_LDADD = $(LDADD)
105DEFAULT_INCLUDES = -I. -I$(srcdir) -I.118sa_DEPENDENCIES = lib/libgnu.la
119DEFAULT_INCLUDES = -I.@am__isrc@
106depcomp = $(SHELL) $(top_srcdir)/depcomp120depcomp = $(SHELL) $(top_srcdir)/depcomp
107am__depfiles_maybe = depfiles121am__depfiles_maybe = depfiles
108COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \122COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
109 $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)123 $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
124LTCOMPILE = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
125 --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
126 $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
110CCLD = $(CC)127CCLD = $(CC)
111LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@128LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
129 --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \
130 $(LDFLAGS) -o $@
112SOURCES = $(ac_SOURCES) $(accton_SOURCES) $(dump_acct_SOURCES) \131SOURCES = $(ac_SOURCES) $(accton_SOURCES) $(dump_acct_SOURCES) \
113 $(dump_utmp_SOURCES) $(last_SOURCES) $(lastcomm_SOURCES) \132 $(dump_utmp_SOURCES) $(last_SOURCES) $(lastcomm_SOURCES) \
114 $(sa_SOURCES)133 $(sa_SOURCES)
@@ -127,13 +146,29 @@
127MAKEINFOHTML = $(MAKEINFO) --html146MAKEINFOHTML = $(MAKEINFO) --html
128AM_MAKEINFOHTMLFLAGS = $(AM_MAKEINFOFLAGS)147AM_MAKEINFOHTMLFLAGS = $(AM_MAKEINFOFLAGS)
129DVIPS = dvips148DVIPS = dvips
149RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
150 html-recursive info-recursive install-data-recursive \
151 install-dvi-recursive install-exec-recursive \
152 install-html-recursive install-info-recursive \
153 install-pdf-recursive install-ps-recursive install-recursive \
154 installcheck-recursive installdirs-recursive pdf-recursive \
155 ps-recursive uninstall-recursive
156am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
157am__vpath_adj = case $$p in \
158 $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
159 *) f=$$p;; \
160 esac;
161am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
130man1dir = $(mandir)/man1162man1dir = $(mandir)/man1
131man8dir = $(mandir)/man8163man8dir = $(mandir)/man8
132NROFF = nroff164NROFF = nroff
133MANS = $(man_MANS)165MANS = $(man_MANS)
134HEADERS = $(noinst_HEADERS)166HEADERS = $(noinst_HEADERS)
167RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
168 distclean-recursive maintainer-clean-recursive
135ETAGS = etags169ETAGS = etags
136CTAGS = ctags170CTAGS = ctags
171DIST_SUBDIRS = $(SUBDIRS)
137DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)172DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
138distdir = $(PACKAGE)-$(VERSION)173distdir = $(PACKAGE)-$(VERSION)
139top_distdir = $(distdir)174top_distdir = $(distdir)
@@ -150,9 +185,10 @@
150ACCT_FILE_LOC = @ACCT_FILE_LOC@185ACCT_FILE_LOC = @ACCT_FILE_LOC@
151ACLOCAL = @ACLOCAL@186ACLOCAL = @ACLOCAL@
152ALLOCA = @ALLOCA@187ALLOCA = @ALLOCA@
153AMDEP_FALSE = @AMDEP_FALSE@188ALLOCA_H = @ALLOCA_H@
154AMDEP_TRUE = @AMDEP_TRUE@
155AMTAR = @AMTAR@189AMTAR = @AMTAR@
190APPLE_UNIVERSAL_BUILD = @APPLE_UNIVERSAL_BUILD@
191AR = @AR@
156AUTOCONF = @AUTOCONF@192AUTOCONF = @AUTOCONF@
157AUTOHEADER = @AUTOHEADER@193AUTOHEADER = @AUTOHEADER@
158AUTOMAKE = @AUTOMAKE@194AUTOMAKE = @AUTOMAKE@
@@ -165,26 +201,187 @@
165CYGPATH_W = @CYGPATH_W@201CYGPATH_W = @CYGPATH_W@
166DEFS = @DEFS@202DEFS = @DEFS@
167DEPDIR = @DEPDIR@203DEPDIR = @DEPDIR@
204DSYMUTIL = @DSYMUTIL@
205DUMPBIN = @DUMPBIN@
168DUMP_ACCT_PROG = @DUMP_ACCT_PROG@206DUMP_ACCT_PROG = @DUMP_ACCT_PROG@
169ECHO_C = @ECHO_C@207ECHO_C = @ECHO_C@
170ECHO_N = @ECHO_N@208ECHO_N = @ECHO_N@
171ECHO_T = @ECHO_T@209ECHO_T = @ECHO_T@
172EGREP = @EGREP@210EGREP = @EGREP@
211EMULTIHOP_HIDDEN = @EMULTIHOP_HIDDEN@
212EMULTIHOP_VALUE = @EMULTIHOP_VALUE@
213ENOLINK_HIDDEN = @ENOLINK_HIDDEN@
214ENOLINK_VALUE = @ENOLINK_VALUE@
215EOVERFLOW_HIDDEN = @EOVERFLOW_HIDDEN@
216EOVERFLOW_VALUE = @EOVERFLOW_VALUE@
217ERRNO_H = @ERRNO_H@
173EXEEXT = @EXEEXT@218EXEEXT = @EXEEXT@
219FGREP = @FGREP@
220GETOPT_H = @GETOPT_H@
221GNULIB_ATOLL = @GNULIB_ATOLL@
222GNULIB_CALLOC_POSIX = @GNULIB_CALLOC_POSIX@
223GNULIB_CHOWN = @GNULIB_CHOWN@
224GNULIB_CLOSE = @GNULIB_CLOSE@
225GNULIB_DUP2 = @GNULIB_DUP2@
226GNULIB_ENVIRON = @GNULIB_ENVIRON@
227GNULIB_EUIDACCESS = @GNULIB_EUIDACCESS@
228GNULIB_FCHDIR = @GNULIB_FCHDIR@
229GNULIB_FSYNC = @GNULIB_FSYNC@
230GNULIB_FTRUNCATE = @GNULIB_FTRUNCATE@
231GNULIB_GETCWD = @GNULIB_GETCWD@
232GNULIB_GETDOMAINNAME = @GNULIB_GETDOMAINNAME@
233GNULIB_GETDTABLESIZE = @GNULIB_GETDTABLESIZE@
234GNULIB_GETHOSTNAME = @GNULIB_GETHOSTNAME@
235GNULIB_GETLOADAVG = @GNULIB_GETLOADAVG@
236GNULIB_GETLOGIN_R = @GNULIB_GETLOGIN_R@
237GNULIB_GETPAGESIZE = @GNULIB_GETPAGESIZE@
238GNULIB_GETSUBOPT = @GNULIB_GETSUBOPT@
239GNULIB_GETUSERSHELL = @GNULIB_GETUSERSHELL@
240GNULIB_LCHMOD = @GNULIB_LCHMOD@
241GNULIB_LCHOWN = @GNULIB_LCHOWN@
242GNULIB_LINK = @GNULIB_LINK@
243GNULIB_LSEEK = @GNULIB_LSEEK@
244GNULIB_LSTAT = @GNULIB_LSTAT@
245GNULIB_MALLOC_POSIX = @GNULIB_MALLOC_POSIX@
246GNULIB_MBSCASECMP = @GNULIB_MBSCASECMP@
247GNULIB_MBSCASESTR = @GNULIB_MBSCASESTR@
248GNULIB_MBSCHR = @GNULIB_MBSCHR@
249GNULIB_MBSCSPN = @GNULIB_MBSCSPN@
250GNULIB_MBSLEN = @GNULIB_MBSLEN@
251GNULIB_MBSNCASECMP = @GNULIB_MBSNCASECMP@
252GNULIB_MBSNLEN = @GNULIB_MBSNLEN@
253GNULIB_MBSPBRK = @GNULIB_MBSPBRK@
254GNULIB_MBSPCASECMP = @GNULIB_MBSPCASECMP@
255GNULIB_MBSRCHR = @GNULIB_MBSRCHR@
256GNULIB_MBSSEP = @GNULIB_MBSSEP@
257GNULIB_MBSSPN = @GNULIB_MBSSPN@
258GNULIB_MBSSTR = @GNULIB_MBSSTR@
259GNULIB_MBSTOK_R = @GNULIB_MBSTOK_R@
260GNULIB_MEMMEM = @GNULIB_MEMMEM@
261GNULIB_MEMPCPY = @GNULIB_MEMPCPY@
262GNULIB_MEMRCHR = @GNULIB_MEMRCHR@
263GNULIB_MKDTEMP = @GNULIB_MKDTEMP@
264GNULIB_MKSTEMP = @GNULIB_MKSTEMP@
265GNULIB_PUTENV = @GNULIB_PUTENV@
266GNULIB_RANDOM_R = @GNULIB_RANDOM_R@
267GNULIB_RAWMEMCHR = @GNULIB_RAWMEMCHR@
268GNULIB_READLINK = @GNULIB_READLINK@
269GNULIB_REALLOC_POSIX = @GNULIB_REALLOC_POSIX@
270GNULIB_RPMATCH = @GNULIB_RPMATCH@
271GNULIB_SETENV = @GNULIB_SETENV@
272GNULIB_SLEEP = @GNULIB_SLEEP@
273GNULIB_STPCPY = @GNULIB_STPCPY@
274GNULIB_STPNCPY = @GNULIB_STPNCPY@
275GNULIB_STRCASESTR = @GNULIB_STRCASESTR@
276GNULIB_STRCHRNUL = @GNULIB_STRCHRNUL@
277GNULIB_STRDUP = @GNULIB_STRDUP@
278GNULIB_STRERROR = @GNULIB_STRERROR@
279GNULIB_STRNDUP = @GNULIB_STRNDUP@
280GNULIB_STRNLEN = @GNULIB_STRNLEN@
281GNULIB_STRPBRK = @GNULIB_STRPBRK@
282GNULIB_STRSEP = @GNULIB_STRSEP@
283GNULIB_STRSIGNAL = @GNULIB_STRSIGNAL@
284GNULIB_STRSTR = @GNULIB_STRSTR@
285GNULIB_STRTOD = @GNULIB_STRTOD@
286GNULIB_STRTOK_R = @GNULIB_STRTOK_R@
287GNULIB_STRTOLL = @GNULIB_STRTOLL@
288GNULIB_STRTOULL = @GNULIB_STRTOULL@
289GNULIB_STRVERSCMP = @GNULIB_STRVERSCMP@
290GNULIB_UNISTD_H_SIGPIPE = @GNULIB_UNISTD_H_SIGPIPE@
291GNULIB_UNSETENV = @GNULIB_UNSETENV@
292GNULIB_WRITE = @GNULIB_WRITE@
293GREP = @GREP@
294HAVE_ATOLL = @HAVE_ATOLL@
295HAVE_CALLOC_POSIX = @HAVE_CALLOC_POSIX@
296HAVE_DECL_ENVIRON = @HAVE_DECL_ENVIRON@
297HAVE_DECL_GETLOADAVG = @HAVE_DECL_GETLOADAVG@
298HAVE_DECL_GETLOGIN_R = @HAVE_DECL_GETLOGIN_R@
299HAVE_DECL_MEMMEM = @HAVE_DECL_MEMMEM@
300HAVE_DECL_MEMRCHR = @HAVE_DECL_MEMRCHR@
301HAVE_DECL_STRDUP = @HAVE_DECL_STRDUP@
302HAVE_DECL_STRERROR = @HAVE_DECL_STRERROR@
303HAVE_DECL_STRNDUP = @HAVE_DECL_STRNDUP@
304HAVE_DECL_STRNLEN = @HAVE_DECL_STRNLEN@
305HAVE_DECL_STRSIGNAL = @HAVE_DECL_STRSIGNAL@
306HAVE_DECL_STRTOK_R = @HAVE_DECL_STRTOK_R@
307HAVE_DUP2 = @HAVE_DUP2@
308HAVE_EUIDACCESS = @HAVE_EUIDACCESS@
309HAVE_FSYNC = @HAVE_FSYNC@
310HAVE_FTRUNCATE = @HAVE_FTRUNCATE@
311HAVE_GETDOMAINNAME = @HAVE_GETDOMAINNAME@
312HAVE_GETDTABLESIZE = @HAVE_GETDTABLESIZE@
313HAVE_GETHOSTNAME = @HAVE_GETHOSTNAME@
314HAVE_GETPAGESIZE = @HAVE_GETPAGESIZE@
315HAVE_GETSUBOPT = @HAVE_GETSUBOPT@
316HAVE_GETUSERSHELL = @HAVE_GETUSERSHELL@
317HAVE_LCHMOD = @HAVE_LCHMOD@
318HAVE_LINK = @HAVE_LINK@
319HAVE_LSTAT = @HAVE_LSTAT@
320HAVE_MALLOC_POSIX = @HAVE_MALLOC_POSIX@
321HAVE_MEMPCPY = @HAVE_MEMPCPY@
322HAVE_MKDTEMP = @HAVE_MKDTEMP@
323HAVE_OS_H = @HAVE_OS_H@
324HAVE_RANDOM_H = @HAVE_RANDOM_H@
325HAVE_RANDOM_R = @HAVE_RANDOM_R@
326HAVE_RAWMEMCHR = @HAVE_RAWMEMCHR@
327HAVE_READLINK = @HAVE_READLINK@
328HAVE_REALLOC_POSIX = @HAVE_REALLOC_POSIX@
329HAVE_RPMATCH = @HAVE_RPMATCH@
330HAVE_SETENV = @HAVE_SETENV@
331HAVE_SLEEP = @HAVE_SLEEP@
332HAVE_STPCPY = @HAVE_STPCPY@
333HAVE_STPNCPY = @HAVE_STPNCPY@
334HAVE_STRCASESTR = @HAVE_STRCASESTR@
335HAVE_STRCHRNUL = @HAVE_STRCHRNUL@
336HAVE_STRNDUP = @HAVE_STRNDUP@
337HAVE_STRPBRK = @HAVE_STRPBRK@
338HAVE_STRSEP = @HAVE_STRSEP@
339HAVE_STRTOD = @HAVE_STRTOD@
340HAVE_STRTOLL = @HAVE_STRTOLL@
341HAVE_STRTOULL = @HAVE_STRTOULL@
342HAVE_STRUCT_RANDOM_DATA = @HAVE_STRUCT_RANDOM_DATA@
343HAVE_STRVERSCMP = @HAVE_STRVERSCMP@
344HAVE_SYS_LOADAVG_H = @HAVE_SYS_LOADAVG_H@
345HAVE_SYS_PARAM_H = @HAVE_SYS_PARAM_H@
346HAVE_UNISTD_H = @HAVE_UNISTD_H@
347HAVE_UNSETENV = @HAVE_UNSETENV@
348HAVE__BOOL = @HAVE__BOOL@
349INCLUDE_NEXT = @INCLUDE_NEXT@
350INCLUDE_NEXT_AS_FIRST_DIRECTIVE = @INCLUDE_NEXT_AS_FIRST_DIRECTIVE@
351INSTALL = @INSTALL@
174INSTALL_DATA = @INSTALL_DATA@352INSTALL_DATA = @INSTALL_DATA@
175INSTALL_PROGRAM = @INSTALL_PROGRAM@353INSTALL_PROGRAM = @INSTALL_PROGRAM@
176INSTALL_SCRIPT = @INSTALL_SCRIPT@354INSTALL_SCRIPT = @INSTALL_SCRIPT@
177INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@355INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
178LASTCOMM_MAN = @LASTCOMM_MAN@356LASTCOMM_MAN = @LASTCOMM_MAN@
179LASTCOMM_PROG = @LASTCOMM_PROG@357LASTCOMM_PROG = @LASTCOMM_PROG@
358LD = @LD@
180LDFLAGS = @LDFLAGS@359LDFLAGS = @LDFLAGS@
360LIBINTL = @LIBINTL@
181LIBOBJS = @LIBOBJS@361LIBOBJS = @LIBOBJS@
182LIBS = @LIBS@362LIBS = @LIBS@
363LIBTOOL = @LIBTOOL@
364LIBTOOL_DEPS = @LIBTOOL_DEPS@
365LIPO = @LIPO@
366LN_S = @LN_S@
367LTALLOCA = @LTALLOCA@
368LTLIBINTL = @LTLIBINTL@
183LTLIBOBJS = @LTLIBOBJS@369LTLIBOBJS = @LTLIBOBJS@
370MAINT = @MAINT@
184MAKEINFO = @MAKEINFO@371MAKEINFO = @MAKEINFO@
185MKTIME_C = @MKTIME_C@372MKDIR_P = @MKDIR_P@
186MKTIME_O = @MKTIME_O@373NEXT_ERRNO_H = @NEXT_ERRNO_H@
374NEXT_STDLIB_H = @NEXT_STDLIB_H@
375NEXT_STRING_H = @NEXT_STRING_H@
376NEXT_SYS_STAT_H = @NEXT_SYS_STAT_H@
377NEXT_TIME_H = @NEXT_TIME_H@
378NEXT_UNISTD_H = @NEXT_UNISTD_H@
379NM = @NM@
380NMEDIT = @NMEDIT@
381OBJDUMP = @OBJDUMP@
187OBJEXT = @OBJEXT@382OBJEXT = @OBJEXT@
383OTOOL = @OTOOL@
384OTOOL64 = @OTOOL64@
188PACKAGE = @PACKAGE@385PACKAGE = @PACKAGE@
189PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@386PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
190PACKAGE_NAME = @PACKAGE_NAME@387PACKAGE_NAME = @PACKAGE_NAME@
@@ -192,24 +389,57 @@
192PACKAGE_TARNAME = @PACKAGE_TARNAME@389PACKAGE_TARNAME = @PACKAGE_TARNAME@
193PACKAGE_VERSION = @PACKAGE_VERSION@390PACKAGE_VERSION = @PACKAGE_VERSION@
194PATH_SEPARATOR = @PATH_SEPARATOR@391PATH_SEPARATOR = @PATH_SEPARATOR@
392PRAGMA_SYSTEM_HEADER = @PRAGMA_SYSTEM_HEADER@
393RANLIB = @RANLIB@
394REPLACE_CHOWN = @REPLACE_CHOWN@
395REPLACE_CLOSE = @REPLACE_CLOSE@
396REPLACE_FCHDIR = @REPLACE_FCHDIR@
397REPLACE_GETCWD = @REPLACE_GETCWD@
398REPLACE_GETPAGESIZE = @REPLACE_GETPAGESIZE@
399REPLACE_LCHOWN = @REPLACE_LCHOWN@
400REPLACE_LOCALTIME_R = @REPLACE_LOCALTIME_R@
401REPLACE_LSEEK = @REPLACE_LSEEK@
402REPLACE_LSTAT = @REPLACE_LSTAT@
403REPLACE_MEMMEM = @REPLACE_MEMMEM@
404REPLACE_MKDIR = @REPLACE_MKDIR@
405REPLACE_MKSTEMP = @REPLACE_MKSTEMP@
406REPLACE_NANOSLEEP = @REPLACE_NANOSLEEP@
407REPLACE_PUTENV = @REPLACE_PUTENV@
408REPLACE_STRCASESTR = @REPLACE_STRCASESTR@
409REPLACE_STRDUP = @REPLACE_STRDUP@
410REPLACE_STRERROR = @REPLACE_STRERROR@
411REPLACE_STRPTIME = @REPLACE_STRPTIME@
412REPLACE_STRSIGNAL = @REPLACE_STRSIGNAL@
413REPLACE_STRSTR = @REPLACE_STRSTR@
414REPLACE_STRTOD = @REPLACE_STRTOD@
415REPLACE_TIMEGM = @REPLACE_TIMEGM@
416REPLACE_WRITE = @REPLACE_WRITE@
195SAVACCT_FILE_LOC = @SAVACCT_FILE_LOC@417SAVACCT_FILE_LOC = @SAVACCT_FILE_LOC@
196SA_MAN = @SA_MAN@418SA_MAN = @SA_MAN@
197SA_PROG = @SA_PROG@419SA_PROG = @SA_PROG@
420SED = @SED@
198SET_MAKE = @SET_MAKE@421SET_MAKE = @SET_MAKE@
199SHELL = @SHELL@422SHELL = @SHELL@
423STDBOOL_H = @STDBOOL_H@
200STRIP = @STRIP@424STRIP = @STRIP@
201SYS_AC = @SYS_AC@425SYS_AC = @SYS_AC@
202SYS_LAST = @SYS_LAST@426SYS_LAST = @SYS_LAST@
203SYS_LASTCOMM = @SYS_LASTCOMM@427SYS_LASTCOMM = @SYS_LASTCOMM@
204SYS_SA = @SYS_SA@428SYS_SA = @SYS_SA@
205U = @U@429SYS_STAT_H = @SYS_STAT_H@
430SYS_TIME_H_DEFINES_STRUCT_TIMESPEC = @SYS_TIME_H_DEFINES_STRUCT_TIMESPEC@
431TIME_H_DEFINES_STRUCT_TIMESPEC = @TIME_H_DEFINES_STRUCT_TIMESPEC@
432UNISTD_H_HAVE_WINSOCK2_H = @UNISTD_H_HAVE_WINSOCK2_H@
206USRACCT_FILE_LOC = @USRACCT_FILE_LOC@433USRACCT_FILE_LOC = @USRACCT_FILE_LOC@
207VERSION = @VERSION@434VERSION = @VERSION@
435VOID_UNSETENV = @VOID_UNSETENV@
208WTMP_FILE_LOC = @WTMP_FILE_LOC@436WTMP_FILE_LOC = @WTMP_FILE_LOC@
437abs_builddir = @abs_builddir@
438abs_srcdir = @abs_srcdir@
439abs_top_builddir = @abs_top_builddir@
440abs_top_srcdir = @abs_top_srcdir@
209ac_ct_CC = @ac_ct_CC@441ac_ct_CC = @ac_ct_CC@
210ac_ct_STRIP = @ac_ct_STRIP@442ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
211am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
212am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
213am__include = @am__include@443am__include = @am__include@
214am__leading_dot = @am__leading_dot@444am__leading_dot = @am__leading_dot@
215am__quote = @am__quote@445am__quote = @am__quote@
@@ -221,60 +451,76 @@
221build_cpu = @build_cpu@451build_cpu = @build_cpu@
222build_os = @build_os@452build_os = @build_os@
223build_vendor = @build_vendor@453build_vendor = @build_vendor@
454builddir = @builddir@
224datadir = @datadir@455datadir = @datadir@
456datarootdir = @datarootdir@
457docdir = @docdir@
458dvidir = @dvidir@
225exec_prefix = @exec_prefix@459exec_prefix = @exec_prefix@
460gl_LIBOBJS = @gl_LIBOBJS@
461gl_LTLIBOBJS = @gl_LTLIBOBJS@
462gltests_LIBOBJS = @gltests_LIBOBJS@
463gltests_LTLIBOBJS = @gltests_LTLIBOBJS@
226host = @host@464host = @host@
227host_alias = @host_alias@465host_alias = @host_alias@
228host_cpu = @host_cpu@466host_cpu = @host_cpu@
229host_os = @host_os@467host_os = @host_os@
230host_vendor = @host_vendor@468host_vendor = @host_vendor@
469htmldir = @htmldir@
231includedir = @includedir@470includedir = @includedir@
232infodir = @infodir@471infodir = @infodir@
233install_sh = @install_sh@472install_sh = @install_sh@
234libdir = @libdir@473libdir = @libdir@
235libexecdir = @libexecdir@474libexecdir = @libexecdir@
475localedir = @localedir@
236localstatedir = @localstatedir@476localstatedir = @localstatedir@
477lt_ECHO = @lt_ECHO@
237mandir = @mandir@478mandir = @mandir@
238mkdir_p = @mkdir_p@479mkdir_p = @mkdir_p@
239oldincludedir = @oldincludedir@480oldincludedir = @oldincludedir@
481pdfdir = @pdfdir@
240prefix = @prefix@482prefix = @prefix@
241program_transform_name = @program_transform_name@483program_transform_name = @program_transform_name@
484psdir = @psdir@
242sbindir = @sbindir@485sbindir = @sbindir@
243sharedstatedir = @sharedstatedir@486sharedstatedir = @sharedstatedir@
487srcdir = @srcdir@
244sysconfdir = @sysconfdir@488sysconfdir = @sysconfdir@
245target = @target@489target = @target@
246target_alias = @target_alias@490target_alias = @target_alias@
247target_cpu = @target_cpu@491target_cpu = @target_cpu@
248target_os = @target_os@492target_os = @target_os@
249target_vendor = @target_vendor@493target_vendor = @target_vendor@
250AUTOMAKE_OPTIONS = ansi2knr494top_build_prefix = @top_build_prefix@
251ac_SOURCES = ac.c common.c file_rd.c getopt.c getopt1.c hashtab.c \495top_builddir = @top_builddir@
252 mktime.c utmp_rd.c496top_srcdir = @top_srcdir@
253497AUTOMAKE_OPTIONS =
254ac_LDADD = @ALLOCA@498ACLOCAL_AMFLAGS = -I m4
255accton_SOURCES = accton.c common.c getopt.c getopt1.c499AM_CPPFLAGS = -I$(top_builddir)/lib -I$(top_srcdir)/lib
256accton_LDADD = @ALLOCA@500SUBDIRS = lib
257dump_acct_SOURCES = dump-acct.c common.c getopt.c getopt1.c file_rd.c \501
502# What libs do we want to link against?
503LDADD = lib/libgnu.la
504ac_SOURCES = ac.c common.c file_rd.c hashtab.c \
505 utmp_rd.c
506
507accton_SOURCES = accton.c common.c
508dump_acct_SOURCES = dump-acct.c common.c file_rd.c \
258 pacct_rd.c509 pacct_rd.c
259510
260dump_acct_LDADD = @ALLOCA@511dump_utmp_SOURCES = dump-utmp.c common.c file_rd.c \
261dump_utmp_SOURCES = dump-utmp.c common.c getopt.c getopt1.c file_rd.c \512 utmp_rd.c
262 utmp_rd.c513
263514last_SOURCES = last.c common.c file_rd.c hashtab.c \
264dump_utmp_LDADD = @ALLOCA@515 utmp_rd.c
265last_SOURCES = last.c common.c file_rd.c getopt.c getopt1.c hashtab.c \516
266 utmp_rd.c517lastcomm_SOURCES = lastcomm.c common.c dev_hash.c file_rd.c \
267518 hashtab.c pacct_rd.c uid_hash.c
268last_LDADD = @ALLOCA@519
269lastcomm_SOURCES = lastcomm.c common.c dev_hash.c file_rd.c getopt.c \520sa_SOURCES = sa.c common.c file_rd.c hashtab.c \
270 getopt1.c hashtab.c pacct_rd.c uid_hash.c
271
272lastcomm_LDADD = @ALLOCA@
273sa_SOURCES = sa.c common.c file_rd.c getopt.c getopt1.c hashtab.c \
274 pacct_rd.c uid_hash.c521 pacct_rd.c uid_hash.c
275522
276sa_LDADD = @ALLOCA@523noinst_HEADERS = common.h config.h dev_hash.h file_rd.h hashtab.h \
277noinst_HEADERS = common.h config.h dev_hash.h file_rd.h getopt.h hashtab.h \
278 pacct_rd.h uid_hash.h utmp_rd.h al_share.cpp linux-acct.h524 pacct_rd.h uid_hash.h utmp_rd.h al_share.cpp linux-acct.h
279525
280526
@@ -287,16 +533,16 @@
287#man_MANS = ac.1 last.1 @ACCTON_MAN@ @LASTCOMM_MAN@ @SA_MAN@533#man_MANS = ac.1 last.1 @ACCTON_MAN@ @LASTCOMM_MAN@ @SA_MAN@
288# but I had to use:534# but I had to use:
289man_MANS = ac.1 accton.8 last.1 lastcomm.1 sa.8535man_MANS = ac.1 accton.8 last.1 lastcomm.1 sa.8
290EXTRA_DIST = ac.1 accton.8 last.1 lastcomm.1 sa.8 TODO mktime.c536EXTRA_DIST = ac.1 accton.8 last.1 lastcomm.1 sa.8 TODO m4/gnulib-cache.m4
291DISTCLEANFILES = files.h version.h stamp-h537DISTCLEANFILES = files.h version.h stamp-h
292all: config.h538all: config.h
293 $(MAKE) $(AM_MAKEFLAGS) all-am539 $(MAKE) $(AM_MAKEFLAGS) all-recursive
294540
295.SUFFIXES:541.SUFFIXES:
296.SUFFIXES: .c .dvi .html .info .o .obj .pdf .ps .texi542.SUFFIXES: .c .dvi .html .info .lo .o .obj .pdf .ps .texi
297am--refresh:543am--refresh:
298 @:544 @:
299$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)545$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps)
300 @for dep in $?; do \546 @for dep in $?; do \
301 case '$(am__configure_deps)' in \547 case '$(am__configure_deps)' in \
302 *$$dep*) \548 *$$dep*) \
@@ -323,21 +569,21 @@
323$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)569$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
324 $(SHELL) ./config.status --recheck570 $(SHELL) ./config.status --recheck
325571
326$(top_srcdir)/configure: $(am__configure_deps)572$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
327 cd $(srcdir) && $(AUTOCONF)573 cd $(srcdir) && $(AUTOCONF)
328$(ACLOCAL_M4): $(am__aclocal_m4_deps)574$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
329 cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)575 cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
330576
331config.h: stamp-h1577config.h: stamp-h1
332 @if test ! -f $@; then \578 @if test ! -f $@; then \
333 rm -f stamp-h1; \579 rm -f stamp-h1; \
334 $(MAKE) stamp-h1; \580 $(MAKE) $(AM_MAKEFLAGS) stamp-h1; \
335 else :; fi581 else :; fi
336582
337stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status583stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status
338 @rm -f stamp-h1584 @rm -f stamp-h1
339 cd $(top_builddir) && $(SHELL) ./config.status config.h585 cd $(top_builddir) && $(SHELL) ./config.status config.h
340$(srcdir)/config.h.in: $(am__configure_deps) 586$(srcdir)/config.h.in: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
341 cd $(top_srcdir) && $(AUTOHEADER)587 cd $(top_srcdir) && $(AUTOHEADER)
342 rm -f stamp-h1588 rm -f stamp-h1
343 touch $@589 touch $@
@@ -350,14 +596,15 @@
350 cd $(top_builddir) && $(SHELL) ./config.status $@596 cd $(top_builddir) && $(SHELL) ./config.status $@
351install-binPROGRAMS: $(bin_PROGRAMS)597install-binPROGRAMS: $(bin_PROGRAMS)
352 @$(NORMAL_INSTALL)598 @$(NORMAL_INSTALL)
353 test -z "$(bindir)" || $(mkdir_p) "$(DESTDIR)$(bindir)"599 test -z "$(bindir)" || $(MKDIR_P) "$(DESTDIR)$(bindir)"
354 @list='$(bin_PROGRAMS)'; for p in $$list; do \600 @list='$(bin_PROGRAMS)'; for p in $$list; do \
355 p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \601 p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
356 if test -f $$p \602 if test -f $$p \
603 || test -f $$p1 \
357 ; then \604 ; then \
358 f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \605 f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
359 echo " $(INSTALL_PROGRAM_ENV) $(binPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(bindir)/$$f'"; \606 echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(binPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(bindir)/$$f'"; \
360 $(INSTALL_PROGRAM_ENV) $(binPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(bindir)/$$f" || exit 1; \607 $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(binPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(bindir)/$$f" || exit 1; \
361 else :; fi; \608 else :; fi; \
362 done609 done
363610
@@ -370,17 +617,22 @@
370 done617 done
371618
372clean-binPROGRAMS:619clean-binPROGRAMS:
373 -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)620 @list='$(bin_PROGRAMS)'; for p in $$list; do \
621 f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
622 echo " rm -f $$p $$f"; \
623 rm -f $$p $$f ; \
624 done
374install-sbinPROGRAMS: $(sbin_PROGRAMS)625install-sbinPROGRAMS: $(sbin_PROGRAMS)
375 @$(NORMAL_INSTALL)626 @$(NORMAL_INSTALL)
376 test -z "$(sbindir)" || $(mkdir_p) "$(DESTDIR)$(sbindir)"627 test -z "$(sbindir)" || $(MKDIR_P) "$(DESTDIR)$(sbindir)"
377 @list='$(sbin_PROGRAMS)'; for p in $$list; do \628 @list='$(sbin_PROGRAMS)'; for p in $$list; do \
378 p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \629 p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
379 if test -f $$p \630 if test -f $$p \
631 || test -f $$p1 \
380 ; then \632 ; then \
381 f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \633 f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
382 echo " $(INSTALL_PROGRAM_ENV) $(sbinPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(sbindir)/$$f'"; \634 echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(sbinPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(sbindir)/$$f'"; \
383 $(INSTALL_PROGRAM_ENV) $(sbinPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(sbindir)/$$f" || exit 1; \635 $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(sbinPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(sbindir)/$$f" || exit 1; \
384 else :; fi; \636 else :; fi; \
385 done637 done
386638
@@ -393,118 +645,83 @@
393 done645 done
394646
395clean-sbinPROGRAMS:647clean-sbinPROGRAMS:
396 -test -z "$(sbin_PROGRAMS)" || rm -f $(sbin_PROGRAMS)648 @list='$(sbin_PROGRAMS)'; for p in $$list; do \
649 f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
650 echo " rm -f $$p $$f"; \
651 rm -f $$p $$f ; \
652 done
397ac$(EXEEXT): $(ac_OBJECTS) $(ac_DEPENDENCIES) 653ac$(EXEEXT): $(ac_OBJECTS) $(ac_DEPENDENCIES)
398 @rm -f ac$(EXEEXT)654 @rm -f ac$(EXEEXT)
399 $(LINK) $(ac_LDFLAGS) $(ac_OBJECTS) $(ac_LDADD) $(LIBS)655 $(LINK) $(ac_OBJECTS) $(ac_LDADD) $(LIBS)
400accton$(EXEEXT): $(accton_OBJECTS) $(accton_DEPENDENCIES) 656accton$(EXEEXT): $(accton_OBJECTS) $(accton_DEPENDENCIES)
401 @rm -f accton$(EXEEXT)657 @rm -f accton$(EXEEXT)
402 $(LINK) $(accton_LDFLAGS) $(accton_OBJECTS) $(accton_LDADD) $(LIBS)658 $(LINK) $(accton_OBJECTS) $(accton_LDADD) $(LIBS)
403dump-acct$(EXEEXT): $(dump_acct_OBJECTS) $(dump_acct_DEPENDENCIES) 659dump-acct$(EXEEXT): $(dump_acct_OBJECTS) $(dump_acct_DEPENDENCIES)
404 @rm -f dump-acct$(EXEEXT)660 @rm -f dump-acct$(EXEEXT)
405 $(LINK) $(dump_acct_LDFLAGS) $(dump_acct_OBJECTS) $(dump_acct_LDADD) $(LIBS)661 $(LINK) $(dump_acct_OBJECTS) $(dump_acct_LDADD) $(LIBS)
406dump-utmp$(EXEEXT): $(dump_utmp_OBJECTS) $(dump_utmp_DEPENDENCIES) 662dump-utmp$(EXEEXT): $(dump_utmp_OBJECTS) $(dump_utmp_DEPENDENCIES)
407 @rm -f dump-utmp$(EXEEXT)663 @rm -f dump-utmp$(EXEEXT)
408 $(LINK) $(dump_utmp_LDFLAGS) $(dump_utmp_OBJECTS) $(dump_utmp_LDADD) $(LIBS)664 $(LINK) $(dump_utmp_OBJECTS) $(dump_utmp_LDADD) $(LIBS)
409last$(EXEEXT): $(last_OBJECTS) $(last_DEPENDENCIES) 665last$(EXEEXT): $(last_OBJECTS) $(last_DEPENDENCIES)
410 @rm -f last$(EXEEXT)666 @rm -f last$(EXEEXT)
411 $(LINK) $(last_LDFLAGS) $(last_OBJECTS) $(last_LDADD) $(LIBS)667 $(LINK) $(last_OBJECTS) $(last_LDADD) $(LIBS)
412lastcomm$(EXEEXT): $(lastcomm_OBJECTS) $(lastcomm_DEPENDENCIES) 668lastcomm$(EXEEXT): $(lastcomm_OBJECTS) $(lastcomm_DEPENDENCIES)
413 @rm -f lastcomm$(EXEEXT)669 @rm -f lastcomm$(EXEEXT)
414 $(LINK) $(lastcomm_LDFLAGS) $(lastcomm_OBJECTS) $(lastcomm_LDADD) $(LIBS)670 $(LINK) $(lastcomm_OBJECTS) $(lastcomm_LDADD) $(LIBS)
415sa$(EXEEXT): $(sa_OBJECTS) $(sa_DEPENDENCIES) 671sa$(EXEEXT): $(sa_OBJECTS) $(sa_DEPENDENCIES)
416 @rm -f sa$(EXEEXT)672 @rm -f sa$(EXEEXT)
417 $(LINK) $(sa_LDFLAGS) $(sa_OBJECTS) $(sa_LDADD) $(LIBS)673 $(LINK) $(sa_OBJECTS) $(sa_LDADD) $(LIBS)
418674
419mostlyclean-compile:675mostlyclean-compile:
420 -rm -f *.$(OBJEXT)676 -rm -f *.$(OBJEXT)
421677
422distclean-compile:678distclean-compile:
423 -rm -f *.tab.c679 -rm -f *.tab.c
424ansi2knr: ansi2knr.$(OBJEXT)680
425 $(LINK) ansi2knr.$(OBJEXT) $(LIBS)681@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ac.Po@am__quote@
426ansi2knr.$(OBJEXT): $(CONFIG_HEADER)682@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/accton.Po@am__quote@
427683@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/common.Po@am__quote@
428clean-krextra:684@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dev_hash.Po@am__quote@
429 -rm -f ansi2knr685@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dump-acct.Po@am__quote@
430686@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dump-utmp.Po@am__quote@
431mostlyclean-kr:687@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/file_rd.Po@am__quote@
432 -test "$U" = "" || rm -f *_.c688@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hashtab.Po@am__quote@
433689@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/last.Po@am__quote@
434@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/alloca.Po@am__quote@690@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/lastcomm.Po@am__quote@
435@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ac$U.Po@am__quote@691@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pacct_rd.Po@am__quote@
436@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/accton$U.Po@am__quote@692@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sa.Po@am__quote@
437@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/common$U.Po@am__quote@693@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/uid_hash.Po@am__quote@
438@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dev_hash$U.Po@am__quote@694@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/utmp_rd.Po@am__quote@
439@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dump-acct$U.Po@am__quote@
440@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dump-utmp$U.Po@am__quote@
441@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/file_rd$U.Po@am__quote@
442@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/getopt$U.Po@am__quote@
443@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/getopt1$U.Po@am__quote@
444@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hashtab$U.Po@am__quote@
445@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/last$U.Po@am__quote@
446@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/lastcomm$U.Po@am__quote@
447@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mktime$U.Po@am__quote@
448@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pacct_rd$U.Po@am__quote@
449@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sa$U.Po@am__quote@
450@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/uid_hash$U.Po@am__quote@
451@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/utmp_rd$U.Po@am__quote@
452695
453.c.o:696.c.o:
454@am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \697@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
455@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi698@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
456@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@699@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
457@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@700@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
458@am__fastdepCC_FALSE@ $(COMPILE) -c $<701@am__fastdepCC_FALSE@ $(COMPILE) -c $<
459702
460.c.obj:703.c.obj:
461@am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \704@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
462@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi705@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
463@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@706@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
464@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@707@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
465@am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'`708@am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'`
466ac_.c: ac.c $(ANSI2KNR)709
467 $(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/ac.c; then echo $(srcdir)/ac.c; else echo ac.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > $@ || rm -f $@710.c.lo:
468accton_.c: accton.c $(ANSI2KNR)711@am__fastdepCC_TRUE@ $(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
469 $(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/accton.c; then echo $(srcdir)/accton.c; else echo accton.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > $@ || rm -f $@712@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
470alloca_.c: alloca.c $(ANSI2KNR)713@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
471 $(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/alloca.c; then echo $(srcdir)/alloca.c; else echo alloca.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > $@ || rm -f $@714@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
472common_.c: common.c $(ANSI2KNR)715@am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $<
473 $(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/common.c; then echo $(srcdir)/common.c; else echo common.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > $@ || rm -f $@716
474dev_hash_.c: dev_hash.c $(ANSI2KNR)717mostlyclean-libtool:
475 $(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/dev_hash.c; then echo $(srcdir)/dev_hash.c; else echo dev_hash.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > $@ || rm -f $@718 -rm -f *.lo
476dump-acct_.c: dump-acct.c $(ANSI2KNR)719
477 $(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/dump-acct.c; then echo $(srcdir)/dump-acct.c; else echo dump-acct.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > $@ || rm -f $@720clean-libtool:
478dump-utmp_.c: dump-utmp.c $(ANSI2KNR)721 -rm -rf .libs _libs
479 $(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/dump-utmp.c; then echo $(srcdir)/dump-utmp.c; else echo dump-utmp.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > $@ || rm -f $@722
480file_rd_.c: file_rd.c $(ANSI2KNR)723distclean-libtool:
481 $(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/file_rd.c; then echo $(srcdir)/file_rd.c; else echo file_rd.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > $@ || rm -f $@724 -rm -f libtool config.lt
482getopt_.c: getopt.c $(ANSI2KNR)
483 $(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/getopt.c; then echo $(srcdir)/getopt.c; else echo getopt.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > $@ || rm -f $@
484getopt1_.c: getopt1.c $(ANSI2KNR)
485 $(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/getopt1.c; then echo $(srcdir)/getopt1.c; else echo getopt1.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > $@ || rm -f $@
486hashtab_.c: hashtab.c $(ANSI2KNR)
487 $(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/hashtab.c; then echo $(srcdir)/hashtab.c; else echo hashtab.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > $@ || rm -f $@
488last_.c: last.c $(ANSI2KNR)
489 $(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/last.c; then echo $(srcdir)/last.c; else echo last.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > $@ || rm -f $@
490lastcomm_.c: lastcomm.c $(ANSI2KNR)
491 $(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/lastcomm.c; then echo $(srcdir)/lastcomm.c; else echo lastcomm.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > $@ || rm -f $@
492mktime_.c: mktime.c $(ANSI2KNR)
493 $(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/mktime.c; then echo $(srcdir)/mktime.c; else echo mktime.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > $@ || rm -f $@
494pacct_rd_.c: pacct_rd.c $(ANSI2KNR)
495 $(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/pacct_rd.c; then echo $(srcdir)/pacct_rd.c; else echo pacct_rd.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > $@ || rm -f $@
496sa_.c: sa.c $(ANSI2KNR)
497 $(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/sa.c; then echo $(srcdir)/sa.c; else echo sa.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > $@ || rm -f $@
498uid_hash_.c: uid_hash.c $(ANSI2KNR)
499 $(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/uid_hash.c; then echo $(srcdir)/uid_hash.c; else echo uid_hash.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > $@ || rm -f $@
500utmp_rd_.c: utmp_rd.c $(ANSI2KNR)
501 $(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/utmp_rd.c; then echo $(srcdir)/utmp_rd.c; else echo utmp_rd.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > $@ || rm -f $@
502ac_.$(OBJEXT) accton_.$(OBJEXT) alloca_.$(OBJEXT) common_.$(OBJEXT) \
503dev_hash_.$(OBJEXT) dump-acct_.$(OBJEXT) dump-utmp_.$(OBJEXT) \
504file_rd_.$(OBJEXT) getopt_.$(OBJEXT) getopt1_.$(OBJEXT) \
505hashtab_.$(OBJEXT) last_.$(OBJEXT) lastcomm_.$(OBJEXT) \
506mktime_.$(OBJEXT) pacct_rd_.$(OBJEXT) sa_.$(OBJEXT) \
507uid_hash_.$(OBJEXT) utmp_rd_.$(OBJEXT) : $(ANSI2KNR)
508725
509.texi.info:726.texi.info:
510 restore=: && backupdir="$(am__leading_dot)am$$$$" && \727 restore=: && backupdir="$(am__leading_dot)am$$$$" && \
@@ -555,7 +772,7 @@
555accounting.dvi: accounting.texi $(srcdir)/version.texi772accounting.dvi: accounting.texi $(srcdir)/version.texi
556accounting.pdf: accounting.texi $(srcdir)/version.texi773accounting.pdf: accounting.texi $(srcdir)/version.texi
557accounting.html: accounting.texi $(srcdir)/version.texi774accounting.html: accounting.texi $(srcdir)/version.texi
558$(srcdir)/version.texi: $(srcdir)/stamp-vti775$(srcdir)/version.texi: @MAINTAINER_MODE_TRUE@ $(srcdir)/stamp-vti
559$(srcdir)/stamp-vti: accounting.texi $(top_srcdir)/configure776$(srcdir)/stamp-vti: accounting.texi $(top_srcdir)/configure
560 @(dir=.; test -f ./accounting.texi || dir=$(srcdir); \777 @(dir=.; test -f ./accounting.texi || dir=$(srcdir); \
561 set `$(SHELL) $(srcdir)/mdate-sh $$dir/accounting.texi`; \778 set `$(SHELL) $(srcdir)/mdate-sh $$dir/accounting.texi`; \
@@ -573,14 +790,31 @@
573 -rm -f vti.tmp790 -rm -f vti.tmp
574791
575maintainer-clean-vti:792maintainer-clean-vti:
576 -rm -f $(srcdir)/stamp-vti $(srcdir)/version.texi793@MAINTAINER_MODE_TRUE@ -rm -f $(srcdir)/stamp-vti $(srcdir)/version.texi
577.dvi.ps:794.dvi.ps:
578 TEXINPUTS="$(am__TEXINFO_TEX_DIR)$(PATH_SEPARATOR)$$TEXINPUTS" \795 TEXINPUTS="$(am__TEXINFO_TEX_DIR)$(PATH_SEPARATOR)$$TEXINPUTS" \
579 $(DVIPS) -o $@ $<796 $(DVIPS) -o $@ $<
580797
798uninstall-dvi-am:
799 @$(NORMAL_UNINSTALL)
800 @list='$(DVIS)'; for p in $$list; do \
801 f=$(am__strip_dir) \
802 echo " rm -f '$(DESTDIR)$(dvidir)/$$f'"; \
803 rm -f "$(DESTDIR)$(dvidir)/$$f"; \
804 done
805
806uninstall-html-am:
807 @$(NORMAL_UNINSTALL)
808 @list='$(HTMLS)'; for p in $$list; do \
809 f=$(am__strip_dir) \
810 echo " rm -rf '$(DESTDIR)$(htmldir)/$$f'"; \
811 rm -rf "$(DESTDIR)$(htmldir)/$$f"; \
812 done
813
581uninstall-info-am:814uninstall-info-am:
582 @$(PRE_UNINSTALL)815 @$(PRE_UNINSTALL)
583 @if (install-info --version && \816 @if test -d '$(DESTDIR)$(infodir)' && \
817 (install-info --version && \
584 install-info --version 2>&1 | sed 1q | grep -i -v debian) >/dev/null 2>&1; then \818 install-info --version 2>&1 | sed 1q | grep -i -v debian) >/dev/null 2>&1; then \
585 list='$(INFO_DEPS)'; \819 list='$(INFO_DEPS)'; \
586 for file in $$list; do \820 for file in $$list; do \
@@ -594,12 +828,28 @@
594 for file in $$list; do \828 for file in $$list; do \
595 relfile=`echo "$$file" | sed 's|^.*/||'`; \829 relfile=`echo "$$file" | sed 's|^.*/||'`; \
596 relfile_i=`echo "$$relfile" | sed 's|\.info$$||;s|$$|.i|'`; \830 relfile_i=`echo "$$relfile" | sed 's|\.info$$||;s|$$|.i|'`; \
597 (if cd "$(DESTDIR)$(infodir)"; then \831 (if test -d "$(DESTDIR)$(infodir)" && cd "$(DESTDIR)$(infodir)"; then \
598 echo " cd '$(DESTDIR)$(infodir)' && rm -f $$relfile $$relfile-[0-9] $$relfile-[0-9][0-9] $$relfile_i[0-9] $$relfile_i[0-9][0-9]"; \832 echo " cd '$(DESTDIR)$(infodir)' && rm -f $$relfile $$relfile-[0-9] $$relfile-[0-9][0-9] $$relfile_i[0-9] $$relfile_i[0-9][0-9]"; \
599 rm -f $$relfile $$relfile-[0-9] $$relfile-[0-9][0-9] $$relfile_i[0-9] $$relfile_i[0-9][0-9]; \833 rm -f $$relfile $$relfile-[0-9] $$relfile-[0-9][0-9] $$relfile_i[0-9] $$relfile_i[0-9][0-9]; \
600 else :; fi); \834 else :; fi); \
601 done835 done
602836
837uninstall-pdf-am:
838 @$(NORMAL_UNINSTALL)
839 @list='$(PDFS)'; for p in $$list; do \
840 f=$(am__strip_dir) \
841 echo " rm -f '$(DESTDIR)$(pdfdir)/$$f'"; \
842 rm -f "$(DESTDIR)$(pdfdir)/$$f"; \
843 done
844
845uninstall-ps-am:
846 @$(NORMAL_UNINSTALL)
847 @list='$(PSS)'; for p in $$list; do \
848 f=$(am__strip_dir) \
849 echo " rm -f '$(DESTDIR)$(psdir)/$$f'"; \
850 rm -f "$(DESTDIR)$(psdir)/$$f"; \
851 done
852
603dist-info: $(INFO_DEPS)853dist-info: $(INFO_DEPS)
604 @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \854 @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
605 list='$(INFO_DEPS)'; \855 list='$(INFO_DEPS)'; \
@@ -608,10 +858,13 @@
608 $(srcdir)/*) base=`echo "$$base" | sed "s|^$$srcdirstrip/||"`;; \858 $(srcdir)/*) base=`echo "$$base" | sed "s|^$$srcdirstrip/||"`;; \
609 esac; \859 esac; \
610 if test -f $$base; then d=.; else d=$(srcdir); fi; \860 if test -f $$base; then d=.; else d=$(srcdir); fi; \
611 for file in $$d/$$base*; do \861 base_i=`echo "$$base" | sed 's|\.info$$||;s|$$|.i|'`; \
612 relfile=`expr "$$file" : "$$d/\(.*\)"`; \862 for file in $$d/$$base $$d/$$base-[0-9] $$d/$$base-[0-9][0-9] $$d/$$base_i[0-9] $$d/$$base_i[0-9][0-9]; do \
613 test -f $(distdir)/$$relfile || \863 if test -f $$file; then \
614 cp -p $$file $(distdir)/$$relfile; \864 relfile=`expr "$$file" : "$$d/\(.*\)"`; \
865 test -f $(distdir)/$$relfile || \
866 cp -p $$file $(distdir)/$$relfile; \
867 else :; fi; \
615 done; \868 done; \
616 done869 done
617870
@@ -630,7 +883,7 @@
630 done883 done
631install-man1: $(man1_MANS) $(man_MANS)884install-man1: $(man1_MANS) $(man_MANS)
632 @$(NORMAL_INSTALL)885 @$(NORMAL_INSTALL)
633 test -z "$(man1dir)" || $(mkdir_p) "$(DESTDIR)$(man1dir)"886 test -z "$(man1dir)" || $(MKDIR_P) "$(DESTDIR)$(man1dir)"
634 @list='$(man1_MANS) $(dist_man1_MANS) $(nodist_man1_MANS)'; \887 @list='$(man1_MANS) $(dist_man1_MANS) $(nodist_man1_MANS)'; \
635 l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \888 l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
636 for i in $$l2; do \889 for i in $$l2; do \
@@ -639,8 +892,8 @@
639 esac; \892 esac; \
640 done; \893 done; \
641 for i in $$list; do \894 for i in $$list; do \
642 if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \895 if test -f $$i; then file=$$i; \
643 else file=$$i; fi; \896 else file=$(srcdir)/$$i; fi; \
644 ext=`echo $$i | sed -e 's/^.*\\.//'`; \897 ext=`echo $$i | sed -e 's/^.*\\.//'`; \
645 case "$$ext" in \898 case "$$ext" in \
646 1*) ;; \899 1*) ;; \
@@ -675,7 +928,7 @@
675 done928 done
676install-man8: $(man8_MANS) $(man_MANS)929install-man8: $(man8_MANS) $(man_MANS)
677 @$(NORMAL_INSTALL)930 @$(NORMAL_INSTALL)
678 test -z "$(man8dir)" || $(mkdir_p) "$(DESTDIR)$(man8dir)"931 test -z "$(man8dir)" || $(MKDIR_P) "$(DESTDIR)$(man8dir)"
679 @list='$(man8_MANS) $(dist_man8_MANS) $(nodist_man8_MANS)'; \932 @list='$(man8_MANS) $(dist_man8_MANS) $(nodist_man8_MANS)'; \
680 l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \933 l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
681 for i in $$l2; do \934 for i in $$l2; do \
@@ -684,8 +937,8 @@
684 esac; \937 esac; \
685 done; \938 done; \
686 for i in $$list; do \939 for i in $$list; do \
687 if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \940 if test -f $$i; then file=$$i; \
688 else file=$$i; fi; \941 else file=$(srcdir)/$$i; fi; \
689 ext=`echo $$i | sed -e 's/^.*\\.//'`; \942 ext=`echo $$i | sed -e 's/^.*\\.//'`; \
690 case "$$ext" in \943 case "$$ext" in \
691 8*) ;; \944 8*) ;; \
@@ -719,42 +972,124 @@
719 rm -f "$(DESTDIR)$(man8dir)/$$inst"; \972 rm -f "$(DESTDIR)$(man8dir)/$$inst"; \
720 done973 done
721974
975# This directory's subdirectories are mostly independent; you can cd
976# into them and run `make' without going through this Makefile.
977# To change the values of `make' variables: instead of editing Makefiles,
978# (1) if the variable is set in `config.status', edit `config.status'
979# (which will cause the Makefiles to be regenerated when you run `make');
980# (2) otherwise, pass the desired values on the `make' command line.
981$(RECURSIVE_TARGETS):
982 @failcom='exit 1'; \
983 for f in x $$MAKEFLAGS; do \
984 case $$f in \
985 *=* | --[!k]*);; \
986 *k*) failcom='fail=yes';; \
987 esac; \
988 done; \
989 dot_seen=no; \
990 target=`echo $@ | sed s/-recursive//`; \
991 list='$(SUBDIRS)'; for subdir in $$list; do \
992 echo "Making $$target in $$subdir"; \
993 if test "$$subdir" = "."; then \
994 dot_seen=yes; \
995 local_target="$$target-am"; \
996 else \
997 local_target="$$target"; \
998 fi; \
999 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
1000 || eval $$failcom; \
1001 done; \
1002 if test "$$dot_seen" = "no"; then \
1003 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
1004 fi; test -z "$$fail"
1005
1006$(RECURSIVE_CLEAN_TARGETS):
1007 @failcom='exit 1'; \
1008 for f in x $$MAKEFLAGS; do \
1009 case $$f in \
1010 *=* | --[!k]*);; \
1011 *k*) failcom='fail=yes';; \
1012 esac; \
1013 done; \
1014 dot_seen=no; \
1015 case "$@" in \
1016 distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
1017 *) list='$(SUBDIRS)' ;; \
1018 esac; \
1019 rev=''; for subdir in $$list; do \
1020 if test "$$subdir" = "."; then :; else \
1021 rev="$$subdir $$rev"; \
1022 fi; \
1023 done; \
1024 rev="$$rev ."; \
1025 target=`echo $@ | sed s/-recursive//`; \
1026 for subdir in $$rev; do \
1027 echo "Making $$target in $$subdir"; \
1028 if test "$$subdir" = "."; then \
1029 local_target="$$target-am"; \
1030 else \
1031 local_target="$$target"; \
1032 fi; \
1033 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
1034 || eval $$failcom; \
1035 done && test -z "$$fail"
1036tags-recursive:
1037 list='$(SUBDIRS)'; for subdir in $$list; do \
1038 test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
1039 done
1040ctags-recursive:
1041 list='$(SUBDIRS)'; for subdir in $$list; do \
1042 test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
1043 done
1044
722ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)1045ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
723 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \1046 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
724 unique=`for i in $$list; do \1047 unique=`for i in $$list; do \
725 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \1048 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
726 done | \1049 done | \
727 $(AWK) ' { files[$$0] = 1; } \1050 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
728 END { for (i in files) print i; }'`; \1051 END { if (nonempty) { for (i in files) print i; }; }'`; \
729 mkid -fID $$unique1052 mkid -fID $$unique
730tags: TAGS1053tags: TAGS
7311054
732TAGS: $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \1055TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
733 $(TAGS_FILES) $(LISP)1056 $(TAGS_FILES) $(LISP)
734 tags=; \1057 tags=; \
735 here=`pwd`; \1058 here=`pwd`; \
1059 if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
1060 include_option=--etags-include; \
1061 empty_fix=.; \
1062 else \
1063 include_option=--include; \
1064 empty_fix=; \
1065 fi; \
1066 list='$(SUBDIRS)'; for subdir in $$list; do \
1067 if test "$$subdir" = .; then :; else \
1068 test ! -f $$subdir/TAGS || \
1069 tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
1070 fi; \
1071 done; \
736 list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \1072 list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
737 unique=`for i in $$list; do \1073 unique=`for i in $$list; do \
738 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \1074 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
739 done | \1075 done | \
740 $(AWK) ' { files[$$0] = 1; } \1076 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
741 END { for (i in files) print i; }'`; \1077 END { if (nonempty) { for (i in files) print i; }; }'`; \
742 if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \1078 if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
743 test -n "$$unique" || unique=$$empty_fix; \1079 test -n "$$unique" || unique=$$empty_fix; \
744 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \1080 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
745 $$tags $$unique; \1081 $$tags $$unique; \
746 fi1082 fi
747ctags: CTAGS1083ctags: CTAGS
748CTAGS: $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \1084CTAGS: ctags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
749 $(TAGS_FILES) $(LISP)1085 $(TAGS_FILES) $(LISP)
750 tags=; \1086 tags=; \
751 here=`pwd`; \
752 list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \1087 list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
753 unique=`for i in $$list; do \1088 unique=`for i in $$list; do \
754 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \1089 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
755 done | \1090 done | \
756 $(AWK) ' { files[$$0] = 1; } \1091 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
757 END { for (i in files) print i; }'`; \1092 END { if (nonempty) { for (i in files) print i; }; }'`; \
758 test -z "$(CTAGS_ARGS)$$tags$$unique" \1093 test -z "$(CTAGS_ARGS)$$tags$$unique" \
759 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \1094 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
760 $$tags $$unique1095 $$tags $$unique
@@ -769,24 +1104,22 @@
7691104
770distdir: $(DISTFILES)1105distdir: $(DISTFILES)
771 $(am__remove_distdir)1106 $(am__remove_distdir)
772 mkdir $(distdir)1107 test -d $(distdir) || mkdir $(distdir)
773 $(mkdir_p) $(distdir)/.1108 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
774 @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \1109 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
775 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \1110 list='$(DISTFILES)'; \
776 list='$(DISTFILES)'; for file in $$list; do \1111 dist_files=`for file in $$list; do echo $$file; done | \
777 case $$file in \1112 sed -e "s|^$$srcdirstrip/||;t" \
778 $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \1113 -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
779 $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \1114 case $$dist_files in \
780 esac; \1115 */*) $(MKDIR_P) `echo "$$dist_files" | \
1116 sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
1117 sort -u` ;; \
1118 esac; \
1119 for file in $$dist_files; do \
781 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \1120 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
782 dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
783 if test "$$dir" != "$$file" && test "$$dir" != "."; then \
784 dir="/$$dir"; \
785 $(mkdir_p) "$(distdir)$$dir"; \
786 else \
787 dir=''; \
788 fi; \
789 if test -d $$d/$$file; then \1121 if test -d $$d/$$file; then \
1122 dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
790 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \1123 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
791 cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \1124 cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
792 fi; \1125 fi; \
@@ -797,13 +1130,30 @@
797 || exit 1; \1130 || exit 1; \
798 fi; \1131 fi; \
799 done1132 done
1133 list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
1134 if test "$$subdir" = .; then :; else \
1135 test -d "$(distdir)/$$subdir" \
1136 || $(MKDIR_P) "$(distdir)/$$subdir" \
1137 || exit 1; \
1138 distdir=`$(am__cd) $(distdir) && pwd`; \
1139 top_distdir=`$(am__cd) $(top_distdir) && pwd`; \
1140 (cd $$subdir && \
1141 $(MAKE) $(AM_MAKEFLAGS) \
1142 top_distdir="$$top_distdir" \
1143 distdir="$$distdir/$$subdir" \
1144 am__remove_distdir=: \
1145 am__skip_length_check=: \
1146 distdir) \
1147 || exit 1; \
1148 fi; \
1149 done
800 $(MAKE) $(AM_MAKEFLAGS) \1150 $(MAKE) $(AM_MAKEFLAGS) \
801 top_distdir="$(top_distdir)" distdir="$(distdir)" \1151 top_distdir="$(top_distdir)" distdir="$(distdir)" \
802 dist-info1152 dist-info
803 -find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \1153 -find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
804 ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \1154 ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
805 ! -type d ! -perm -400 -exec chmod a+r {} \; -o \1155 ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
806 ! -type d ! -perm -444 -exec $(SHELL) $(install_sh) -c -m a+r {} {} \; \1156 ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
807 || chmod -R a+r $(distdir)1157 || chmod -R a+r $(distdir)
808dist-gzip: distdir1158dist-gzip: distdir
809 tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz1159 tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
@@ -813,6 +1163,10 @@
813 tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz21163 tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2
814 $(am__remove_distdir)1164 $(am__remove_distdir)
8151165
1166dist-lzma: distdir
1167 tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma
1168 $(am__remove_distdir)
1169
816dist-tarZ: distdir1170dist-tarZ: distdir
817 tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z1171 tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
818 $(am__remove_distdir)1172 $(am__remove_distdir)
@@ -839,6 +1193,8 @@
839 GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(am__untar) ;;\1193 GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(am__untar) ;;\
840 *.tar.bz2*) \1194 *.tar.bz2*) \
841 bunzip2 -c $(distdir).tar.bz2 | $(am__untar) ;;\1195 bunzip2 -c $(distdir).tar.bz2 | $(am__untar) ;;\
1196 *.tar.lzma*) \
1197 unlzma -c $(distdir).tar.lzma | $(am__untar) ;;\
842 *.tar.Z*) \1198 *.tar.Z*) \
843 uncompress -c $(distdir).tar.Z | $(am__untar) ;;\1199 uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
844 *.shar.gz*) \1200 *.shar.gz*) \
@@ -878,7 +1234,7 @@
878 $(am__remove_distdir)1234 $(am__remove_distdir)
879 @(echo "$(distdir) archives ready for distribution: "; \1235 @(echo "$(distdir) archives ready for distribution: "; \
880 list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \1236 list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
881 sed -e '1{h;s/./=/g;p;x;}' -e '$${p;x;}'1237 sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
882distuninstallcheck:1238distuninstallcheck:
883 @cd $(distuninstallcheck_dir) \1239 @cd $(distuninstallcheck_dir) \
884 && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \1240 && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \
@@ -898,22 +1254,22 @@
898 $(distcleancheck_listfiles) ; \1254 $(distcleancheck_listfiles) ; \
899 exit 1; } >&21255 exit 1; } >&2
900check-am: all-am1256check-am: all-am
901check: check-am1257check: check-recursive
902all-am: Makefile $(INFO_DEPS) $(ANSI2KNR) $(PROGRAMS) $(MANS) \1258all-am: Makefile $(INFO_DEPS) $(PROGRAMS) $(MANS) $(HEADERS) config.h
903 $(HEADERS) config.h1259installdirs: installdirs-recursive
904installdirs:1260installdirs-am:
905 for dir in "$(DESTDIR)$(bindir)" "$(DESTDIR)$(sbindir)" "$(DESTDIR)$(infodir)" "$(DESTDIR)$(man1dir)" "$(DESTDIR)$(man8dir)"; do \1261 for dir in "$(DESTDIR)$(bindir)" "$(DESTDIR)$(sbindir)" "$(DESTDIR)$(infodir)" "$(DESTDIR)$(man1dir)" "$(DESTDIR)$(man8dir)"; do \
906 test -z "$$dir" || $(mkdir_p) "$$dir"; \1262 test -z "$$dir" || $(MKDIR_P) "$$dir"; \
907 done1263 done
908install: install-am1264install: install-recursive
909install-exec: install-exec-am1265install-exec: install-exec-recursive
910install-data: install-data-am1266install-data: install-data-recursive
911uninstall: uninstall-am1267uninstall: uninstall-recursive
9121268
913install-am: all-am1269install-am: all-am
914 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am1270 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
9151271
916installcheck: installcheck-am1272installcheck: installcheck-recursive
917install-strip:1273install-strip:
918 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \1274 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
919 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \1275 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
@@ -930,39 +1286,68 @@
930maintainer-clean-generic:1286maintainer-clean-generic:
931 @echo "This command is intended for maintainers to use"1287 @echo "This command is intended for maintainers to use"
932 @echo "it deletes files that may require special tools to rebuild."1288 @echo "it deletes files that may require special tools to rebuild."
933clean: clean-am1289clean: clean-recursive
9341290
935clean-am: clean-binPROGRAMS clean-generic clean-krextra \1291clean-am: clean-binPROGRAMS clean-generic clean-libtool \
936 clean-sbinPROGRAMS mostlyclean-am1292 clean-sbinPROGRAMS mostlyclean-am
9371293
938distclean: distclean-am1294distclean: distclean-recursive
939 -rm -f $(am__CONFIG_DISTCLEAN_FILES)1295 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
940 -rm -rf $(DEPDIR) ./$(DEPDIR)1296 -rm -rf ./$(DEPDIR)
941 -rm -f Makefile1297 -rm -f Makefile
942distclean-am: clean-am distclean-compile distclean-generic \1298distclean-am: clean-am distclean-compile distclean-generic \
943 distclean-hdr distclean-tags1299 distclean-hdr distclean-libtool distclean-tags
9441300
945dvi: dvi-am1301dvi: dvi-recursive
9461302
947dvi-am: $(DVIS)1303dvi-am: $(DVIS)
9481304
949html: html-am1305html: html-recursive
9501306
951html-am: $(HTMLS)1307html-am: $(HTMLS)
9521308
953info: info-am1309info: info-recursive
9541310
955info-am: $(INFO_DEPS)1311info-am: $(INFO_DEPS)
9561312
957install-data-am: install-info-am install-man1313install-data-am: install-info-am install-man
9581314
1315install-dvi: install-dvi-recursive
1316
1317install-dvi-am: $(DVIS)
1318 @$(NORMAL_INSTALL)
1319 test -z "$(dvidir)" || $(MKDIR_P) "$(DESTDIR)$(dvidir)"
1320 @list='$(DVIS)'; for p in $$list; do \
1321 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
1322 f=$(am__strip_dir) \
1323 echo " $(INSTALL_DATA) '$$d$$p' '$(DESTDIR)$(dvidir)/$$f'"; \
1324 $(INSTALL_DATA) "$$d$$p" "$(DESTDIR)$(dvidir)/$$f"; \
1325 done
959install-exec-am: install-binPROGRAMS install-sbinPROGRAMS1326install-exec-am: install-binPROGRAMS install-sbinPROGRAMS
9601327
961install-info: install-info-am1328install-html: install-html-recursive
1329
1330install-html-am: $(HTMLS)
1331 @$(NORMAL_INSTALL)
1332 test -z "$(htmldir)" || $(MKDIR_P) "$(DESTDIR)$(htmldir)"
1333 @list='$(HTMLS)'; for p in $$list; do \
1334 if test -f "$$p" || test -d "$$p"; then d=; else d="$(srcdir)/"; fi; \
1335 f=$(am__strip_dir) \
1336 if test -d "$$d$$p"; then \
1337 echo " $(MKDIR_P) '$(DESTDIR)$(htmldir)/$$f'"; \
1338 $(MKDIR_P) "$(DESTDIR)$(htmldir)/$$f" || exit 1; \
1339 echo " $(INSTALL_DATA) '$$d$$p'/* '$(DESTDIR)$(htmldir)/$$f'"; \
1340 $(INSTALL_DATA) "$$d$$p"/* "$(DESTDIR)$(htmldir)/$$f"; \
1341 else \
1342 echo " $(INSTALL_DATA) '$$d$$p' '$(DESTDIR)$(htmldir)/$$f'"; \
1343 $(INSTALL_DATA) "$$d$$p" "$(DESTDIR)$(htmldir)/$$f"; \
1344 fi; \
1345 done
1346install-info: install-info-recursive
9621347
963install-info-am: $(INFO_DEPS)1348install-info-am: $(INFO_DEPS)
964 @$(NORMAL_INSTALL)1349 @$(NORMAL_INSTALL)
965 test -z "$(infodir)" || $(mkdir_p) "$(DESTDIR)$(infodir)"1350 test -z "$(infodir)" || $(MKDIR_P) "$(DESTDIR)$(infodir)"
966 @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \1351 @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
967 list='$(INFO_DEPS)'; \1352 list='$(INFO_DEPS)'; \
968 for file in $$list; do \1353 for file in $$list; do \
@@ -992,57 +1377,85 @@
992 else : ; fi1377 else : ; fi
993install-man: install-man1 install-man81378install-man: install-man1 install-man8
9941379
1380install-pdf: install-pdf-recursive
1381
1382install-pdf-am: $(PDFS)
1383 @$(NORMAL_INSTALL)
1384 test -z "$(pdfdir)" || $(MKDIR_P) "$(DESTDIR)$(pdfdir)"
1385 @list='$(PDFS)'; for p in $$list; do \
1386 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
1387 f=$(am__strip_dir) \
1388 echo " $(INSTALL_DATA) '$$d$$p' '$(DESTDIR)$(pdfdir)/$$f'"; \
1389 $(INSTALL_DATA) "$$d$$p" "$(DESTDIR)$(pdfdir)/$$f"; \
1390 done
1391install-ps: install-ps-recursive
1392
1393install-ps-am: $(PSS)
1394 @$(NORMAL_INSTALL)
1395 test -z "$(psdir)" || $(MKDIR_P) "$(DESTDIR)$(psdir)"
1396 @list='$(PSS)'; for p in $$list; do \
1397 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
1398 f=$(am__strip_dir) \
1399 echo " $(INSTALL_DATA) '$$d$$p' '$(DESTDIR)$(psdir)/$$f'"; \
1400 $(INSTALL_DATA) "$$d$$p" "$(DESTDIR)$(psdir)/$$f"; \
1401 done
995installcheck-am:1402installcheck-am:
9961403
997maintainer-clean: maintainer-clean-am1404maintainer-clean: maintainer-clean-recursive
998 -rm -f $(am__CONFIG_DISTCLEAN_FILES)1405 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
999 -rm -rf $(top_srcdir)/autom4te.cache1406 -rm -rf $(top_srcdir)/autom4te.cache
1000 -rm -rf $(DEPDIR) ./$(DEPDIR)1407 -rm -rf ./$(DEPDIR)
1001 -rm -f Makefile1408 -rm -f Makefile
1002maintainer-clean-am: distclean-am maintainer-clean-aminfo \1409maintainer-clean-am: distclean-am maintainer-clean-aminfo \
1003 maintainer-clean-generic maintainer-clean-vti1410 maintainer-clean-generic maintainer-clean-vti
10041411
1005mostlyclean: mostlyclean-am1412mostlyclean: mostlyclean-recursive
10061413
1007mostlyclean-am: mostlyclean-aminfo mostlyclean-compile \1414mostlyclean-am: mostlyclean-aminfo mostlyclean-compile \
1008 mostlyclean-generic mostlyclean-kr mostlyclean-vti1415 mostlyclean-generic mostlyclean-libtool mostlyclean-vti
10091416
1010pdf: pdf-am1417pdf: pdf-recursive
10111418
1012pdf-am: $(PDFS)1419pdf-am: $(PDFS)
10131420
1014ps: ps-am1421ps: ps-recursive
10151422
1016ps-am: $(PSS)1423ps-am: $(PSS)
10171424
1018uninstall-am: uninstall-binPROGRAMS uninstall-info-am uninstall-man \1425uninstall-am: uninstall-binPROGRAMS uninstall-dvi-am uninstall-html-am \
1019 uninstall-sbinPROGRAMS1426 uninstall-info-am uninstall-man uninstall-pdf-am \
1427 uninstall-ps-am uninstall-sbinPROGRAMS
10201428
1021uninstall-man: uninstall-man1 uninstall-man81429uninstall-man: uninstall-man1 uninstall-man8
10221430
1023.PHONY: CTAGS GTAGS all all-am am--refresh check check-am clean \1431.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) install-am \
1024 clean-binPROGRAMS clean-generic clean-krextra \1432 install-strip
1025 clean-sbinPROGRAMS ctags dist dist-all dist-bzip2 dist-gzip \1433
1026 dist-info dist-shar dist-tarZ dist-zip distcheck distclean \1434.PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
1435 all all-am am--refresh check check-am clean clean-binPROGRAMS \
1436 clean-generic clean-libtool clean-sbinPROGRAMS ctags \
1437 ctags-recursive dist dist-all dist-bzip2 dist-gzip dist-info \
1438 dist-lzma dist-shar dist-tarZ dist-zip distcheck distclean \
1027 distclean-compile distclean-generic distclean-hdr \1439 distclean-compile distclean-generic distclean-hdr \
1028 distclean-tags distcleancheck distdir distuninstallcheck dvi \1440 distclean-libtool distclean-tags distcleancheck distdir \
1029 dvi-am html html-am info info-am install install-am \1441 distuninstallcheck dvi dvi-am html html-am info info-am \
1030 install-binPROGRAMS install-data install-data-am install-exec \1442 install install-am install-binPROGRAMS install-data \
1031 install-exec-am install-info install-info-am install-man \1443 install-data-am install-dvi install-dvi-am install-exec \
1032 install-man1 install-man8 install-sbinPROGRAMS install-strip \1444 install-exec-am install-html install-html-am install-info \
1033 installcheck installcheck-am installdirs maintainer-clean \1445 install-info-am install-man install-man1 install-man8 \
1446 install-pdf install-pdf-am install-ps install-ps-am \
1447 install-sbinPROGRAMS install-strip installcheck \
1448 installcheck-am installdirs installdirs-am maintainer-clean \
1034 maintainer-clean-aminfo maintainer-clean-generic \1449 maintainer-clean-aminfo maintainer-clean-generic \
1035 maintainer-clean-vti mostlyclean mostlyclean-aminfo \1450 maintainer-clean-vti mostlyclean mostlyclean-aminfo \
1036 mostlyclean-compile mostlyclean-generic mostlyclean-kr \1451 mostlyclean-compile mostlyclean-generic mostlyclean-libtool \
1037 mostlyclean-vti pdf pdf-am ps ps-am tags uninstall \1452 mostlyclean-vti pdf pdf-am ps ps-am tags tags-recursive \
1038 uninstall-am uninstall-binPROGRAMS uninstall-info-am \1453 uninstall uninstall-am uninstall-binPROGRAMS uninstall-dvi-am \
1039 uninstall-man uninstall-man1 uninstall-man8 \1454 uninstall-html-am uninstall-info-am uninstall-man \
1455 uninstall-man1 uninstall-man8 uninstall-pdf-am uninstall-ps-am \
1040 uninstall-sbinPROGRAMS1456 uninstall-sbinPROGRAMS
10411457
10421458
1043mktime: mktime.c
1044 $(CC) $(LDFLAGS) -DDEBUG mktime.c -o mktime
1045
1046compare: compare-ac compare-last compare-lastcomm compare-sa1459compare: compare-ac compare-last compare-lastcomm compare-sa
10471460
1048compare-ac: ac1461compare-ac: ac
10491462
=== modified file 'NEWS'
--- NEWS 2006-03-18 18:38:00 +0000
+++ NEWS 2010-01-20 17:40:26 +0000
@@ -1,3 +1,15 @@
1New in 6.5.1:
2
3 * GNUlib for compability, audited code... Reworked.
4
5New in 6.5:
6
7 * Patches from Debian.
8
9 * Actually released to the public.
10
11 * Huge code-refactoring.
12
1New in 6.4:13New in 6.4:
214
3 * Linux multiformat support: Starting from release 2.6.8, the Linux15 * Linux multiformat support: Starting from release 2.6.8, the Linux
@@ -24,11 +36,11 @@
2436
25 * The build system was updated to recent versions of the tools used.37 * The build system was updated to recent versions of the tools used.
2638
27
2839
40
29New in 6.3.5:41New in 6.3.5:
30 * Reverted below change to acct.h header search.42 * Reverted below change to acct.h header search.
3143
32
3344
45
34New in 6.3.4:46New in 6.3.4:
35 * When trying to find the acct.h header file, look in the linux47 * When trying to find the acct.h header file, look in the linux
36 directory before the sys directory, since the former is probably48 directory before the sys directory, since the former is probably
@@ -36,7 +48,7 @@
3648
37 * Documentation fixes for sa.49 * Documentation fixes for sa.
3850
39
4051
52
41New in 6.3.3:53New in 6.3.3:
4254
43 * For those systems which have wide utmp fields, last now tries to55 * For those systems which have wide utmp fields, last now tries to
@@ -57,14 +69,14 @@
5769
58 lastcomm --strict-match noel cat ttyp770 lastcomm --strict-match noel cat ttyp7
5971
60
6172
73
62New in 6.3.2:74New in 6.3.2:
6375
64 * Small memory allocation problem fixed in sa.76 * Small memory allocation problem fixed in sa.
6577
66 * Released to the general public.78 * Released to the general public.
6779
68
6980
81
70New in 6.3.1:82New in 6.3.1:
7183
72 * A `NEWS' file (and others) so that we conform to the GNU84 * A `NEWS' file (and others) so that we conform to the GNU
@@ -76,7 +88,7 @@
76 Very cool. I was suprised how easy it was to integrate into this88 Very cool. I was suprised how easy it was to integrate into this
77 package. Hats off to David J. MacKenzie and Tom Tromey!89 package. Hats off to David J. MacKenzie and Tom Tromey!
7890
79
8091
92
81New in 6.3:93New in 6.3:
8294
83 * Hey! We're on prep.ai.mit.edu!95 * Hey! We're on prep.ai.mit.edu!
@@ -92,7 +104,7 @@
92104
93 * Fixed a buffer overrun error in sa which was preventing it from105 * Fixed a buffer overrun error in sa which was preventing it from
94 sorting the username list correctly.106 sorting the username list correctly.
95
96107
108
97Ancient history:109Ancient history:
98110
99 * Check the file `ChangeLog' in the source directory.111 * Check the file `ChangeLog' in the source directory.
100112
=== modified file 'README'
--- README 2006-03-18 18:38:00 +0000
+++ README 2010-01-20 17:40:26 +0000
@@ -82,18 +82,18 @@
8282
83----------------------------------------------------------------------83----------------------------------------------------------------------
8484
85The GNU Accounting Utilities are Copyright (C) 1993, 1996, 1997 Free85The GNU Accounting Utilities are Copyright (C) 1993, 1996, 1997, 2008
86Software Foundation, Inc.86 Free Software Foundation, Inc.
8787
88 This program is free software; you can redistribute it and/or modify88 This program is free software: you can redistribute it and/or modify
89 it under the terms of the GNU General Public License as published by89 it under the terms of the GNU General Public License as published by
90 the Free Software Foundation; version 2 dated June, 1991.90 the Free Software Foundation, either version 3 of the License, or
9191 (at your option) any later version.
92 This program is distributed in the hope that it will be useful,92
93 but WITHOUT ANY WARRANTY; without even the implied warranty of93 This program is distributed in the hope that it will be useful,
94 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the94 but WITHOUT ANY WARRANTY; without even the implied warranty of
95 GNU General Public License for more details.95 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
9696 GNU General Public License for more details.
97 You should have received a copy of the GNU General Public License97
98 along with this program; if not, write to the Free Software98 You should have received a copy of the GNU General Public License
99 Foundation, Inc., 675 Mass Ave., Cambridge, MA 02139, USA.99 along with this program. If not, see <http://www.gnu.org/licenses/>.
100100
=== modified file 'ac.c'
--- ac.c 2006-03-18 18:38:00 +0000
+++ ac.c 2010-01-20 17:40:26 +0000
@@ -1,11 +1,12 @@
1/* Copyright (C) 1993, 1996, 1997, 2003 Free Software Foundation, Inc.1/*
2Copyright (C) 1993, 1996, 1997, 2003, 2008, 2009 Free Software Foundation, Inc.
23
3This file is part of the GNU Accounting Utilities4This file is part of the GNU Accounting Utilities
45
5The GNU Accounting Utilities are free software; you can redistribute6The GNU Accounting Utilities are free software; you can redistribute
6them and/or modify them under the terms of the GNU General Public7them and/or modify them under the terms of the GNU General Public
7License as published by the Free Software Foundation; either version8License as published by the Free Software Foundation; either version
82, or (at your option) any later version.93, or (at your option) any later version.
910
10The GNU Accounting Utilities are distributed in the hope that they will11The GNU Accounting Utilities are distributed in the hope that they will
11be useful, but WITHOUT ANY WARRANTY; without even the implied warranty12be useful, but WITHOUT ANY WARRANTY; without even the implied warranty
@@ -15,7 +16,8 @@
15You should have received a copy of the GNU General Public License16You should have received a copy of the GNU General Public License
16along with the GNU Accounting Utilities; see the file COPYING. If17along with the GNU Accounting Utilities; see the file COPYING. If
17not, write to the Free Software Foundation, 675 Mass Ave, Cambridge,18not, write to the Free Software Foundation, 675 Mass Ave, Cambridge,
18MA 02139, USA. */19MA 02139, USA.
20*/
1921
20#include "config.h"22#include "config.h"
21#include <stdio.h>23#include <stdio.h>
@@ -43,13 +45,18 @@
4345
44#include "common.h"46#include "common.h"
45#include "utmp_rd.h"47#include "utmp_rd.h"
48#ifdef HAVE_GETOPT_LONG_ONLY
49#include <getopt.h>
50#else
46#include "getopt.h"51#include "getopt.h"
52#endif
47#include "hashtab.h"53#include "hashtab.h"
48#include "version.h"54#include "version.h"
4955
50/* static stuff */56/* static stuff */
5157
52static char *months[] = {58static char *months[] =
59{
53 "Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul",60 "Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul",
54 "Aug", "Sep", "Oct", "Nov", "Dec"61 "Aug", "Sep", "Oct", "Nov", "Dec"
55};62};
@@ -119,34 +126,31 @@
119int print_midnight_totals = 0; /* -d flag */126int print_midnight_totals = 0; /* -d flag */
120int print_zero_totals = 0; /* -z flag */127int print_zero_totals = 0; /* -z flag */
121128
122
123/* A hash table to hold user totals. The names themselves are the129/* A hash table to hold user totals. The names themselves are the
124 keys for this table. */130 keys for this table. */
125131
126struct hashtab *user_totals = NULL;132struct hashtab *user_totals = NULL;
127133
128struct user_data {134struct user_data
129 unsigned long time;135 {
130};136 unsigned long time;
131137 };
132138
133/* A hash table which contains the names that the user wants139/* A hash table which contains the names that the user wants
134 printed. The names themselves are the keys for this table. */140 printed. The names themselves are the keys for this table. */
135141
136struct hashtab *names = NULL;142struct hashtab *names = NULL;
137143
138
139/* A table for the currently logged-in ttys. The UT_LINE fields are144/* A table for the currently logged-in ttys. The UT_LINE fields are
140 the keys for this table. */145 the keys for this table. */
141146
142struct hashtab *login_table;147struct hashtab *login_table;
143148
144struct login_data {149struct login_data
145 char ut_name[NAME_LEN];150 {
146 time_t time;151 char ut_name[NAME_LEN];
147};152 time_t time;
148153 };
149
150154
151/* prototypes */155/* prototypes */
152156
@@ -161,19 +165,16 @@
161void update_system_time PARAMS((time_t));165void update_system_time PARAMS((time_t));
162time_t midnight_after_me PARAMS((time_t));166time_t midnight_after_me PARAMS((time_t));
163167
164
165
166168
167/* code */169/* code */
168170
169int171int main(int argc, char *argv[])
170main (int argc, char *argv[])
171{172{
172 int c;173 int c;
173 int other_wtmp_file_specified = 0; /* nonzero if the user used the174 int other_wtmp_file_specified = 0; /* nonzero if the user used the
174 `-f' or `--other-file' flags */175 `-f' or `--other-file' flags */
175176
176 program_name = argv[0];177 program_name = argv[0];
177 178
178 /* Init the utmp reader for reading forwards in the files. */179 /* Init the utmp reader for reading forwards in the files. */
179180
180 utmp_init (0);181 utmp_init (0);
@@ -181,107 +182,107 @@
181 while (1)182 while (1)
182 {183 {
183 int option_index = 0;184 int option_index = 0;
184 185
185 static struct option long_options[] = {186 static struct option long_options[] =
186 { "complain", no_argument, NULL, 1 },187 {
187 { "reboots", no_argument, NULL, 2 },188 { "complain", no_argument, NULL, 1
188 { "supplants", no_argument, NULL, 3 },189 },
189 { "timewarps", no_argument, NULL, 4 },190 { "reboots", no_argument, NULL, 2 },
190 { "print-zeros", no_argument, NULL, 5 },191 { "supplants", no_argument, NULL, 3 },
191 { "debug", no_argument, NULL, 6 },192 { "timewarps", no_argument, NULL, 4 },
192 { "tw-leniency", required_argument, NULL, 7 },193 { "print-zeros", no_argument, NULL, 5 },
193 { "version", no_argument, NULL, 8 },194 { "debug", no_argument, NULL, 6 },
194 { "help", no_argument, NULL, 9 },195 { "tw-leniency", required_argument, NULL, 7 },
195 { "daily-totals", no_argument, NULL, 10 },196 { "version", no_argument, NULL, 8 },
196 { "individual-totals", no_argument, NULL, 11 },197 { "help", no_argument, NULL, 9 },
197 { "file", required_argument, NULL, 12 },198 { "daily-totals", no_argument, NULL, 10 },
198 { "compatibility", no_argument, NULL, 13 },199 { "individual-totals", no_argument, NULL, 11 },
199 { "print-year", no_argument, NULL, 14 },200 { "file", required_argument, NULL, 12 },
200 { "all-days", no_argument, NULL, 15 },201 { "compatibility", no_argument, NULL, 13 },
201 { "tw-suspicious", required_argument, NULL, 16 },202 { "print-year", no_argument, NULL, 14 },
202 { 0, 0, 0, 0 }203 { "all-days", no_argument, NULL, 15 },
203 };204 { "tw-suspicious", required_argument, NULL, 16 },
204 205 { 0, 0, 0, 0 }
206 };
207
205 c = getopt_long (argc, argv, "adf:hpVyz", long_options, &option_index);208 c = getopt_long (argc, argv, "adf:hpVyz", long_options, &option_index);
206 209
207 if (c == EOF)210 if (c == EOF)
208 break;211 break;
209212
210 switch (c)213 switch (c)
211 {214 {
212 case 1:215 case 1:
213 print_file_problems = 1;216 print_file_problems = 1;
214 break;217 break;
215 case 2:218 case 2:
216 nasty_reboot = 1;219 nasty_reboot = 1;
217 break;220 break;
218 case 3:221 case 3:
219 nasty_supplant = 1;222 nasty_supplant = 1;
220 break;223 break;
221 case 4:224 case 4:
222 nasty_time_warp = 1;225 nasty_time_warp = 1;
223 break;226 break;
224 case 'z':227 case 'z':
225 case 5:228 case 5:
226 print_zero_totals = 1;229 print_zero_totals = 1;
227 break;230 break;
228 case 6:231 case 6:
229 debugging_enabled = 1;232 debugging_enabled = 1;
230 print_file_problems = 1;233 print_file_problems = 1;
231 break;234 break;
232 case 7:235 case 7:
233 time_warp_leniency = atol (optarg);236 time_warp_leniency = strtol(optarg, (char **)NULL, 10);
234 if (time_warp_leniency < 0)237 if (time_warp_leniency < 0)
235 fatal ("time warp leniency value has to be non-negative");238 fatal ("time warp leniency value has to be non-negative");
236 break;239 break;
237 case 'V':240 case 'V':
238 case 8:241 case 8:
239 printf ("%s: GNU Accounting Utilities (release %s)\n",242 (void)printf("%s: GNU Accounting Utilities (release %s)\n",
240 program_name, VERSION_STRING);243 program_name, VERSION_STRING);
241 exit (0);244 exit(EXIT_SUCCESS);
242 break;245 case 10:
243 case 10:246 case 'd':
244 case 'd':247 print_midnight_totals = 1;
245 print_midnight_totals = 1;248 break;
246 break;249 case 11:
247 case 11:250 case 'p':
248 case 'p':251 print_individual_totals = 1;
249 print_individual_totals = 1;252 break;
250 break;253 case 12:
251 case 12:254 case 'f':
252 case 'f':255 add_utmp_file (optarg);
253 add_utmp_file (optarg);256 other_wtmp_file_specified = 1;
254 other_wtmp_file_specified = 1;257 break;
255 break;258 case 13:
256 case 13:259 /* u*x compatibility */
257 /* u*x compatibility */260 nasty_time_warp = 1;
258 nasty_time_warp = 1;261 nasty_supplant = 1;
259 nasty_supplant = 1;262 nasty_reboot = 1;
260 nasty_reboot = 1;263 break;
261 break;264 case 'y':
262 case 'y':265 case 14:
263 case 14:266 print_year = 1;
264 print_year = 1;267 break;
265 break;268 case 'a':
266 case 'a':269 case 15:
267 case 15:270 print_all_days = 1;
268 print_all_days = 1;271 break;
269 break;272 case 16:
270 case 16:273 time_warp_suspicious = strtol(optarg, (char **)NULL, 10);
271 time_warp_suspicious = atol (optarg);274 if (time_warp_suspicious < 0)
272 if (time_warp_suspicious < 0)275 fatal("time warp suspicious value has to be non-negative");
273 fatal ("time warp suspicious value has to be non-negative");276 if (time_warp_suspicious <= time_warp_leniency)
274 if (time_warp_suspicious <= time_warp_leniency)277 fatal("time warp suspicious value has to greater than the time warp leniency value");
275 fatal ("time warp suspicious value has to greater than the time warp leniency value");278 break;
276 break;279 case 'h':
277 case 'h':280 case 9:
278 case 9:281 /* This should fall through to default! */
279 /* This should fall through to default! */282 default:
280 default:283 give_usage();
281 give_usage ();284 exit(EXIT_FAILURE); /* FIXME: return 1; */
282 exit (1);285 }
283 break;
284 }
285 }286 }
286287
287 /* Init the hash table for usernames. Don't init it if we don't288 /* Init the hash table for usernames. Don't init it if we don't
@@ -293,15 +294,15 @@
293 names = hashtab_init (0);294 names = hashtab_init (0);
294295
295 while (optind < argc)296 while (optind < argc)
296 hashtab_create (names, argv[optind++], 0);297 hashtab_create (names, argv[optind++], 0);
297 298
298 if (debugging_enabled)299 if (debugging_enabled)
299 hashtab_dump_keys (names, stddebug);300 hashtab_dump_keys (names, stddebug);
300 }301 }
301 302
302 if (! other_wtmp_file_specified)303 if (!other_wtmp_file_specified)
303 add_utmp_file (WTMP_FILE_LOC);304 add_utmp_file (WTMP_FILE_LOC);
304 305
305 /* Create hash tables for user totals and logins. */306 /* Create hash tables for user totals and logins. */
306307
307 user_totals = hashtab_init (0);308 user_totals = hashtab_init (0);
@@ -310,7 +311,7 @@
310 /* Do it! */311 /* Do it! */
311312
312 parse_entries ();313 parse_entries ();
313 314
314 /* At this point, there are no more entries in the wtmp file. We315 /* At this point, there are no more entries in the wtmp file. We
315 need to do statistics for everything up to now, so update all of316 need to do statistics for everything up to now, so update all of
316 the people who are logged in presently and print today's317 the people who are logged in presently and print today's
@@ -325,51 +326,45 @@
325326
326 if (now < last_time)327 if (now < last_time)
327 now = last_time;328 now = last_time;
328 329
329 do_totals (&next_midnight, now, TRUE, TRUE, "midnight logout");330 do_totals (&next_midnight, now, TRUE, TRUE, "midnight logout");
330 331
331 log_everyone_out (now, TRUE, FALSE, "catch-up");332 log_everyone_out (now, TRUE, FALSE, "catch-up");
332 }333 }
333 334
334 do_statistics (print_midnight_totals335 do_statistics (print_midnight_totals
335 ? (print_year ? "Today\t" : "Today")336 ? (print_year ? "Today\t" : "Today")
336 : "");337 : "");
337338
338 exit (0); /* guarantee the proper return value */339 exit (EXIT_SUCCESS); /* guarantee the proper return value */
339}340}
340341
341
342/* guess what this does... */342/* guess what this does... */
343void343
344give_usage (void)344void give_usage(void)
345{345{
346 char *usage = "\346 (void)printf("\
347Usage: %s [-dhpVy] [-f <file>] [people] ...\n\347 Usage: %s [-dhpVy] [-f <file>] [people] ...\n\
348 [--daily-totals] [--individual-totals] [--file <file>]\n\348 [--daily-totals] [--individual-totals] [--file <file>]\n\
349 [--complain] [--reboots] [--supplants] [--timewarps] [--print-year]\n\349 [--complain] [--reboots] [--supplants] [--timewarps] [--print-year]\n\
350 [--compatibility] [--print-zeros] [--debug] [--tw-leniency <value>]\n\350 [--compatibility] [--print-zeros] [--debug] [--tw-leniency <value>]\n\
351 [--tw-suspicious <value>] [--version] [--help]\n";351 [--tw-suspicious <value>] [--version] [--help]\n", program_name);
352 352 print_wtmp_file_location();
353 printf (usage, program_name);
354 print_wtmp_file_location ();
355}353}
356354
357
358355
359
360/* Since the routines in ac & last are so similar, just include them356/* Since the routines in ac & last are so similar, just include them
361 from another file. */357 from another file. */
362358
363#include "al_share.cpp"359#include "al_share.cpp"
364360
365
366361
367/* since the sys clock has changed, each entry's login time has to be362/* since the sys clock has changed, each entry's login time has to be
368 * adjusted... */363 * adjusted... */
369void364
370update_system_time (time_t the_time)365void update_system_time(time_t the_time)
371{366{
372 struct hashtab_order ho;367 struct hashtab_order ho;
373 struct hashtab_elem *he;368 struct hashtab_elem *he;
374 369
375 for (he = hashtab_first (login_table, &ho);370 for (he = hashtab_first (login_table, &ho);
376 he != NULL;371 he != NULL;
377 he = hashtab_next (&ho))372 he = hashtab_next (&ho))
@@ -379,19 +374,17 @@
379 }374 }
380}375}
381376
382
383/* Log all entries out at THE_TIME. Update statistics if377/* Log all entries out at THE_TIME. Update statistics if
384 UPDATE_TIME_FLAG is non-zero, and print out the entries preceded by378 UPDATE_TIME_FLAG is non-zero, and print out the entries preceded by
385 DEBUG_STR. If CHANGE_LOGIN_FLAG is non-zero, reset the login times379 DEBUG_STR. If CHANGE_LOGIN_FLAG is non-zero, reset the login times
386 to THE_TIME. */380 to THE_TIME. */
387381
388void382void log_everyone_out(time_t the_time, int update_time_flag,
389log_everyone_out (time_t the_time, int update_time_flag,383 int change_login_flag, char *debug_str)
390 int change_login_flag, char *debug_str)
391{384{
392 struct hashtab_order ho;385 struct hashtab_order ho;
393 struct hashtab_elem *he;386 struct hashtab_elem *he;
394 387
395 for (he = hashtab_first (login_table, &ho);388 for (he = hashtab_first (login_table, &ho);
396 he != NULL;389 he != NULL;
397 he = hashtab_next (&ho))390 he = hashtab_next (&ho))
@@ -399,55 +392,53 @@
399 struct login_data *l = hashtab_get_value (he);392 struct login_data *l = hashtab_get_value (he);
400393
401 if (update_time_flag)394 if (update_time_flag)
402 update_user_time (l->ut_name, the_time - l->time, debug_str);395 update_user_time (l->ut_name, the_time - l->time, debug_str);
403396
404 if (change_login_flag)397 if (change_login_flag)
405 l->time = the_time;398 l->time = the_time;
406 else399 else
407 hashtab_delete (he);400 hashtab_delete (he);
408 }401 }
409}402}
410403
411
412/* Put a terminal into the hash table. */404/* Put a terminal into the hash table. */
413405
414void406void log_in(struct utmp *entry)
415log_in (struct utmp *entry)
416{407{
417 struct hashtab_elem *he;408 struct hashtab_elem *he;
418409
419 if (entry->ut_line[0] == '\0')410 if (entry->ut_line[0] == '\0')
420 {411 {
421 if (print_file_problems)412 if (print_file_problems)
422 {413 {
423 utmp_print_file_and_line (stddebug);414 utmp_print_file_and_line(stddebug);
424 fprintf (stddebug,415 (void)fprintf(stddebug,
425 ": problem: trying to hash rec with ut_line == NULL\n");416 ": problem: trying to hash rec with ut_line == NULL\n");
426 }417 }
427 return;418 return;
428 }419 }
429420
430 he = hashtab_find (login_table, entry->ut_line, TTY_LEN);421 he = hashtab_find(login_table, entry->ut_line, TTY_LEN);
431422
432 if (he != NULL)423 if (he != NULL)
433 {424 {
434 struct login_data *l = hashtab_get_value (he);425 struct login_data *l = hashtab_get_value (he);
435426
436 if (print_file_problems)427 if (print_file_problems)
437 {428 {
438 char *ttyname = hashtab_get_key (he);429 char *ttyname = hashtab_get_key (he);
439 utmp_print_file_and_line (stddebug);430 utmp_print_file_and_line (stddebug);
440 fprintf (stddebug, ": problem: duplicate record for line `%.*s'\n",431 (void)fprintf(stddebug, ": problem: duplicate record for line `%.*s'\n",
441 TTY_LEN, ttyname);432 TTY_LEN, ttyname);
442 }433 }
443 434
444 /* we should just write over the old one -- nasty ac's charge435 /* we should just write over the old one -- nasty ac's charge
445 the user being for being logged in until this new tty entry436 the user being for being logged in until this new tty entry
446 appears, so the flag NASTY_SUPPLANT is included */437 appears, so the flag NASTY_SUPPLANT is included */
447438
448 if (nasty_supplant)439 if (nasty_supplant)
449 update_user_time (l->ut_name, entry->ut_time - l->time, "supplant");440 update_user_time(l->ut_name, entry->ut_time - l->time, "supplant");
450 441
451 strncpy (l->ut_name, entry->ut_name, NAME_LEN);442 strncpy (l->ut_name, entry->ut_name, NAME_LEN);
452 l->time = entry->ut_time;443 l->time = entry->ut_time;
453 }444 }
@@ -457,7 +448,7 @@
457 a new one. */448 a new one. */
458449
459 struct login_data l;450 struct login_data l;
460 451
461 strncpy (l.ut_name, entry->ut_name, NAME_LEN);452 strncpy (l.ut_name, entry->ut_name, NAME_LEN);
462 l.time = entry->ut_time;453 l.time = entry->ut_time;
463454
@@ -466,22 +457,20 @@
466 }457 }
467}458}
468459
469
470/* Remove an entry from the hash table. */460/* Remove an entry from the hash table. */
471461
472void462void log_out(struct utmp *entry)
473log_out (struct utmp *entry)
474{463{
475 struct hashtab_elem *he;464 struct hashtab_elem *he;
476 465
477 if (entry->ut_line[0] == '\0')466 if (entry->ut_line[0] == '\0')
478 {467 {
479 if (print_file_problems)468 if (print_file_problems)
480 {469 {
481 utmp_print_file_and_line (stddebug);470 utmp_print_file_and_line (stddebug);
482 fprintf (stddebug,471 fprintf (stddebug,
483 ": problem: trying to hash rec with ut_line == NULL\n");472 ": problem: trying to hash rec with ut_line == NULL\n");
484 }473 }
485 return;474 return;
486 }475 }
487476
@@ -503,63 +492,70 @@
503 any login corresponding to this logout. */492 any login corresponding to this logout. */
504493
505 if (print_file_problems)494 if (print_file_problems)
506 {495 {
507 utmp_print_file_and_line (stddebug);496 utmp_print_file_and_line (stddebug);
508 fprintf (stddebug, ": problem: missing login record for `%.*s'\n",497 fprintf (stddebug, ": problem: missing login record for `%.*s'\n",
509 TTY_LEN, entry->ut_line);498 TTY_LEN, entry->ut_line);
510 }499 }
511 }500 }
512}501}
513502
514
515
516/* fills in the days between entries, calculating how much time a user503/* fills in the days between entries, calculating how much time a user
517 * has racked up by midnight of each period504 * has racked up by midnight of each period
518 *505 *
519 * side-effect (desirable) -- changes the value passed in NEXT_MIDNIGHT506 * side-effect (desirable) -- changes the value passed in NEXT_MIDNIGHT
520 * to catch up with CURRENT_TIME507 * to catch up with CURRENT_TIME
521 */508 */
522void509
523do_totals (time_t *next_midnight, time_t current_time,510void do_totals(time_t *next_midnight, time_t current_time,
524 int update_time_flag, int change_login_flag, char *debug_str)511 int update_time_flag, int change_login_flag, char *debug_str)
525{512{
526 while (*next_midnight < current_time)513 while (*next_midnight < current_time)
527 {514 {
528 log_everyone_out (*next_midnight, update_time_flag, change_login_flag,515 log_everyone_out (*next_midnight, update_time_flag, change_login_flag,
529 debug_str);516 debug_str);
530 517
531 if (print_midnight_totals)518 if (print_midnight_totals)
532 {519 {
533 /* We need the proper label for do_statistics: we can get it520 /* We need the proper label for do_statistics: we can get it
534 relative to next_midnight. */521 relative to next_midnight. */
522#ifdef HAVE_SNPRINTF
523 char month_day_string[256];
524#else
525 char month_day_string[255];
526#endif
527 time_t temp_time = *next_midnight - 10;
528 struct tm *temp_tm = localtime (&temp_time);
529 if (print_year)
530#ifdef HAVE_SNPRINTF
531 (void)snprintf(month_day_string, sizeof(month_day_string), "%s %2d %4d",
532 months[temp_tm->tm_mon], temp_tm->tm_mday,
533 1900 + temp_tm->tm_year);
534 else
535 (void)snprintf(month_day_string, sizeof(month_day_string),"%s %2d",
536 months[temp_tm->tm_mon], temp_tm->tm_mday);
537#else
538 (void)sprintf(month_day_string, "%s %2d %4d",
539 months[temp_tm->tm_mon], temp_tm->tm_mday,
540 1900 + temp_tm->tm_year);
541 else
542 (void)sprintf(month_day_string, "%s %2d",
543 months[temp_tm->tm_mon], temp_tm->tm_mday);
544#endif
545 do_statistics (month_day_string);
546 }
535547
536 char month_day_string[255];
537 time_t temp_time = *next_midnight - 10;
538 struct tm *temp_tm = localtime (&temp_time);
539 if (print_year)
540 sprintf (month_day_string, "%s %2d %4d",
541 months[temp_tm->tm_mon], temp_tm->tm_mday,
542 1900 + temp_tm->tm_year);
543 else
544 sprintf (month_day_string, "%s %2d",
545 months[temp_tm->tm_mon], temp_tm->tm_mday);
546
547 do_statistics (month_day_string);
548 }
549
550 /* Get the next day ONLY if we're printing totals at midnight548 /* Get the next day ONLY if we're printing totals at midnight
551 and the user wants to see all of the days (because it's much549 and the user wants to see all of the days (because it's much
552 slower). */550 slower). */
553551
554 *next_midnight =552 *next_midnight =
555 midnight_after_me ((print_midnight_totals && print_all_days)553 midnight_after_me ((print_midnight_totals && print_all_days)
556 ? *next_midnight554 ? *next_midnight
557 : current_time);555 : current_time);
558 }556 }
559}557}
560558
561
562
563/* print out statistics and clear the user totals559/* print out statistics and clear the user totals
564 * if !PRINT_INDIVIDUAL_TOTALS && !PRINT_MIDNIGHT_TOTALS560 * if !PRINT_INDIVIDUAL_TOTALS && !PRINT_MIDNIGHT_TOTALS
565 * don't print anything until the end561 * don't print anything until the end
@@ -568,8 +564,8 @@
568 * if PRINT_MIDNIGHT_TOTALS && PRINT_INDIVIDUAL_TOTALS564 * if PRINT_MIDNIGHT_TOTALS && PRINT_INDIVIDUAL_TOTALS
569 * print totals, individ user times, & clear times565 * print totals, individ user times, & clear times
570 */566 */
571void567
572do_statistics (char *date_string)568void do_statistics(char *date_string)
573{569{
574 unsigned long total;570 unsigned long total;
575 double float_total;571 double float_total;
@@ -586,64 +582,63 @@
586 char *username = hashtab_get_key (he);582 char *username = hashtab_get_key (he);
587583
588 /* print if the user table is null or the name is on the command line */584 /* print if the user table is null or the name is on the command line */
589 585
590 if ((names == NULL) || hashtab_find (names, username, NAME_LEN))586 if ((names == NULL) || hashtab_find (names, username, NAME_LEN))
591 {587 {
592 struct user_data *u = hashtab_get_value (he);588 struct user_data *u = hashtab_get_value (he);
593589
594 total += u->time;590 total += u->time;
595591
596 if ((print_individual_totals)592 if ((print_individual_totals)
597 && !((u->time == 0) && !print_zero_totals))593 && !((u->time == 0) && !print_zero_totals))
598 printf ("%s%-*.*s %*.2f\n",594 printf ("%s%-*.*s %*.2f\n",
599 (print_year ? "\t\t" : "\t"),595 (print_year ? "\t\t" : "\t"),
600 NAME_LEN, NAME_LEN, username,596 NAME_LEN, NAME_LEN, username,
601 number_precision, (double) u->time / 3600.0);597 number_precision, (double) u->time / 3600.0);
602 }598 }
603599
604 hashtab_delete (he);600 hashtab_delete (he);
605 }601 }
606 602
607 float_total = (double) total / 3600.0;603 float_total = (double) total / 3600.0;
608 604
609 if (print_midnight_totals)605 if (print_midnight_totals)
610 {606 {
611 if (!((float_total == 0.0) && !print_zero_totals))607 if (!((float_total == 0.0) && !print_zero_totals))
612 printf ("%s\ttotal %*.2f\n", date_string,608 printf ("%s\ttotal %*.2f\n", date_string,
613 number_precision + 3, float_total);609 number_precision + 3, float_total);
614 }610 }
615 else611 else
616 printf ("%stotal %*.2f\n",612 printf ("%stotal %*.2f\n",
617 (print_year ? "\t\t" : "\t"),613 (print_year ? "\t\t" : "\t"),
618 number_precision + 3, float_total);614 number_precision + 3, float_total);
619}615}
620616
621
622/* put something into the user table */617/* put something into the user table */
623void618
624update_user_time (char *name, time_t the_time, char *debug_label)619void update_user_time(char *name, time_t the_time, char *debug_label)
625{620{
626 struct hashtab_elem *he;621 struct hashtab_elem *he;
627 622
628 /* If we've rolled off the end of the range of time_t, it's possible623 /* If we've rolled off the end of the range of time_t, it's possible
629 to have negative values for THE_TIME. Yuck. Notify the user and624 to have negative values for THE_TIME. Yuck. Notify the user and
630 quit. */625 quit. */
631 626
632 if (the_time < 0)627 if (the_time < 0)
633 {628 {
634 utmp_print_file_and_line (stdout);629 utmp_print_file_and_line (stdout);
635 fprintf (stddebug,630 fprintf (stddebug,
636 ": problem: update user %.*s (for %s) with %ld seconds?!\n",631 ": problem: update user %.*s (for %s) with %ld seconds?!\n",
637 NAME_LEN, name, debug_label, (long) the_time);632 NAME_LEN, name, debug_label, (long) the_time);
638 fatal ("Possible overflow of time_t! Can't continue.");633 fatal ("Possible overflow of time_t! Can't continue.");
639 }634 }
640635
641 if (debugging_enabled636 if (debugging_enabled
642 && ((names == NULL) || hashtab_find (names, name, NAME_LEN)))637 && ((names == NULL) || hashtab_find (names, name, NAME_LEN)))
643 fprintf (stddebug, "\t\t\t\t\t%*.2f %-*.*s (%s)\n",638 fprintf (stddebug, "\t\t\t\t\t%*.2f %-*.*s (%s)\n",
644 NAME_LEN, (double) the_time / 3600.0,639 NAME_LEN, (double) the_time / 3600.0,
645 NAME_LEN, NAME_LEN, name, debug_label);640 NAME_LEN, NAME_LEN, name, debug_label);
646 641
647 he = hashtab_find (user_totals, name, NAME_LEN);642 he = hashtab_find (user_totals, name, NAME_LEN);
648 if (he == NULL)643 if (he == NULL)
649 {644 {
@@ -663,13 +658,13 @@
663}658}
664659
665660
666
667661
662
668/* return the time of midnight that will happen after our time */663/* return the time of midnight that will happen after our time */
669time_t664
670midnight_after_me (time_t now_time)665time_t midnight_after_me(time_t now_time)
671{666{
672 struct tm *tm_ptr, temp_tm;667 struct tm *tm_ptr, temp_tm;
673 668
674 tm_ptr = localtime (&now_time);669 tm_ptr = localtime (&now_time);
675 memcpy ((void *)&temp_tm, (void *)tm_ptr, sizeof (struct tm));670 memcpy ((void *)&temp_tm, (void *)tm_ptr, sizeof (struct tm));
676 temp_tm.tm_sec = 0;671 temp_tm.tm_sec = 0;
@@ -678,7 +673,6 @@
678 temp_tm.tm_mday++; /* next day */673 temp_tm.tm_mday++; /* next day */
679 temp_tm.tm_isdst = -1; /* mktime should figure out whether674 temp_tm.tm_isdst = -1; /* mktime should figure out whether
680 DST is enabled */675 DST is enabled */
681 676
682 return mktime (&temp_tm);677 return mktime (&temp_tm);
683}678}
684
685679
=== modified file 'accounting.info'
--- accounting.info 2006-03-18 18:38:00 +0000
+++ accounting.info 2010-01-20 17:40:26 +0000
@@ -1,8 +1,8 @@
1Dies ist accounting.info, hergestellt von Makeinfo Version 4.8 aus1This is accounting.info, produced by makeinfo version 4.13 from
2accounting.texi.2accounting.texi.
33
4 GNU Accounting Utilities Copyright (C) 1993, 1996, 1997, 1998, 20054GNU Accounting Utilities Copyright (C) 1993, 1996, 1997, 1998, 2005,
5Free Software Foundation, Inc.52008, 2009 Free Software Foundation, Inc.
66
7 Permission is granted to make and distribute verbatim copies of this7 Permission is granted to make and distribute verbatim copies of this
8manual provided the copyright notice and this permission notice are8manual provided the copyright notice and this permission notice are
@@ -26,8 +26,8 @@
26information about any of the applications, see the chapter with the26information about any of the applications, see the chapter with the
27program's name.27program's name.
2828
29 This is Edition 6.4-pre1 of the documentation, updated 7 January29 This is Edition 6.5.1 of the documentation, updated 23 August 2009
302006 for version 6.4-pre1 of the GNU Accounting Utilities.30for version 6.5.1 of the GNU Accounting Utilities.
3131
32* Menu:32* Menu:
3333
@@ -1037,13 +1037,13 @@
10371037
10381038
1039Tag Table:1039Tag Table:
1040Node: Top8481040Node: Top854
1041Node: Preface17641041Node: Preface1764
1042Node: ac104321042Node: ac10432
1043Node: accton187451043Node: accton18745
1044Node: last192501044Node: last19250
1045Node: lastcomm237261045Node: lastcomm23726
1046Node: sa268981046Node: sa26898
1047Node: dump-acct331921047Node: dump-acct33275
10481048
1049End Tag Table1049End Tag Table
10501050
=== modified file 'accounting.texi'
--- accounting.texi 2006-03-18 18:38:00 +0000
+++ accounting.texi 2010-01-20 17:40:26 +0000
@@ -6,7 +6,8 @@
66
7@ifinfo7@ifinfo
8GNU Accounting Utilities8GNU Accounting Utilities
9Copyright (C) 1993, 1996, 1997, 1998, 2005 Free Software Foundation, Inc.9Copyright (C) 1993, 1996, 1997, 1998, 2005, 2008, 2009
10Free Software Foundation, Inc.
1011
11Permission is granted to make and distribute verbatim copies of12Permission is granted to make and distribute verbatim copies of
12this manual provided the copyright notice and this permission notice13this manual provided the copyright notice and this permission notice
1314
=== modified file 'accton.8'
--- accton.8 2002-03-06 21:54:12 +0000
+++ accton.8 2010-01-20 17:40:26 +0000
@@ -1,4 +1,4 @@
1.TH ACCTON 8 "1995 October 31"1.TH ACCTON 8 "2008 November 24"
2.SH NAME2.SH NAME
3accton \- turns process accounting on or off3accton \- turns process accounting on or off
4.SH SYNOPSIS4.SH SYNOPSIS
@@ -6,6 +6,10 @@
6.na6.na
7.TP7.TP
8.B accton8.B accton
9.RI [\| OPTION \|]
10.RB on \||\| off \||\| filename
11.TP
12.B accton
9[13[
10.B \-V14.B \-V
11|15|
@@ -16,9 +20,6 @@
16|20|
17.B \-\-help21.B \-\-help
18]22]
19[
20.I filename
21]
22.SH DESCRIPTION23.SH DESCRIPTION
23.LP24.LP
24.B accton25.B accton
2526
=== modified file 'accton.c'
--- accton.c 2006-03-18 18:38:00 +0000
+++ accton.c 2010-01-20 17:40:26 +0000
@@ -1,11 +1,12 @@
1/* Copyright (C) 1993, 1996, 1997, 2003 Free Software Foundation, Inc.1/*
2Copyright (C) 1993, 1996, 1997, 2003, 2008, 2009 Free Software Foundation, Inc.
23
3This file contains the code for GNU accton.4This file contains the code for GNU accton.
45
5The GNU Accounting Utilities are free software; you can redistribute6The GNU Accounting Utilities are free software; you can redistribute
6them and/or modify them under the terms of the GNU General Public7them and/or modify them under the terms of the GNU General Public
7License as published by the Free Software Foundation; either version8License as published by the Free Software Foundation; either version
82, or (at your option) any later version.93, or (at your option) any later version.
910
10The GNU Accounting Utilities are distributed in the hope that they will11The GNU Accounting Utilities are distributed in the hope that they will
11be useful, but WITHOUT ANY WARRANTY; without even the implied warranty12be useful, but WITHOUT ANY WARRANTY; without even the implied warranty
@@ -15,14 +16,19 @@
15You should have received a copy of the GNU General Public License16You should have received a copy of the GNU General Public License
16along with the GNU Accounting Utilities; see the file COPYING. If17along with the GNU Accounting Utilities; see the file COPYING. If
17not, write to the Free Software Foundation, 675 Mass Ave, Cambridge,18not, write to the Free Software Foundation, 675 Mass Ave, Cambridge,
18MA 02139, USA. */19MA 02139, USA.
20*/
1921
20#include "config.h"22#include "config.h"
2123
22#include <stdio.h>24#include <stdio.h>
23#include <stdlib.h>25#include <stdlib.h>
24#include <sys/types.h>26#include <sys/types.h>
27#ifdef HAVE_ERRNO_H
25#include <errno.h>28#include <errno.h>
29#else
30extern int errno;
31#endif
26#include <string.h>32#include <string.h>
2733
28#ifdef HAVE_UNISTD_H34#ifdef HAVE_UNISTD_H
@@ -31,15 +37,17 @@
3137
32#include "common.h"38#include "common.h"
33#include "files.h"39#include "files.h"
40#ifdef HAVE_GETOPT_LONG_ONLY
41#include <getopt.h>
42#else
34#include "getopt.h"43#include "getopt.h"
44#endif
35#include "version.h"45#include "version.h"
3646
37
38/* globals */47/* globals */
3948
40char *program_name; /* name of this executable */49char *program_name; /* name of this executable */
4150
42
43/* protos */51/* protos */
4452
45void print_option_error PARAMS((void));53void print_option_error PARAMS((void));
@@ -47,75 +55,69 @@
47void print_usage PARAMS((void));55void print_usage PARAMS((void));
48void print_help PARAMS((void));56void print_help PARAMS((void));
4957
50
51/* code */58/* code */
5259
53/*60/*
54 * to print when there are errors related to options61 * to print when there are errors related to options
55 */62 */
56void63
57print_option_error (void)64void print_option_error(void)
58{65{
59 printf ("Try '%s --help' for more information.\n", program_name);66 (void)printf ("Try '%s --help' for more information.\n", program_name);
60}67}
6168
62
63/*69/*
64 * to print version70 * to print version
65 */71 */
66void72
67print_version (void)73void print_version(void)
68{74{
69 printf ("%s: GNU Accounting Utilities (release %s)\n",75 (void)printf("%s: GNU Accounting Utilities (release %s)\n",program_name, VERSION_STRING);
70 program_name, VERSION_STRING);
71}76}
7277
73
74/*78/*
75 * to print usage (kind of very brief help)79 * to print usage (kind of very brief help)
76 */80 */
77void81
78print_usage (void)82void print_usage(void)
79{83{
80 printf ("Usage: %s [OPTION] on|off|ACCOUNTING_FILE\n", program_name);84 (void)printf ("Usage: %s [OPTION] on|off|ACCOUNTING_FILE\n", program_name);
81}85}
8286
83
84/*87/*
85 * to print help88 * to print help
86 */89 */
87void90
88print_help (void)91void print_help(void)
89{92{
90 print_usage ();93 print_usage ();
9194
92 printf ("\n\95 printf ("\n\
93Turns process accounting on or off, or changes the file where this\n\96 Turns process accounting on or off, or changes the file where this\n\
94info is saved.\n\n\97 info is saved.\n\n\
95OPTIONS:\n\98 OPTIONS:\n\
96 -h, --help Show help and exit\n\99 -h, --help Show help and exit\n\
97 -V, --version Show version and exit\n\n\100 -V, --version Show version and exit\n\n\
98ARGUMENTS:\n\101 ARGUMENTS:\n\
99 on Activate process accounting and use default file\n\102 on Activate process accounting and use default file\n\
100 off Deactivate process accounting\n\103 off Deactivate process accounting\n\
101 ACCOUNTING_FILE Activate (if not active) and save information in\n\104 ACCOUNTING_FILE Activate (if not active) and save information in\n\
102 this file\n\n\105 this file\n\n\
103The system's default process accounting file is '%s'.\n\n\106 The system's default process accounting file is '%s'.\n\n\
104Report bugs to <bug-acct@gnu.org>\n",107 Report bugs to <bug-acct@gnu.org>\n",
105 ACCT_FILE_LOC);108 ACCT_FILE_LOC);
106}109}
107110
108111
109/*112/*
110 * does all the real work113 * does all the real work
111 */114 */
112int115
113main (int argc, char *argv[])116int main(int argc, char *argv[])
114{117{
115 int c, status_acct, number_args;118 int c, status_acct, number_args;
116 char *acct_file = NULL;119 char *acct_file = NULL;
117120
118
119 program_name = argv[0];121 program_name = argv[0];
120122
121123
@@ -123,37 +125,35 @@
123 while (1)125 while (1)
124 {126 {
125 int option_index = 0;127 int option_index = 0;
126 128
127 static struct option long_options[] =129 static struct option long_options[] =
128 {130 {
129 { "version", no_argument, NULL, 1 },131 { "version", no_argument, NULL, 1
130 { "help", no_argument, NULL, 2 },132 },
131 { 0, 0, 0, 0 }133 { "help", no_argument, NULL, 2 },
132 };134 { 0, 0, 0, 0 }
135 };
133136
134 c = getopt_long (argc, argv, "hV", long_options, &option_index);137 c = getopt_long (argc, argv, "hV", long_options, &option_index);
135 138
136 if (c == EOF)139 if (c == EOF)
137 break;140 break;
138141
139 switch (c)142 switch (c)
140 {143 {
141 case 'V':144 case 'V':
142 case 1:145 case 1:
143 print_version ();146 print_version ();
144 exit (EXIT_SUCCESS);147 exit (EXIT_SUCCESS);
145 break;148 case 'h':
146 case 'h':149 case 2:
147 case 2:150 print_help ();
148 print_help ();151 exit (EXIT_SUCCESS);
149 exit (EXIT_SUCCESS);152 default:
150 break;153 print_usage ();
151 default:154 print_option_error ();
152 print_usage ();155 exit (EXIT_FAILURE);
153 print_option_error ();156 }
154 exit (EXIT_FAILURE);
155 break;
156 }
157 }157 }
158158
159159
@@ -186,8 +186,8 @@
186 {186 {
187 status_acct = acct (ACCT_FILE_LOC);187 status_acct = acct (ACCT_FILE_LOC);
188 printf ("Turning on process accounting, file set to the default '%s'.\n",188 printf ("Turning on process accounting, file set to the default '%s'.\n",
189 ACCT_FILE_LOC);189 ACCT_FILE_LOC);
190 }190 }
191 /* ..else if was "off", pass NULL to deactivate.. */191 /* ..else if was "off", pass NULL to deactivate.. */
192 else if (0 == strcasecmp (acct_file, "off"))192 else if (0 == strcasecmp (acct_file, "off"))
193 {193 {
@@ -205,16 +205,11 @@
205 /* did the system call return an error? */205 /* did the system call return an error? */
206 if (-1 == status_acct)206 if (-1 == status_acct)
207 {207 {
208 int err;208 int err = errno;
209 extern int errno;
210
211 err = errno;
212 perror ("accton");209 perror ("accton");
213 exit (err);210 exit (err);
214 }211 }
215 }212 }
216
217
218 return EXIT_SUCCESS;213 return EXIT_SUCCESS;
219}214}
220215
221216
=== modified file 'aclocal.m4'
--- aclocal.m4 2006-03-18 18:38:00 +0000
+++ aclocal.m4 2010-01-20 17:40:26 +0000
@@ -1,7 +1,7 @@
1# generated automatically by aclocal 1.9.6 -*- Autoconf -*-1# generated automatically by aclocal 1.10.2 -*- Autoconf -*-
22
3# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,3# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
4# 2005 Free Software Foundation, Inc.4# 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
5# This file is free software; the Free Software Foundation5# This file is free software; the Free Software Foundation
6# gives unlimited permission to copy and/or distribute it,6# gives unlimited permission to copy and/or distribute it,
7# with or without modifications, as long as this notice is preserved.7# with or without modifications, as long as this notice is preserved.
@@ -11,7 +11,465 @@
11# even the implied warranty of MERCHANTABILITY or FITNESS FOR A11# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
12# PARTICULAR PURPOSE.12# PARTICULAR PURPOSE.
1313
14# Copyright (C) 2002, 2003, 2005 Free Software Foundation, Inc.14m4_ifndef([AC_AUTOCONF_VERSION],
15 [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
16m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.63],,
17[m4_warning([this file was generated for autoconf 2.63.
18You have another version of autoconf. It may work, but is not guaranteed to.
19If you have problems, you may need to regenerate the build system entirely.
20To do so, use the procedure documented by the package, typically `autoreconf'.])])
21
22# po.m4 serial 15 (gettext-0.17)
23dnl Copyright (C) 1995-2007 Free Software Foundation, Inc.
24dnl This file is free software; the Free Software Foundation
25dnl gives unlimited permission to copy and/or distribute it,
26dnl with or without modifications, as long as this notice is preserved.
27dnl
28dnl This file can can be used in projects which are not available under
29dnl the GNU General Public License or the GNU Library General Public
30dnl License but which still want to provide support for the GNU gettext
31dnl functionality.
32dnl Please note that the actual code of the GNU gettext library is covered
33dnl by the GNU Library General Public License, and the rest of the GNU
34dnl gettext package package is covered by the GNU General Public License.
35dnl They are *not* in the public domain.
36
37dnl Authors:
38dnl Ulrich Drepper <drepper@cygnus.com>, 1995-2000.
39dnl Bruno Haible <haible@clisp.cons.org>, 2000-2003.
40
41AC_PREREQ(2.50)
42
43dnl Checks for all prerequisites of the po subdirectory.
44AC_DEFUN([AM_PO_SUBDIRS],
45[
46 AC_REQUIRE([AC_PROG_MAKE_SET])dnl
47 AC_REQUIRE([AC_PROG_INSTALL])dnl
48 AC_REQUIRE([AM_PROG_MKDIR_P])dnl defined by automake
49 AC_REQUIRE([AM_NLS])dnl
50
51 dnl Release version of the gettext macros. This is used to ensure that
52 dnl the gettext macros and po/Makefile.in.in are in sync.
53 AC_SUBST([GETTEXT_MACRO_VERSION], [0.17])
54
55 dnl Perform the following tests also if --disable-nls has been given,
56 dnl because they are needed for "make dist" to work.
57
58 dnl Search for GNU msgfmt in the PATH.
59 dnl The first test excludes Solaris msgfmt and early GNU msgfmt versions.
60 dnl The second test excludes FreeBSD msgfmt.
61 AM_PATH_PROG_WITH_TEST(MSGFMT, msgfmt,
62 [$ac_dir/$ac_word --statistics /dev/null >&]AS_MESSAGE_LOG_FD[ 2>&1 &&
63 (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi)],
64 :)
65 AC_PATH_PROG(GMSGFMT, gmsgfmt, $MSGFMT)
66
67 dnl Test whether it is GNU msgfmt >= 0.15.
68changequote(,)dnl
69 case `$MSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
70 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) MSGFMT_015=: ;;
71 *) MSGFMT_015=$MSGFMT ;;
72 esac
73changequote([,])dnl
74 AC_SUBST([MSGFMT_015])
75changequote(,)dnl
76 case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
77 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) GMSGFMT_015=: ;;
78 *) GMSGFMT_015=$GMSGFMT ;;
79 esac
80changequote([,])dnl
81 AC_SUBST([GMSGFMT_015])
82
83 dnl Search for GNU xgettext 0.12 or newer in the PATH.
84 dnl The first test excludes Solaris xgettext and early GNU xgettext versions.
85 dnl The second test excludes FreeBSD xgettext.
86 AM_PATH_PROG_WITH_TEST(XGETTEXT, xgettext,
87 [$ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >&]AS_MESSAGE_LOG_FD[ 2>&1 &&
88 (if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi)],
89 :)
90 dnl Remove leftover from FreeBSD xgettext call.
91 rm -f messages.po
92
93 dnl Test whether it is GNU xgettext >= 0.15.
94changequote(,)dnl
95 case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
96 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) XGETTEXT_015=: ;;
97 *) XGETTEXT_015=$XGETTEXT ;;
98 esac
99changequote([,])dnl
100 AC_SUBST([XGETTEXT_015])
101
102 dnl Search for GNU msgmerge 0.11 or newer in the PATH.
103 AM_PATH_PROG_WITH_TEST(MSGMERGE, msgmerge,
104 [$ac_dir/$ac_word --update -q /dev/null /dev/null >&]AS_MESSAGE_LOG_FD[ 2>&1], :)
105
106 dnl Installation directories.
107 dnl Autoconf >= 2.60 defines localedir. For older versions of autoconf, we
108 dnl have to define it here, so that it can be used in po/Makefile.
109 test -n "$localedir" || localedir='${datadir}/locale'
110 AC_SUBST([localedir])
111
112 dnl Support for AM_XGETTEXT_OPTION.
113 test -n "${XGETTEXT_EXTRA_OPTIONS+set}" || XGETTEXT_EXTRA_OPTIONS=
114 AC_SUBST([XGETTEXT_EXTRA_OPTIONS])
115
116 AC_CONFIG_COMMANDS([po-directories], [[
117 for ac_file in $CONFIG_FILES; do
118 # Support "outfile[:infile[:infile...]]"
119 case "$ac_file" in
120 *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
121 esac
122 # PO directories have a Makefile.in generated from Makefile.in.in.
123 case "$ac_file" in */Makefile.in)
124 # Adjust a relative srcdir.
125 ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
126 ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`"
127 ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
128 # In autoconf-2.13 it is called $ac_given_srcdir.
129 # In autoconf-2.50 it is called $srcdir.
130 test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
131 case "$ac_given_srcdir" in
132 .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
133 /*) top_srcdir="$ac_given_srcdir" ;;
134 *) top_srcdir="$ac_dots$ac_given_srcdir" ;;
135 esac
136 # Treat a directory as a PO directory if and only if it has a
137 # POTFILES.in file. This allows packages to have multiple PO
138 # directories under different names or in different locations.
139 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
140 rm -f "$ac_dir/POTFILES"
141 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
142 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
143 POMAKEFILEDEPS="POTFILES.in"
144 # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend
145 # on $ac_dir but don't depend on user-specified configuration
146 # parameters.
147 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
148 # The LINGUAS file contains the set of available languages.
149 if test -n "$OBSOLETE_ALL_LINGUAS"; then
150 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
151 fi
152 ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"`
153 # Hide the ALL_LINGUAS assigment from automake < 1.5.
154 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
155 POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
156 else
157 # The set of available languages was given in configure.in.
158 # Hide the ALL_LINGUAS assigment from automake < 1.5.
159 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
160 fi
161 # Compute POFILES
162 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
163 # Compute UPDATEPOFILES
164 # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
165 # Compute DUMMYPOFILES
166 # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
167 # Compute GMOFILES
168 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
169 case "$ac_given_srcdir" in
170 .) srcdirpre= ;;
171 *) srcdirpre='$(srcdir)/' ;;
172 esac
173 POFILES=
174 UPDATEPOFILES=
175 DUMMYPOFILES=
176 GMOFILES=
177 for lang in $ALL_LINGUAS; do
178 POFILES="$POFILES $srcdirpre$lang.po"
179 UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
180 DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
181 GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
182 done
183 # CATALOGS depends on both $ac_dir and the user's LINGUAS
184 # environment variable.
185 INST_LINGUAS=
186 if test -n "$ALL_LINGUAS"; then
187 for presentlang in $ALL_LINGUAS; do
188 useit=no
189 if test "%UNSET%" != "$LINGUAS"; then
190 desiredlanguages="$LINGUAS"
191 else
192 desiredlanguages="$ALL_LINGUAS"
193 fi
194 for desiredlang in $desiredlanguages; do
195 # Use the presentlang catalog if desiredlang is
196 # a. equal to presentlang, or
197 # b. a variant of presentlang (because in this case,
198 # presentlang can be used as a fallback for messages
199 # which are not translated in the desiredlang catalog).
200 case "$desiredlang" in
201 "$presentlang"*) useit=yes;;
202 esac
203 done
204 if test $useit = yes; then
205 INST_LINGUAS="$INST_LINGUAS $presentlang"
206 fi
207 done
208 fi
209 CATALOGS=
210 if test -n "$INST_LINGUAS"; then
211 for lang in $INST_LINGUAS; do
212 CATALOGS="$CATALOGS $lang.gmo"
213 done
214 fi
215 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
216 sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile"
217 for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
218 if test -f "$f"; then
219 case "$f" in
220 *.orig | *.bak | *~) ;;
221 *) cat "$f" >> "$ac_dir/Makefile" ;;
222 esac
223 fi
224 done
225 fi
226 ;;
227 esac
228 done]],
229 [# Capture the value of obsolete ALL_LINGUAS because we need it to compute
230 # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it
231 # from automake < 1.5.
232 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
233 # Capture the value of LINGUAS because we need it to compute CATALOGS.
234 LINGUAS="${LINGUAS-%UNSET%}"
235 ])
236])
237
238dnl Postprocesses a Makefile in a directory containing PO files.
239AC_DEFUN([AM_POSTPROCESS_PO_MAKEFILE],
240[
241 # When this code is run, in config.status, two variables have already been
242 # set:
243 # - OBSOLETE_ALL_LINGUAS is the value of LINGUAS set in configure.in,
244 # - LINGUAS is the value of the environment variable LINGUAS at configure
245 # time.
246
247changequote(,)dnl
248 # Adjust a relative srcdir.
249 ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
250 ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`"
251 ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
252 # In autoconf-2.13 it is called $ac_given_srcdir.
253 # In autoconf-2.50 it is called $srcdir.
254 test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
255 case "$ac_given_srcdir" in
256 .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
257 /*) top_srcdir="$ac_given_srcdir" ;;
258 *) top_srcdir="$ac_dots$ac_given_srcdir" ;;
259 esac
260
261 # Find a way to echo strings without interpreting backslash.
262 if test "X`(echo '\t') 2>/dev/null`" = 'X\t'; then
263 gt_echo='echo'
264 else
265 if test "X`(printf '%s\n' '\t') 2>/dev/null`" = 'X\t'; then
266 gt_echo='printf %s\n'
267 else
268 echo_func () {
269 cat <<EOT
270$*
271EOT
272 }
273 gt_echo='echo_func'
274 fi
275 fi
276
277 # A sed script that extracts the value of VARIABLE from a Makefile.
278 sed_x_variable='
279# Test if the hold space is empty.
280x
281s/P/P/
282x
283ta
284# Yes it was empty. Look if we have the expected variable definition.
285/^[ ]*VARIABLE[ ]*=/{
286 # Seen the first line of the variable definition.
287 s/^[ ]*VARIABLE[ ]*=//
288 ba
289}
290bd
291:a
292# Here we are processing a line from the variable definition.
293# Remove comment, more precisely replace it with a space.
294s/#.*$/ /
295# See if the line ends in a backslash.
296tb
297:b
298s/\\$//
299# Print the line, without the trailing backslash.
300p
301tc
302# There was no trailing backslash. The end of the variable definition is
303# reached. Clear the hold space.
304s/^.*$//
305x
306bd
307:c
308# A trailing backslash means that the variable definition continues in the
309# next line. Put a nonempty string into the hold space to indicate this.
310s/^.*$/P/
311x
312:d
313'
314changequote([,])dnl
315
316 # Set POTFILES to the value of the Makefile variable POTFILES.
317 sed_x_POTFILES=`$gt_echo "$sed_x_variable" | sed -e '/^ *#/d' -e 's/VARIABLE/POTFILES/g'`
318 POTFILES=`sed -n -e "$sed_x_POTFILES" < "$ac_file"`
319 # Compute POTFILES_DEPS as
320 # $(foreach file, $(POTFILES), $(top_srcdir)/$(file))
321 POTFILES_DEPS=
322 for file in $POTFILES; do
323 POTFILES_DEPS="$POTFILES_DEPS "'$(top_srcdir)/'"$file"
324 done
325 POMAKEFILEDEPS=""
326
327 if test -n "$OBSOLETE_ALL_LINGUAS"; then
328 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
329 fi
330 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
331 # The LINGUAS file contains the set of available languages.
332 ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"`
333 POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
334 else
335 # Set ALL_LINGUAS to the value of the Makefile variable LINGUAS.
336 sed_x_LINGUAS=`$gt_echo "$sed_x_variable" | sed -e '/^ *#/d' -e 's/VARIABLE/LINGUAS/g'`
337 ALL_LINGUAS_=`sed -n -e "$sed_x_LINGUAS" < "$ac_file"`
338 fi
339 # Hide the ALL_LINGUAS assigment from automake < 1.5.
340 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
341 # Compute POFILES
342 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
343 # Compute UPDATEPOFILES
344 # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
345 # Compute DUMMYPOFILES
346 # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
347 # Compute GMOFILES
348 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
349 # Compute PROPERTIESFILES
350 # as $(foreach lang, $(ALL_LINGUAS), $(top_srcdir)/$(DOMAIN)_$(lang).properties)
351 # Compute CLASSFILES
352 # as $(foreach lang, $(ALL_LINGUAS), $(top_srcdir)/$(DOMAIN)_$(lang).class)
353 # Compute QMFILES
354 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).qm)
355 # Compute MSGFILES
356 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(frob $(lang)).msg)
357 # Compute RESOURCESDLLFILES
358 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(frob $(lang))/$(DOMAIN).resources.dll)
359 case "$ac_given_srcdir" in
360 .) srcdirpre= ;;
361 *) srcdirpre='$(srcdir)/' ;;
362 esac
363 POFILES=
364 UPDATEPOFILES=
365 DUMMYPOFILES=
366 GMOFILES=
367 PROPERTIESFILES=
368 CLASSFILES=
369 QMFILES=
370 MSGFILES=
371 RESOURCESDLLFILES=
372 for lang in $ALL_LINGUAS; do
373 POFILES="$POFILES $srcdirpre$lang.po"
374 UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
375 DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
376 GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
377 PROPERTIESFILES="$PROPERTIESFILES \$(top_srcdir)/\$(DOMAIN)_$lang.properties"
378 CLASSFILES="$CLASSFILES \$(top_srcdir)/\$(DOMAIN)_$lang.class"
379 QMFILES="$QMFILES $srcdirpre$lang.qm"
380 frobbedlang=`echo $lang | sed -e 's/\..*$//' -e 'y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/'`
381 MSGFILES="$MSGFILES $srcdirpre$frobbedlang.msg"
382 frobbedlang=`echo $lang | sed -e 's/_/-/g' -e 's/^sr-CS/sr-SP/' -e 's/@latin$/-Latn/' -e 's/@cyrillic$/-Cyrl/' -e 's/^sr-SP$/sr-SP-Latn/' -e 's/^uz-UZ$/uz-UZ-Latn/'`
383 RESOURCESDLLFILES="$RESOURCESDLLFILES $srcdirpre$frobbedlang/\$(DOMAIN).resources.dll"
384 done
385 # CATALOGS depends on both $ac_dir and the user's LINGUAS
386 # environment variable.
387 INST_LINGUAS=
388 if test -n "$ALL_LINGUAS"; then
389 for presentlang in $ALL_LINGUAS; do
390 useit=no
391 if test "%UNSET%" != "$LINGUAS"; then
392 desiredlanguages="$LINGUAS"
393 else
394 desiredlanguages="$ALL_LINGUAS"
395 fi
396 for desiredlang in $desiredlanguages; do
397 # Use the presentlang catalog if desiredlang is
398 # a. equal to presentlang, or
399 # b. a variant of presentlang (because in this case,
400 # presentlang can be used as a fallback for messages
401 # which are not translated in the desiredlang catalog).
402 case "$desiredlang" in
403 "$presentlang"*) useit=yes;;
404 esac
405 done
406 if test $useit = yes; then
407 INST_LINGUAS="$INST_LINGUAS $presentlang"
408 fi
409 done
410 fi
411 CATALOGS=
412 JAVACATALOGS=
413 QTCATALOGS=
414 TCLCATALOGS=
415 CSHARPCATALOGS=
416 if test -n "$INST_LINGUAS"; then
417 for lang in $INST_LINGUAS; do
418 CATALOGS="$CATALOGS $lang.gmo"
419 JAVACATALOGS="$JAVACATALOGS \$(DOMAIN)_$lang.properties"
420 QTCATALOGS="$QTCATALOGS $lang.qm"
421 frobbedlang=`echo $lang | sed -e 's/\..*$//' -e 'y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/'`
422 TCLCATALOGS="$TCLCATALOGS $frobbedlang.msg"
423 frobbedlang=`echo $lang | sed -e 's/_/-/g' -e 's/^sr-CS/sr-SP/' -e 's/@latin$/-Latn/' -e 's/@cyrillic$/-Cyrl/' -e 's/^sr-SP$/sr-SP-Latn/' -e 's/^uz-UZ$/uz-UZ-Latn/'`
424 CSHARPCATALOGS="$CSHARPCATALOGS $frobbedlang/\$(DOMAIN).resources.dll"
425 done
426 fi
427
428 sed -e "s|@POTFILES_DEPS@|$POTFILES_DEPS|g" -e "s|@POFILES@|$POFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@PROPERTIESFILES@|$PROPERTIESFILES|g" -e "s|@CLASSFILES@|$CLASSFILES|g" -e "s|@QMFILES@|$QMFILES|g" -e "s|@MSGFILES@|$MSGFILES|g" -e "s|@RESOURCESDLLFILES@|$RESOURCESDLLFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@JAVACATALOGS@|$JAVACATALOGS|g" -e "s|@QTCATALOGS@|$QTCATALOGS|g" -e "s|@TCLCATALOGS@|$TCLCATALOGS|g" -e "s|@CSHARPCATALOGS@|$CSHARPCATALOGS|g" -e 's,^#distdir:,distdir:,' < "$ac_file" > "$ac_file.tmp"
429 if grep -l '@TCLCATALOGS@' "$ac_file" > /dev/null; then
430 # Add dependencies that cannot be formulated as a simple suffix rule.
431 for lang in $ALL_LINGUAS; do
432 frobbedlang=`echo $lang | sed -e 's/\..*$//' -e 'y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/'`
433 cat >> "$ac_file.tmp" <<EOF
434$frobbedlang.msg: $lang.po
435 @echo "\$(MSGFMT) -c --tcl -d \$(srcdir) -l $lang $srcdirpre$lang.po"; \
436 \$(MSGFMT) -c --tcl -d "\$(srcdir)" -l $lang $srcdirpre$lang.po || { rm -f "\$(srcdir)/$frobbedlang.msg"; exit 1; }
437EOF
438 done
439 fi
440 if grep -l '@CSHARPCATALOGS@' "$ac_file" > /dev/null; then
441 # Add dependencies that cannot be formulated as a simple suffix rule.
442 for lang in $ALL_LINGUAS; do
443 frobbedlang=`echo $lang | sed -e 's/_/-/g' -e 's/^sr-CS/sr-SP/' -e 's/@latin$/-Latn/' -e 's/@cyrillic$/-Cyrl/' -e 's/^sr-SP$/sr-SP-Latn/' -e 's/^uz-UZ$/uz-UZ-Latn/'`
444 cat >> "$ac_file.tmp" <<EOF
445$frobbedlang/\$(DOMAIN).resources.dll: $lang.po
446 @echo "\$(MSGFMT) -c --csharp -d \$(srcdir) -l $lang $srcdirpre$lang.po -r \$(DOMAIN)"; \
447 \$(MSGFMT) -c --csharp -d "\$(srcdir)" -l $lang $srcdirpre$lang.po -r "\$(DOMAIN)" || { rm -f "\$(srcdir)/$frobbedlang.msg"; exit 1; }
448EOF
449 done
450 fi
451 if test -n "$POMAKEFILEDEPS"; then
452 cat >> "$ac_file.tmp" <<EOF
453Makefile: $POMAKEFILEDEPS
454EOF
455 fi
456 mv "$ac_file.tmp" "$ac_file"
457])
458
459dnl Initializes the accumulator used by AM_XGETTEXT_OPTION.
460AC_DEFUN([AM_XGETTEXT_OPTION_INIT],
461[
462 XGETTEXT_EXTRA_OPTIONS=
463])
464
465dnl Registers an option to be passed to xgettext in the po subdirectory.
466AC_DEFUN([AM_XGETTEXT_OPTION],
467[
468 AC_REQUIRE([AM_XGETTEXT_OPTION_INIT])
469 XGETTEXT_EXTRA_OPTIONS="$XGETTEXT_EXTRA_OPTIONS $1"
470])
471
472# Copyright (C) 2002, 2003, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
15#473#
16# This file is free software; the Free Software Foundation474# This file is free software; the Free Software Foundation
17# gives unlimited permission to copy and/or distribute it,475# gives unlimited permission to copy and/or distribute it,
@@ -21,14 +479,31 @@
21# ----------------------------479# ----------------------------
22# Automake X.Y traces this macro to ensure aclocal.m4 has been480# Automake X.Y traces this macro to ensure aclocal.m4 has been
23# generated from the m4 files accompanying Automake X.Y.481# generated from the m4 files accompanying Automake X.Y.
24AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version="1.9"])482# (This private macro should not be called outside this file.)
483AC_DEFUN([AM_AUTOMAKE_VERSION],
484[am__api_version='1.10'
485dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
486dnl require some minimum version. Point them to the right macro.
487m4_if([$1], [1.10.2], [],
488 [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
489])
490
491# _AM_AUTOCONF_VERSION(VERSION)
492# -----------------------------
493# aclocal traces this macro to find the Autoconf version.
494# This is a private macro too. Using m4_define simplifies
495# the logic in aclocal, which can simply ignore this definition.
496m4_define([_AM_AUTOCONF_VERSION], [])
25497
26# AM_SET_CURRENT_AUTOMAKE_VERSION498# AM_SET_CURRENT_AUTOMAKE_VERSION
27# -------------------------------499# -------------------------------
28# Call AM_AUTOMAKE_VERSION so it can be traced.500# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
29# This function is AC_REQUIREd by AC_INIT_AUTOMAKE.501# This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
30AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],502AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
31 [AM_AUTOMAKE_VERSION([1.9.6])])503[AM_AUTOMAKE_VERSION([1.10.2])dnl
504m4_ifndef([AC_AUTOCONF_VERSION],
505 [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
506_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
32507
33# AM_AUX_DIR_EXPAND -*- Autoconf -*-508# AM_AUX_DIR_EXPAND -*- Autoconf -*-
34509
@@ -85,14 +560,14 @@
85560
86# AM_CONDITIONAL -*- Autoconf -*-561# AM_CONDITIONAL -*- Autoconf -*-
87562
88# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005563# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006
89# Free Software Foundation, Inc.564# Free Software Foundation, Inc.
90#565#
91# This file is free software; the Free Software Foundation566# This file is free software; the Free Software Foundation
92# gives unlimited permission to copy and/or distribute it,567# gives unlimited permission to copy and/or distribute it,
93# with or without modifications, as long as this notice is preserved.568# with or without modifications, as long as this notice is preserved.
94569
95# serial 7570# serial 8
96571
97# AM_CONDITIONAL(NAME, SHELL-CONDITION)572# AM_CONDITIONAL(NAME, SHELL-CONDITION)
98# -------------------------------------573# -------------------------------------
@@ -101,8 +576,10 @@
101[AC_PREREQ(2.52)dnl576[AC_PREREQ(2.52)dnl
102 ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])],577 ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])],
103 [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl578 [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
104AC_SUBST([$1_TRUE])579AC_SUBST([$1_TRUE])dnl
105AC_SUBST([$1_FALSE])580AC_SUBST([$1_FALSE])dnl
581_AM_SUBST_NOTMAKE([$1_TRUE])dnl
582_AM_SUBST_NOTMAKE([$1_FALSE])dnl
106if $2; then583if $2; then
107 $1_TRUE=584 $1_TRUE=
108 $1_FALSE='#'585 $1_FALSE='#'
@@ -116,15 +593,14 @@
116Usually this means the macro was only invoked conditionally.]])593Usually this means the macro was only invoked conditionally.]])
117fi])])594fi])])
118595
119596# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006
120# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005
121# Free Software Foundation, Inc.597# Free Software Foundation, Inc.
122#598#
123# This file is free software; the Free Software Foundation599# This file is free software; the Free Software Foundation
124# gives unlimited permission to copy and/or distribute it,600# gives unlimited permission to copy and/or distribute it,
125# with or without modifications, as long as this notice is preserved.601# with or without modifications, as long as this notice is preserved.
126602
127# serial 8603# serial 9
128604
129# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be605# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
130# written in clear, in which case automake, when reading aclocal.m4,606# written in clear, in which case automake, when reading aclocal.m4,
@@ -152,6 +628,7 @@
152ifelse([$1], CC, [depcc="$CC" am_compiler_list=],628ifelse([$1], CC, [depcc="$CC" am_compiler_list=],
153 [$1], CXX, [depcc="$CXX" am_compiler_list=],629 [$1], CXX, [depcc="$CXX" am_compiler_list=],
154 [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'],630 [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
631 [$1], UPC, [depcc="$UPC" am_compiler_list=],
155 [$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'],632 [$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'],
156 [depcc="$$1" am_compiler_list=])633 [depcc="$$1" am_compiler_list=])
157634
@@ -217,6 +694,7 @@
217 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \694 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
218 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \695 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
219 >/dev/null 2>conftest.err &&696 >/dev/null 2>conftest.err &&
697 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
220 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&698 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
221 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&699 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
222 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then700 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
@@ -269,24 +747,34 @@
269 AMDEPBACKSLASH='\'747 AMDEPBACKSLASH='\'
270fi748fi
271AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])749AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
272AC_SUBST([AMDEPBACKSLASH])750AC_SUBST([AMDEPBACKSLASH])dnl
751_AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl
273])752])
274753
275# Generate code to set up dependency tracking. -*- Autoconf -*-754# Generate code to set up dependency tracking. -*- Autoconf -*-
276755
277# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005756# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2008
278# Free Software Foundation, Inc.757# Free Software Foundation, Inc.
279#758#
280# This file is free software; the Free Software Foundation759# This file is free software; the Free Software Foundation
281# gives unlimited permission to copy and/or distribute it,760# gives unlimited permission to copy and/or distribute it,
282# with or without modifications, as long as this notice is preserved.761# with or without modifications, as long as this notice is preserved.
283762
284#serial 3763#serial 4
285764
286# _AM_OUTPUT_DEPENDENCY_COMMANDS765# _AM_OUTPUT_DEPENDENCY_COMMANDS
287# ------------------------------766# ------------------------------
288AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],767AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
289[for mf in $CONFIG_FILES; do768[# Autoconf 2.62 quotes --file arguments for eval, but not when files
769# are listed without --file. Let's play safe and only enable the eval
770# if we detect the quoting.
771case $CONFIG_FILES in
772*\'*) eval set x "$CONFIG_FILES" ;;
773*) set x $CONFIG_FILES ;;
774esac
775shift
776for mf
777do
290 # Strip MF so we end up with the name of the file.778 # Strip MF so we end up with the name of the file.
291 mf=`echo "$mf" | sed -e 's/:.*$//'`779 mf=`echo "$mf" | sed -e 's/:.*$//'`
292 # Check whether this is an Automake generated Makefile or not.780 # Check whether this is an Automake generated Makefile or not.
@@ -294,8 +782,9 @@
294 # some people rename them; so instead we look at the file content.782 # some people rename them; so instead we look at the file content.
295 # Grep'ing the first line is not enough: some people post-process783 # Grep'ing the first line is not enough: some people post-process
296 # each Makefile.in and add a new line on top of each file to say so.784 # each Makefile.in and add a new line on top of each file to say so.
297 # So let's grep whole file.785 # Grep'ing the whole file is not good either: AIX grep has a line
298 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then786 # limit of 2048, but all sed's we know have understand at least 4000.
787 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
299 dirpart=`AS_DIRNAME("$mf")`788 dirpart=`AS_DIRNAME("$mf")`
300 else789 else
301 continue790 continue
@@ -354,14 +843,14 @@
354843
355# Do all the work for Automake. -*- Autoconf -*-844# Do all the work for Automake. -*- Autoconf -*-
356845
357# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005846# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
358# Free Software Foundation, Inc.847# 2005, 2006, 2008 Free Software Foundation, Inc.
359#848#
360# This file is free software; the Free Software Foundation849# This file is free software; the Free Software Foundation
361# gives unlimited permission to copy and/or distribute it,850# gives unlimited permission to copy and/or distribute it,
362# with or without modifications, as long as this notice is preserved.851# with or without modifications, as long as this notice is preserved.
363852
364# serial 12853# serial 13
365854
366# This macro actually does too much. Some checks are only needed if855# This macro actually does too much. Some checks are only needed if
367# your package does certain things. But this isn't really a big deal.856# your package does certain things. But this isn't really a big deal.
@@ -378,16 +867,20 @@
378# arguments mandatory, and then we can depend on a new Autoconf867# arguments mandatory, and then we can depend on a new Autoconf
379# release and drop the old call support.868# release and drop the old call support.
380AC_DEFUN([AM_INIT_AUTOMAKE],869AC_DEFUN([AM_INIT_AUTOMAKE],
381[AC_PREREQ([2.58])dnl870[AC_PREREQ([2.60])dnl
382dnl Autoconf wants to disallow AM_ names. We explicitly allow871dnl Autoconf wants to disallow AM_ names. We explicitly allow
383dnl the ones we care about.872dnl the ones we care about.
384m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl873m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
385AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl874AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
386AC_REQUIRE([AC_PROG_INSTALL])dnl875AC_REQUIRE([AC_PROG_INSTALL])dnl
387# test to see if srcdir already configured876if test "`cd $srcdir && pwd`" != "`pwd`"; then
388if test "`cd $srcdir && pwd`" != "`pwd`" &&877 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
389 test -f $srcdir/config.status; then878 # is not polluted with repeated "-I."
390 AC_MSG_ERROR([source directory already configured; run "make distclean" there first])879 AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl
880 # test to see if srcdir already configured
881 if test -f $srcdir/config.status; then
882 AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
883 fi
391fi884fi
392885
393# test whether we have cygpath886# test whether we have cygpath
@@ -407,6 +900,9 @@
407 AC_SUBST([PACKAGE], [$1])dnl900 AC_SUBST([PACKAGE], [$1])dnl
408 AC_SUBST([VERSION], [$2])],901 AC_SUBST([VERSION], [$2])],
409[_AM_SET_OPTIONS([$1])dnl902[_AM_SET_OPTIONS([$1])dnl
903dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT.
904m4_if(m4_ifdef([AC_PACKAGE_NAME], 1)m4_ifdef([AC_PACKAGE_VERSION], 1), 11,,
905 [m4_fatal([AC_INIT should be called with package and version arguments])])dnl
410 AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl906 AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
411 AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl907 AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
412908
@@ -442,6 +938,10 @@
442 [_AM_DEPENDENCIES(CXX)],938 [_AM_DEPENDENCIES(CXX)],
443 [define([AC_PROG_CXX],939 [define([AC_PROG_CXX],
444 defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl940 defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
941AC_PROVIDE_IFELSE([AC_PROG_OBJC],
942 [_AM_DEPENDENCIES(OBJC)],
943 [define([AC_PROG_OBJC],
944 defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl
445])945])
446])946])
447947
@@ -455,16 +955,17 @@
455# our stamp files there.955# our stamp files there.
456AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK],956AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK],
457[# Compute $1's index in $config_headers.957[# Compute $1's index in $config_headers.
958_am_arg=$1
458_am_stamp_count=1959_am_stamp_count=1
459for _am_header in $config_headers :; do960for _am_header in $config_headers :; do
460 case $_am_header in961 case $_am_header in
461 $1 | $1:* )962 $_am_arg | $_am_arg:* )
462 break ;;963 break ;;
463 * )964 * )
464 _am_stamp_count=`expr $_am_stamp_count + 1` ;;965 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
465 esac966 esac
466done967done
467echo "timestamp for $1" >`AS_DIRNAME([$1])`/stamp-h[]$_am_stamp_count])968echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
468969
469# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.970# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
470#971#
@@ -477,7 +978,7 @@
477# Define $install_sh.978# Define $install_sh.
478AC_DEFUN([AM_PROG_INSTALL_SH],979AC_DEFUN([AM_PROG_INSTALL_SH],
479[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl980[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
480install_sh=${install_sh-"$am_aux_dir/install-sh"}981install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
481AC_SUBST(install_sh)])982AC_SUBST(install_sh)])
482983
483# Copyright (C) 2003, 2005 Free Software Foundation, Inc.984# Copyright (C) 2003, 2005 Free Software Foundation, Inc.
@@ -501,6 +1002,35 @@
501rmdir .tst 2>/dev/null1002rmdir .tst 2>/dev/null
502AC_SUBST([am__leading_dot])])1003AC_SUBST([am__leading_dot])])
5031004
1005# Add --enable-maintainer-mode option to configure. -*- Autoconf -*-
1006# From Jim Meyering
1007
1008# Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004, 2005
1009# Free Software Foundation, Inc.
1010#
1011# This file is free software; the Free Software Foundation
1012# gives unlimited permission to copy and/or distribute it,
1013# with or without modifications, as long as this notice is preserved.
1014
1015# serial 4
1016
1017AC_DEFUN([AM_MAINTAINER_MODE],
1018[AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles])
1019 dnl maintainer-mode is disabled by default
1020 AC_ARG_ENABLE(maintainer-mode,
1021[ --enable-maintainer-mode enable make rules and dependencies not useful
1022 (and sometimes confusing) to the casual installer],
1023 USE_MAINTAINER_MODE=$enableval,
1024 USE_MAINTAINER_MODE=no)
1025 AC_MSG_RESULT([$USE_MAINTAINER_MODE])
1026 AM_CONDITIONAL(MAINTAINER_MODE, [test $USE_MAINTAINER_MODE = yes])
1027 MAINT=$MAINTAINER_MODE_TRUE
1028 AC_SUBST(MAINT)dnl
1029]
1030)
1031
1032AU_DEFUN([jm_MAINTAINER_MODE], [AM_MAINTAINER_MODE])
1033
504# Check to see how 'make' treats includes. -*- Autoconf -*-1034# Check to see how 'make' treats includes. -*- Autoconf -*-
5051035
506# Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation, Inc.1036# Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation, Inc.
@@ -555,14 +1085,14 @@
5551085
556# Fake the existence of programs that GNU maintainers use. -*- Autoconf -*-1086# Fake the existence of programs that GNU maintainers use. -*- Autoconf -*-
5571087
558# Copyright (C) 1997, 1999, 2000, 2001, 2003, 20051088# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005
559# Free Software Foundation, Inc.1089# Free Software Foundation, Inc.
560#1090#
561# This file is free software; the Free Software Foundation1091# This file is free software; the Free Software Foundation
562# gives unlimited permission to copy and/or distribute it,1092# gives unlimited permission to copy and/or distribute it,
563# with or without modifications, as long as this notice is preserved.1093# with or without modifications, as long as this notice is preserved.
5641094
565# serial 41095# serial 5
5661096
567# AM_MISSING_PROG(NAME, PROGRAM)1097# AM_MISSING_PROG(NAME, PROGRAM)
568# ------------------------------1098# ------------------------------
@@ -578,6 +1108,7 @@
578# If it does, set am_missing_run to use it, otherwise, to nothing.1108# If it does, set am_missing_run to use it, otherwise, to nothing.
579AC_DEFUN([AM_MISSING_HAS_RUN],1109AC_DEFUN([AM_MISSING_HAS_RUN],
580[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl1110[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
1111AC_REQUIRE_AUX_FILE([missing])dnl
581test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"1112test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
582# Use eval to expand $SHELL1113# Use eval to expand $SHELL
583if eval "$MISSING --run true"; then1114if eval "$MISSING --run true"; then
@@ -588,7 +1119,7 @@
588fi1119fi
589])1120])
5901121
591# Copyright (C) 2003, 2004, 2005 Free Software Foundation, Inc.1122# Copyright (C) 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
592#1123#
593# This file is free software; the Free Software Foundation1124# This file is free software; the Free Software Foundation
594# gives unlimited permission to copy and/or distribute it,1125# gives unlimited permission to copy and/or distribute it,
@@ -596,70 +1127,33 @@
5961127
597# AM_PROG_MKDIR_P1128# AM_PROG_MKDIR_P
598# ---------------1129# ---------------
599# Check whether `mkdir -p' is supported, fallback to mkinstalldirs otherwise.1130# Check for `mkdir -p'.
600#
601# Automake 1.8 used `mkdir -m 0755 -p --' to ensure that directories
602# created by `make install' are always world readable, even if the
603# installer happens to have an overly restrictive umask (e.g. 077).
604# This was a mistake. There are at least two reasons why we must not
605# use `-m 0755':
606# - it causes special bits like SGID to be ignored,
607# - it may be too restrictive (some setups expect 775 directories).
608#
609# Do not use -m 0755 and let people choose whatever they expect by
610# setting umask.
611#
612# We cannot accept any implementation of `mkdir' that recognizes `-p'.
613# Some implementations (such as Solaris 8's) are not thread-safe: if a
614# parallel make tries to run `mkdir -p a/b' and `mkdir -p a/c'
615# concurrently, both version can detect that a/ is missing, but only
616# one can create it and the other will error out. Consequently we
617# restrict ourselves to GNU make (using the --version option ensures
618# this.)
619AC_DEFUN([AM_PROG_MKDIR_P],1131AC_DEFUN([AM_PROG_MKDIR_P],
620[if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then1132[AC_PREREQ([2.60])dnl
621 # We used to keeping the `.' as first argument, in order to1133AC_REQUIRE([AC_PROG_MKDIR_P])dnl
622 # allow $(mkdir_p) to be used without argument. As in1134dnl Automake 1.8 to 1.9.6 used to define mkdir_p. We now use MKDIR_P,
623 # $(mkdir_p) $(somedir)1135dnl while keeping a definition of mkdir_p for backward compatibility.
624 # where $(somedir) is conditionally defined. However this is wrong1136dnl @MKDIR_P@ is magic: AC_OUTPUT adjusts its value for each Makefile.
625 # for two reasons:1137dnl However we cannot define mkdir_p as $(MKDIR_P) for the sake of
626 # 1. if the package is installed by a user who cannot write `.'1138dnl Makefile.ins that do not define MKDIR_P, so we do our own
627 # make install will fail,1139dnl adjustment using top_builddir (which is defined more often than
628 # 2. the above comment should most certainly read1140dnl MKDIR_P).
629 # $(mkdir_p) $(DESTDIR)$(somedir)1141AC_SUBST([mkdir_p], ["$MKDIR_P"])dnl
630 # so it does not work when $(somedir) is undefined and1142case $mkdir_p in
631 # $(DESTDIR) is not.1143 [[\\/$]]* | ?:[[\\/]]*) ;;
632 # To support the latter case, we have to write1144 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
633 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),1145esac
634 # so the `.' trick is pointless.1146])
635 mkdir_p='mkdir -p --'
636else
637 # On NextStep and OpenStep, the `mkdir' command does not
638 # recognize any option. It will interpret all options as
639 # directories to create, and then abort because `.' already
640 # exists.
641 for d in ./-p ./--version;
642 do
643 test -d $d && rmdir $d
644 done
645 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
646 if test -f "$ac_aux_dir/mkinstalldirs"; then
647 mkdir_p='$(mkinstalldirs)'
648 else
649 mkdir_p='$(install_sh) -d'
650 fi
651fi
652AC_SUBST([mkdir_p])])
6531147
654# Helper functions for option handling. -*- Autoconf -*-1148# Helper functions for option handling. -*- Autoconf -*-
6551149
656# Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation, Inc.1150# Copyright (C) 2001, 2002, 2003, 2005, 2008 Free Software Foundation, Inc.
657#1151#
658# This file is free software; the Free Software Foundation1152# This file is free software; the Free Software Foundation
659# gives unlimited permission to copy and/or distribute it,1153# gives unlimited permission to copy and/or distribute it,
660# with or without modifications, as long as this notice is preserved.1154# with or without modifications, as long as this notice is preserved.
6611155
662# serial 31156# serial 4
6631157
664# _AM_MANGLE_OPTION(NAME)1158# _AM_MANGLE_OPTION(NAME)
665# -----------------------1159# -----------------------
@@ -676,7 +1170,7 @@
676# ----------------------------------1170# ----------------------------------
677# OPTIONS is a space-separated list of Automake options.1171# OPTIONS is a space-separated list of Automake options.
678AC_DEFUN([_AM_SET_OPTIONS],1172AC_DEFUN([_AM_SET_OPTIONS],
679[AC_FOREACH([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])1173[m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
6801174
681# _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET])1175# _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET])
682# -------------------------------------------1176# -------------------------------------------
@@ -684,31 +1178,6 @@
684AC_DEFUN([_AM_IF_OPTION],1178AC_DEFUN([_AM_IF_OPTION],
685[m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])1179[m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
6861180
687# Copyright (C) 1996, 1997, 1998, 2000, 2001, 2002, 2003, 2005
688# Free Software Foundation, Inc.
689#
690# This file is free software; the Free Software Foundation
691# gives unlimited permission to copy and/or distribute it,
692# with or without modifications, as long as this notice is preserved.
693
694# serial 4
695
696AC_DEFUN([AM_C_PROTOTYPES],
697[AC_REQUIRE([AC_C_PROTOTYPES])
698if test "$ac_cv_prog_cc_stdc" != no; then
699 U= ANSI2KNR=
700else
701 U=_ ANSI2KNR=./ansi2knr
702fi
703# Ensure some checks needed by ansi2knr itself.
704AC_REQUIRE([AC_HEADER_STDC])
705AC_CHECK_HEADERS(string.h)
706AC_SUBST(U)dnl
707AC_SUBST(ANSI2KNR)dnl
708])
709
710AU_DEFUN([fp_C_PROTOTYPES], [AM_C_PROTOTYPES])
711
712# Check to make sure that the build environment is sane. -*- Autoconf -*-1181# Check to make sure that the build environment is sane. -*- Autoconf -*-
7131182
714# Copyright (C) 1996, 1997, 2000, 2001, 2003, 20051183# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005
@@ -786,9 +1255,21 @@
786if test "$cross_compiling" != no; then1255if test "$cross_compiling" != no; then
787 AC_CHECK_TOOL([STRIP], [strip], :)1256 AC_CHECK_TOOL([STRIP], [strip], :)
788fi1257fi
789INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"1258INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
790AC_SUBST([INSTALL_STRIP_PROGRAM])])1259AC_SUBST([INSTALL_STRIP_PROGRAM])])
7911260
1261# Copyright (C) 2006 Free Software Foundation, Inc.
1262#
1263# This file is free software; the Free Software Foundation
1264# gives unlimited permission to copy and/or distribute it,
1265# with or without modifications, as long as this notice is preserved.
1266
1267# _AM_SUBST_NOTMAKE(VARIABLE)
1268# ---------------------------
1269# Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in.
1270# This macro is traced by Automake.
1271AC_DEFUN([_AM_SUBST_NOTMAKE])
1272
792# Check how to create a tarball. -*- Autoconf -*-1273# Check how to create a tarball. -*- Autoconf -*-
7931274
794# Copyright (C) 2004, 2005 Free Software Foundation, Inc.1275# Copyright (C) 2004, 2005 Free Software Foundation, Inc.
@@ -885,3 +1366,39 @@
885AC_SUBST([am__untar])1366AC_SUBST([am__untar])
886]) # _AM_PROG_TAR1367]) # _AM_PROG_TAR
8871368
1369m4_include([m4/00gnulib.m4])
1370m4_include([m4/alloca.m4])
1371m4_include([m4/dirname.m4])
1372m4_include([m4/dos.m4])
1373m4_include([m4/double-slash-root.m4])
1374m4_include([m4/errno_h.m4])
1375m4_include([m4/error.m4])
1376m4_include([m4/exitfail.m4])
1377m4_include([m4/extensions.m4])
1378m4_include([m4/getopt.m4])
1379m4_include([m4/getpagesize.m4])
1380m4_include([m4/gnulib-common.m4])
1381m4_include([m4/gnulib-comp.m4])
1382m4_include([m4/include_next.m4])
1383m4_include([m4/inline.m4])
1384m4_include([m4/libtool.m4])
1385m4_include([m4/ltoptions.m4])
1386m4_include([m4/ltsugar.m4])
The diff has been truncated for viewing.

Subscribers

People subscribed via source and target branches