Browse Source

Added KDE3 version of knetstats


git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/knetstats@1091565 283d02a7-25f6-0310-bc7c-ecb5cbfe19
tpearson 9 years ago
commit
ace60a4b0e
100 changed files with 20256 additions and 0 deletions
  1. 340
    0
      COPYING
  2. 5
    0
      Makefile.am
  3. 4
    0
      Makefile.am.in
  4. 24
    0
      README
  5. 11919
    0
      acinclude.m4
  6. 863
    0
      aclocal.m4
  7. 240
    0
      config.h.in
  8. 3
    0
      configure.files
  9. 181
    0
      configure.in
  10. 4
    0
      configure.in.bot
  11. 11
    0
      configure.in.in
  12. 2
    0
      src/.svnignore
  13. 69
    0
      src/CHANGELOG
  14. 397
    0
      src/COPYING-DOCS
  15. 266
    0
      src/Doxyfile
  16. 5
    0
      src/Makefile.am
  17. 1
    0
      src/doc/Makefile.am
  18. 2
    0
      src/doc/en/Makefile.am
  19. 130
    0
      src/doc/en/index.docbook
  20. 4
    0
      src/doc/man/Makefile.am
  21. 142
    0
      src/doc/man/manpage.xml
  22. BIN
      src/hi16-app-knetstats.png
  23. BIN
      src/hi32-app-knetstats.png
  24. BIN
      src/hi48-app-knetstats.png
  25. 32
    0
      src/knetstats.desktop
  26. 22
    0
      src/src/Makefile.am
  27. 65
    0
      src/src/chart.cpp
  28. 43
    0
      src/src/chart.h
  29. 161
    0
      src/src/configure.cpp
  30. 65
    0
      src/src/configure.h
  31. 684
    0
      src/src/configurebase.ui
  32. 57
    0
      src/src/interface.cpp
  33. 51
    0
      src/src/interface.h
  34. 191
    0
      src/src/knetstats.cpp
  35. 93
    0
      src/src/knetstats.h
  36. 402
    0
      src/src/knetstatsview.cpp
  37. 258
    0
      src/src/knetstatsview.h
  38. 66
    0
      src/src/main.cpp
  39. 5
    0
      src/src/pics/Makefile.am
  40. BIN
      src/src/pics/icon_pci.png
  41. BIN
      src/src/pics/theme0_both.png
  42. BIN
      src/src/pics/theme0_error.png
  43. BIN
      src/src/pics/theme0_none.png
  44. BIN
      src/src/pics/theme0_rx.png
  45. BIN
      src/src/pics/theme0_tx.png
  46. BIN
      src/src/pics/theme1_both.png
  47. BIN
      src/src/pics/theme1_error.png
  48. BIN
      src/src/pics/theme1_none.png
  49. BIN
      src/src/pics/theme1_rx.png
  50. BIN
      src/src/pics/theme1_tx.png
  51. BIN
      src/src/pics/theme2_both.png
  52. BIN
      src/src/pics/theme2_error.png
  53. BIN
      src/src/pics/theme2_none.png
  54. BIN
      src/src/pics/theme2_rx.png
  55. BIN
      src/src/pics/theme2_tx.png
  56. BIN
      src/src/pics/theme3_both.png
  57. BIN
      src/src/pics/theme3_error.png
  58. BIN
      src/src/pics/theme3_none.png
  59. BIN
      src/src/pics/theme3_rx.png
  60. BIN
      src/src/pics/theme3_tx.png
  61. BIN
      src/src/pics/theme4_both.png
  62. BIN
      src/src/pics/theme4_error.png
  63. BIN
      src/src/pics/theme4_none.png
  64. BIN
      src/src/pics/theme4_rx.png
  65. BIN
      src/src/pics/theme4_tx.png
  66. 79
    0
      src/src/statistics.cpp
  67. 66
    0
      src/src/statistics.h
  68. 480
    0
      src/src/statisticsbase.ui
  69. 0
    0
      stamp-h.in
  70. 2
    0
      subdirs
  71. 1
    0
      translations/Makefile.am
  72. 1
    0
      translations/bg/Makefile.am
  73. 3
    0
      translations/bg/messages/Makefile.am
  74. 307
    0
      translations/bg/messages/knetstats.po
  75. 1
    0
      translations/br/Makefile.am
  76. 3
    0
      translations/br/messages/Makefile.am
  77. 304
    0
      translations/br/messages/knetstats.po
  78. 1
    0
      translations/cs/Makefile.am
  79. 3
    0
      translations/cs/messages/Makefile.am
  80. 309
    0
      translations/cs/messages/knetstats.po
  81. 1
    0
      translations/da/Makefile.am
  82. 3
    0
      translations/da/messages/Makefile.am
  83. 308
    0
      translations/da/messages/knetstats.po
  84. 1
    0
      translations/de/Makefile.am
  85. 3
    0
      translations/de/messages/Makefile.am
  86. 319
    0
      translations/de/messages/knetstats.po
  87. 1
    0
      translations/el/Makefile.am
  88. 3
    0
      translations/el/messages/Makefile.am
  89. 308
    0
      translations/el/messages/knetstats.po
  90. 1
    0
      translations/es/Makefile.am
  91. 3
    0
      translations/es/messages/Makefile.am
  92. 308
    0
      translations/es/messages/knetstats.po
  93. 1
    0
      translations/et/Makefile.am
  94. 3
    0
      translations/et/messages/Makefile.am
  95. 307
    0
      translations/et/messages/knetstats.po
  96. 1
    0
      translations/fr/Makefile.am
  97. 3
    0
      translations/fr/messages/Makefile.am
  98. 314
    0
      translations/fr/messages/knetstats.po
  99. 1
    0
      translations/ga/Makefile.am
  100. 0
    0
      translations/ga/messages/Makefile.am

+ 340
- 0
COPYING View File

