Browse Source

Added old KDE3 version of SMB4K


git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/smb4k@1097609 283d02a7-25f6-0310-bc7c-ecb5cbfe19
tpearson 9 years ago
commit
854bf52eeb
100 changed files with 50478 additions and 0 deletions
  1. 8
    0
      AUTHORS
  2. 10
    0
      BUGS
  3. 340
    0
      COPYING
  4. 1191
    0
      ChangeLog
  5. 283
    0
      Doxyfile
  6. 344
    0
      FAQ
  7. 167
    0
      INSTALL
  8. 21
    0
      Makefile.am
  9. 14
    0
      Makefile.cvs
  10. 168
    0
      README
  11. 65
    0
      TODO
  12. 11919
    0
      acinclude.m4
  13. 881
    0
      aclocal.m4
  14. 240
    0
      config.h.in
  15. 2
    0
      configure.files
  16. 161
    0
      configure.in
  17. 34
    0
      configure.in.in
  18. 2
    0
      doc/Makefile.am
  19. 2
    0
      doc/en/Makefile.am
  20. BIN
      doc/en/action_abort.png
  21. BIN
      doc/en/action_authentication.png
  22. BIN
      doc/en/action_configuration.png
  23. BIN
      doc/en/action_custom.png
  24. BIN
      doc/en/action_force_unmount.png
  25. BIN
      doc/en/action_konqueror.png
  26. BIN
      doc/en/action_konsole.png
  27. BIN
      doc/en/action_manual_mount.png
  28. BIN
      doc/en/action_mount.png
  29. BIN
      doc/en/action_preview.png
  30. BIN
      doc/en/action_print.png
  31. BIN
      doc/en/action_quit.png
  32. BIN
      doc/en/action_rescan.png
  33. BIN
      doc/en/action_shares_views.png
  34. BIN
      doc/en/action_synchronize.png
  35. BIN
      doc/en/action_unmount.png
  36. BIN
      doc/en/action_unmount_all.png
  37. BIN
      doc/en/configuration_authentication.png
  38. BIN
      doc/en/configuration_network.png
  39. BIN
      doc/en/configuration_samba.png
  40. BIN
      doc/en/configuration_shares.png
  41. BIN
      doc/en/configuration_superuser.png
  42. BIN
      doc/en/configuration_synchronization.png
  43. BIN
      doc/en/configuration_user_interface.png
  44. BIN
      doc/en/dialog_authentication.png
  45. BIN
      doc/en/dialog_bookmark_editor.png
  46. BIN
      doc/en/dialog_config_file_removal.png
  47. BIN
      doc/en/dialog_custom_options.png
  48. BIN
      doc/en/dialog_manual_mount.png
  49. BIN
      doc/en/dialog_preview.png
  50. BIN
      doc/en/dialog_print_file.png
  51. BIN
      doc/en/dialog_question_force_unmounting.png
  52. BIN
      doc/en/dialog_search.png
  53. BIN
      doc/en/dialog_synchronization_input.png
  54. BIN
      doc/en/dialog_synchronization_progress.png
  55. BIN
      doc/en/error_programs_missing.png
  56. 5299
    0
      doc/en/index.docbook
  57. BIN
      doc/en/main_window.png
  58. BIN
      doc/en/plugin_full_view.png
  59. BIN
      doc/en/plugin_inclusion.png
  60. BIN
      doc/en/popup_menu_bookmarks.png
  61. BIN
      doc/en/popup_menu_browser.png
  62. BIN
      doc/en/popup_menu_shares_view.png
  63. BIN
      doc/en/shares_view_icons.png
  64. BIN
      doc/en/shares_views.png
  65. BIN
      doc/en/system_tray_icon.png
  66. BIN
      doc/en/system_tray_icon_popup_menu.png
  67. 13
    0
      plugin/Makefile.am
  68. 74
    0
      plugin/smb4k_add.desktop
  69. 236
    0
      plugin/smb4k_konqplugin.cpp
  70. 136
    0
      plugin/smb4k_konqplugin.h
  71. 4
    0
      po/Makefile.am
  72. 4040
    0
      po/de.po
  73. 3638
    0
      po/es.po
  74. 3624
    0
      po/it.po
  75. 3850
    0
      po/ja.po
  76. 4140
    0
      po/sv.po
  77. 3722
    0
      po/uk.po
  78. 274
    0
      smb4k.kdevelop
  79. BIN
      smb4k.kdevelop.pcs
  80. 46
    0
      smb4k.kdevses
  81. 14
    0
      smb4k.lsm
  82. 22
    0
      smb4k/Makefile.am
  83. 15
    0
      smb4k/browser/Makefile.am
  84. 211
    0
      smb4k/browser/smb4knetworkbrowser.cpp
  85. 153
    0
      smb4k/browser/smb4knetworkbrowser.h
  86. 1929
    0
      smb4k/browser/smb4knetworkbrowser_part.cpp
  87. 377
    0
      smb4k/browser/smb4knetworkbrowser_part.h
  88. 31
    0
      smb4k/browser/smb4knetworkbrowser_part.rc
  89. 228
    0
      smb4k/browser/smb4knetworkbrowseritem.cpp
  90. 222
    0
      smb4k/browser/smb4knetworkbrowseritem.h
  91. 378
    0
      smb4k/browser/smb4knetworkbrowsertooltip.cpp
  92. 122
    0
      smb4k/browser/smb4knetworkbrowsertooltip.h
  93. 12
    0
      smb4k/configdlg/Makefile.am
  94. 135
    0
      smb4k/configdlg/smb4kauthoptions.cpp
  95. 81
    0
      smb4k/configdlg/smb4kauthoptions.h
  96. 1222
    0
      smb4k/configdlg/smb4kconfigdialog.cpp
  97. 208
    0
      smb4k/configdlg/smb4kconfigdialog.h
  98. 107
    0
      smb4k/configdlg/smb4knetworkoptions.cpp
  99. 63
    0
      smb4k/configdlg/smb4knetworkoptions.h
  100. 0
    0
      smb4k/configdlg/smb4krsyncoptions.cpp

+ 8
- 0
AUTHORS View File

@@ -0,0 +1,8 @@
1
+Developers:
2
+Alexander Reinholdt <dustpuppy@users.berlios.de>
3
+Massimo Callegari <mcallegari@users.berlios.de>
4
+Franck Babin <babinfranck@yahoo.ca> (retired)
5
+
6
+Translators:
7
+The current list of translators can be found at
8
+http://smb4k.berlios.de

+ 10
- 0
BUGS View File

@@ -0,0 +1,10 @@
1
+You are strongly encouraged to commit a bug report to
2
+http://developer.berlios.de/bugs/?group_id=769, if you find a problem. 
3
+Please do not forget to include:
4
+(a) a detailed description of what you did to receive the issue you are 
5
+    reporting
6
+(b) the error message or backtrace.
7
+(c) the version of Smb4K you are using
8
+(d) the operating system and distribution (in case of Linux) you are using
9
+(e) all additional information that might be helpful to reproduce and 
10
+    fix the bug

+ 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.

+ 1191
- 0
ChangeLog
File diff suppressed because it is too large
View File


+ 283
- 0
Doxyfile View File

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

+ 344
- 0
FAQ View File

@@ -0,0 +1,344 @@
1
+Frequently Asked Questions (FAQ)
2
+================================
3
+
4
+(Version: 2005-12-20)
5
+
6
+!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
7
+! This file is deprecated. Please refer to the "Frequently Asked Questions" !
8
+! section of the handbook for the latest version of the FAQ.                !
9
+!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
10
+
11
+
12
+Reporting bugs
13
+--------------
14
+
15
+Q:  I think, I found a bug. Where can I report it?
16
+
17
+A:  There are two possible ways, how to do it. You can either click on the
18
+    menu item Help->Report Bug... and submit your report there, or you go to
19
+    the project's bug tracking site:
20
+    http://developer.berlios.de/bugs/?group_id=769.
21
+
22
+    NOTE:
23
+    - Before reporting a bug, try the latest version of Smb4K. Maybe the bug
24
+      you found has already been fixed.
25
+    - If you are reporting a bug, please include as much information as
26
+      possible. To reproduce your problem, it is mandatory that you tell us
27
+      what you did exactly. Also, it is necessary that you provide the version
28
+      of Smb4K and KDE that you are using and which operating system (Linux,
29
+      FreeBSD, etc.) and distribution (if applicable) is running on your
30
+      computer.
31
+
32
+
33
+Compilation and Installation
34
+----------------------------
35
+
36
+Q:  I have compiled Smb4K from source. After starting it, I can't see the
37
+    toolbar. What went wrong?
38
+
39
+A:  Most likely, you installed Smb4K to the wrong place. To correct this,
40
+    uninstall Smb4K first. Go to the source's root directory and run
41
+
42
+    $ su -c "make uninstall"
43
+
44
+    from the shell.
45
+
46
+    NOTE:
47
+      This will not work, if you ran
48
+
49
+      $ make distclean
50
+
51
+      in the meantime.
52
+
53
+    Now, reconfigure the source by passing the '--prefix=PREFIX' option to
54
+    the configure script:
55
+
56
+    $ ./configure --prefix=`kde-config --prefix`
57
+
58
+    Afterwards, compile and install it:
59
+
60
+    $ make && su -c "make install"
61
+
62
+    Smb4K will be installed to the right path and everything should work fine.
63
+
64
+
65
+Q:  I want to compile Smb4K from source and I want to be able to uninstall it
66
+    easily. Is that possible?
67
+
68
+A:  If you want to be able to uninstall Smb4K easily, you might want to use
69
+    checkinstall. It keeps track of all files installed by the "make install"
70
+    command or equivalent, creates a Slackware, RPM, or Debian package with
71
+    those files, and adds it to the installed packages database, allowing for
72
+    easy package removal or distribution.
73
+
74
+    Configuration, compilation and installation using checkinstall will work
75
+    like this (see also above):
76
+
77
+    $ ./configure --prefix=`kde-config --prefix` && make && su -c "checkinstall"
78
+
79
+
80
+Q:  The configure script fails and tells me, it can't find my Qt
81
+    installation.
82
+
83
+A:  There are two things you should check:
84
+    1. It may be that the Qt header files are not installed. If this is true,
85
+       install them and run the configure script again.
86
+    2. The QTDIR environment variable might not be set properly or at all.
87
+       Check for the following line in your ~/.bashrc file
88
+
89
+       export QTDIR=PREFIX
90
+
91
+       and add it, if it is not present. Replace PREFIX with the prefix of your
92
+       Qt installation. Run
93
+
94
+       $ source ~/.bashrc
95
+
96
+       from the shell. Now, you're set for a second configuration attempt.
97
+
98
+     If the header files are installed and the QTDIR variable is set, but you
99
+     still get the same error, you might want to try to pass the
100
+     '--with-qt-includes=/path/to/header/files' option to the configure script.
101
+
102
+
103
+Q:  The configure script fails and tells me, it can't find my KDE
104
+    installation.
105
+
106
+A:  There are two things you should check:
107
+    1. Probably the KDE header files are not installed. If so, install them and
108
+       run the configure script again.
109
+    2. The KDEDIR environment variable might not be set properly or at all.
110
+       Check for the following line in your ~/.bashrc file
111
+
112
+       export KDEDIR=PREFIX
113
+
114
+       and add it, if it is not present. Replace PREFIX with the prefix of your
115
+       KDE installation. Run
116
+
117
+       $ source ~/.bashrc
118
+
119
+       from the shell. Now, you're set for a new configuration attempt.
120
+
121
+
122
+Browsing
123
+--------
124
+
125
+Q:  When I scan the network, there are several workgroups appearing, that
126
+    are not accessible. What can I do to avoid this behavior?
127
+
128
+A:  This behavior might be caused by Samba's enhancements to cross-subnet browse
129
+    propagation (see smb.conf(5) manual page). You can switch off this feature in
130
+    the smb.conf by adding the following entry to the [global] section:
131
+
132
+    [global]
133
+    ...
134
+    enhanced browsing = no
135
+    ...
136
+
137
+    This option seems to have no effect, if you do not use a WINS server.
138
+
139
+
140
+Q:  When I start Smb4K, there is nothing in the network browser!
141
+
142
+A:  Please follow this list to fix the problem:
143
+    - If your network has a WINS server, add it to the [global] section of
144
+      your smb.conf file and restart Samba (if necessary) and Smb4K.
145
+    - Make sure the SMB ports 137 (TCP+UDP), 138 (UDP), 139 (TCP+UDP), and 445
146
+      (TCP+UDP) are not blocked by a firewall. If you are using SUSE's firewall,
147
+      see below.
148
+    - Try to use a different look-up method. Therefore, change the settings
149
+      under Settings->Configure Smb4K...->Network->Browse List.
150
+
151
+   If there still isn't anything visible in the browser widget, ask for help on
152
+   the Smb4K-general mailing list or file a bug report.
153
+
154
+
155
+Q:  I'm using SUSE Linux with its firewall enabled. As normal user, I cannot
156
+    browse the network neighborhood. The browser window is always empty.
157
+
158
+A:  The solution to this issue is covered by several pages on the net. You may
159
+    want to take a look at:
160
+    - Novell Cool Solutions:
161
+      http://www.novell.com/coolsolutions/feature/11952.html
162
+    - HOWTO at TweakHound:
163
+      http://www.tweakhound.com/linux/samba/page_8.htm
164
+    - SUSE Linux Forums:
165
+      http://forums.suselinuxsupport.de/
166
+
167
+
168
+Q:  If I open a Windows 98 server, there are no shares shown although I know
169
+    that there should be serveral. What's wrong?
170
+
171
+A:  As of version 0.6.0, Smb4K uses the 'net' command to retrieve the list of
172
+    shares from a host. With the default settings, the 'net' command will try
173
+    to guess the protocol that is needed to communicate with the server (RAP or
174
+    RPC). Unfortunately, this does not seems to work well with Windows 98 and
175
+    earlier. To make things work, go to Settings->Configure Smb4K...->Samba->
176
+    net->Protocol and check the RAP button.
177
+
178
+    NOTE:
179
+    This does not apply to versions prior to 0.6.0, because they use the RAP
180
+    protocol based 'smbclient' command to retrieve the browse list. Smb4K
181
+    0.7.0 and above will automatically rescan the target server with the RAP
182
+    protocol if the first attempt failed.
183
+
184
+
185
+Mounting/Unmounting of shares
186
+-----------------------------
187
+
188
+Q:  Mounting a share fails and I get the following error message:
189
+
190
+    smbmnt must be installed suid root for direct user mounts (500,500)
191
+    smbmnt failed: 1
192
+
193
+    What does that mean?
194
+
195
+A:  It means, that you do not have enough permissions to mount SMB shares.
196
+    There are two things you can do:
197
+    1. Set the SUID root bit for smbmnt. Therefore you have to find out,
198
+       where the binary is located. Try
199
+
200
+       $ ls -la `which smbmnt`
201
+
202
+       in the shell. If this is a symlink, follow it to find the binary.
203
+       Change into the directory, where smbmnt resides and run
204
+
205
+       $ chmod +s smbmnt
206
+
207
+       Now the mounting should work.
208
+
209
+       WARNING:
210
+       Do not set the SUID root bit for smbmount! If you do, mounting will
211
+       too fail with the following error message:
212
+
213
+       libsmb based programs must *NOT* be setuid root.
214
+       6002: Connection to dustpuppy failed
215
+       SMB connection failed
216
+
217
+    2. You can execute mount and umount SUID using the program super (since
218
+       Smb4K 0.4.0) or sudo (since Smb4K 0.5.0). To enable this feature, you
219
+       have to go to Settings->Configure Smb4K...->Super User and adjust the
220
+       settings.
221
+
222
+
223
+Q:  If I want to unmount a share, I get the following message:
224
+
225
+    smbumount must be installed suid root
226
+
227
+    What do I have to do?
228
+
229
+A:  You have similar options as above. Either you set the SUID root bit for
230
+    smbumount or you enable the feature "Use super user privileges to mount and
231
+    unmount shares" under Settings->Configure Smb4K...->Super User->Actions.
232
+    For details see above.
233
+
234
+
235
+Q:  I'm using the CIFS file system for mounting and I've set the UID/GID in
236
+    the configuration dialog, but Smb4K does not seem to care about that at
237
+    all!
238
+
239
+A:  This is a Samba feature. If the target server supports the CIFS Unix
240
+    extentions, the uid and gid option will be ignored. For more information
241
+    see the mount.cifs(8) manual page.
242
+
243
+
244
+Q:  When I try to mount a share from a Windows 2003 server, I get the following
245
+    error message
246
+
247
+    cli_negprot: SMB signing is mandatory and we have disabled it.
248
+    4377: protocol negotiation failed
249
+    SMB connection failed
250
+
251
+    and the mounting fails. What's wrong?
252
+
253
+A:  You are using the SMBFS file system that does not support signing. You
254
+    have to switch to the CIFS file system in order to be able to mount the
255
+    share. Go to Settings->Configure Smb4K...->Samba->File System and choose
256
+    CIFS instead of SMBFS.
257
+
258
+    NOTE:
259
+    Smb4K will use the mount.cifs binary to mount CIFS shares. That's why
260
+    you should also enable the "Use super user privileges to mount and unmount
261
+    shares" option under Settings->Configure Smb4K...->Super User->Actions.
262
+
263
+
264
+Q:  Smb4K fails unmounting a share. The error message is:
265
+
266
+    Could not unmount /mount/point: Device or resource busy
267
+
268
+    How can I make unmounting work?
269
+
270
+A:  First of all, check that you haven't opened the mount point or one of its
271
+    subdirectories in a shell or with a file manager. Also, make sure you
272
+    haven't opened any file belonging to the share. If neither is the case,
273
+    you might have encountered a problem, that is known but not related to
274
+    Smb4K. It seems, that under certain circumstances (that we could not
275
+    figure out exactly) kdeinit (KDE < 3.4) background processes access files
276
+    and/or directories of the share and keep them open. Unmounting is not
277
+    possible unless you send
278
+
279
+    $ kill -HUP <PID>
280
+
281
+    to each kdeinit instance that has access to the share or its files.
282
+
283
+    Alternatively, you can force the unmounting of the share. Highlight the
284
+    share and use the Shares->Force Unmounting menu item or press Ctrl+F.
285
+
286
+
287
+Q:  I'm using sudo and the CIFS file system. Everytime I want to mount a share
288
+    (from a Windows 2003 server), I get the following error:
289
+
290
+    mount error 13 = Permission denied
291
+    Refer to the mount.cifs(8) manual page (e.g.man mount.cifs)
292
+
293
+    What can I do to make mounting work?
294
+
295
+A:  It is very possible, that the 'env_reset' flag has been set in the
296
+    /etc/sudoers file (It's the default in Gentoo for example.), which
297
+    resets the environment to only contain a limited number of environment
298
+    variables. Especially, the PASSWD variable is removed which is needed by
299
+    Smb4K.
300
+
301
+    To make mounting work, there are three things you should try alternatively:
302
+    - Insert manually the following line after the line beginning with
303
+      "User_Alias SMB4KUSERS":
304
+      Defaults:SMB4KUSERS env_keep=PASSWD
305
+      This should be the preferred method on a multi-user system.
306
+    - Remove the Smb4K user entries from /etc/sudoers manually or using
307
+      Smb4K and rewrite them (Smb4K >= 0.6.4).
308
+    - Comment out the 'env_reset' variable (not recommended).
309
+
310
+    If you are still not able to mount a share, please file a bug report.
311
+
312
+
313
+Miscellaneous
314
+-------------
315
+
316
+Q:  I'm using Smb4K 0.4.x. After starting it, I cannot see the main window.
317
+    Is this a bug?
318
+
319
+A:  No. This is a special behavior of the 0.4.x series, which was changed in
320
+    later releases. Smb4K 0.4.x immediately docks to the system tray. You'll
321
+    find an icon there with which you can bring up the main window. Restoring
322
+    the visible main window after logging in will not work.
323
+
324
+
325
+Q:  I want to use super to mount and unmount the shares. When I try to enable
326
+    either "Use super user privileges to force the unmounting of (broken)
327
+    shares" or "Use super user privileges to mount and unmount shares", Smb4K
328
+    complains that it cannot find the super.tab file. What do I have to do?
329
+
330
+A:  Create the super.tab file in the appropriate etc directory. Therefore
331
+    change into it (most likely /etc (Linux) or /usr/local/etc (FreeBSD)) and
332
+    run
333
+
334
+    $ touch super.tab && chmod 0644 super.tab
335
+
336
+    as root. Smb4K will take care of the rest.
337
+
338
+
339
+Q:  After installing Smb4K, I wanted to take advantage of the Konqueror
340
+    plugin but I couldn't find it. What do I have to do?
341
+
342
+A:  Right-click on the frame of Konqueror's navigation widget and choose
343
+    Add New->Samba Browser from the menu. The Konqueror plugin will be
344
+    added.

+ 167
- 0
INSTALL View File

@@ -0,0 +1,167 @@
1
+Basic Installation
2
+==================
3
+
4
+   These are generic installation instructions.
5
+
6
+   The `configure' shell script attempts to guess correct values for
7
+various system-dependent variables used during compilation.  It uses
8
+those values to create a `Makefile' in each directory of the package.
9
+It may also create one or more `.h' files containing system-dependent
10
+definitions.  Finally, it creates a shell script `config.status' that
11
+you can run in the future to recreate the current configuration, a file
12
+`config.cache' that saves the results of its tests to speed up
13
+reconfiguring, and a file `config.log' containing compiler output
14
+(useful mainly for debugging `configure').
15
+
16
+   If you need to do unusual things to compile the package, please try
17
+to figure out how `configure' could check whether to do them, and mail
18
+diffs or instructions to the address given in the `README' so they can
19
+be considered for the next release.  If at some point `config.cache'
20
+contains results you don't want to keep, you may remove or edit it.
21
+
22
+   The file `configure.in' is used to create `configure' by a program
23
+called `autoconf'.  You only need `configure.in' if you want to change
24
+it or regenerate `configure' using a newer version of `autoconf'.
25
+
26
+The simplest way to compile this package is:
27
+
28
+  1. `cd' to the directory containing the package's source code and type
29
+     `./configure' to configure the package for your system.  If you're
30
+     using `csh' on an old version of System V, you might need to type
31
+     `sh ./configure' instead to prevent `csh' from trying to execute
32
+     `configure' itself.
33
+
34
+     Running `configure' takes a while.  While running, it prints some
35
+     messages telling which features it is checking for.
36
+
37
+  2. Type `make' to compile the package.
38
+
39
+  3. Type `make install' to install the programs and any data files and
40
+     documentation.
41
+
42
+  4. You can remove the program binaries and object files from the
43
+     source code directory by typing `make clean'.  
44
+
45
+Compilers and Options
46
+=====================
47
+
48
+   Some systems require unusual options for compilation or linking that
49
+the `configure' script does not know about.  You can give `configure'
50
+initial values for variables by setting them in the environment.  Using
51
+a Bourne-compatible shell, you can do that on the command line like
52
+this:
53
+     CC=c89 CFLAGS=-O2 LIBS=-lposix ./configure
54
+
55
+Or on systems that have the `env' program, you can do it like this:
56
+     env CPPFLAGS=-I/usr/local/include LDFLAGS=-s ./configure
57
+
58
+Compiling For Multiple Architectures
59
+====================================
60
+
61
+   You can compile the package for more than one kind of computer at the
62
+same time, by placing the object files for each architecture in their
63
+own directory.  To do this, you must use a version of `make' that
64
+supports the `VPATH' variable, such as GNU `make'.  `cd' to the
65
+directory where you want the object files and executables to go and run
66
+the `configure' script.  `configure' automatically checks for the
67
+source code in the directory that `configure' is in and in `..'.
68
+
69
+   If you have to use a `make' that does not supports the `VPATH'
70
+variable, you have to compile the package for one architecture at a time
71
+in the source code directory.  After you have installed the package for
72
+one architecture, use `make distclean' before reconfiguring for another
73
+architecture.
74
+
75
+Installation Names
76
+==================
77
+
78
+   By default, `make install' will install the package's files in
79
+`/usr/local/bin', `/usr/local/man', etc.  You can specify an
80
+installation prefix other than `/usr/local' by giving `configure' the
81
+option `--prefix=PATH'.
82
+
83
+   You can specify separate installation prefixes for
84
+architecture-specific files and architecture-independent files.  If you
85
+give `configure' the option `--exec-prefix=PATH', the package will use
86
+PATH as the prefix for installing programs and libraries.
87
+Documentation and other data files will still use the regular prefix.
88
+
89
+   If the package supports it, you can cause programs to be installed
90
+with an extra prefix or suffix on their names by giving `configure' the
91
+option `--program-prefix=PREFIX' or `--program-suffix=SUFFIX'.
92
+
93
+Optional Features
94
+=================
95
+
96
+   Some packages pay attention to `--enable-FEATURE' options to
97
+`configure', where FEATURE indicates an optional part of the package.
98
+They may also pay attention to `--with-PACKAGE' options, where PACKAGE
99
+is something like `gnu-as' or `x' (for the X Window System).  The
100
+`README' should mention any `--enable-' and `--with-' options that the
101
+package recognizes.
102
+
103
+   For packages that use the X Window System, `configure' can usually
104
+find the X include and library files automatically, but if it doesn't,
105
+you can use the `configure' options `--x-includes=DIR' and
106
+`--x-libraries=DIR' to specify their locations.
107
+
108
+Specifying the System Type
109
+==========================
110
+
111
+   There may be some features `configure' can not figure out
112
+automatically, but needs to determine by the type of host the package
113
+will run on.  Usually `configure' can figure that out, but if it prints
114
+a message saying it can not guess the host type, give it the
115
+`--host=TYPE' option.  TYPE can either be a short name for the system
116
+type, such as `sun4', or a canonical name with three fields:
117
+     CPU-COMPANY-SYSTEM
118
+
119
+See the file `config.sub' for the possible values of each field.  If
120
+`config.sub' isn't included in this package, then this package doesn't
121
+need to know the host type.
122
+
123
+   If you are building compiler tools for cross-compiling, you can also
124
+use the `--target=TYPE' option to select the type of system they will
125
+produce code for and the `--build=TYPE' option to select the type of
126
+system on which you are compiling the package.
127
+
128
+Sharing Defaults
129
+================
130
+
131
+   If you want to set default values for `configure' scripts to share,
132
+you can create a site shell script called `config.site' that gives
133
+default values for variables like `CC', `cache_file', and `prefix'.
134
+`configure' looks for `PREFIX/share/config.site' if it exists, then
135
+`PREFIX/etc/config.site' if it exists.  Or, you can set the
136
+`CONFIG_SITE' environment variable to the location of the site script.
137
+A warning: not all `configure' scripts look for a site script.
138
+
139
+Operation Controls
140
+==================
141
+
142
+   `configure' recognizes the following options to control how it
143
+operates.
144
+
145
+`--cache-file=FILE'
146
+     Use and save the results of the tests in FILE instead of
147
+     `./config.cache'.  Set FILE to `/dev/null' to disable caching, for
148
+     debugging `configure'.
149
+
150
+`--help'
151
+     Print a summary of the options to `configure', and exit.
152
+
153
+`--quiet'
154
+`--silent'
155
+`-q'
156
+     Do not print messages saying which checks are being made.
157
+
158
+`--srcdir=DIR'
159
+     Look for the package's source code in directory DIR.  Usually
160
+     `configure' can determine that directory automatically.
161
+
162
+`--version'
163
+     Print the version of Autoconf used to generate the `configure'
164
+     script, and exit.
165
+
166
+`configure' also accepts some other, not widely useful, options.
167
+

+ 21
- 0
Makefile.am View File

@@ -0,0 +1,21 @@
1
+if compile_konqplugin
2
+  PLUGINDIR=plugin
3
+endif
4
+
5
+EXTRA_DIST = admin AUTHORS COPYING ChangeLog INSTALL README TODO smb4k.lsm BUGS FAQ
6
+
7
+AUTOMAKE_OPTIONS = foreign 1.5
8
+
9
+MAINTAINERCLEANFILES = subdirs configure.in acinclude.m4 configure.files 
10
+
11
+package-messages:
12
+	$(MAKE) -f admin/Makefile.common package-messages
13
+	$(MAKE) -C po merge
14
+
15
+#include admin/deps.am
16
+
17
+SUBDIRS = smb4k $(PLUGINDIR) utilities po doc
18
+
19
+messages: rc.cpp
20
+	$(EXTRACTRC) `find . -name \*.ui -o -name \*.rc` > rc.cpp
21
+	$(XGETTEXT) `find . -name \*.cpp` -o $(podir)/smb4k.pot

+ 14
- 0
Makefile.cvs View File

@@ -0,0 +1,14 @@
1
+all: 
2
+	@echo "This Makefile is only for the CVS repository"
3
+	@echo "This will be deleted before making the distribution"
4
+	@echo ""
5
+	@if test ! -d admin; then \
6
+	   echo "Please recheckout this module!" ;\
7
+	   echo "for cvs: use checkout once and after that update again" ;\
8
+	   echo "for cvsup: checkout kde-common from cvsup and" ;\
9
+	   echo "   link kde-common/admin to ./admin" ;\
10
+	   exit 1 ;\
11
+	fi
12
+	$(MAKE) -f admin/Makefile.common cvs
13
+
14
+.SILENT:

+ 168
- 0
README View File

@@ -0,0 +1,168 @@
1
+Smb4K README (version 0.9.x)
2
+============================
3
+
4
+Smb4K is an SMB/CIFS share browser for KDE. It uses the Samba software suite to
5
+access the SMB/CIFS shares of the local network neighborhood. Its purpose is to
6
+provide a program that's easy to use and has as many features as possible.
7
+
8
+Features:
9
+---------
10
+- Scanning for (active) workgroups, hosts, and shares
11
+- Mounting and unmounting of SMB/CIFS shares, including unmounting all shares
12
+  at once
13
+- Access to the files of a mounted SMB/CIFS share using Konqueror
14
+- Auto-detection of external mounts/unmounts
15
+- Mounting of recently used shares on start-up
16
+- Miscellaneous infos about the SMB/CIFS shares
17
+- Network search
18
+- WINS server support
19
+- Preview of SMB/CIFS shares
20
+- Selectable look-up and search methods
21
+- Default login
22
+- Ability to execute mount and umount SUID root
23
+- Special handling of homes shares
24
+- Ability to bookmark favorite shares
25
+- System tray icon
26
+- Support of advanced Samba options
27
+- Support of printer shares
28
+- Konqueror plugin
29
+- KWallet support
30
+- Synchronization of a remote share with a local copy and vice versa
31
+- Ability to define custom options for individual servers and shares
32
+
33
+Translations:
34
+-------------
35
+For the list of currently supported translations please visit Smb4K's home page
36
+at http://smb4k.berlios.de/information.html.
37
+
38
+Supported operating systems:
39
+----------------------------
40
+Smb4K officially supports Linux (kernel >= 2.2.x) and since version 0.4.1 also
41
+FreeBSD (>= 4.10-RELEASE). Smb4K might also run on other operating system (e.g.
42
+Solaris).
43
+
44
+Requirements:
45
+-------------
46
+This version of Smb4K depends on the development files of the following
47
+libraries:
48
+- KDE Libs & Base (>= 3.3.0): The powerful Open Source graphical desktop
49
+  environment for Unix workstations [http://www.kde.org]
50
+- Qt (>= 3.3.0): A multiplatform C++ application development framework.
51
+  [http://www.trolltech.no]
52
+- X.org or XFree86 - Freely redistributable implementations of the X Window
53
+  System [http://www.x.org or http://www.xfree86.org]
54
+- An implementation of the C library
55
+
56
+Make sure that you also have installed all header files of the libraries Qt
57
+and KDE are depending on. Recent versions of automake and autoconf are also
58
+needed.
59
+
60
+For a proper operation, you implicitly need:
61
+- Support of the /proc filesystem compiled into your kernel if you are using
62
+  Linux
63
+- A sh-compatible shell (bash, dash, ash, etc.) with an existing link /bin/sh
64
+  or the sh shell itself.
65
+- Samba (3.x) - Tools to access to a server's filespace and printers via
66
+  SMB [http://www.samba.org]
67
+- grep - GNU grep [http://www.gnu.org/directory/grep.html]
68
+- GNU awk (GAWK) or similar - A pattern scanning and processing language.
69
+  [http://www.gnu.org/directory/gawk.html]
70
+- sed - The GNU stream editor  [http://www.gnu.org/directory/sed.html]
71
+- findutils (xargs) - The GNU Find Utilities are the basic directory searching
72
+  utilities of the GNU operating system
73
+  [http://www.gnu.org/directory/findutils.html]
74
+- util-linux (mount, umount) - Miscellaneous system utilities
75
+  [ftp://ftp.kernel.org/pub/linux/utils/util-linux]
76
+
77
+To enable full functionality, you may also want to install these packages:
78
+- super or sudo - Programs to allow general users to do superuser things
79
+  [ftp://ftp.ucolick.org/pub/users/will/ or http://www.sudo.ws/sudo/]
80
+- teTeX or similar (dvips) - A TeX distribution for Unix
81
+  [http://tug.org/teTeX/]
82
+- GNU enscript - A tool to convert ASCII files to PostScript
83
+  [http://people.ssh.fi/mtr/genscript/]
84
+- rsync - A file transfer program to keep (remote) files in sync
85
+  [http://rsync.samba.org/]
86
+
87
+Compilation and Installation
88
+----------------------------
89
+(a) Full installation:
90
+
91
+1. Change into the root directory of the source code:
92
+     $ cd smb4k-x.x.x
93
+   (Replace x.x.x with the version number)
94
+2. Configure the source code with at least the following command
95
+     $ ./configure --prefix=`kde-config --prefix`
96
+   Several more options can be added. Run
97
+     $ ./configure --help
98
+   to find out which ones are available.
99
+3. Compile the source code:
100
+     $ make
101
+4. Install the application. For that, become root
102
+     $ su
103
+   and run
104
+     $ make install
105
+   in the root directory of the source code. If you want to be able to
106
+   remove Smb4K with your package manager, install the 'checkinstall'
107
+   package and run
108
+     $ checkinstall
109
+   instead.
110
+
111
+(b) Installation without Konqueror plugin:
112
+
113
+Those of you, who do not use KDE or who do not wish to install the Konqueror
114
+plugin, should run this configure command
115
+  $ ./configure --prefix=`kde-config --prefix` --without-konqplugin
116
+instead of the one mentioned above and else proceed as described.
117
+
118
+Additional information about compiling and installing the software is available
119
+in the INSTALL file.
120
+
121
+Debugging the Source Code
122
+-------------------------
123
+If you experience crashes or similar and want to debug the source code yourself,
124
+compile the source code with debugging symbols. The procedure is similar to the
125
+one described in the "Compilation and Installation" section above except that
126
+you need to modify the configure command slightly:
127
+  $ ./configure --prefix=`kde-config --prefix` --enable-debug=full
128
+Now compile and install the program as stated above. If you do not want to
129
+install but only debug the newly compiled program, you may execute Smb4K from
130
+within the source code directory. Change into the 'smb4k' subdirectory and run:
131
+  $ ./smb4k --nofork
132
+If you found the cause for a bug, please let us know. A backtrace or a patch
133
+will be much appreciated.
134
+
135
+Help and Support
136
+----------------
137
+If you encounter problems when using Smb4K and need help or support, please
138
+read the 'Trouble Shooting' section of the handbook first. You can access the
139
+handbook from the 'Help' menu by selecting the 'Smb4K Handbook' entry or by
140
+pressing the F1 key. An online version handbook is also available at 
141
+http://smb4k.berlios.de/handbook/index.html. Most of the common problems that
142
+arise when working with Smb4K are already covered there. If that's not the
143
+case, we recommend that you contact the Smb4K-general mailing list at 
144
+https://lists.berlios.de/mailman/listinfo/smb4k-general to get help. Some of
145
+the developers and many users are subscribed and can help.
146
+
147
+Bugs
148
+----
149
+You are strongly encouraged to send a bug report to
150
+http://developer.berlios.de/bugs/?group_id=769, if you find a problem. Please
151
+do not forget to include information about the version of Smb4K and the
152
+operating system you are using (Linux or FreeBSD). It might also help if you
153
+mention the distribution you have installed (Linux).
154
+If you experienced a crash, we would appreciate if you sent us the backtrace,
155
+i.e. the output provided by KDE's crash dialog. Please see the section "Debug-
156
+ging the Source Code" for a description how to make sure useful debugging output
157
+is returned.
158
+
159
+Copyright
160
+---------
161
+Smb4K is released under the terms of the GNU General Public License (GPL),
162
+version 2. A copy of the license is available in the file COPYING.
163
+
164
+Latest Version
165
+--------------
166
+The latest stable version of Smb4K is always available from the Smb4K home page
167
+at http://smb4k.berlios.de.
168
+

+ 65
- 0
TODO View File

@@ -0,0 +1,65 @@
1
+TODO list:
2
+
3
+for 0.10.x:
4
+- Make Smb4K a KDE4 program.
5
+- Move to cmake.
6
+- Use KConfigSkeletonItem::label() in the config dialog instead of the strings
7
+  present at the moment.
8
+- Replace getenv( "USER" ) cuserid(). Use something like the following code
9
+  snippet:
10
+
11
+     char cu[L_cuserid];
12
+     user = QString::fromLocal8Bit( cuserid( cu ), -1 );
13
+
14
+     or
15
+
16
+     user = QString::fromLocal8Bit( cuserid( NULL ), -1 ); // returning static pointer
17
+
18
+- Move smb4k/core subdirectory to the root directory of the source.
19
+- Rename libsmb4kcore to libsmb4k?
20
+- Make authentication entries accessible and editable through the configuration
21
+  dialog.
22
+- Revise how Smb4K handles authentication data.
23
+- Improve search? We want to be able to find *shares* (use smbtree). Maybe we
24
+  could also implement mounting.
25
+- Move the GPL v3?
26
+- If "default" options have been defined for Samba commands, they should not
27
+  appear in the command.
28
+- Don't save information about foreign shares and about shares that only
29
+  use default values in ~/.kde/share/apps/smb4k/custom_options file.
30
+- Rewrite Smb4KSambaOptionsHandler::netOptions().
31
+- Allow more than one file manager.
32
+- Implement scripting functionality (D-BUS/DCOP(?)).
33
+- Add command line options (--no-tray-widget, --minimal, etc.)
34
+- Move Smb4KWorkgroupItem, Smb4KHostItem, and Smb4KShareItem into own files.
35
+  Maybe rename them.
36
+- Merge Smb4KShare and Smb4KShareItem. Add IP address and host.
37
+- Save IP address with the information that's needed to remount a share.
38
+- Use plain system functions to read /proc/mounts. This hopefully will lead
39
+  to lower CPU usage.
40
+- Add the ability to define the file system for all shares of a server through
41
+  the "Custom Options" dialog.
42
+- Open with different file managers: dolphin, thunar (XFCE), nautilus (GNOME),
43
+  ...
44
+
45
+Deferred:
46
+- Introduce a smb4k:/ kio slave?
47
+- Support SELinux.
48
+- Make it configurable if the workgroup master browser should be queried
49
+  to retrieve the comment etc. for a host or not when using the IP scan
50
+  method.
51
+- Smb4KMounter:
52
+  + The functions of the mounter should only take Smb4KShare objects where
53
+    possible.
54
+  + Smb4KMounter::mountShare() should take an Smb4KShareItem object (we have
55
+    to add Smb4KShareItem::m_ip, etc., for that).
56
+- Remove SMBFS support as soon as it is removed from the kernel.
57
+- Add possibility to download files and directories from the preview dialog.
58
+- Add support for multiple port declarations in smb.conf (How?).
59
+- Add eyecandy: If the mouse is over an icon, show it as active. Use KDE
60
+  settings (KControl).
61
+- Use setGrid[XY]() in Smb4KShareWidget to dynamically adjust the item size
62
+  in list mode.
63
+- Implement more 'net' commands. Especially the 'rpc shutdown' command seems
64
+  to be very nice.
65
+- Allow multiple sync instances (remove synchronizer from Smb4KCore?).

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


+ 881
- 0
aclocal.m4 View File

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