@@ -0,0 +1,340 @@
1
+		    GNU GENERAL PUBLIC LICENSE
2
+		       Version 2, June 1991
3
+
4
+ Copyright (C) 1989, 1991 Free Software Foundation, Inc.
5
+                       51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
6
+ Everyone is permitted to copy and distribute verbatim copies
7
+ of this license document, but changing it is not allowed.
8
+
9
+			    Preamble
10
+
11
+  The licenses for most software are designed to take away your
12
+freedom to share and change it.  By contrast, the GNU General Public
13
+License is intended to guarantee your freedom to share and change free
14
+software--to make sure the software is free for all its users.  This
15
+General Public License applies to most of the Free Software
16
+Foundation's software and to any other program whose authors commit to
17
+using it.  (Some other Free Software Foundation software is covered by
18
+the GNU Library General Public License instead.)  You can apply it to
19
+your programs, too.
20
+
21
+  When we speak of free software, we are referring to freedom, not
22
+price.  Our General Public Licenses are designed to make sure that you
23
+have the freedom to distribute copies of free software (and charge for
24
+this service if you wish), that you receive source code or can get it
25
+if you want it, that you can change the software or use pieces of it
26
+in new free programs; and that you know you can do these things.
27
+
28
+  To protect your rights, we need to make restrictions that forbid
29
+anyone to deny you these rights or to ask you to surrender the rights.
30
+These restrictions translate to certain responsibilities for you if you
31
+distribute copies of the software, or if you modify it.
32
+
33
+  For example, if you distribute copies of such a program, whether
34
+gratis or for a fee, you must give the recipients all the rights that
35
+you have.  You must make sure that they, too, receive or can get the
36
+source code.  And you must show them these terms so they know their
37
+rights.
38
+
39
+  We protect your rights with two steps: (1) copyright the software, and
40
+(2) offer you this license which gives you legal permission to copy,
41
+distribute and/or modify the software.
42
+
43
+  Also, for each author's protection and ours, we want to make certain
44
+that everyone understands that there is no warranty for this free
45
+software.  If the software is modified by someone else and passed on, we
46
+want its recipients to know that what they have is not the original, so
47
+that any problems introduced by others will not reflect on the original
48
+authors' reputations.
49
+
50
+  Finally, any free program is threatened constantly by software
51
+patents.  We wish to avoid the danger that redistributors of a free
52
+program will individually obtain patent licenses, in effect making the
53
+program proprietary.  To prevent this, we have made it clear that any
54
+patent must be licensed for everyone's free use or not licensed at all.
55
+
56
+  The precise terms and conditions for copying, distribution and
57
+modification follow.
58
+
59
+		    GNU GENERAL PUBLIC LICENSE
60
+   TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
61
+
62
+  0. This License applies to any program or other work which contains
63
+a notice placed by the copyright holder saying it may be distributed
64
+under the terms of this General Public License.  The "Program", below,
65
+refers to any such program or work, and a "work based on the Program"
66
+means either the Program or any derivative work under copyright law:
67
+that is to say, a work containing the Program or a portion of it,
68
+either verbatim or with modifications and/or translated into another
69
+language.  (Hereinafter, translation is included without limitation in
70
+the term "modification".)  Each licensee is addressed as "you".
71
+
72
+Activities other than copying, distribution and modification are not
73
+covered by this License; they are outside its scope.  The act of
74
+running the Program is not restricted, and the output from the Program
75
+is covered only if its contents constitute a work based on the
76
+Program (independent of having been made by running the Program).
77
+Whether that is true depends on what the Program does.
78
+
79
+  1. You may copy and distribute verbatim copies of the Program's
80
+source code as you receive it, in any medium, provided that you
81
+conspicuously and appropriately publish on each copy an appropriate
82
+copyright notice and disclaimer of warranty; keep intact all the
83
+notices that refer to this License and to the absence of any warranty;
84
+and give any other recipients of the Program a copy of this License
85
+along with the Program.
86
+
87
+You may charge a fee for the physical act of transferring a copy, and
88
+you may at your option offer warranty protection in exchange for a fee.
89
+
90
+  2. You may modify your copy or copies of the Program or any portion
91
+of it, thus forming a work based on the Program, and copy and
92
+distribute such modifications or work under the terms of Section 1
93
+above, provided that you also meet all of these conditions:
94
+
95
+    a) You must cause the modified files to carry prominent notices
96
+    stating that you changed the files and the date of any change.
97
+
98
+    b) You must cause any work that you distribute or publish, that in
99
+    whole or in part contains or is derived from the Program or any
100
+    part thereof, to be licensed as a whole at no charge to all third
101
+    parties under the terms of this License.
102
+
103
+    c) If the modified program normally reads commands interactively
104
+    when run, you must cause it, when started running for such
105
+    interactive use in the most ordinary way, to print or display an
106
+    announcement including an appropriate copyright notice and a
107
+    notice that there is no warranty (or else, saying that you provide
108
+    a warranty) and that users may redistribute the program under
109
+    these conditions, and telling the user how to view a copy of this
110
+    License.  (Exception: if the Program itself is interactive but
111
+    does not normally print such an announcement, your work based on
112
+    the Program is not required to print an announcement.)
113
+
114
+These requirements apply to the modified work as a whole.  If
115
+identifiable sections of that work are not derived from the Program,
116
+and can be reasonably considered independent and separate works in
117
+themselves, then this License, and its terms, do not apply to those
118
+sections when you distribute them as separate works.  But when you
119
+distribute the same sections as part of a whole which is a work based
120
+on the Program, the distribution of the whole must be on the terms of
121
+this License, whose permissions for other licensees extend to the
122
+entire whole, and thus to each and every part regardless of who wrote it.
123
+
124
+Thus, it is not the intent of this section to claim rights or contest
125
+your rights to work written entirely by you; rather, the intent is to
126
+exercise the right to control the distribution of derivative or
127
+collective works based on the Program.
128
+
129
+In addition, mere aggregation of another work not based on the Program
130
+with the Program (or with a work based on the Program) on a volume of
131
+a storage or distribution medium does not bring the other work under
132
+the scope of this License.
133
+
134
+  3. You may copy and distribute the Program (or a work based on it,
135
+under Section 2) in object code or executable form under the terms of
136
+Sections 1 and 2 above provided that you also do one of the following:
137
+
138
+    a) Accompany it with the complete corresponding machine-readable
139
+    source code, which must be distributed under the terms of Sections
140
+    1 and 2 above on a medium customarily used for software interchange; or,
141
+
142
+    b) Accompany it with a written offer, valid for at least three
143
+    years, to give any third party, for a charge no more than your
144
+    cost of physically performing source distribution, a complete
145
+    machine-readable copy of the corresponding source code, to be
146
+    distributed under the terms of Sections 1 and 2 above on a medium
147
+    customarily used for software interchange; or,
148
+
149
+    c) Accompany it with the information you received as to the offer
150
+    to distribute corresponding source code.  (This alternative is
151
+    allowed only for noncommercial distribution and only if you
152
+    received the program in object code or executable form with such
153
+    an offer, in accord with Subsection b above.)
154
+
155
+The source code for a work means the preferred form of the work for
156
+making modifications to it.  For an executable work, complete source
157
+code means all the source code for all modules it contains, plus any
158
+associated interface definition files, plus the scripts used to
159
+control compilation and installation of the executable.  However, as a
160
+special exception, the source code distributed need not include
161
+anything that is normally distributed (in either source or binary
162
+form) with the major components (compiler, kernel, and so on) of the
163
+operating system on which the executable runs, unless that component
164
+itself accompanies the executable.
165
+
166
+If distribution of executable or object code is made by offering
167
+access to copy from a designated place, then offering equivalent
168
+access to copy the source code from the same place counts as
169
+distribution of the source code, even though third parties are not
170
+compelled to copy the source along with the object code.
171
+
172
+  4. You may not copy, modify, sublicense, or distribute the Program
173
+except as expressly provided under this License.  Any attempt
174
+otherwise to copy, modify, sublicense or distribute the Program is
175
+void, and will automatically terminate your rights under this License.
176
+However, parties who have received copies, or rights, from you under
177
+this License will not have their licenses terminated so long as such
178
+parties remain in full compliance.
179
+
180
+  5. You are not required to accept this License, since you have not
181
+signed it.  However, nothing else grants you permission to modify or
182
+distribute the Program or its derivative works.  These actions are
183
+prohibited by law if you do not accept this License.  Therefore, by
184
+modifying or distributing the Program (or any work based on the
185
+Program), you indicate your acceptance of this License to do so, and
186
+all its terms and conditions for copying, distributing or modifying
187
+the Program or works based on it.
188
+
189
+  6. Each time you redistribute the Program (or any work based on the
190
+Program), the recipient automatically receives a license from the
191
+original licensor to copy, distribute or modify the Program subject to
192
+these terms and conditions.  You may not impose any further
193
+restrictions on the recipients' exercise of the rights granted herein.
194
+You are not responsible for enforcing compliance by third parties to
195
+this License.
196
+
197
+  7. If, as a consequence of a court judgment or allegation of patent
198
+infringement or for any other reason (not limited to patent issues),
199
+conditions are imposed on you (whether by court order, agreement or
200
+otherwise) that contradict the conditions of this License, they do not
201
+excuse you from the conditions of this License.  If you cannot
202
+distribute so as to satisfy simultaneously your obligations under this
203
+License and any other pertinent obligations, then as a consequence you
204
+may not distribute the Program at all.  For example, if a patent
205
+license would not permit royalty-free redistribution of the Program by
206
+all those who receive copies directly or indirectly through you, then
207
+the only way you could satisfy both it and this License would be to
208
+refrain entirely from distribution of the Program.
209
+
210
+If any portion of this section is held invalid or unenforceable under
211
+any particular circumstance, the balance of the section is intended to
212
+apply and the section as a whole is intended to apply in other
213
+circumstances.
214
+
215
+It is not the purpose of this section to induce you to infringe any
216
+patents or other property right claims or to contest validity of any
217
+such claims; this section has the sole purpose of protecting the
218
+integrity of the free software distribution system, which is
219
+implemented by public license practices.  Many people have made
220
+generous contributions to the wide range of software distributed
221
+through that system in reliance on consistent application of that
222
+system; it is up to the author/donor to decide if he or she is willing
223
+to distribute software through any other system and a licensee cannot
224
+impose that choice.
225
+
226
+This section is intended to make thoroughly clear what is believed to
227
+be a consequence of the rest of this License.
228
+
229
+  8. If the distribution and/or use of the Program is restricted in
230
+certain countries either by patents or by copyrighted interfaces, the
231
+original copyright holder who places the Program under this License
232
+may add an explicit geographical distribution limitation excluding
233
+those countries, so that distribution is permitted only in or among
234
+countries not thus excluded.  In such case, this License incorporates
235
+the limitation as if written in the body of this License.
236
+
237
+  9. The Free Software Foundation may publish revised and/or new versions
238
+of the General Public License from time to time.  Such new versions will
239
+be similar in spirit to the present version, but may differ in detail to
240
+address new problems or concerns.
241
+
242
+Each version is given a distinguishing version number.  If the Program
243
+specifies a version number of this License which applies to it and "any
244
+later version", you have the option of following the terms and conditions
245
+either of that version or of any later version published by the Free
246
+Software Foundation.  If the Program does not specify a version number of
247
+this License, you may choose any version ever published by the Free Software
248
+Foundation.
249
+
250
+  10. If you wish to incorporate parts of the Program into other free
251
+programs whose distribution conditions are different, write to the author
252
+to ask for permission.  For software which is copyrighted by the Free
253
+Software Foundation, write to the Free Software Foundation; we sometimes
254
+make exceptions for this.  Our decision will be guided by the two goals
255
+of preserving the free status of all derivatives of our free software and
256
+of promoting the sharing and reuse of software generally.
257
+
258
+			    NO WARRANTY
259
+
260
+  11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
261
+FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW.  EXCEPT WHEN
262
+OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
263
+PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
264
+OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
265
+MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.  THE ENTIRE RISK AS
266
+TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU.  SHOULD THE
267
+PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
268
+REPAIR OR CORRECTION.
269
+
270
+  12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
271
+WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
272
+REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
273
+INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
274
+OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
275
+TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
276
+YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
277
+PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
278
+POSSIBILITY OF SUCH DAMAGES.
279
+
280
+		     END OF TERMS AND CONDITIONS
281
+
282
+	    How to Apply These Terms to Your New Programs
283
+
284
+  If you develop a new program, and you want it to be of the greatest
285
+possible use to the public, the best way to achieve this is to make it
286
+free software which everyone can redistribute and change under these terms.
287
+
288
+  To do so, attach the following notices to the program.  It is safest
289
+to attach them to the start of each source file to most effectively
290
+convey the exclusion of warranty; and each file should have at least
291
+the "copyright" line and a pointer to where the full notice is found.
292
+
293
+    <one line to give the program's name and a brief idea of what it does.>
294
+    Copyright (C) <year>  <name of author>
295
+
296
+    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 by
298
+    the Free Software Foundation; either version 2 of the License, or
299
+    (at your option) any later version.
300
+
301
+    This program is distributed in the hope that it will be useful,
302
+    but WITHOUT ANY WARRANTY; without even the implied warranty of
303
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
304
+    GNU General Public License for more details.
305
+
306
+    You should have received a copy of the GNU General Public License
307
+    along with this program; if not, write to the Free Software
308
+    Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
309
+
310
+
311
+Also add information on how to contact you by electronic and paper mail.
312
+
313
+If the program is interactive, make it output a short notice like this
314
+when it starts in an interactive mode:
315
+
316
+    Gnomovision version 69, Copyright (C) year name of author
317
+    Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
318
+    This is free software, and you are welcome to redistribute it
319
+    under certain conditions; type `show c' for details.
320
+
321
+The hypothetical commands `show w' and `show c' should show the appropriate
322
+parts of the General Public License.  Of course, the commands you use may
323
+be called something other than `show w' and `show c'; they could even be
324
+mouse-clicks or menu items--whatever suits your program.
325
+
326
+You should also get your employer (if you work as a programmer) or your
327
+school, if any, to sign a "copyright disclaimer" for the program, if
328
+necessary.  Here is a sample; alter the names:
329
+
330
+  Yoyodyne, Inc., hereby disclaims all copyright interest in the program
331
+  `Gnomovision' (which makes passes at compilers) written by James Hacker.
332
+
333
+  <signature of Ty Coon>, 1 April 1989
334
+  Ty Coon, President of Vice
335
+
336
+This General Public License does not permit incorporating your program into
337
+proprietary programs.  If your program is a subroutine library, you may
338
+consider it more useful to permit linking proprietary applications with the
339
+library.  If this is what you want to do, use the GNU Library General
340
+Public License instead of this License.

+ 5
- 0
Makefile.am View File

@@ -0,0 +1,5 @@
1
+AUTOMAKE_OPTIONS = foreign 1.6.1
2
+
3
+include admin/deps.am
4
+include admin/Doxyfile.am
5
+SUBDIRS=$(TOPSUBDIRS)

+ 4
- 0
Makefile.am.in View File

@@ -0,0 +1,4 @@
1
+AUTOMAKE_OPTIONS = foreign 1.6.1
2
+
3
+include admin/deps.am
4
+include admin/Doxyfile.am

+ 24
- 0
README View File

@@ -0,0 +1,24 @@
1
+INSTALLATION
2
+============
3
+type as root:
4
+./scons install
5
+
6
+Note.: We use SCons/BKSys as building tool, so you need Python installed on your system.
7
+
8
+RUNNING
9
+=======
10
+To run knetstats, type:
11
+knetstats
12
+
13
+CONTACT
14
+=======
15
+Any doubts or suggestions, hugo_pl@users.sourceforge.net
16
+For more info. visit: http://knetstats.sf.net
17
+
18
+UNINSTALL
19
+=========
20
+Type:
21
+./scons -c install
22
+
23
+--
24
+Hugo Parente Lima

+ 11919
- 0
acinclude.m4
File diff suppressed because it is too large
View File


+ 863
- 0
aclocal.m4 View File

@@ -0,0 +1,863 @@
1
+# generated automatically by aclocal 1.9.6 -*- Autoconf -*-
2
+
3
+# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
4
+# 2005  Free Software Foundation, Inc.
5
+# This file is free software; the Free Software Foundation
6
+# gives unlimited permission to copy and/or distribute it,
7
+# with or without modifications, as long as this notice is preserved.
8
+
9
+# This program is distributed in the hope that it will be useful,
10
+# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
11
+# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
12
+# PARTICULAR PURPOSE.
13
+
14
+# Copyright (C) 2002, 2003, 2005  Free Software Foundation, Inc.
15
+#
16
+# This file is free software; the Free Software Foundation
17
+# gives unlimited permission to copy and/or distribute it,
18
+# with or without modifications, as long as this notice is preserved.
19
+
20
+# AM_AUTOMAKE_VERSION(VERSION)
21
+# ----------------------------
22
+# Automake X.Y traces this macro to ensure aclocal.m4 has been
23
+# generated from the m4 files accompanying Automake X.Y.
24
+AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version="1.9"])
25
+
26
+# AM_SET_CURRENT_AUTOMAKE_VERSION
27
+# -------------------------------
28
+# Call AM_AUTOMAKE_VERSION so it can be traced.
29
+# This function is AC_REQUIREd by AC_INIT_AUTOMAKE.
30
+AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
31
+	 [AM_AUTOMAKE_VERSION([1.9.6])])
32
+
33
+# AM_AUX_DIR_EXPAND                                         -*- Autoconf -*-
34
+
35
+# Copyright (C) 2001, 2003, 2005  Free Software Foundation, Inc.
36
+#
37
+# This file is free software; the Free Software Foundation
38
+# gives unlimited permission to copy and/or distribute it,
39
+# with or without modifications, as long as this notice is preserved.
40
+
41
+# For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets
42
+# $ac_aux_dir to `$srcdir/foo'.  In other projects, it is set to
43
+# `$srcdir', `$srcdir/..', or `$srcdir/../..'.
44
+#
45
+# Of course, Automake must honor this variable whenever it calls a
46
+# tool from the auxiliary directory.  The problem is that $srcdir (and
47
+# therefore $ac_aux_dir as well) can be either absolute or relative,
48
+# depending on how configure is run.  This is pretty annoying, since
49
+# it makes $ac_aux_dir quite unusable in subdirectories: in the top
50
+# source directory, any form will work fine, but in subdirectories a
51
+# relative path needs to be adjusted first.
52
+#
53
+# $ac_aux_dir/missing
54
+#    fails when called from a subdirectory if $ac_aux_dir is relative
55
+# $top_srcdir/$ac_aux_dir/missing
56
+#    fails if $ac_aux_dir is absolute,
57
+#    fails when called from a subdirectory in a VPATH build with
58
+#          a relative $ac_aux_dir
59
+#
60
+# The reason of the latter failure is that $top_srcdir and $ac_aux_dir
61
+# are both prefixed by $srcdir.  In an in-source build this is usually
62
+# harmless because $srcdir is `.', but things will broke when you
63
+# start a VPATH build or use an absolute $srcdir.
64
+#
65
+# So we could use something similar to $top_srcdir/$ac_aux_dir/missing,
66
+# iff we strip the leading $srcdir from $ac_aux_dir.  That would be:
67
+#   am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"`
68
+# and then we would define $MISSING as
69
+#   MISSING="\${SHELL} $am_aux_dir/missing"
70
+# This will work as long as MISSING is not called from configure, because
71
+# unfortunately $(top_srcdir) has no meaning in configure.
72
+# However there are other variables, like CC, which are often used in
73
+# configure, and could therefore not use this "fixed" $ac_aux_dir.
74
+#
75
+# Another solution, used here, is to always expand $ac_aux_dir to an
76
+# absolute PATH.  The drawback is that using absolute paths prevent a
77
+# configured tree to be moved without reconfiguration.
78
+
79
+AC_DEFUN([AM_AUX_DIR_EXPAND],
80
+[dnl Rely on autoconf to set up CDPATH properly.
81
+AC_PREREQ([2.50])dnl
82
+# expand $ac_aux_dir to an absolute path
83
+am_aux_dir=`cd $ac_aux_dir && pwd`
84
+])
85
+
86
+# AM_CONDITIONAL                                            -*- Autoconf -*-
87
+
88
+# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005
89
+# Free Software Foundation, Inc.
90
+#
91
+# This file is free software; the Free Software Foundation
92
+# gives unlimited permission to copy and/or distribute it,
93
+# with or without modifications, as long as this notice is preserved.
94
+
95
+# serial 7
96
+
97
+# AM_CONDITIONAL(NAME, SHELL-CONDITION)
98
+# -------------------------------------
99
+# Define a conditional.
100
+AC_DEFUN([AM_CONDITIONAL],
101
+[AC_PREREQ(2.52)dnl
102
+ ifelse([$1], [TRUE],  [AC_FATAL([$0: invalid condition: $1])],
103
+	[$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
104
+AC_SUBST([$1_TRUE])
105
+AC_SUBST([$1_FALSE])
106
+if $2; then
107
+  $1_TRUE=
108
+  $1_FALSE='#'
109
+else
110
+  $1_TRUE='#'
111
+  $1_FALSE=
112
+fi
113
+AC_CONFIG_COMMANDS_PRE(
114
+[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
115
+  AC_MSG_ERROR([[conditional "$1" was never defined.
116
+Usually this means the macro was only invoked conditionally.]])
117
+fi])])
118
+
119
+
120
+# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005
121
+# Free Software Foundation, Inc.
122
+#
123
+# This file is free software; the Free Software Foundation
124
+# gives unlimited permission to copy and/or distribute it,
125
+# with or without modifications, as long as this notice is preserved.
126
+
127
+# serial 8
128
+
129
+# 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,
131
+# will think it sees a *use*, and therefore will trigger all it's
132
+# C support machinery.  Also note that it means that autoscan, seeing
133
+# CC etc. in the Makefile, will ask for an AC_PROG_CC use...
134
+
135
+
136
+# _AM_DEPENDENCIES(NAME)
137
+# ----------------------
138
+# See how the compiler implements dependency checking.
139
+# NAME is "CC", "CXX", "GCJ", or "OBJC".
140
+# We try a few techniques and use that to set a single cache variable.
141
+#
142
+# We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was
143
+# modified to invoke _AM_DEPENDENCIES(CC); we would have a circular
144
+# dependency, and given that the user is not expected to run this macro,
145
+# just rely on AC_PROG_CC.
146
+AC_DEFUN([_AM_DEPENDENCIES],
147
+[AC_REQUIRE([AM_SET_DEPDIR])dnl
148
+AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl
149
+AC_REQUIRE([AM_MAKE_INCLUDE])dnl
150
+AC_REQUIRE([AM_DEP_TRACK])dnl
151
+
152
+ifelse([$1], CC,   [depcc="$CC"   am_compiler_list=],
153
+       [$1], CXX,  [depcc="$CXX"  am_compiler_list=],
154
+       [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
155
+       [$1], GCJ,  [depcc="$GCJ"  am_compiler_list='gcc3 gcc'],
156
+                   [depcc="$$1"   am_compiler_list=])
157
+
158
+AC_CACHE_CHECK([dependency style of $depcc],
159
+               [am_cv_$1_dependencies_compiler_type],
160
+[if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
161
+  # We make a subdir and do the tests there.  Otherwise we can end up
162
+  # making bogus files that we don't know about and never remove.  For
163
+  # instance it was reported that on HP-UX the gcc test will end up
164
+  # making a dummy file named `D' -- because `-MD' means `put the output
165
+  # in D'.
166
+  mkdir conftest.dir
167
+  # Copy depcomp to subdir because otherwise we won't find it if we're
168
+  # using a relative directory.
169
+  cp "$am_depcomp" conftest.dir
170
+  cd conftest.dir
171
+  # We will build objects and dependencies in a subdirectory because
172
+  # it helps to detect inapplicable dependency modes.  For instance
173
+  # both Tru64's cc and ICC support -MD to output dependencies as a
174
+  # side effect of compilation, but ICC will put the dependencies in
175
+  # the current directory while Tru64 will put them in the object
176
+  # directory.
177
+  mkdir sub
178
+
179
+  am_cv_$1_dependencies_compiler_type=none
180
+  if test "$am_compiler_list" = ""; then
181
+     am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
182
+  fi
183
+  for depmode in $am_compiler_list; do
184
+    # Setup a source with many dependencies, because some compilers
185
+    # like to wrap large dependency lists on column 80 (with \), and
186
+    # we should not choose a depcomp mode which is confused by this.
187
+    #
188
+    # We need to recreate these files for each test, as the compiler may
189
+    # overwrite some of them when testing with obscure command lines.
190
+    # This happens at least with the AIX C compiler.
191
+    : > sub/conftest.c
192
+    for i in 1 2 3 4 5 6; do
193
+      echo '#include "conftst'$i'.h"' >> sub/conftest.c
194
+      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
195
+      # Solaris 8's {/usr,}/bin/sh.
196
+      touch sub/conftst$i.h
197
+    done
198
+    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
199
+
200
+    case $depmode in
201
+    nosideeffect)
202
+      # after this tag, mechanisms are not by side-effect, so they'll
203
+      # only be used when explicitly requested
204
+      if test "x$enable_dependency_tracking" = xyes; then
205
+	continue
206
+      else
207
+	break
208
+      fi
209
+      ;;
210
+    none) break ;;
211
+    esac
212
+    # We check with `-c' and `-o' for the sake of the "dashmstdout"
213
+    # mode.  It turns out that the SunPro C++ compiler does not properly
214
+    # handle `-M -o', and we need to detect this.
215
+    if depmode=$depmode \
216
+       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
217
+       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
218
+       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
219
+         >/dev/null 2>conftest.err &&
220
+       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
221
+       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
222
+       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
223
+      # icc doesn't choke on unknown options, it will just issue warnings
224
+      # or remarks (even with -Werror).  So we grep stderr for any message
225
+      # that says an option was ignored or not supported.
226
+      # When given -MP, icc 7.0 and 7.1 complain thusly:
227
+      #   icc: Command line warning: ignoring option '-M'; no argument required
228
+      # The diagnosis changed in icc 8.0:
229
+      #   icc: Command line remark: option '-MP' not supported
230
+      if (grep 'ignoring option' conftest.err ||
231
+          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
232
+        am_cv_$1_dependencies_compiler_type=$depmode
233
+        break
234
+      fi
235
+    fi
236
+  done
237
+
238
+  cd ..
239
+  rm -rf conftest.dir
240
+else
241
+  am_cv_$1_dependencies_compiler_type=none
242
+fi
243
+])
244
+AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type])
245
+AM_CONDITIONAL([am__fastdep$1], [
246
+  test "x$enable_dependency_tracking" != xno \
247
+  && test "$am_cv_$1_dependencies_compiler_type" = gcc3])
248
+])
249
+
250
+
251
+# AM_SET_DEPDIR
252
+# -------------
253
+# Choose a directory name for dependency files.
254
+# This macro is AC_REQUIREd in _AM_DEPENDENCIES
255
+AC_DEFUN([AM_SET_DEPDIR],
256
+[AC_REQUIRE([AM_SET_LEADING_DOT])dnl
257
+AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl
258
+])
259
+
260
+
261
+# AM_DEP_TRACK
262
+# ------------
263
+AC_DEFUN([AM_DEP_TRACK],
264
+[AC_ARG_ENABLE(dependency-tracking,
265
+[  --disable-dependency-tracking  speeds up one-time build
266
+  --enable-dependency-tracking   do not reject slow dependency extractors])
267
+if test "x$enable_dependency_tracking" != xno; then
268
+  am_depcomp="$ac_aux_dir/depcomp"
269
+  AMDEPBACKSLASH='\'
270
+fi
271
+AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
272
+AC_SUBST([AMDEPBACKSLASH])
273
+])
274
+
275
+# Generate code to set up dependency tracking.              -*- Autoconf -*-
276
+
277
+# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005
278
+# Free Software Foundation, Inc.
279
+#
280
+# This file is free software; the Free Software Foundation
281
+# gives unlimited permission to copy and/or distribute it,
282
+# with or without modifications, as long as this notice is preserved.
283
+
284
+#serial 3
285
+
286
+# _AM_OUTPUT_DEPENDENCY_COMMANDS
287
+# ------------------------------
288
+AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
289
+[for mf in $CONFIG_FILES; do
290
+  # Strip MF so we end up with the name of the file.
291
+  mf=`echo "$mf" | sed -e 's/:.*$//'`
292
+  # Check whether this is an Automake generated Makefile or not.
293
+  # We used to match only the files named `Makefile.in', but
294
+  # some people rename them; so instead we look at the file content.
295
+  # 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.
297
+  # So let's grep whole file.
298
+  if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
299
+    dirpart=`AS_DIRNAME("$mf")`
300
+  else
301
+    continue
302
+  fi
303
+  # Extract the definition of DEPDIR, am__include, and am__quote
304
+  # from the Makefile without running `make'.
305
+  DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
306
+  test -z "$DEPDIR" && continue
307
+  am__include=`sed -n 's/^am__include = //p' < "$mf"`
308
+  test -z "am__include" && continue
309
+  am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
310
+  # When using ansi2knr, U may be empty or an underscore; expand it
311
+  U=`sed -n 's/^U = //p' < "$mf"`
312
+  # Find all dependency output files, they are included files with
313
+  # $(DEPDIR) in their names.  We invoke sed twice because it is the
314
+  # simplest approach to changing $(DEPDIR) to its actual value in the
315
+  # expansion.
316
+  for file in `sed -n "
317
+    s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
318
+       sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
319
+    # Make sure the directory exists.
320
+    test -f "$dirpart/$file" && continue
321
+    fdir=`AS_DIRNAME(["$file"])`
322
+    AS_MKDIR_P([$dirpart/$fdir])
323
+    # echo "creating $dirpart/$file"
324
+    echo '# dummy' > "$dirpart/$file"
325
+  done
326
+done
327
+])# _AM_OUTPUT_DEPENDENCY_COMMANDS
328
+
329
+
330
+# AM_OUTPUT_DEPENDENCY_COMMANDS
331
+# -----------------------------
332
+# This macro should only be invoked once -- use via AC_REQUIRE.
333
+#
334
+# This code is only required when automatic dependency tracking
335
+# is enabled.  FIXME.  This creates each `.P' file that we will
336
+# need in order to bootstrap the dependency handling code.
337
+AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
338
+[AC_CONFIG_COMMANDS([depfiles],
339
+     [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],
340
+     [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
341
+])
342
+
343
+# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005
344
+# Free Software Foundation, Inc.
345
+#
346
+# This file is free software; the Free Software Foundation
347
+# gives unlimited permission to copy and/or distribute it,
348
+# with or without modifications, as long as this notice is preserved.
349
+
350
+# serial 8
351
+
352
+# AM_CONFIG_HEADER is obsolete.  It has been replaced by AC_CONFIG_HEADERS.
353
+AU_DEFUN([AM_CONFIG_HEADER], [AC_CONFIG_HEADERS($@)])
354
+
355
+# Do all the work for Automake.                             -*- Autoconf -*-
356
+
357
+# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
358
+# Free Software Foundation, Inc.
359
+#
360
+# This file is free software; the Free Software Foundation
361
+# gives unlimited permission to copy and/or distribute it,
362
+# with or without modifications, as long as this notice is preserved.
363
+
364
+# serial 12
365
+
366
+# 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.
368
+
369
+# AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE])
370
+# AM_INIT_AUTOMAKE([OPTIONS])
371
+# -----------------------------------------------
372
+# The call with PACKAGE and VERSION arguments is the old style
373
+# call (pre autoconf-2.50), which is being phased out.  PACKAGE
374
+# and VERSION should now be passed to AC_INIT and removed from
375
+# the call to AM_INIT_AUTOMAKE.
376
+# We support both call styles for the transition.  After
377
+# the next Automake release, Autoconf can make the AC_INIT
378
+# arguments mandatory, and then we can depend on a new Autoconf
379
+# release and drop the old call support.
380
+AC_DEFUN([AM_INIT_AUTOMAKE],
381
+[AC_PREREQ([2.58])dnl
382
+dnl Autoconf wants to disallow AM_ names.  We explicitly allow
383
+dnl the ones we care about.
384
+m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
385
+AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
386
+AC_REQUIRE([AC_PROG_INSTALL])dnl
387
+# test to see if srcdir already configured
388
+if test "`cd $srcdir && pwd`" != "`pwd`" &&
389
+   test -f $srcdir/config.status; then
390
+  AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
391
+fi
392
+
393
+# test whether we have cygpath
394
+if test -z "$CYGPATH_W"; then
395
+  if (cygpath --version) >/dev/null 2>/dev/null; then
396
+    CYGPATH_W='cygpath -w'
397
+  else
398
+    CYGPATH_W=echo
399
+  fi
400
+fi
401
+AC_SUBST([CYGPATH_W])
402
+
403
+# Define the identity of the package.
404
+dnl Distinguish between old-style and new-style calls.
405
+m4_ifval([$2],
406
+[m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
407
+ AC_SUBST([PACKAGE], [$1])dnl
408
+ AC_SUBST([VERSION], [$2])],
409
+[_AM_SET_OPTIONS([$1])dnl
410
+ AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
411
+ AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
412
+
413
+_AM_IF_OPTION([no-define],,
414
+[AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])
415
+ AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl
416
+
417
+# Some tools Automake needs.
418
+AC_REQUIRE([AM_SANITY_CHECK])dnl
419
+AC_REQUIRE([AC_ARG_PROGRAM])dnl
420
+AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version})
421
+AM_MISSING_PROG(AUTOCONF, autoconf)
422
+AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version})
423
+AM_MISSING_PROG(AUTOHEADER, autoheader)
424
+AM_MISSING_PROG(MAKEINFO, makeinfo)
425
+AM_PROG_INSTALL_SH
426
+AM_PROG_INSTALL_STRIP
427
+AC_REQUIRE([AM_PROG_MKDIR_P])dnl
428
+# We need awk for the "check" target.  The system "awk" is bad on
429
+# some platforms.
430
+AC_REQUIRE([AC_PROG_AWK])dnl
431
+AC_REQUIRE([AC_PROG_MAKE_SET])dnl
432
+AC_REQUIRE([AM_SET_LEADING_DOT])dnl
433
+_AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])],
434
+              [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
435
+	      		     [_AM_PROG_TAR([v7])])])
436
+_AM_IF_OPTION([no-dependencies],,
437
+[AC_PROVIDE_IFELSE([AC_PROG_CC],
438
+                  [_AM_DEPENDENCIES(CC)],
439
+                  [define([AC_PROG_CC],
440
+                          defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
441
+AC_PROVIDE_IFELSE([AC_PROG_CXX],
442
+                  [_AM_DEPENDENCIES(CXX)],
443
+                  [define([AC_PROG_CXX],
444
+                          defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
445
+])
446
+])
447
+
448
+
449
+# When config.status generates a header, we must update the stamp-h file.
450
+# This file resides in the same directory as the config header
451
+# that is generated.  The stamp files are numbered to have different names.
452
+
453
+# Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the
454
+# loop where config.status creates the headers, so we can generate
455
+# our stamp files there.
456
+AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK],
457
+[# Compute $1's index in $config_headers.
458
+_am_stamp_count=1
459
+for _am_header in $config_headers :; do
460
+  case $_am_header in
461
+    $1 | $1:* )
462
+      break ;;
463
+    * )
464
+      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
465
+  esac
466
+done
467
+echo "timestamp for $1" >`AS_DIRNAME([$1])`/stamp-h[]$_am_stamp_count])
468
+
469
+# Copyright (C) 2001, 2003, 2005  Free Software Foundation, Inc.
470
+#
471
+# This file is free software; the Free Software Foundation
472
+# gives unlimited permission to copy and/or distribute it,
473
+# with or without modifications, as long as this notice is preserved.
474
+
475
+# AM_PROG_INSTALL_SH
476
+# ------------------
477
+# Define $install_sh.
478
+AC_DEFUN([AM_PROG_INSTALL_SH],
479
+[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
480
+install_sh=${install_sh-"$am_aux_dir/install-sh"}
481
+AC_SUBST(install_sh)])
482
+
483
+# Copyright (C) 2003, 2005  Free Software Foundation, Inc.
484
+#
485
+# This file is free software; the Free Software Foundation
486
+# gives unlimited permission to copy and/or distribute it,
487
+# with or without modifications, as long as this notice is preserved.
488
+
489
+# serial 2
490
+
491
+# Check whether the underlying file-system supports filenames
492
+# with a leading dot.  For instance MS-DOS doesn't.
493
+AC_DEFUN([AM_SET_LEADING_DOT],
494
+[rm -rf .tst 2>/dev/null
495
+mkdir .tst 2>/dev/null
496
+if test -d .tst; then
497
+  am__leading_dot=.
498
+else
499
+  am__leading_dot=_
500
+fi
501
+rmdir .tst 2>/dev/null
502
+AC_SUBST([am__leading_dot])])
503
+
504
+# Check to see how 'make' treats includes.	            -*- Autoconf -*-
505
+
506
+# Copyright (C) 2001, 2002, 2003, 2005  Free Software Foundation, Inc.
507
+#
508
+# This file is free software; the Free Software Foundation
509
+# gives unlimited permission to copy and/or distribute it,
510
+# with or without modifications, as long as this notice is preserved.
511
+
512
+# serial 3
513
+
514
+# AM_MAKE_INCLUDE()
515
+# -----------------
516
+# Check to see how make treats includes.
517
+AC_DEFUN([AM_MAKE_INCLUDE],
518
+[am_make=${MAKE-make}
519
+cat > confinc << 'END'
520
+am__doit:
521
+	@echo done
522
+.PHONY: am__doit
523
+END
524
+# If we don't find an include directive, just comment out the code.
525
+AC_MSG_CHECKING([for style of include used by $am_make])
526
+am__include="#"
527
+am__quote=
528
+_am_result=none
529
+# First try GNU make style include.
530
+echo "include confinc" > confmf
531
+# We grep out `Entering directory' and `Leaving directory'
532
+# messages which can occur if `w' ends up in MAKEFLAGS.
533
+# In particular we don't look at `^make:' because GNU make might
534
+# be invoked under some other name (usually "gmake"), in which
535
+# case it prints its new name instead of `make'.
536
+if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
537
+   am__include=include
538
+   am__quote=
539
+   _am_result=GNU
540
+fi
541
+# Now try BSD make style include.
542
+if test "$am__include" = "#"; then
543
+   echo '.include "confinc"' > confmf
544
+   if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
545
+      am__include=.include
546
+      am__quote="\""
547
+      _am_result=BSD
548
+   fi
549
+fi
550
+AC_SUBST([am__include])
551
+AC_SUBST([am__quote])
552
+AC_MSG_RESULT([$_am_result])
553
+rm -f confinc confmf
554
+])
555
+
556
+# Fake the existence of programs that GNU maintainers use.  -*- Autoconf -*-
557
+
558
+# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2005
559
+# Free Software Foundation, Inc.
560
+#
561
+# This file is free software; the Free Software Foundation
562
+# gives unlimited permission to copy and/or distribute it,
563
+# with or without modifications, as long as this notice is preserved.
564
+
565
+# serial 4
566
+
567
+# AM_MISSING_PROG(NAME, PROGRAM)
568
+# ------------------------------
569
+AC_DEFUN([AM_MISSING_PROG],
570
+[AC_REQUIRE([AM_MISSING_HAS_RUN])
571
+$1=${$1-"${am_missing_run}$2"}
572
+AC_SUBST($1)])
573
+
574
+
575
+# AM_MISSING_HAS_RUN
576
+# ------------------
577
+# Define MISSING if not defined so far and test if it supports --run.
578
+# If it does, set am_missing_run to use it, otherwise, to nothing.
579
+AC_DEFUN([AM_MISSING_HAS_RUN],
580
+[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
581
+test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
582
+# Use eval to expand $SHELL
583
+if eval "$MISSING --run true"; then
584
+  am_missing_run="$MISSING --run "
585
+else
586
+  am_missing_run=
587
+  AC_MSG_WARN([`missing' script is too old or missing])
588
+fi
589
+])
590
+
591
+# Copyright (C) 2003, 2004, 2005  Free Software Foundation, Inc.
592
+#
593
+# This file is free software; the Free Software Foundation
594
+# gives unlimited permission to copy and/or distribute it,
595
+# with or without modifications, as long as this notice is preserved.
596
+
597
+# AM_PROG_MKDIR_P
598
+# ---------------
599
+# Check whether `mkdir -p' is supported, fallback to mkinstalldirs otherwise.
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.)
619
+AC_DEFUN([AM_PROG_MKDIR_P],
620
+[if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
621
+  # We used to keeping the `.' as first argument, in order to
622
+  # allow $(mkdir_p) to be used without argument.  As in
623
+  #   $(mkdir_p) $(somedir)
624
+  # where $(somedir) is conditionally defined.  However this is wrong
625
+  # for two reasons:
626
+  #  1. if the package is installed by a user who cannot write `.'
627
+  #     make install will fail,
628
+  #  2. the above comment should most certainly read
629
+  #     $(mkdir_p) $(DESTDIR)$(somedir)
630
+  #     so it does not work when $(somedir) is undefined and
631
+  #     $(DESTDIR) is not.
632
+  #  To support the latter case, we have to write
633
+  #     test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
634
+  #  so the `.' trick is pointless.
635
+  mkdir_p='mkdir -p --'
636
+else
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
651
+fi
652
+AC_SUBST([mkdir_p])])
653
+
654
+# Helper functions for option handling.                     -*- Autoconf -*-
655
+
656
+# Copyright (C) 2001, 2002, 2003, 2005  Free Software Foundation, Inc.
657
+#
658
+# This file is free software; the Free Software Foundation
659
+# gives unlimited permission to copy and/or distribute it,
660
+# with or without modifications, as long as this notice is preserved.
661
+
662
+# serial 3
663
+
664
+# _AM_MANGLE_OPTION(NAME)
665
+# -----------------------
666
+AC_DEFUN([_AM_MANGLE_OPTION],
667
+[[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])
668
+
669
+# _AM_SET_OPTION(NAME)
670
+# ------------------------------
671
+# Set option NAME.  Presently that only means defining a flag for this option.
672
+AC_DEFUN([_AM_SET_OPTION],
673
+[m4_define(_AM_MANGLE_OPTION([$1]), 1)])
674
+
675
+# _AM_SET_OPTIONS(OPTIONS)
676
+# ----------------------------------
677
+# OPTIONS is a space-separated list of Automake options.
678
+AC_DEFUN([_AM_SET_OPTIONS],
679
+[AC_FOREACH([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
680
+
681
+# _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET])
682
+# -------------------------------------------
683
+# Execute IF-SET if OPTION is set, IF-NOT-SET otherwise.
684
+AC_DEFUN([_AM_IF_OPTION],
685
+[m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
686
+
687
+# Check to make sure that the build environment is sane.    -*- Autoconf -*-
688
+
689
+# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005
690
+# Free Software Foundation, Inc.
691
+#
692
+# This file is free software; the Free Software Foundation
693
+# gives unlimited permission to copy and/or distribute it,
694
+# with or without modifications, as long as this notice is preserved.
695
+
696
+# serial 4
697
+
698
+# AM_SANITY_CHECK
699
+# ---------------
700
+AC_DEFUN([AM_SANITY_CHECK],
701
+[AC_MSG_CHECKING([whether build environment is sane])
702
+# Just in case
703
+sleep 1
704
+echo timestamp > conftest.file
705
+# Do `set' in a subshell so we don't clobber the current shell's
706
+# arguments.  Must try -L first in case configure is actually a
707
+# symlink; some systems play weird games with the mod time of symlinks
708
+# (eg FreeBSD returns the mod time of the symlink's containing
709
+# directory).
710
+if (
711
+   set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
712
+   if test "$[*]" = "X"; then
713
+      # -L didn't work.
714
+      set X `ls -t $srcdir/configure conftest.file`
715
+   fi
716
+   rm -f conftest.file
717
+   if test "$[*]" != "X $srcdir/configure conftest.file" \
718
+      && test "$[*]" != "X conftest.file $srcdir/configure"; then
719
+
720
+      # If neither matched, then we have a broken ls.  This can happen
721
+      # if, for instance, CONFIG_SHELL is bash and it inherits a
722
+      # broken ls alias from the environment.  This has actually
723
+      # happened.  Such a system could not be considered "sane".
724
+      AC_MSG_ERROR([ls -t appears to fail.  Make sure there is not a broken
725
+alias in your environment])
726
+   fi
727
+
728
+   test "$[2]" = conftest.file
729
+   )
730
+then
731
+   # Ok.
732
+   :
733
+else
734
+   AC_MSG_ERROR([newly created file is older than distributed files!
735
+Check your system clock])
736
+fi
737
+AC_MSG_RESULT(yes)])
738
+
739
+# Copyright (C) 2001, 2003, 2005  Free Software Foundation, Inc.
740
+#
741
+# This file is free software; the Free Software Foundation
742
+# gives unlimited permission to copy and/or distribute it,
743
+# with or without modifications, as long as this notice is preserved.
744
+
745
+# AM_PROG_INSTALL_STRIP
746
+# ---------------------
747
+# One issue with vendor `install' (even GNU) is that you can't
748
+# specify the program used to strip binaries.  This is especially
749
+# annoying in cross-compiling environments, where the build's strip
750
+# is unlikely to handle the host's binaries.
751
+# Fortunately install-sh will honor a STRIPPROG variable, so we
752
+# always use install-sh in `make install-strip', and initialize
753
+# STRIPPROG with the value of the STRIP variable (set by the user).
754
+AC_DEFUN([AM_PROG_INSTALL_STRIP],
755
+[AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
756
+# Installed binaries are usually stripped using `strip' when the user
757
+# run `make install-strip'.  However `strip' might not be the right
758
+# tool to use in cross-compilation environments, therefore Automake
759
+# will honor the `STRIP' environment variable to overrule this program.
760
+dnl Don't test for $cross_compiling = yes, because it might be `maybe'.
761
+if test "$cross_compiling" != no; then
762
+  AC_CHECK_TOOL([STRIP], [strip], :)
763
+fi
764
+INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
765
+AC_SUBST([INSTALL_STRIP_PROGRAM])])
766
+
767
+# Check how to create a tarball.                            -*- Autoconf -*-
768
+
769
+# Copyright (C) 2004, 2005  Free Software Foundation, Inc.
770
+#
771
+# This file is free software; the Free Software Foundation
772
+# gives unlimited permission to copy and/or distribute it,
773
+# with or without modifications, as long as this notice is preserved.
774
+
775
+# serial 2
776
+
777
+# _AM_PROG_TAR(FORMAT)
778
+# --------------------
779
+# Check how to create a tarball in format FORMAT.
780
+# FORMAT should be one of `v7', `ustar', or `pax'.
781
+#
782
+# Substitute a variable $(am__tar) that is a command
783
+# writing to stdout a FORMAT-tarball containing the directory
784
+# $tardir.
785
+#     tardir=directory && $(am__tar) > result.tar
786
+#
787
+# Substitute a variable $(am__untar) that extract such
788
+# a tarball read from stdin.
789
+#     $(am__untar) < result.tar
790
+AC_DEFUN([_AM_PROG_TAR],
791
+[# Always define AMTAR for backward compatibility.
792
+AM_MISSING_PROG([AMTAR], [tar])
793
+m4_if([$1], [v7],
794
+     [am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'],
795
+     [m4_case([$1], [ustar],, [pax],,
796
+              [m4_fatal([Unknown tar format])])
797
+AC_MSG_CHECKING([how to create a $1 tar archive])
798
+# Loop over all known methods to create a tar archive until one works.
799
+_am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none'
800
+_am_tools=${am_cv_prog_tar_$1-$_am_tools}
801
+# Do not fold the above two line into one, because Tru64 sh and
802
+# Solaris sh will not grok spaces in the rhs of `-'.
803
+for _am_tool in $_am_tools
804
+do
805
+  case $_am_tool in
806
+  gnutar)
807
+    for _am_tar in tar gnutar gtar;
808
+    do
809
+      AM_RUN_LOG([$_am_tar --version]) && break
810
+    done
811
+    am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"'
812
+    am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"'
813
+    am__untar="$_am_tar -xf -"
814
+    ;;
815
+  plaintar)
816
+    # Must skip GNU tar: if it does not support --format= it doesn't create
817
+    # ustar tarball either.
818
+    (tar --version) >/dev/null 2>&1 && continue
819
+    am__tar='tar chf - "$$tardir"'
820
+    am__tar_='tar chf - "$tardir"'
821
+    am__untar='tar xf -'
822
+    ;;
823
+  pax)
824
+    am__tar='pax -L -x $1 -w "$$tardir"'
825
+    am__tar_='pax -L -x $1 -w "$tardir"'
826
+    am__untar='pax -r'
827
+    ;;
828
+  cpio)
829
+    am__tar='find "$$tardir" -print | cpio -o -H $1 -L'
830
+    am__tar_='find "$tardir" -print | cpio -o -H $1 -L'
831
+    am__untar='cpio -i -H $1 -d'
832
+    ;;
833
+  none)
834
+    am__tar=false
835
+    am__tar_=false
836
+    am__untar=false
837
+    ;;
838
+  esac
839
+
840
+  # If the value was cached, stop now.  We just wanted to have am__tar
841
+  # and am__untar set.
842
+  test -n "${am_cv_prog_tar_$1}" && break
843
+
844
+  # tar/untar a dummy directory, and stop if the command works
845
+  rm -rf conftest.dir
846
+  mkdir conftest.dir
847
+  echo GrepMe > conftest.dir/file
848
+  AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar])
849
+  rm -rf conftest.dir
850
+  if test -s conftest.tar; then
851
+    AM_RUN_LOG([$am__untar <conftest.tar])
852
+    grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
853
+  fi
854
+done
855
+rm -rf conftest.dir
856
+
857
+AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool])
858
+AC_MSG_RESULT([$am_cv_prog_tar_$1])])
859
+AC_SUBST([am__tar])
860
+AC_SUBST([am__untar])
861
+]) # _AM_PROG_TAR
862
+
863
+m4_include([acinclude.m4])

+ 240
- 0
config.h.in View File

@@ -0,0 +1,240 @@
1
+/* config.h.in.  Generated from configure.in by autoheader.  */
2
+
3
+/* Define to 1 if you have the <Carbon/Carbon.h> header file. */
4
+#undef HAVE_CARBON_CARBON_H
5
+
6
+/* Define if you have the CoreAudio API */
7
+#undef HAVE_COREAUDIO
8
+
9
+/* Define to 1 if you have the <crt_externs.h> header file. */
10
+#undef HAVE_CRT_EXTERNS_H
11
+
12
+/* Defines if your system has the crypt function */
13
+#undef HAVE_CRYPT
14
+
15
+/* Define to 1 if you have the <dlfcn.h> header file. */
16
+#undef HAVE_DLFCN_H
17
+
18
+/* Define to 1 if you have the <inttypes.h> header file. */
19
+#undef HAVE_INTTYPES_H
20
+
21
+/* Define if you have libjpeg */
22
+#undef HAVE_LIBJPEG
23
+
24
+/* Define if you have libpng */
25
+#undef HAVE_LIBPNG
26
+
27
+/* Define if you have a working libpthread (will enable threaded code) */
28
+#undef HAVE_LIBPTHREAD
29
+
30
+/* Define if you have libz */
31
+#undef HAVE_LIBZ
32
+
33
+/* Define to 1 if you have the <memory.h> header file. */
34
+#undef HAVE_MEMORY_H
35
+
36
+/* Define if your system needs _NSGetEnviron to set up the environment */
37
+#undef HAVE_NSGETENVIRON
38
+
39
+/* Define if you have res_init */
40
+#undef HAVE_RES_INIT
41
+
42
+/* Define if you have the res_init prototype */
43
+#undef HAVE_RES_INIT_PROTO
44
+
45
+/* Define if you have a STL implementation by SGI */
46
+#undef HAVE_SGI_STL
47
+
48
+/* Define to 1 if you have the `snprintf' function. */
49
+#undef HAVE_SNPRINTF
50
+
51
+/* Define to 1 if you have the <stdint.h> header file. */
52
+#undef HAVE_STDINT_H
53
+
54
+/* Define to 1 if you have the <stdlib.h> header file. */
55
+#undef HAVE_STDLIB_H
56
+
57
+/* Define to 1 if you have the <strings.h> header file. */
58
+#undef HAVE_STRINGS_H
59
+
60
+/* Define to 1 if you have the <string.h> header file. */
61
+#undef HAVE_STRING_H
62
+
63
+/* Define if you have strlcat */
64
+#undef HAVE_STRLCAT
65
+
66
+/* Define if you have the strlcat prototype */
67
+#undef HAVE_STRLCAT_PROTO
68
+
69
+/* Define if you have strlcpy */
70
+#undef HAVE_STRLCPY
71
+
72
+/* Define if you have the strlcpy prototype */
73
+#undef HAVE_STRLCPY_PROTO
74
+
75
+/* Define to 1 if you have the <sys/bitypes.h> header file. */
76
+#undef HAVE_SYS_BITYPES_H
77
+
78
+/* Define to 1 if you have the <sys/stat.h> header file. */
79
+#undef HAVE_SYS_STAT_H
80
+
81
+/* Define to 1 if you have the <sys/types.h> header file. */
82
+#undef HAVE_SYS_TYPES_H
83
+
84
+/* Define to 1 if you have the <unistd.h> header file. */
85
+#undef HAVE_UNISTD_H
86
+
87
+/* Define to 1 if you have the `vsnprintf' function. */
88
+#undef HAVE_VSNPRINTF
89
+
90
+/* Suffix for lib directories */
91
+#undef KDELIBSUFF
92
+
93
+/* Name of package */
94
+#undef PACKAGE
95
+
96
+/* Define to the address where bug reports for this package should be sent. */
97
+#undef PACKAGE_BUGREPORT
98
+
99
+/* Define to the full name of this package. */
100
+#undef PACKAGE_NAME
101
+
102
+/* Define to the full name and version of this package. */
103
+#undef PACKAGE_STRING
104
+
105
+/* Define to the one symbol short name of this package. */
106
+#undef PACKAGE_TARNAME
107
+
108
+/* Define to the version of this package. */
109
+#undef PACKAGE_VERSION
110
+
111
+/* The size of a `char *', as computed by sizeof. */
112
+#undef SIZEOF_CHAR_P
113
+
114
+/* The size of a `int', as computed by sizeof. */
115
+#undef SIZEOF_INT
116
+
117
+/* The size of a `long', as computed by sizeof. */
118
+#undef SIZEOF_LONG
119
+
120
+/* The size of a `short', as computed by sizeof. */
121
+#undef SIZEOF_SHORT
122
+
123
+/* The size of a `size_t', as computed by sizeof. */
124
+#undef SIZEOF_SIZE_T
125
+
126
+/* The size of a `unsigned long', as computed by sizeof. */
127
+#undef SIZEOF_UNSIGNED_LONG
128
+
129
+/* Define to 1 if you have the ANSI C header files. */
130
+#undef STDC_HEADERS
131
+
132
+/* If we use arts volume */
133
+#undef USE_ARTS
134
+
135
+/* Version number of package */
136
+#undef VERSION
137
+
138
+/* Defined if compiling without arts */
139
+#undef WITHOUT_ARTS
140
+
141
+/*
142
+ * jpeg.h needs HAVE_BOOLEAN, when the system uses boolean in system
143
+ * headers and I'm too lazy to write a configure test as long as only
144
+ * unixware is related
145
+ */
146
+#ifdef _UNIXWARE
147
+#define HAVE_BOOLEAN
148
+#endif
149
+
150
+
151
+
152
+/*
153
+ * AIX defines FD_SET in terms of bzero, but fails to include <strings.h>
154
+ * that defines bzero.
155
+ */
156
+
157
+#if defined(_AIX)
158
+#include <strings.h>
159
+#endif
160
+
161
+
162
+
163
+#if defined(HAVE_NSGETENVIRON) && defined(HAVE_CRT_EXTERNS_H)
164
+# include <sys/time.h>
165
+# include <crt_externs.h>
166
+# define environ (*_NSGetEnviron())
167
+#endif
168
+
169
+
170
+
171
+#if !defined(HAVE_RES_INIT_PROTO)
172
+#ifdef __cplusplus
173
+extern "C" {
174
+#endif
175
+int res_init(void);
176
+#ifdef __cplusplus
177
+}
178
+#endif
179
+#endif
180
+
181
+
182
+
183
+#if !defined(HAVE_STRLCAT_PROTO)
184
+#ifdef __cplusplus
185
+extern "C" {
186
+#endif
187
+unsigned long strlcat(char*, const char*, unsigned long);
188
+#ifdef __cplusplus
189
+}
190
+#endif
191
+#endif
192
+
193
+
194
+
195
+#if !defined(HAVE_STRLCPY_PROTO)
196
+#ifdef __cplusplus
197
+extern "C" {
198
+#endif
199
+unsigned long strlcpy(char*, const char*, unsigned long);
200
+#ifdef __cplusplus
201
+}
202
+#endif
203
+#endif
204
+
205
+
206
+
207
+/*
208
+ * On HP-UX, the declaration of vsnprintf() is needed every time !
209
+ */
210
+
211
+#if !defined(HAVE_VSNPRINTF) || defined(hpux)
212
+#if __STDC__
213
+#include <stdarg.h>
214
+#include <stdlib.h>
215
+#else
216
+#include <varargs.h>
217
+#endif
218
+#ifdef __cplusplus
219
+extern "C"
220
+#endif
221
+int vsnprintf(char *str, size_t n, char const *fmt, va_list ap);
222
+#ifdef __cplusplus
223
+extern "C"
224
+#endif
225
+int snprintf(char *str, size_t n, char const *fmt, ...);
226
+#endif
227
+
228
+
229
+
230
+#if defined(__SVR4) && !defined(__svr4__)
231
+#define __svr4__ 1
232
+#endif
233
+
234
+
235
+/* type to use in place of socklen_t if not defined */
236
+#undef kde_socklen_t
237
+
238
+/* type to use in place of socklen_t if not defined (deprecated, use
239
+   kde_socklen_t) */
240
+#undef ksize_t

+ 3
- 0
configure.files View File

@@ -0,0 +1,3 @@
1
+./admin/configure.in.min
2
+configure.in.in
3
+configure.in.bot

+ 181
- 0
configure.in View File

@@ -0,0 +1,181 @@
1
+dnl =======================================================
2
+dnl FILE: ./admin/configure.in.min
3
+dnl =======================================================
4
+
5
+dnl    This file is part of the KDE libraries/packages
6
+dnl    Copyright (C) 2001 Stephan Kulow (coolo@kde.org)
7
+ 
8
+dnl    This file is free software; you can redistribute it and/or
9
+dnl    modify it under the terms of the GNU Library General Public
10
+dnl    License as published by the Free Software Foundation; either
11
+dnl    version 2 of the License, or (at your option) any later version.
12
+ 
13
+dnl    This library is distributed in the hope that it will be useful,
14
+dnl    but WITHOUT ANY WARRANTY; without even the implied warranty of
15
+dnl    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
16
+dnl    Library General Public License for more details.
17
+ 
18
+dnl    You should have received a copy of the GNU Library General Public License
19
+dnl    along with this library; see the file COPYING.LIB.  If not, write to
20
+dnl    the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
21
+dnl    Boston, MA 02110-1301, USA.
22
+
23
+# Original Author was Kalle@kde.org
24
+# I lifted it in some mater. (Stephan Kulow)
25
+# I used much code from Janos Farkas
26
+
27
+dnl Process this file with autoconf to produce a configure script.
28
+
29
+AC_INIT(acinclude.m4) dnl a source file from your sub dir
30
+
31
+dnl This is so we can use kde-common
32
+AC_CONFIG_AUX_DIR(admin)
33
+
34
+dnl This ksh/zsh feature conflicts with `cd blah ; pwd`
35
+unset CDPATH
36
+
37
+dnl Checking host/target/build systems, for make, install etc.
38
+AC_CANONICAL_SYSTEM 
39
+dnl Perform program name transformation
40
+AC_ARG_PROGRAM
41
+
42
+dnl Automake doc recommends to do this only here. (Janos)
43
+AM_INIT_AUTOMAKE(knetstats-1.6.1, "3.5.5") dnl searches for some needed programs
44
+
45
+KDE_SET_PREFIX
46
+
47
+dnl generate the config header
48
+AM_CONFIG_HEADER(config.h) dnl at the distribution this done
49
+
50
+dnl Checks for programs.
51
+AC_CHECK_COMPILERS
52
+AC_ENABLE_SHARED(yes)
53
+AC_ENABLE_STATIC(no)
54
+KDE_PROG_LIBTOOL
55
+
56
+dnl for NLS support. Call them in this order!
57
+dnl WITH_NLS is for the po files
58
+AM_KDE_WITH_NLS
59
+
60
+KDE_USE_QT(3.2)
61
+AC_PATH_KDE
62
+dnl =======================================================
63
+dnl FILE: configure.in.in
64
+dnl =======================================================
65
+
66
+#MIN_CONFIG(3.2)
67
+CXXFLAGS="$CXXFLAGS $KDE_DEFAULT_CXXFLAGS"
68
+
69
+if test "$build_arts" = "yes"; then
70
+    AC_DEFINE(USE_ARTS, 1, [If we use arts volume])
71
+    LIB_ARTS="-lartskde"
72
+    AC_SUBST(LIB_ARTS)
73
+fi
74
+
75
+KDE_INIT_DOXYGEN([KEG Network API Reference], [Version $VERSION])
76
+
77
+KDE_CREATE_SUBDIRSLIST
78
+AM_CONDITIONAL(src_SUBDIR_included, test "x$src_SUBDIR_included" = xyes)
79
+AM_CONDITIONAL(translations_SUBDIR_included, test "x$translations_SUBDIR_included" = xyes)
80
+AC_CONFIG_FILES([ Makefile ])
81
+AC_CONFIG_FILES([ src/Makefile ])
82
+AC_CONFIG_FILES([ src/doc/Makefile ])
83
+AC_CONFIG_FILES([ src/doc/en/Makefile ])
84
+AC_CONFIG_FILES([ src/doc/man/Makefile ])
85
+AC_CONFIG_FILES([ src/src/Makefile ])
86
+AC_CONFIG_FILES([ src/src/pics/Makefile ])
87
+AC_CONFIG_FILES([ translations/Makefile ])
88
+AC_CONFIG_FILES([ translations/bg/Makefile ])
89
+AC_CONFIG_FILES([ translations/bg/messages/Makefile ])
90
+AC_CONFIG_FILES([ translations/br/Makefile ])
91
+AC_CONFIG_FILES([ translations/br/messages/Makefile ])
92
+AC_CONFIG_FILES([ translations/cs/Makefile ])
93
+AC_CONFIG_FILES([ translations/cs/messages/Makefile ])
94
+AC_CONFIG_FILES([ translations/da/Makefile ])
95
+AC_CONFIG_FILES([ translations/da/messages/Makefile ])
96
+AC_CONFIG_FILES([ translations/de/Makefile ])
97
+AC_CONFIG_FILES([ translations/de/messages/Makefile ])
98
+AC_CONFIG_FILES([ translations/el/Makefile ])
99
+AC_CONFIG_FILES([ translations/el/messages/Makefile ])
100
+AC_CONFIG_FILES([ translations/es/Makefile ])
101
+AC_CONFIG_FILES([ translations/es/messages/Makefile ])
102
+AC_CONFIG_FILES([ translations/et/Makefile ])
103
+AC_CONFIG_FILES([ translations/et/messages/Makefile ])
104
+AC_CONFIG_FILES([ translations/fr/Makefile ])
105
+AC_CONFIG_FILES([ translations/fr/messages/Makefile ])
106
+AC_CONFIG_FILES([ translations/ga/Makefile ])
107
+AC_CONFIG_FILES([ translations/ga/messages/Makefile ])
108
+AC_CONFIG_FILES([ translations/gl/Makefile ])
109
+AC_CONFIG_FILES([ translations/gl/messages/Makefile ])
110
+AC_CONFIG_FILES([ translations/it/Makefile ])
111
+AC_CONFIG_FILES([ translations/it/messages/Makefile ])
112
+AC_CONFIG_FILES([ translations/ja/Makefile ])
113
+AC_CONFIG_FILES([ translations/ja/messages/Makefile ])
114
+AC_CONFIG_FILES([ translations/ka/Makefile ])
115
+AC_CONFIG_FILES([ translations/ka/messages/Makefile ])
116
+AC_CONFIG_FILES([ translations/nl/Makefile ])
117
+AC_CONFIG_FILES([ translations/nl/messages/Makefile ])
118
+AC_CONFIG_FILES([ translations/pl/Makefile ])
119
+AC_CONFIG_FILES([ translations/pl/messages/Makefile ])
120
+AC_CONFIG_FILES([ translations/pt/Makefile ])
121
+AC_CONFIG_FILES([ translations/pt/messages/Makefile ])
122
+AC_CONFIG_FILES([ translations/pt_BR/Makefile ])
123
+AC_CONFIG_FILES([ translations/pt_BR/messages/Makefile ])
124
+AC_CONFIG_FILES([ translations/ru/Makefile ])
125
+AC_CONFIG_FILES([ translations/ru/messages/Makefile ])
126
+AC_CONFIG_FILES([ translations/sk/Makefile ])
127
+AC_CONFIG_FILES([ translations/sk/messages/Makefile ])
128
+AC_CONFIG_FILES([ translations/sv/Makefile ])
129
+AC_CONFIG_FILES([ translations/sv/messages/Makefile ])
130
+AC_CONFIG_FILES([ translations/tr/Makefile ])
131
+AC_CONFIG_FILES([ translations/tr/messages/Makefile ])
132
+AC_OUTPUT
133
+dnl Put here things to be done at the very end - telling users
134
+dnl about additional packages to install. Better yet is giving
135
+dnl each project / subdr its own configure.in.bot.
136
+
137
+# Check if KDE_SET_PREFIX was called, and --prefix was passed to configure
138
+if test -n "$kde_libs_prefix" -a -n "$given_prefix"; then
139
+  # And if so, warn when they don't match
140
+  if test "$kde_libs_prefix" != "$given_prefix"; then
141
+    # And if kde doesn't know about the prefix yet
142
+    echo ":"`kde-config --path exe`":" | grep ":$given_prefix/bin/:" 2>&1 >/dev/null
143
+    if test $? -ne 0; then
144
+      echo ""
145
+      echo "Warning: you chose to install this package in $given_prefix,"
146
+      echo "but KDE was found in $kde_libs_prefix."
147
+      echo "For this to work, you will need to tell KDE about the new prefix, by ensuring"
148
+      echo "that KDEDIRS contains it, e.g. export KDEDIRS=$given_prefix:$kde_libs_prefix"
149
+      echo "Then restart KDE."
150
+      echo ""
151
+    fi
152
+  fi
153
+fi
154
+
155
+if test x$GXX = "xyes" -a x$kde_have_gcc_visibility = "xyes" -a x$kde_cv_val_qt_gcc_visibility_patched = "xno"; then
156
+  echo ""
157
+  echo "Your GCC supports symbol visibility, but the patch for Qt supporting visibility"
158
+  echo "was not included. Therefore, GCC symbol visibility support remains disabled."
159
+  echo ""
160
+  echo "For better performance, consider including the Qt visibility supporting patch"
161
+  echo "located at:"
162
+  echo ""
163
+  echo "http://bugs.kde.org/show_bug.cgi?id=109386"
164
+  echo ""
165
+  echo "and recompile all of Qt and KDE. Note, this is entirely optional and"
166
+  echo "everything will continue to work just fine without it."
167
+  echo ""
168
+fi
169
+
170
+if test "$all_tests" = "bad"; then
171
+  if test ! "$cache_file" = "/dev/null"; then
172
+    echo ""
173
+    echo "Please remove the file $cache_file after changing your setup"
174
+    echo "so that configure will find the changes next time."
175
+    echo ""
176
+  fi
177
+else
178
+  echo ""
179
+  echo "Good - your configure finished. Start make now"
180
+  echo ""
181
+fi

+ 4
- 0
configure.in.bot View File

@@ -0,0 +1,4 @@
1
+dnl Put here things to be done at the very end - telling users
2
+dnl about additional packages to install. Better yet is giving
3
+dnl each project / subdr its own configure.in.bot.
4
+

+ 11
- 0
configure.in.in View File

@@ -0,0 +1,11 @@
1
+#MIN_CONFIG(3.2)
2
+CXXFLAGS="$CXXFLAGS $KDE_DEFAULT_CXXFLAGS"
3
+
4
+if test "$build_arts" = "yes"; then
5
+    AC_DEFINE(USE_ARTS, 1, [If we use arts volume])
6
+    LIB_ARTS="-lartskde"
7
+    AC_SUBST(LIB_ARTS)
8
+fi
9
+
10
+KDE_INIT_DOXYGEN([KEG Network API Reference], [Version $VERSION])
11
+

+ 2
- 0
src/.svnignore View File

@@ -0,0 +1,2 @@
1
+Makefile.in
2
+*Makefile.in

+ 69
- 0
src/CHANGELOG View File

@@ -0,0 +1,69 @@
1
+v1.6.1
2
+
3
+- Fixed crash when discovering a new interface.
4
+
5
+v1.6.0.1
6
+
7
+- Disable the -ansi flag to avoid compile problems.
8
+
9
+v1.6
10
+
11
+- More user-friendly, try to detect some things and start without importune the user with configuration dialogs.
12
+
13
+v1.5
14
+
15
+- Added "Chart view".
16
+- New Statistics dialog (show IP address, MAC address, etc).
17
+- Using bksys as building tool.
18
+- Carrier on/off detection.
19
+- Reading interface date from /sys/class/net/INTERFACE/statistics instead of parse /proc/dev/net.
20
+- New translation to romanian
21
+
22
+Note to BSD users: This version is not compatible with BSD, it uses some linux-only stuff. A BSD-compatible version is plained in a near future.
23
+
24
+v1.3.1
25
+
26
+- Minor fix for Mandriva Linux (former Mandrake Linux). Env is now set for uic during build.
27
+
28
+v1.3
29
+
30
+- New configuration dialog.
31
+- Support to multiple interfaces.
32
+- Is possible change the colors in the text mode view.
33
+- Is possible change the icon theme of in icon mode.
34
+- Added smooth speed meter.
35
+
36
+v1.2.1
37
+
38
+- Added Russian translation (Edward Romantsov).
39
+- Added Polish translation (Wiktor Wandachowicz).
40
+
41
+v1.2
42
+
43
+- Now using SCons as building and install tool, so you will need to have Python installed in your distro to run SCons scripts and compile/install KNetStats.
44
+- Added Brazilian portuguese translation (me).
45
+- Added Kirghiz translation (Ilyas Bakirov).
46
+- Added Italian translation (Roberto Leandrini).
47
+- Added Spanish translation (Carlos Ortiz).
48
+- Added Deutsch translation (Henrik Gebauer).
49
+- Bug Fix: When network interface in changed, the Statistics window caption is changed too.
50
+- Bug Fix: Statistics window now correctly format Download/Upload Speed.
51
+- Bug Fix: When start KNetstats with a unavaliable interface, now upload speed is equals to 0pkts/s (not -2pkts/s)
52
+- Bug Fix: When knetstats starts and statistics windows is hidden it is not updated.
53
+
54
+v1.1.2
55
+
56
+- Build system now uses kde-config instead $KDEDIR env. variable. This will solve problems when compiling KNetstats on some distros (Suse 9.1, Fedora).
57
+
58
+v1.1.1
59
+
60
+- Clicking on trayicon show/hide statistics window (suggestion by Fredy Yanardi).
61
+- All dialogs now show the KNetStats icon on windows decoration.
62
+- It's possible to change the font used in textmode (suggestion by Vik).
63
+
64
+
65
+v1.1
66
+
67
+- Bug Fix: Not saving UpdateInterval when the network interface is not changed.
68
+- Litle optimizations
69
+- Support to IconMode (Activity Led's) or TextMode (showing rx/tx transfer rate)

+ 397
- 0
src/COPYING-DOCS View File

@@ -0,0 +1,397 @@
1
+		GNU Free Documentation License
2
+		  Version 1.2, November 2002
3
+
4
+
5
+ Copyright (C) 2000,2001,2002  Free Software Foundation, Inc.
6
+     51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
7
+ Everyone is permitted to copy and distribute verbatim copies
8
+ of this license document, but changing it is not allowed.
9
+
10
+
11
+0. PREAMBLE
12
+
13
+The purpose of this License is to make a manual, textbook, or other
14
+functional and useful document "free" in the sense of freedom: to
15
+assure everyone the effective freedom to copy and redistribute it,
16
+with or without modifying it, either commercially or noncommercially.
17
+Secondarily, this License preserves for the author and publisher a way
18
+to get credit for their work, while not being considered responsible
19
+for modifications made by others.
20
+
21
+This License is a kind of "copyleft", which means that derivative
22
+works of the document must themselves be free in the same sense.  It
23
+complements the GNU General Public License, which is a copyleft
24
+license designed for free software.
25
+
26
+We have designed this License in order to use it for manuals for free
27
+software, because free software needs free documentation: a free
28
+program should come with manuals providing the same freedoms that the
29
+software does.  But this License is not limited to software manuals;
30
+it can be used for any textual work, regardless of subject matter or
31
+whether it is published as a printed book.  We recommend this License
32
+principally for works whose purpose is instruction or reference.
33
+
34
+
35
+1. APPLICABILITY AND DEFINITIONS
36
+
37
+This License applies to any manual or other work, in any medium, that
38
+contains a notice placed by the copyright holder saying it can be
39
+distributed under the terms of this License.  Such a notice grants a
40
+world-wide, royalty-free license, unlimited in duration, to use that
41
+work under the conditions stated herein.  The "Document", below,
42
+refers to any such manual or work.  Any member of the public is a
43
+licensee, and is addressed as "you".  You accept the license if you
44
+copy, modify or distribute the work in a way requiring permission
45
+under copyright law.
46
+
47
+A "Modified Version" of the Document means any work containing the
48
+Document or a portion of it, either copied verbatim, or with
49
+modifications and/or translated into another language.
50
+
51
+A "Secondary Section" is a named appendix or a front-matter section of
52
+the Document that deals exclusively with the relationship of the
53
+publishers or authors of the Document to the Document's overall subject
54
+(or to related matters) and contains nothing that could fall directly
55
+within that overall subject.  (Thus, if the Document is in part a
56
+textbook of mathematics, a Secondary Section may not explain any
57
+mathematics.)  The relationship could be a matter of historical
58
+connection with the subject or with related matters, or of legal,
59
+commercial, philosophical, ethical or political position regarding
60
+them.
61
+
62
+The "Invariant Sections" are certain Secondary Sections whose titles
63
+are designated, as being those of Invariant Sections, in the notice
64
+that says that the Document is released under this License.  If a
65
+section does not fit the above definition of Secondary then it is not
66
+allowed to be designated as Invariant.  The Document may contain zero
67
+Invariant Sections.  If the Document does not identify any Invariant
68
+Sections then there are none.
69
+
70
+The "Cover Texts" are certain short passages of text that are listed,
71
+as Front-Cover Texts or Back-Cover Texts, in the notice that says that
72
+the Document is released under this License.  A Front-Cover Text may
73
+be at most 5 words, and a Back-Cover Text may be at most 25 words.
74
+
75
+A "Transparent" copy of the Document means a machine-readable copy,
76
+represented in a format whose specification is available to the
77
+general public, that is suitable for revising the document
78
+straightforwardly with generic text editors or (for images composed of
79
+pixels) generic paint programs or (for drawings) some widely available
80
+drawing editor, and that is suitable for input to text formatters or
81
+for automatic translation to a variety of formats suitable for input
82
+to text formatters.  A copy made in an otherwise Transparent file
83
+format whose markup, or absence of markup, has been arranged to thwart
84
+or discourage subsequent modification by readers is not Transparent.
85
+An image format is not Transparent if used for any substantial amount
86
+of text.  A copy that is not "Transparent" is called "Opaque".
87
+
88
+Examples of suitable formats for Transparent copies include plain
89
+ASCII without markup, Texinfo input format, LaTeX input format, SGML
90
+or XML using a publicly available DTD, and standard-conforming simple
91
+HTML, PostScript or PDF designed for human modification.  Examples of
92
+transparent image formats include PNG, XCF and JPG.  Opaque formats
93
+include proprietary formats that can be read and edited only by
94
+proprietary word processors, SGML or XML for which the DTD and/or
95
+processing tools are not generally available, and the
96
+machine-generated HTML, PostScript or PDF produced by some word
97
+processors for output purposes only.
98
+
99
+The "Title Page" means, for a printed book, the title page itself,
100
+plus such following pages as are needed to hold, legibly, the material
101
+this License requires to appear in the title page.  For works in
102
+formats which do not have any title page as such, "Title Page" means
103
+the text near the most prominent appearance of the work's title,
104
+preceding the beginning of the body of the text.
105
+
106
+A section "Entitled XYZ" means a named subunit of the Document whose
107
+title either is precisely XYZ or contains XYZ in parentheses following
108
+text that translates XYZ in another language.  (Here XYZ stands for a
109
+specific section name mentioned below, such as "Acknowledgements",
110
+"Dedications", "Endorsements", or "History".)  To "Preserve the Title"
111
+of such a section when you modify the Document means that it remains a
112
+section "Entitled XYZ" according to this definition.
113
+
114
+The Document may include Warranty Disclaimers next to the notice which
115
+states that this License applies to the Document.  These Warranty
116
+Disclaimers are considered to be included by reference in this
117
+License, but only as regards disclaiming warranties: any other
118
+implication that these Warranty Disclaimers may have is void and has
119
+no effect on the meaning of this License.
120
+
121
+
122
+2. VERBATIM COPYING
123
+
124
+You may copy and distribute the Document in any medium, either
125
+commercially or noncommercially, provided that this License, the
126
+copyright notices, and the license notice saying this License applies
127
+to the Document are reproduced in all copies, and that you add no other
128
+conditions whatsoever to those of this License.  You may not use
129
+technical measures to obstruct or control the reading or further
130
+copying of the copies you make or distribute.  However, you may accept
131
+compensation in exchange for copies.  If you distribute a large enough
132
+number of copies you must also follow the conditions in section 3.
133
+
134
+You may also lend copies, under the same conditions stated above, and
135
+you may publicly display copies.
136
+
137
+
138
+3. COPYING IN QUANTITY
139
+
140
+If you publish printed copies (or copies in media that commonly have
141
+printed covers) of the Document, numbering more than 100, and the
142
+Document's license notice requires Cover Texts, you must enclose the
143
+copies in covers that carry, clearly and legibly, all these Cover
144
+Texts: Front-Cover Texts on the front cover, and Back-Cover Texts on
145
+the back cover.  Both covers must also clearly and legibly identify
146
+you as the publisher of these copies.  The front cover must present
147
+the full title with all words of the title equally prominent and
148
+visible.  You may add other material on the covers in addition.
149
+Copying with changes limited to the covers, as long as they preserve
150
+the title of the Document and satisfy these conditions, can be treated
151
+as verbatim copying in other respects.
152
+
153
+If the required texts for either cover are too voluminous to fit
154
+legibly, you should put the first ones listed (as many as fit
155
+reasonably) on the actual cover, and continue the rest onto adjacent
156
+pages.
157
+
158
+If you publish or distribute Opaque copies of the Document numbering
159
+more than 100, you must either include a machine-readable Transparent
160
+copy along with each Opaque copy, or state in or with each Opaque copy
161
+a computer-network location from which the general network-using
162
+public has access to download using public-standard network protocols
163
+a complete Transparent copy of the Document, free of added material.
164
+If you use the latter option, you must take reasonably prudent steps,
165
+when you begin distribution of Opaque copies in quantity, to ensure
166
+that this Transparent copy will remain thus accessible at the stated
167
+location until at least one year after the last time you distribute an
168
+Opaque copy (directly or through your agents or retailers) of that
169
+edition to the public.
170
+
171
+It is requested, but not required, that you contact the authors of the
172
+Document well before redistributing any large number of copies, to give
173
+them a chance to provide you with an updated version of the Document.
174
+
175
+
176
+4. MODIFICATIONS
177
+
178
+You may copy and distribute a Modified Version of the Document under
179
+the conditions of sections 2 and 3 above, provided that you release
180
+the Modified Version under precisely this License, with the Modified
181
+Version filling the role of the Document, thus licensing distribution
182
+and modification of the Modified Version to whoever possesses a copy
183
+of it.  In addition, you must do these things in the Modified Version:
184
+
185
+A. Use in the Title Page (and on the covers, if any) a title distinct
186
+   from that of the Document, and from those of previous versions
187
+   (which should, if there were any, be listed in the History section
188
+   of the Document).  You may use the same title as a previous version
189
+   if the original publisher of that version gives permission.
190
+B. List on the Title Page, as authors, one or more persons or entities
191
+   responsible for authorship of the modifications in the Modified
192
+   Version, together with at least five of the principal authors of the
193
+   Document (all of its principal authors, if it has fewer than five),
194
+   unless they release you from this requirement.
195
+C. State on the Title page the name of the publisher of the
196
+   Modified Version, as the publisher.
197
+D. Preserve all the copyright notices of the Document.
198
+E. Add an appropriate copyright notice for your modifications
199
+   adjacent to the other copyright notices.
200
+F. Include, immediately after the copyright notices, a license notice
201
+   giving the public permission to use the Modified Version under the
202
+   terms of this License, in the form shown in the Addendum below.
203
+G. Preserve in that license notice the full lists of Invariant Sections
204
+   and required Cover Texts given in the Document's license notice.
205
+H. Include an unaltered copy of this License.
206
+I. Preserve the section Entitled "History", Preserve its Title, and add
207
+   to it an item stating at least the title, year, new authors, and
208
+   publisher of the Modified Version as given on the Title Page.  If
209
+   there is no section Entitled "History" in the Document, create one
210
+   stating the title, year, authors, and publisher of the Document as
211
+   given on its Title Page, then add an item describing the Modified
212
+   Version as stated in the previous sentence.
213
+J. Preserve the network location, if any, given in the Document for
214
+   public access to a Transparent copy of the Document, and likewise
215
+   the network locations given in the Document for previous versions
216
+   it was based on.  These may be placed in the "History" section.
217
+   You may omit a network location for a work that was published at
218
+   least four years before the Document itself, or if the original
219
+   publisher of the version it refers to gives permission.
220
+K. For any section Entitled "Acknowledgements" or "Dedications",
221
+   Preserve the Title of the section, and preserve in the section all
222
+   the substance and tone of each of the contributor acknowledgements
223
+   and/or dedications given therein.
224
+L. Preserve all the Invariant Sections of the Document,
225
+   unaltered in their text and in their titles.  Section numbers
226
+   or the equivalent are not considered part of the section titles.
227
+M. Delete any section Entitled "Endorsements".  Such a section
228
+   may not be included in the Modified Version.
229
+N. Do not retitle any existing section to be Entitled "Endorsements"
230
+   or to conflict in title with any Invariant Section.
231
+O. Preserve any Warranty Disclaimers.
232
+
233
+If the Modified Version includes new front-matter sections or
234
+appendices that qualify as Secondary Sections and contain no material
235
+copied from the Document, you may at your option designate some or all
236
+of these sections as invariant.  To do this, add their titles to the
237
+list of Invariant Sections in the Modified Version's license notice.
238
+These titles must be distinct from any other section titles.
239
+
240
+You may add a section Entitled "Endorsements", provided it contains
241
+nothing but endorsements of your Modified Version by various
242
+parties--for example, statements of peer review or that the text has
243
+been approved by an organization as the authoritative definition of a
244
+standard.
245
+
246
+You may add a passage of up to five words as a Front-Cover Text, and a
247
+passage of up to 25 words as a Back-Cover Text, to the end of the list
248
+of Cover Texts in the Modified Version.  Only one passage of
249
+Front-Cover Text and one of Back-Cover Text may be added by (or
250
+through arrangements made by) any one entity.  If the Document already
251
+includes a cover text for the same cover, previously added by you or
252
+by arrangement made by the same entity you are acting on behalf of,
253
+you may not add another; but you may replace the old one, on explicit
254
+permission from the previous publisher that added the old one.
255
+
256
+The author(s) and publisher(s) of the Document do not by this License
257
+give permission to use their names for publicity for or to assert or
258
+imply endorsement of any Modified Version.
259
+
260
+
261
+5. COMBINING DOCUMENTS
262
+
263
+You may combine the Document with other documents released under this
264
+License, under the terms defined in section 4 above for modified
265
+versions, provided that you include in the combination all of the
266
+Invariant Sections of all of the original documents, unmodified, and
267
+list them all as Invariant Sections of your combined work in its
268
+license notice, and that you preserve all their Warranty Disclaimers.
269
+
270
+The combined work need only contain one copy of this License, and
271
+multiple identical Invariant Sections may be replaced with a single
272
+copy.  If there are multiple Invariant Sections with the same name but
273
+different contents, make the title of each such section unique by
274
+adding at the end of it, in parentheses, the name of the original
275
+author or publisher of that section if known, or else a unique number.
276
+Make the same adjustment to the section titles in the list of
277
+Invariant Sections in the license notice of the combined work.
278
+
279
+In the combination, you must combine any sections Entitled "History"
280
+in the various original documents, forming one section Entitled
281
+"History"; likewise combine any sections Entitled "Acknowledgements",
282
+and any sections Entitled "Dedications".  You must delete all sections
283
+Entitled "Endorsements".
284
+
285
+
286
+6. COLLECTIONS OF DOCUMENTS
287
+
288
+You may make a collection consisting of the Document and other documents
289
+released under this License, and replace the individual copies of this
290
+License in the various documents with a single copy that is included in
291
+the collection, provided that you follow the rules of this License for
292
+verbatim copying of each of the documents in all other respects.
293
+
294
+You may extract a single document from such a collection, and distribute
295
+it individually under this License, provided you insert a copy of this
296
+License into the extracted document, and follow this License in all
297
+other respects regarding verbatim copying of that document.
298
+
299
+
300
+7. AGGREGATION WITH INDEPENDENT WORKS
301
+
302
+A compilation of the Document or its derivatives with other separate
303
+and independent documents or works, in or on a volume of a storage or
304
+distribution medium, is called an "aggregate" if the copyright
305
+resulting from the compilation is not used to limit the legal rights
306
+of the compilation's users beyond what the individual works permit.
307
+When the Document is included in an aggregate, this License does not
308
+apply to the other works in the aggregate which are not themselves
309
+derivative works of the Document.
310
+
311
+If the Cover Text requirement of section 3 is applicable to these
312
+copies of the Document, then if the Document is less than one half of
313
+the entire aggregate, the Document's Cover Texts may be placed on
314
+covers that bracket the Document within the aggregate, or the
315
+electronic equivalent of covers if the Document is in electronic form.
316
+Otherwise they must appear on printed covers that bracket the whole
317
+aggregate.
318
+
319
+
320
+8. TRANSLATION
321
+
322
+Translation is considered a kind of modification, so you may
323
+distribute translations of the Document under the terms of section 4.
324
+Replacing Invariant Sections with translations requires special
325
+permission from their copyright holders, but you may include
326
+translations of some or all Invariant Sections in addition to the
327
+original versions of these Invariant Sections.  You may include a
328
+translation of this License, and all the license notices in the
329
+Document, and any Warranty Disclaimers, provided that you also include
330
+the original English version of this License and the original versions
331
+of those notices and disclaimers.  In case of a disagreement between
332
+the translation and the original version of this License or a notice
333
+or disclaimer, the original version will prevail.
334
+
335
+If a section in the Document is Entitled "Acknowledgements",
336
+"Dedications", or "History", the requirement (section 4) to Preserve
337
+its Title (section 1) will typically require changing the actual
338
+title.
339
+
340
+
341
+9. TERMINATION
342
+
343
+You may not copy, modify, sublicense, or distribute the Document except
344
+as expressly provided for under this License.  Any other attempt to
345
+copy, modify, sublicense or distribute the Document is void, and will
346
+automatically terminate your rights under this License.  However,
347
+parties who have received copies, or rights, from you under this
348
+License will not have their licenses terminated so long as such
349
+parties remain in full compliance.
350
+
351
+
352
+10. FUTURE REVISIONS OF THIS LICENSE
353
+
354
+The Free Software Foundation may publish new, revised versions
355
+of the GNU Free Documentation License from time to time.  Such new
356
+versions will be similar in spirit to the present version, but may
357
+differ in detail to address new problems or concerns.  See
358
+http://www.gnu.org/copyleft/.
359
+
360
+Each version of the License is given a distinguishing version number.
361
+If the Document specifies that a particular numbered version of this
362
+License "or any later version" applies to it, you have the option of
363
+following the terms and conditions either of that specified version or
364
+of any later version that has been published (not as a draft) by the
365
+Free Software Foundation.  If the Document does not specify a version
366
+number of this License, you may choose any version ever published (not
367
+as a draft) by the Free Software Foundation.
368
+
369
+
370
+ADDENDUM: How to use this License for your documents
371
+
372
+To use this License in a document you have written, include a copy of
373
+the License in the document and put the following copyright and
374
+license notices just after the title page:
375
+
376
+    Copyright (c)  YEAR  YOUR NAME.
377
+    Permission is granted to copy, distribute and/or modify this document
378
+    under the terms of the GNU Free Documentation License, Version 1.2
379
+    or any later version published by the Free Software Foundation;
380
+    with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts.
381
+    A copy of the license is included in the section entitled "GNU
382
+    Free Documentation License".
383
+
384
+If you have Invariant Sections, Front-Cover Texts and Back-Cover Texts,
385
+replace the "with...Texts." line with this:
386
+
387
+    with the Invariant Sections being LIST THEIR TITLES, with the
388
+    Front-Cover Texts being LIST, and with the Back-Cover Texts being LIST.
389
+
390
+If you have Invariant Sections without Cover Texts, or some other
391
+combination of the three, merge those two alternatives to suit the
392
+situation.
393
+
394
+If your document contains nontrivial examples of program code, we
395
+recommend releasing these examples in parallel under your choice of
396
+free software license, such as the GNU General Public License,
397
+to permit their use in free software.

+ 266
- 0
src/Doxyfile View File

@@ -0,0 +1,266 @@
1
+# Doxyfile 1.3.7-KDevelop
2
+
3
+#---------------------------------------------------------------------------
4
+# Project related configuration options
5
+#---------------------------------------------------------------------------
6
+PROJECT_NAME           = knetstats.kdevelop
7
+PROJECT_NUMBER         = 0.1
8
+OUTPUT_DIRECTORY       = 
9
+CREATE_SUBDIRS         = NO
10
+OUTPUT_LANGUAGE        = English
11
+USE_WINDOWS_ENCODING   = NO
12
+BRIEF_MEMBER_DESC      = YES
13
+REPEAT_BRIEF           = YES
14
+ABBREVIATE_BRIEF       = "The $name class" \
15
+                         "The $name widget" \
16
+                         "The $name file" \
17
+                         is \
18
+                         provides \
19
+                         specifies \
20
+                         contains \
21
+                         represents \
22
+                         a \
23
+                         an \
24
+                         the
25
+ALWAYS_DETAILED_SEC    = NO
26
+INLINE_INHERITED_MEMB  = NO
27
+FULL_PATH_NAMES        = YES
28
+STRIP_FROM_PATH        = /home/hugo/
29
+STRIP_FROM_INC_PATH    = 
30
+SHORT_NAMES            = NO
31
+JAVADOC_AUTOBRIEF      = NO
32
+MULTILINE_CPP_IS_BRIEF = NO
33
+DETAILS_AT_TOP         = NO
34
+INHERIT_DOCS           = YES
35
+DISTRIBUTE_GROUP_DOC   = NO
36
+TAB_SIZE               = 8
37
+ALIASES                = 
38
+OPTIMIZE_OUTPUT_FOR_C  = NO
39
+OPTIMIZE_OUTPUT_JAVA   = NO
40
+SUBGROUPING            = YES
41
+#---------------------------------------------------------------------------
42
+# Build related configuration options
43
+#---------------------------------------------------------------------------
44
+EXTRACT_ALL            = NO
45
+EXTRACT_PRIVATE        = NO
46
+EXTRACT_STATIC         = NO
47
+EXTRACT_LOCAL_CLASSES  = YES
48
+EXTRACT_LOCAL_METHODS  = NO
49
+HIDE_UNDOC_MEMBERS     = NO
50
+HIDE_UNDOC_CLASSES     = NO
51
+HIDE_FRIEND_COMPOUNDS  = NO
52
+HIDE_IN_BODY_DOCS      = NO
53
+INTERNAL_DOCS          = NO
54
+CASE_SENSE_NAMES       = YES
55
+HIDE_SCOPE_NAMES       = NO
56
+SHOW_INCLUDE_FILES     = YES
57
+INLINE_INFO            = YES
58
+SORT_MEMBER_DOCS       = YES
59
+SORT_BRIEF_DOCS        = NO
60
+SORT_BY_SCOPE_NAME     = NO
61
+GENERATE_TODOLIST      = YES
62
+GENERATE_TESTLIST      = YES
63
+GENERATE_BUGLIST       = YES
64
+GENERATE_DEPRECATEDLIST= YES
65
+ENABLED_SECTIONS       = 
66
+MAX_INITIALIZER_LINES  = 30
67
+SHOW_USED_FILES        = YES
68
+#---------------------------------------------------------------------------
69
+# configuration options related to warning and progress messages
70
+#---------------------------------------------------------------------------
71
+QUIET                  = NO
72
+WARNINGS               = YES
73
+WARN_IF_UNDOCUMENTED   = YES
74
+WARN_IF_DOC_ERROR      = YES
75
+WARN_FORMAT            = "$file:$line: $text"
76
+WARN_LOGFILE           = 
77
+#---------------------------------------------------------------------------
78
+# configuration options related to the input files
79
+#---------------------------------------------------------------------------
80
+INPUT                  = /home/hugo/src/knetstats
81
+FILE_PATTERNS          = *.c \
82
+                         *.cc \
83
+                         *.cxx \
84
+                         *.cpp \
85
+                         *.c++ \
86
+                         *.java \
87
+                         *.ii \
88
+                         *.ixx \
89
+                         *.ipp \
90
+                         *.i++ \
91
+                         *.inl \
92
+                         *.h \
93
+                         *.hh \
94
+                         *.hxx \
95
+                         *.hpp \
96
+                         *.h++ \
97
+                         *.idl \
98
+                         *.odl \
99
+                         *.cs \
100
+                         *.php \
101
+                         *.php3 \
102
+                         *.inc \
103
+                         *.m \
104
+                         *.mm \
105
+                         *.C \
106
+                         *.CC \
107
+                         *.C++ \
108
+                         *.II \
109
+                         *.I++ \
110
+                         *.H \
111
+                         *.HH \
112
+                         *.H++ \
113
+                         *.CS \
114
+                         *.PHP \
115
+                         *.PHP3 \
116
+                         *.M \
117
+                         *.MM \
118
+                         *.C \
119
+                         *.H \
120
+                         *.tlh \
121
+                         *.diff \
122
+                         *.patch \
123
+                         *.moc \
124
+                         *.xpm \
125
+                         *.dox
126
+RECURSIVE              = yes
127
+EXCLUDE                = 
128
+EXCLUDE_SYMLINKS       = NO
129
+EXCLUDE_PATTERNS       = 
130
+EXAMPLE_PATH           = 
131
+EXAMPLE_PATTERNS       = *
132
+EXAMPLE_RECURSIVE      = NO
133
+IMAGE_PATH             = 
134
+INPUT_FILTER           = 
135
+FILTER_SOURCE_FILES    = NO
136
+#---------------------------------------------------------------------------
137
+# configuration options related to source browsing
138
+#---------------------------------------------------------------------------
139
+SOURCE_BROWSER         = NO
140
+INLINE_SOURCES         = NO
141
+STRIP_CODE_COMMENTS    = YES
142
+REFERENCED_BY_RELATION = YES
143
+REFERENCES_RELATION    = YES
144
+VERBATIM_HEADERS       = YES
145
+#---------------------------------------------------------------------------
146
+# configuration options related to the alphabetical class index
147
+#---------------------------------------------------------------------------
148
+ALPHABETICAL_INDEX     = NO
149
+COLS_IN_ALPHA_INDEX    = 5
150
+IGNORE_PREFIX          = 
151
+#---------------------------------------------------------------------------
152
+# configuration options related to the HTML output
153
+#---------------------------------------------------------------------------
154
+GENERATE_HTML          = YES
155
+HTML_OUTPUT            = html
156
+HTML_FILE_EXTENSION    = .html
157
+HTML_HEADER            = 
158
+HTML_FOOTER            = 
159
+HTML_STYLESHEET        = 
160
+HTML_ALIGN_MEMBERS     = YES
161
+GENERATE_HTMLHELP      = NO
162
+CHM_FILE               = 
163
+HHC_LOCATION           = 
164
+GENERATE_CHI           = NO
165
+BINARY_TOC             = NO
166
+TOC_EXPAND             = NO
167
+DISABLE_INDEX          = NO
168
+ENUM_VALUES_PER_LINE   = 4
169
+GENERATE_TREEVIEW      = NO
170
+TREEVIEW_WIDTH         = 250
171
+#---------------------------------------------------------------------------
172
+# configuration options related to the LaTeX output
173
+#---------------------------------------------------------------------------
174
+GENERATE_LATEX         = YES
175
+LATEX_OUTPUT           = latex
176
+LATEX_CMD_NAME         = latex
177
+MAKEINDEX_CMD_NAME     = makeindex
178
+COMPACT_LATEX          = NO
179
+PAPER_TYPE             = a4wide
180
+EXTRA_PACKAGES         = 
181
+LATEX_HEADER           = 
182
+PDF_HYPERLINKS         = NO
183
+USE_PDFLATEX           = NO
184
+LATEX_BATCHMODE        = NO
185
+LATEX_HIDE_INDICES     = NO
186
+#---------------------------------------------------------------------------
187
+# configuration options related to the RTF output
188
+#---------------------------------------------------------------------------
189
+GENERATE_RTF           = NO
190
+RTF_OUTPUT             = rtf
191
+COMPACT_RTF            = NO
192
+RTF_HYPERLINKS         = NO
193
+RTF_STYLESHEET_FILE    = 
194
+RTF_EXTENSIONS_FILE    = 
195
+#---------------------------------------------------------------------------
196
+# configuration options related to the man page output
197
+#---------------------------------------------------------------------------
198
+GENERATE_MAN           = NO
199
+MAN_OUTPUT             = man
200
+MAN_EXTENSION          = .3
201
+MAN_LINKS              = NO
202
+#---------------------------------------------------------------------------
203
+# configuration options related to the XML output
204
+#---------------------------------------------------------------------------
205
+GENERATE_XML           = yes
206
+XML_OUTPUT             = xml
207
+XML_SCHEMA             = 
208
+XML_DTD                = 
209
+XML_PROGRAMLISTING     = YES
210
+#---------------------------------------------------------------------------
211
+# configuration options for the AutoGen Definitions output
212
+#---------------------------------------------------------------------------
213
+GENERATE_AUTOGEN_DEF   = NO
214
+#---------------------------------------------------------------------------
215
+# configuration options related to the Perl module output
216
+#---------------------------------------------------------------------------
217
+GENERATE_PERLMOD       = NO
218
+PERLMOD_LATEX          = NO
219
+PERLMOD_PRETTY         = YES
220
+PERLMOD_MAKEVAR_PREFIX = 
221
+#---------------------------------------------------------------------------
222
+# Configuration options related to the preprocessor   
223
+#---------------------------------------------------------------------------
224
+ENABLE_PREPROCESSING   = YES
225
+MACRO_EXPANSION        = NO
226
+EXPAND_ONLY_PREDEF     = NO
227
+SEARCH_INCLUDES        = YES
228
+INCLUDE_PATH           = 
229
+INCLUDE_FILE_PATTERNS  = 
230
+PREDEFINED             = 
231
+EXPAND_AS_DEFINED      = 
232
+SKIP_FUNCTION_MACROS   = YES
233
+#---------------------------------------------------------------------------
234
+# Configuration::additions related to external references   
235
+#---------------------------------------------------------------------------
236
+TAGFILES               = 
237
+GENERATE_TAGFILE       = knetstats.tag
238
+ALLEXTERNALS           = NO
239
+EXTERNAL_GROUPS        = YES
240
+PERL_PATH              = /usr/bin/perl
241
+#---------------------------------------------------------------------------
242
+# Configuration options related to the dot tool   
243
+#---------------------------------------------------------------------------
244
+CLASS_DIAGRAMS         = YES
245
+HIDE_UNDOC_RELATIONS   = YES
246
+HAVE_DOT               = NO
247
+CLASS_GRAPH            = YES
248
+COLLABORATION_GRAPH    = YES
249
+UML_LOOK               = NO
250
+TEMPLATE_RELATIONS     = NO
251
+INCLUDE_GRAPH          = YES
252
+INCLUDED_BY_GRAPH      = YES
253
+CALL_GRAPH             = NO
254
+GRAPHICAL_HIERARCHY    = YES
255
+DOT_IMAGE_FORMAT       = png
256
+DOT_PATH               = 
257
+DOTFILE_DIRS           = 
258
+MAX_DOT_GRAPH_WIDTH    = 1024
259
+MAX_DOT_GRAPH_HEIGHT   = 1024
260
+MAX_DOT_GRAPH_DEPTH    = 1000
261
+GENERATE_LEGEND        = YES
262
+DOT_CLEANUP            = YES
263
+#---------------------------------------------------------------------------
264
+# Configuration::additions related to the search engine   
265
+#---------------------------------------------------------------------------
266
+SEARCHENGINE           = NO

+ 5
- 0
src/Makefile.am View File

@@ -0,0 +1,5 @@
1
+SUBDIRS = src doc
2
+
3
+xdg_apps_DATA = knetstats.desktop
4
+
5
+KDE_ICON = knetstats 

+ 1
- 0
src/doc/Makefile.am View File

@@ -0,0 +1 @@
1
+SUBDIRS = en

+ 2
- 0
src/doc/en/Makefile.am View File

@@ -0,0 +1,2 @@
1
+KDE_LANG = en
2
+KDE_DOCS = knetstats

+ 130
- 0
src/doc/en/index.docbook View File

@@ -0,0 +1,130 @@
1
+<?xml version="1.0" ?>
2
+<!DOCTYPE book PUBLIC "-//KDE//DTD DocBook XML V4.1.2-Based Variant V1.1//EN" "dtd/kdex.dtd" [
3
+  <!ENTITY knetstats "<application>KNetStats 1&#46;5</application>">
4
+  <!ENTITY kappname "&knetstats;"><!-- Do *not* replace kappname-->
5
+  <!ENTITY package "kde-network"><!-- kdebase, kdeadmin, etc -->
6
+  <!ENTITY % addindex "IGNORE">
7
+  <!ENTITY % English "INCLUDE"><!-- change language only here -->
8
+
9
+
10
+  <!-- Do not define any other entities; instead, use the entities
11
+       from kde-genent.entities and $LANG/user.entities. -->
12
+]>
13
+<!-- kdoctemplate v0.8 October 1 1999
14
+     Minor update to "Credits and Licenses" section on August 24, 2000
15
+     Removed "Revision history" section on 22 January 2001
16
+     Changed to Installation/Help menu entities 18 October 2001
17
+     Other minor cleanup and changes 18 October 2001 -->
18
+
19
+
20
+<!-- The language must NOT be changed here. -->
21
+
22
+<book lang="&language;">
23
+
24
+<!-- This header contains all of the meta-information for the document such
25
+as Authors, publish date, the abstract, and Keywords -->
26
+
27
+<bookinfo>
28
+<title>The &knetstats; Handbook</title>
29
+
30
+<authorgroup>
31
+<author>
32
+<firstname>Hugo Parente Lima</firstname>