Codebase list virt-viewer / upstream/0.0.2
Imported upstream version 0.0.2 Guido Guenther 16 years ago
24 changed file(s) with 10237 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
0 Virt Viewer Authors
1 ===================
2
3 The Virt Viewer application is written by
4
5 Daniel P. Berrange <berrange@redhat.com>
6
7 With additional patches from:
8
9 ...send patches to get your name here...
10
11 -- End
0 GNU GENERAL PUBLIC LICENSE
1 Version 2, June 1991
2
3 Copyright (C) 1989, 1991 Free Software Foundation, Inc.
4 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
5 Everyone is permitted to copy and distribute verbatim copies
6 of this license document, but changing it is not allowed.
7
8 Preamble
9
10 The licenses for most software are designed to take away your
11 freedom to share and change it. By contrast, the GNU General Public
12 License is intended to guarantee your freedom to share and change free
13 software--to make sure the software is free for all its users. This
14 General Public License applies to most of the Free Software
15 Foundation's software and to any other program whose authors commit to
16 using it. (Some other Free Software Foundation software is covered by
17 the GNU Library General Public License instead.) You can apply it to
18 your programs, too.
19
20 When we speak of free software, we are referring to freedom, not
21 price. Our General Public Licenses are designed to make sure that you
22 have the freedom to distribute copies of free software (and charge for
23 this service if you wish), that you receive source code or can get it
24 if you want it, that you can change the software or use pieces of it
25 in new free programs; and that you know you can do these things.
26
27 To protect your rights, we need to make restrictions that forbid
28 anyone to deny you these rights or to ask you to surrender the rights.
29 These restrictions translate to certain responsibilities for you if you
30 distribute copies of the software, or if you modify it.
31
32 For example, if you distribute copies of such a program, whether
33 gratis or for a fee, you must give the recipients all the rights that
34 you have. You must make sure that they, too, receive or can get the
35 source code. And you must show them these terms so they know their
36 rights.
37
38 We protect your rights with two steps: (1) copyright the software, and
39 (2) offer you this license which gives you legal permission to copy,
40 distribute and/or modify the software.
41
42 Also, for each author's protection and ours, we want to make certain
43 that everyone understands that there is no warranty for this free
44 software. If the software is modified by someone else and passed on, we
45 want its recipients to know that what they have is not the original, so
46 that any problems introduced by others will not reflect on the original
47 authors' reputations.
48
49 Finally, any free program is threatened constantly by software
50 patents. We wish to avoid the danger that redistributors of a free
51 program will individually obtain patent licenses, in effect making the
52 program proprietary. To prevent this, we have made it clear that any
53 patent must be licensed for everyone's free use or not licensed at all.
54
55 The precise terms and conditions for copying, distribution and
56 modification follow.
57
58 GNU GENERAL PUBLIC LICENSE
59 TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
60
61 0. This License applies to any program or other work which contains
62 a notice placed by the copyright holder saying it may be distributed
63 under the terms of this General Public License. The "Program", below,
64 refers to any such program or work, and a "work based on the Program"
65 means either the Program or any derivative work under copyright law:
66 that is to say, a work containing the Program or a portion of it,
67 either verbatim or with modifications and/or translated into another
68 language. (Hereinafter, translation is included without limitation in
69 the term "modification".) Each licensee is addressed as "you".
70
71 Activities other than copying, distribution and modification are not
72 covered by this License; they are outside its scope. The act of
73 running the Program is not restricted, and the output from the Program
74 is covered only if its contents constitute a work based on the
75 Program (independent of having been made by running the Program).
76 Whether that is true depends on what the Program does.
77
78 1. You may copy and distribute verbatim copies of the Program's
79 source code as you receive it, in any medium, provided that you
80 conspicuously and appropriately publish on each copy an appropriate
81 copyright notice and disclaimer of warranty; keep intact all the
82 notices that refer to this License and to the absence of any warranty;
83 and give any other recipients of the Program a copy of this License
84 along with the Program.
85
86 You may charge a fee for the physical act of transferring a copy, and
87 you may at your option offer warranty protection in exchange for a fee.
88
89 2. You may modify your copy or copies of the Program or any portion
90 of it, thus forming a work based on the Program, and copy and
91 distribute such modifications or work under the terms of Section 1
92 above, provided that you also meet all of these conditions:
93
94 a) You must cause the modified files to carry prominent notices
95 stating that you changed the files and the date of any change.
96
97 b) You must cause any work that you distribute or publish, that in
98 whole or in part contains or is derived from the Program or any
99 part thereof, to be licensed as a whole at no charge to all third
100 parties under the terms of this License.
101
102 c) If the modified program normally reads commands interactively
103 when run, you must cause it, when started running for such
104 interactive use in the most ordinary way, to print or display an
105 announcement including an appropriate copyright notice and a
106 notice that there is no warranty (or else, saying that you provide
107 a warranty) and that users may redistribute the program under
108 these conditions, and telling the user how to view a copy of this
109 License. (Exception: if the Program itself is interactive but
110 does not normally print such an announcement, your work based on
111 the Program is not required to print an announcement.)
112
113 These requirements apply to the modified work as a whole. If
114 identifiable sections of that work are not derived from the Program,
115 and can be reasonably considered independent and separate works in
116 themselves, then this License, and its terms, do not apply to those
117 sections when you distribute them as separate works. But when you
118 distribute the same sections as part of a whole which is a work based
119 on the Program, the distribution of the whole must be on the terms of
120 this License, whose permissions for other licensees extend to the
121 entire whole, and thus to each and every part regardless of who wrote it.
122
123 Thus, it is not the intent of this section to claim rights or contest
124 your rights to work written entirely by you; rather, the intent is to
125 exercise the right to control the distribution of derivative or
126 collective works based on the Program.
127
128 In addition, mere aggregation of another work not based on the Program
129 with the Program (or with a work based on the Program) on a volume of
130 a storage or distribution medium does not bring the other work under
131 the scope of this License.
132
133 3. You may copy and distribute the Program (or a work based on it,
134 under Section 2) in object code or executable form under the terms of
135 Sections 1 and 2 above provided that you also do one of the following:
136
137 a) Accompany it with the complete corresponding machine-readable
138 source code, which must be distributed under the terms of Sections
139 1 and 2 above on a medium customarily used for software interchange; or,
140
141 b) Accompany it with a written offer, valid for at least three
142 years, to give any third party, for a charge no more than your
143 cost of physically performing source distribution, a complete
144 machine-readable copy of the corresponding source code, to be
145 distributed under the terms of Sections 1 and 2 above on a medium
146 customarily used for software interchange; or,
147
148 c) Accompany it with the information you received as to the offer
149 to distribute corresponding source code. (This alternative is
150 allowed only for noncommercial distribution and only if you
151 received the program in object code or executable form with such
152 an offer, in accord with Subsection b above.)
153
154 The source code for a work means the preferred form of the work for
155 making modifications to it. For an executable work, complete source
156 code means all the source code for all modules it contains, plus any
157 associated interface definition files, plus the scripts used to
158 control compilation and installation of the executable. However, as a
159 special exception, the source code distributed need not include
160 anything that is normally distributed (in either source or binary
161 form) with the major components (compiler, kernel, and so on) of the
162 operating system on which the executable runs, unless that component
163 itself accompanies the executable.
164
165 If distribution of executable or object code is made by offering
166 access to copy from a designated place, then offering equivalent
167 access to copy the source code from the same place counts as
168 distribution of the source code, even though third parties are not
169 compelled to copy the source along with the object code.
170
171 4. You may not copy, modify, sublicense, or distribute the Program
172 except as expressly provided under this License. Any attempt
173 otherwise to copy, modify, sublicense or distribute the Program is
174 void, and will automatically terminate your rights under this License.
175 However, parties who have received copies, or rights, from you under
176 this License will not have their licenses terminated so long as such
177 parties remain in full compliance.
178
179 5. You are not required to accept this License, since you have not
180 signed it. However, nothing else grants you permission to modify or
181 distribute the Program or its derivative works. These actions are
182 prohibited by law if you do not accept this License. Therefore, by
183 modifying or distributing the Program (or any work based on the
184 Program), you indicate your acceptance of this License to do so, and
185 all its terms and conditions for copying, distributing or modifying
186 the Program or works based on it.
187
188 6. Each time you redistribute the Program (or any work based on the
189 Program), the recipient automatically receives a license from the
190 original licensor to copy, distribute or modify the Program subject to
191 these terms and conditions. You may not impose any further
192 restrictions on the recipients' exercise of the rights granted herein.
193 You are not responsible for enforcing compliance by third parties to
194 this License.
195
196 7. If, as a consequence of a court judgment or allegation of patent
197 infringement or for any other reason (not limited to patent issues),
198 conditions are imposed on you (whether by court order, agreement or
199 otherwise) that contradict the conditions of this License, they do not
200 excuse you from the conditions of this License. If you cannot
201 distribute so as to satisfy simultaneously your obligations under this
202 License and any other pertinent obligations, then as a consequence you
203 may not distribute the Program at all. For example, if a patent
204 license would not permit royalty-free redistribution of the Program by
205 all those who receive copies directly or indirectly through you, then
206 the only way you could satisfy both it and this License would be to
207 refrain entirely from distribution of the Program.
208
209 If any portion of this section is held invalid or unenforceable under
210 any particular circumstance, the balance of the section is intended to
211 apply and the section as a whole is intended to apply in other
212 circumstances.
213
214 It is not the purpose of this section to induce you to infringe any
215 patents or other property right claims or to contest validity of any
216 such claims; this section has the sole purpose of protecting the
217 integrity of the free software distribution system, which is
218 implemented by public license practices. Many people have made
219 generous contributions to the wide range of software distributed
220 through that system in reliance on consistent application of that
221 system; it is up to the author/donor to decide if he or she is willing
222 to distribute software through any other system and a licensee cannot
223 impose that choice.
224
225 This section is intended to make thoroughly clear what is believed to
226 be a consequence of the rest of this License.
227
228 8. If the distribution and/or use of the Program is restricted in
229 certain countries either by patents or by copyrighted interfaces, the
230 original copyright holder who places the Program under this License
231 may add an explicit geographical distribution limitation excluding
232 those countries, so that distribution is permitted only in or among
233 countries not thus excluded. In such case, this License incorporates
234 the limitation as if written in the body of this License.
235
236 9. The Free Software Foundation may publish revised and/or new versions
237 of the General Public License from time to time. Such new versions will
238 be similar in spirit to the present version, but may differ in detail to
239 address new problems or concerns.
240
241 Each version is given a distinguishing version number. If the Program
242 specifies a version number of this License which applies to it and "any
243 later version", you have the option of following the terms and conditions
244 either of that version or of any later version published by the Free
245 Software Foundation. If the Program does not specify a version number of
246 this License, you may choose any version ever published by the Free Software
247 Foundation.
248
249 10. If you wish to incorporate parts of the Program into other free
250 programs whose distribution conditions are different, write to the author
251 to ask for permission. For software which is copyrighted by the Free
252 Software Foundation, write to the Free Software Foundation; we sometimes
253 make exceptions for this. Our decision will be guided by the two goals
254 of preserving the free status of all derivatives of our free software and
255 of promoting the sharing and reuse of software generally.
256
257 NO WARRANTY
258
259 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
260 FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
261 OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
262 PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
263 OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
264 MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
265 TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
266 PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
267 REPAIR OR CORRECTION.
268
269 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
270 WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
271 REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
272 INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
273 OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
274 TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
275 YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
276 PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
277 POSSIBILITY OF SUCH DAMAGES.
278
279 END OF TERMS AND CONDITIONS
280
281 How to Apply These Terms to Your New Programs
282
283 If you develop a new program, and you want it to be of the greatest
284 possible use to the public, the best way to achieve this is to make it
285 free software which everyone can redistribute and change under these terms.
286
287 To do so, attach the following notices to the program. It is safest
288 to attach them to the start of each source file to most effectively
289 convey the exclusion of warranty; and each file should have at least
290 the "copyright" line and a pointer to where the full notice is found.
291
292 <one line to give the program's name and a brief idea of what it does.>
293 Copyright (C) <year> <name of author>
294
295 This program is free software; you can redistribute it and/or modify
296 it under the terms of the GNU General Public License as published by
297 the Free Software Foundation; either version 2 of the License, or
298 (at your option) any later version.
299
300 This program is distributed in the hope that it will be useful,
301 but WITHOUT ANY WARRANTY; without even the implied warranty of
302 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
303 GNU General Public License for more details.
304
305 You should have received a copy of the GNU General Public License
306 along with this program; if not, write to the Free Software
307 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
308
309
310 Also add information on how to contact you by electronic and paper mail.
311
312 If the program is interactive, make it output a short notice like this
313 when it starts in an interactive mode:
314
315 Gnomovision version 69, Copyright (C) year name of author
316 Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
317 This is free software, and you are welcome to redistribute it
318 under certain conditions; type `show c' for details.
319
320 The hypothetical commands `show w' and `show c' should show the appropriate
321 parts of the General Public License. Of course, the commands you use may
322 be called something other than `show w' and `show c'; they could even be
323 mouse-clicks or menu items--whatever suits your program.
324
325 You should also get your employer (if you work as a programmer) or your
326 school, if any, to sign a "copyright disclaimer" for the program, if
327 necessary. Here is a sample; alter the names:
328
329 Yoyodyne, Inc., hereby disclaims all copyright interest in the program
330 `Gnomovision' (which makes passes at compilers) written by James Hacker.
331
332 <signature of Ty Coon>, 1 April 1989
333 Ty Coon, President of Vice
334
335 This General Public License does not permit incorporating your program into
336 proprietary programs. If your program is a subroutine library, you may
337 consider it more useful to permit linking proprietary applications with the
338 library. If this is what you want to do, use the GNU Library General
339 Public License instead of this License.
0 2007-08-28 "Daniel P. Berrange <berrange@redhat.com>
1
2 * man/virt-viewer.pod:
3 Document the '--direct' option
4 [0d9a8fd612d9] [tip]
5
6 * src/main.c:
7 Support TLS credentials & improved SSH tunnelling
8 [2ca6f1a9ba64]
9
10 * src/main.c:
11 Support for connecting over an SSH tunnel
12 [33102c06fd50]
13
14 2007-08-27 "Daniel P. Berrange <berrange@redhat.com>
15
16 * Merge
17 [c40130b3a7ec]
18
19 2007-08-15 "Daniel P. Berrange <berrange@redhat.com>
20
21 * COPYING, INSTALL:
22 Added COPYING/INSTALL files
23 [1f83ef35bb59]
24
25 2007-08-27 "Daniel P. Berrange <berrange@redhat.com>
26
27 * src/main.c:
28 Added initial ability to connect remote hosts
29 [ac9cae161efb]
30
31 * src/main.c:
32 Disable debug flag
33 [61d8448ba53f]
34
35 * src/main.c:
36 Fixed delete-event handler args
37 [21f7b4c5c93c]
38
39 2007-08-15 "Daniel P. Berrange <berrange@redhat.com>
40
41 * .hgtags:
42 Added tag release-0.0.1 for changeset 2b78ab2d18ce
43 [916abae9a263]
44
45 * virt-viewer.spec.in:
46 Fixed build requires & group. Removed exclusivearch
47 [2b78ab2d18ce] [release-0.0.1]
48
49 * AUTHORS, NEWS, README, virt-viewer.spec.in:
50 Fill out authors, news & readme
51 [6a74d1951e33]
52
53 2007-07-20 "Daniel P. Berrange <berrange@redhat.com>
54
55 * src/main.c:
56 Connected up screenshot & about menus
57 [7cd9b16e3185]
58
59 * Makefile.am, configure.ac, man/Makefile.am, man/virt-viewer.pod,
60 virt-viewer.spec.in:
61 Added manual page
62 [db9f0ff467e5]
63
64 * .hgignore, AUTHORS, ChangeLog, Makefile.am, NEWS, README,
65 acinclude.m4, autobuild.sh, autogen.sh, configure.ac,
66 src/Makefile.am, src/main.c, virt-viewer.spec.in:
67 Initial commit
68 [df454dc97f2f]
69
0 Installation Instructions
1 *************************
2
3 Copyright (C) 1994, 1995, 1996, 1999, 2000, 2001, 2002, 2004, 2005 Free
4 Software Foundation, Inc.
5
6 This file is free documentation; the Free Software Foundation gives
7 unlimited permission to copy, distribute and modify it.
8
9 Basic Installation
10 ==================
11
12 These are generic installation instructions.
13
14 The `configure' shell script attempts to guess correct values for
15 various system-dependent variables used during compilation. It uses
16 those values to create a `Makefile' in each directory of the package.
17 It may also create one or more `.h' files containing system-dependent
18 definitions. Finally, it creates a shell script `config.status' that
19 you can run in the future to recreate the current configuration, and a
20 file `config.log' containing compiler output (useful mainly for
21 debugging `configure').
22
23 It can also use an optional file (typically called `config.cache'
24 and enabled with `--cache-file=config.cache' or simply `-C') that saves
25 the results of its tests to speed up reconfiguring. (Caching is
26 disabled by default to prevent problems with accidental use of stale
27 cache files.)
28
29 If you need to do unusual things to compile the package, please try
30 to figure out how `configure' could check whether to do them, and mail
31 diffs or instructions to the address given in the `README' so they can
32 be considered for the next release. If you are using the cache, and at
33 some point `config.cache' contains results you don't want to keep, you
34 may remove or edit it.
35
36 The file `configure.ac' (or `configure.in') is used to create
37 `configure' by a program called `autoconf'. You only need
38 `configure.ac' if you want to change it or regenerate `configure' using
39 a newer version of `autoconf'.
40
41 The simplest way to compile this package is:
42
43 1. `cd' to the directory containing the package's source code and type
44 `./configure' to configure the package for your system. If you're
45 using `csh' on an old version of System V, you might need to type
46 `sh ./configure' instead to prevent `csh' from trying to execute
47 `configure' itself.
48
49 Running `configure' takes awhile. While running, it prints some
50 messages telling which features it is checking for.
51
52 2. Type `make' to compile the package.
53
54 3. Optionally, type `make check' to run any self-tests that come with
55 the package.
56
57 4. Type `make install' to install the programs and any data files and
58 documentation.
59
60 5. You can remove the program binaries and object files from the
61 source code directory by typing `make clean'. To also remove the
62 files that `configure' created (so you can compile the package for
63 a different kind of computer), type `make distclean'. There is
64 also a `make maintainer-clean' target, but that is intended mainly
65 for the package's developers. If you use it, you may have to get
66 all sorts of other programs in order to regenerate files that came
67 with the distribution.
68
69 Compilers and Options
70 =====================
71
72 Some systems require unusual options for compilation or linking that the
73 `configure' script does not know about. Run `./configure --help' for
74 details on some of the pertinent environment variables.
75
76 You can give `configure' initial values for configuration parameters
77 by setting variables in the command line or in the environment. Here
78 is an example:
79
80 ./configure CC=c89 CFLAGS=-O2 LIBS=-lposix
81
82 *Note Defining Variables::, for more details.
83
84 Compiling For Multiple Architectures
85 ====================================
86
87 You can compile the package for more than one kind of computer at the
88 same time, by placing the object files for each architecture in their
89 own directory. To do this, you must use a version of `make' that
90 supports the `VPATH' variable, such as GNU `make'. `cd' to the
91 directory where you want the object files and executables to go and run
92 the `configure' script. `configure' automatically checks for the
93 source code in the directory that `configure' is in and in `..'.
94
95 If you have to use a `make' that does not support the `VPATH'
96 variable, you have to compile the package for one architecture at a
97 time in the source code directory. After you have installed the
98 package for one architecture, use `make distclean' before reconfiguring
99 for another architecture.
100
101 Installation Names
102 ==================
103
104 By default, `make install' installs the package's commands under
105 `/usr/local/bin', include files under `/usr/local/include', etc. You
106 can specify an installation prefix other than `/usr/local' by giving
107 `configure' the option `--prefix=PREFIX'.
108
109 You can specify separate installation prefixes for
110 architecture-specific files and architecture-independent files. If you
111 pass the option `--exec-prefix=PREFIX' to `configure', the package uses
112 PREFIX as the prefix for installing programs and libraries.
113 Documentation and other data files still use the regular prefix.
114
115 In addition, if you use an unusual directory layout you can give
116 options like `--bindir=DIR' to specify different values for particular
117 kinds of files. Run `configure --help' for a list of the directories
118 you can set and what kinds of files go in them.
119
120 If the package supports it, you can cause programs to be installed
121 with an extra prefix or suffix on their names by giving `configure' the
122 option `--program-prefix=PREFIX' or `--program-suffix=SUFFIX'.
123
124 Optional Features
125 =================
126
127 Some packages pay attention to `--enable-FEATURE' options to
128 `configure', where FEATURE indicates an optional part of the package.
129 They may also pay attention to `--with-PACKAGE' options, where PACKAGE
130 is something like `gnu-as' or `x' (for the X Window System). The
131 `README' should mention any `--enable-' and `--with-' options that the
132 package recognizes.
133
134 For packages that use the X Window System, `configure' can usually
135 find the X include and library files automatically, but if it doesn't,
136 you can use the `configure' options `--x-includes=DIR' and
137 `--x-libraries=DIR' to specify their locations.
138
139 Specifying the System Type
140 ==========================
141
142 There may be some features `configure' cannot figure out automatically,
143 but needs to determine by the type of machine the package will run on.
144 Usually, assuming the package is built to be run on the _same_
145 architectures, `configure' can figure that out, but if it prints a
146 message saying it cannot guess the machine type, give it the
147 `--build=TYPE' option. TYPE can either be a short name for the system
148 type, such as `sun4', or a canonical name which has the form:
149
150 CPU-COMPANY-SYSTEM
151
152 where SYSTEM can have one of these forms:
153
154 OS KERNEL-OS
155
156 See the file `config.sub' for the possible values of each field. If
157 `config.sub' isn't included in this package, then this package doesn't
158 need to know the machine type.
159
160 If you are _building_ compiler tools for cross-compiling, you should
161 use the option `--target=TYPE' to select the type of system they will
162 produce code for.
163
164 If you want to _use_ a cross compiler, that generates code for a
165 platform different from the build platform, you should specify the
166 "host" platform (i.e., that on which the generated programs will
167 eventually be run) with `--host=TYPE'.
168
169 Sharing Defaults
170 ================
171
172 If you want to set default values for `configure' scripts to share, you
173 can create a site shell script called `config.site' that gives default
174 values for variables like `CC', `cache_file', and `prefix'.
175 `configure' looks for `PREFIX/share/config.site' if it exists, then
176 `PREFIX/etc/config.site' if it exists. Or, you can set the
177 `CONFIG_SITE' environment variable to the location of the site script.
178 A warning: not all `configure' scripts look for a site script.
179
180 Defining Variables
181 ==================
182
183 Variables not defined in a site shell script can be set in the
184 environment passed to `configure'. However, some packages may run
185 configure again during the build, and the customized values of these
186 variables may be lost. In order to avoid this problem, you should set
187 them in the `configure' command line, using `VAR=value'. For example:
188
189 ./configure CC=/usr/local2/bin/gcc
190
191 causes the specified `gcc' to be used as the C compiler (unless it is
192 overridden in the site shell script). Here is a another example:
193
194 /bin/bash ./configure CONFIG_SHELL=/bin/bash
195
196 Here the `CONFIG_SHELL=/bin/bash' operand causes subsequent
197 configuration-related scripts to be executed by `/bin/bash'.
198
199 `configure' Invocation
200 ======================
201
202 `configure' recognizes the following options to control how it operates.
203
204 `--help'
205 `-h'
206 Print a summary of the options to `configure', and exit.
207
208 `--version'
209 `-V'
210 Print the version of Autoconf used to generate the `configure'
211 script, and exit.
212
213 `--cache-file=FILE'
214 Enable the cache: use and save the results of the tests in FILE,
215 traditionally `config.cache'. FILE defaults to `/dev/null' to
216 disable caching.
217
218 `--config-cache'
219 `-C'
220 Alias for `--cache-file=config.cache'.
221
222 `--quiet'
223 `--silent'
224 `-q'
225 Do not print messages saying which checks are being made. To
226 suppress all normal output, redirect it to `/dev/null' (any error
227 messages will still be shown).
228
229 `--srcdir=DIR'
230 Look for the package's source code in directory DIR. Usually
231 `configure' can determine that directory automatically.
232
233 `configure' also accepts some other, not widely useful, options. Run
234 `configure --help' for more details.
235
0
1 SUBDIRS = src man
2
3 EXTRA_DIST = @PACKAGE@.spec
4
5 DISTCLEAN_FILES = @PACKAGE@.spec
0 # Makefile.in generated by automake 1.9.6 from Makefile.am.
1 # @configure_input@
2
3 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
4 # 2003, 2004, 2005 Free Software Foundation, Inc.
5 # This Makefile.in 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 @SET_MAKE@
15 srcdir = @srcdir@
16 top_srcdir = @top_srcdir@
17 VPATH = @srcdir@
18 pkgdatadir = $(datadir)/@PACKAGE@
19 pkglibdir = $(libdir)/@PACKAGE@
20 pkgincludedir = $(includedir)/@PACKAGE@
21 top_builddir = .
22 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
23 INSTALL = @INSTALL@
24 install_sh_DATA = $(install_sh) -c -m 644
25 install_sh_PROGRAM = $(install_sh) -c
26 install_sh_SCRIPT = $(install_sh) -c
27 INSTALL_HEADER = $(INSTALL_DATA)
28 transform = $(program_transform_name)
29 NORMAL_INSTALL = :
30 PRE_INSTALL = :
31 POST_INSTALL = :
32 NORMAL_UNINSTALL = :
33 PRE_UNINSTALL = :
34 POST_UNINSTALL = :
35 subdir = .
36 DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \
37 $(srcdir)/Makefile.in $(srcdir)/virt-viewer.spec.in \
38 $(top_srcdir)/configure AUTHORS COPYING ChangeLog INSTALL NEWS \
39 compile depcomp install-sh missing
40 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
41 am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \
42 $(top_srcdir)/configure.ac
43 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
44 $(ACLOCAL_M4)
45 am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
46 configure.lineno configure.status.lineno
47 mkinstalldirs = $(install_sh) -d
48 CONFIG_CLEAN_FILES = virt-viewer.spec
49 SOURCES =
50 DIST_SOURCES =
51 RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
52 html-recursive info-recursive install-data-recursive \
53 install-exec-recursive install-info-recursive \
54 install-recursive installcheck-recursive installdirs-recursive \
55 pdf-recursive ps-recursive uninstall-info-recursive \
56 uninstall-recursive
57 ETAGS = etags
58 CTAGS = ctags
59 DIST_SUBDIRS = $(SUBDIRS)
60 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
61 distdir = $(PACKAGE)-$(VERSION)
62 top_distdir = $(distdir)
63 am__remove_distdir = \
64 { test ! -d $(distdir) \
65 || { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \
66 && rm -fr $(distdir); }; }
67 DIST_ARCHIVES = $(distdir).tar.gz
68 GZIP_ENV = --best
69 distuninstallcheck_listfiles = find . -type f -print
70 distcleancheck_listfiles = find . -type f -print
71 ACLOCAL = @ACLOCAL@
72 AMDEP_FALSE = @AMDEP_FALSE@
73 AMDEP_TRUE = @AMDEP_TRUE@
74 AMTAR = @AMTAR@
75 AUTOCONF = @AUTOCONF@
76 AUTOHEADER = @AUTOHEADER@
77 AUTOMAKE = @AUTOMAKE@
78 AWK = @AWK@
79 CC = @CC@
80 CCDEPMODE = @CCDEPMODE@
81 CFLAGS = @CFLAGS@
82 CPPFLAGS = @CPPFLAGS@
83 CYGPATH_W = @CYGPATH_W@
84 DEFS = @DEFS@
85 DEPDIR = @DEPDIR@
86 ECHO_C = @ECHO_C@
87 ECHO_N = @ECHO_N@
88 ECHO_T = @ECHO_T@
89 EXEEXT = @EXEEXT@
90 GTK2_CFLAGS = @GTK2_CFLAGS@
91 GTK2_LIBS = @GTK2_LIBS@
92 GTKVNC_CFLAGS = @GTKVNC_CFLAGS@
93 GTKVNC_LIBS = @GTKVNC_LIBS@
94 INSTALL_DATA = @INSTALL_DATA@
95 INSTALL_PROGRAM = @INSTALL_PROGRAM@
96 INSTALL_SCRIPT = @INSTALL_SCRIPT@
97 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
98 LDFLAGS = @LDFLAGS@
99 LIBOBJS = @LIBOBJS@
100 LIBS = @LIBS@
101 LIBVIRT_CFLAGS = @LIBVIRT_CFLAGS@
102 LIBVIRT_LIBS = @LIBVIRT_LIBS@
103 LIBXML2_CFLAGS = @LIBXML2_CFLAGS@
104 LIBXML2_LIBS = @LIBXML2_LIBS@
105 LTLIBOBJS = @LTLIBOBJS@
106 MAKEINFO = @MAKEINFO@
107 OBJEXT = @OBJEXT@
108 PACKAGE = @PACKAGE@
109 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
110 PACKAGE_NAME = @PACKAGE_NAME@
111 PACKAGE_STRING = @PACKAGE_STRING@
112 PACKAGE_TARNAME = @PACKAGE_TARNAME@
113 PACKAGE_VERSION = @PACKAGE_VERSION@
114 PATH_SEPARATOR = @PATH_SEPARATOR@
115 PKG_CONFIG = @PKG_CONFIG@
116 SET_MAKE = @SET_MAKE@
117 SHELL = @SHELL@
118 STRIP = @STRIP@
119 VERSION = @VERSION@
120 WARN_CFLAGS = @WARN_CFLAGS@
121 ac_ct_CC = @ac_ct_CC@
122 ac_ct_STRIP = @ac_ct_STRIP@
123 ac_pt_PKG_CONFIG = @ac_pt_PKG_CONFIG@
124 am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
125 am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
126 am__include = @am__include@
127 am__leading_dot = @am__leading_dot@
128 am__quote = @am__quote@
129 am__tar = @am__tar@
130 am__untar = @am__untar@
131 bindir = @bindir@
132 build_alias = @build_alias@
133 datadir = @datadir@
134 exec_prefix = @exec_prefix@
135 host_alias = @host_alias@
136 includedir = @includedir@
137 infodir = @infodir@
138 install_sh = @install_sh@
139 libdir = @libdir@
140 libexecdir = @libexecdir@
141 localstatedir = @localstatedir@
142 mandir = @mandir@
143 mkdir_p = @mkdir_p@
144 oldincludedir = @oldincludedir@
145 prefix = @prefix@
146 program_transform_name = @program_transform_name@
147 sbindir = @sbindir@
148 sharedstatedir = @sharedstatedir@
149 sysconfdir = @sysconfdir@
150 target_alias = @target_alias@
151 SUBDIRS = src man
152 EXTRA_DIST = @PACKAGE@.spec
153 DISTCLEAN_FILES = @PACKAGE@.spec
154 all: all-recursive
155
156 .SUFFIXES:
157 am--refresh:
158 @:
159 $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
160 @for dep in $?; do \
161 case '$(am__configure_deps)' in \
162 *$$dep*) \
163 echo ' cd $(srcdir) && $(AUTOMAKE) --gnu '; \
164 cd $(srcdir) && $(AUTOMAKE) --gnu \
165 && exit 0; \
166 exit 1;; \
167 esac; \
168 done; \
169 echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile'; \
170 cd $(top_srcdir) && \
171 $(AUTOMAKE) --gnu Makefile
172 .PRECIOUS: Makefile
173 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
174 @case '$?' in \
175 *config.status*) \
176 echo ' $(SHELL) ./config.status'; \
177 $(SHELL) ./config.status;; \
178 *) \
179 echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
180 cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
181 esac;
182
183 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
184 $(SHELL) ./config.status --recheck
185
186 $(top_srcdir)/configure: $(am__configure_deps)
187 cd $(srcdir) && $(AUTOCONF)
188 $(ACLOCAL_M4): $(am__aclocal_m4_deps)
189 cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
190 virt-viewer.spec: $(top_builddir)/config.status $(srcdir)/virt-viewer.spec.in
191 cd $(top_builddir) && $(SHELL) ./config.status $@
192 uninstall-info-am:
193
194 # This directory's subdirectories are mostly independent; you can cd
195 # into them and run `make' without going through this Makefile.
196 # To change the values of `make' variables: instead of editing Makefiles,
197 # (1) if the variable is set in `config.status', edit `config.status'
198 # (which will cause the Makefiles to be regenerated when you run `make');
199 # (2) otherwise, pass the desired values on the `make' command line.
200 $(RECURSIVE_TARGETS):
201 @failcom='exit 1'; \
202 for f in x $$MAKEFLAGS; do \
203 case $$f in \
204 *=* | --[!k]*);; \
205 *k*) failcom='fail=yes';; \
206 esac; \
207 done; \
208 dot_seen=no; \
209 target=`echo $@ | sed s/-recursive//`; \
210 list='$(SUBDIRS)'; for subdir in $$list; do \
211 echo "Making $$target in $$subdir"; \
212 if test "$$subdir" = "."; then \
213 dot_seen=yes; \
214 local_target="$$target-am"; \
215 else \
216 local_target="$$target"; \
217 fi; \
218 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
219 || eval $$failcom; \
220 done; \
221 if test "$$dot_seen" = "no"; then \
222 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
223 fi; test -z "$$fail"
224
225 mostlyclean-recursive clean-recursive distclean-recursive \
226 maintainer-clean-recursive:
227 @failcom='exit 1'; \
228 for f in x $$MAKEFLAGS; do \
229 case $$f in \
230 *=* | --[!k]*);; \
231 *k*) failcom='fail=yes';; \
232 esac; \
233 done; \
234 dot_seen=no; \
235 case "$@" in \
236 distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
237 *) list='$(SUBDIRS)' ;; \
238 esac; \
239 rev=''; for subdir in $$list; do \
240 if test "$$subdir" = "."; then :; else \
241 rev="$$subdir $$rev"; \
242 fi; \
243 done; \
244 rev="$$rev ."; \
245 target=`echo $@ | sed s/-recursive//`; \
246 for subdir in $$rev; do \
247 echo "Making $$target in $$subdir"; \
248 if test "$$subdir" = "."; then \
249 local_target="$$target-am"; \
250 else \
251 local_target="$$target"; \
252 fi; \
253 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
254 || eval $$failcom; \
255 done && test -z "$$fail"
256 tags-recursive:
257 list='$(SUBDIRS)'; for subdir in $$list; do \
258 test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
259 done
260 ctags-recursive:
261 list='$(SUBDIRS)'; for subdir in $$list; do \
262 test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
263 done
264
265 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
266 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
267 unique=`for i in $$list; do \
268 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
269 done | \
270 $(AWK) ' { files[$$0] = 1; } \
271 END { for (i in files) print i; }'`; \
272 mkid -fID $$unique
273 tags: TAGS
274
275 TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
276 $(TAGS_FILES) $(LISP)
277 tags=; \
278 here=`pwd`; \
279 if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
280 include_option=--etags-include; \
281 empty_fix=.; \
282 else \
283 include_option=--include; \
284 empty_fix=; \
285 fi; \
286 list='$(SUBDIRS)'; for subdir in $$list; do \
287 if test "$$subdir" = .; then :; else \
288 test ! -f $$subdir/TAGS || \
289 tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
290 fi; \
291 done; \
292 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
293 unique=`for i in $$list; do \
294 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
295 done | \
296 $(AWK) ' { files[$$0] = 1; } \
297 END { for (i in files) print i; }'`; \
298 if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
299 test -n "$$unique" || unique=$$empty_fix; \
300 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
301 $$tags $$unique; \
302 fi
303 ctags: CTAGS
304 CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
305 $(TAGS_FILES) $(LISP)
306 tags=; \
307 here=`pwd`; \
308 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
309 unique=`for i in $$list; do \
310 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
311 done | \
312 $(AWK) ' { files[$$0] = 1; } \
313 END { for (i in files) print i; }'`; \
314 test -z "$(CTAGS_ARGS)$$tags$$unique" \
315 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
316 $$tags $$unique
317
318 GTAGS:
319 here=`$(am__cd) $(top_builddir) && pwd` \
320 && cd $(top_srcdir) \
321 && gtags -i $(GTAGS_ARGS) $$here
322
323 distclean-tags:
324 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
325
326 distdir: $(DISTFILES)
327 $(am__remove_distdir)
328 mkdir $(distdir)
329 $(mkdir_p) $(distdir)/.
330 @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
331 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
332 list='$(DISTFILES)'; for file in $$list; do \
333 case $$file in \
334 $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
335 $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
336 esac; \
337 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
338 dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
339 if test "$$dir" != "$$file" && test "$$dir" != "."; then \
340 dir="/$$dir"; \
341 $(mkdir_p) "$(distdir)$$dir"; \
342 else \
343 dir=''; \
344 fi; \
345 if test -d $$d/$$file; then \
346 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
347 cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
348 fi; \
349 cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
350 else \
351 test -f $(distdir)/$$file \
352 || cp -p $$d/$$file $(distdir)/$$file \
353 || exit 1; \
354 fi; \
355 done
356 list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
357 if test "$$subdir" = .; then :; else \
358 test -d "$(distdir)/$$subdir" \
359 || $(mkdir_p) "$(distdir)/$$subdir" \
360 || exit 1; \
361 distdir=`$(am__cd) $(distdir) && pwd`; \
362 top_distdir=`$(am__cd) $(top_distdir) && pwd`; \
363 (cd $$subdir && \
364 $(MAKE) $(AM_MAKEFLAGS) \
365 top_distdir="$$top_distdir" \
366 distdir="$$distdir/$$subdir" \
367 distdir) \
368 || exit 1; \
369 fi; \
370 done
371 -find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
372 ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
373 ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
374 ! -type d ! -perm -444 -exec $(SHELL) $(install_sh) -c -m a+r {} {} \; \
375 || chmod -R a+r $(distdir)
376 dist-gzip: distdir
377 tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
378 $(am__remove_distdir)
379
380 dist-bzip2: distdir
381 tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2
382 $(am__remove_distdir)
383
384 dist-tarZ: distdir
385 tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
386 $(am__remove_distdir)
387
388 dist-shar: distdir
389 shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
390 $(am__remove_distdir)
391
392 dist-zip: distdir
393 -rm -f $(distdir).zip
394 zip -rq $(distdir).zip $(distdir)
395 $(am__remove_distdir)
396
397 dist dist-all: distdir
398 tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
399 $(am__remove_distdir)
400
401 # This target untars the dist file and tries a VPATH configuration. Then
402 # it guarantees that the distribution is self-contained by making another
403 # tarfile.
404 distcheck: dist
405 case '$(DIST_ARCHIVES)' in \
406 *.tar.gz*) \
407 GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(am__untar) ;;\
408 *.tar.bz2*) \
409 bunzip2 -c $(distdir).tar.bz2 | $(am__untar) ;;\
410 *.tar.Z*) \
411 uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
412 *.shar.gz*) \
413 GZIP=$(GZIP_ENV) gunzip -c $(distdir).shar.gz | unshar ;;\
414 *.zip*) \
415 unzip $(distdir).zip ;;\
416 esac
417 chmod -R a-w $(distdir); chmod a+w $(distdir)
418 mkdir $(distdir)/_build
419 mkdir $(distdir)/_inst
420 chmod a-w $(distdir)
421 dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
422 && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
423 && cd $(distdir)/_build \
424 && ../configure --srcdir=.. --prefix="$$dc_install_base" \
425 $(DISTCHECK_CONFIGURE_FLAGS) \
426 && $(MAKE) $(AM_MAKEFLAGS) \
427 && $(MAKE) $(AM_MAKEFLAGS) dvi \
428 && $(MAKE) $(AM_MAKEFLAGS) check \
429 && $(MAKE) $(AM_MAKEFLAGS) install \
430 && $(MAKE) $(AM_MAKEFLAGS) installcheck \
431 && $(MAKE) $(AM_MAKEFLAGS) uninstall \
432 && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
433 distuninstallcheck \
434 && chmod -R a-w "$$dc_install_base" \
435 && ({ \
436 (cd ../.. && umask 077 && mkdir "$$dc_destdir") \
437 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
438 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
439 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
440 distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
441 } || { rm -rf "$$dc_destdir"; exit 1; }) \
442 && rm -rf "$$dc_destdir" \
443 && $(MAKE) $(AM_MAKEFLAGS) dist \
444 && rm -rf $(DIST_ARCHIVES) \
445 && $(MAKE) $(AM_MAKEFLAGS) distcleancheck
446 $(am__remove_distdir)
447 @(echo "$(distdir) archives ready for distribution: "; \
448 list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
449 sed -e '1{h;s/./=/g;p;x;}' -e '$${p;x;}'
450 distuninstallcheck:
451 @cd $(distuninstallcheck_dir) \
452 && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \
453 || { echo "ERROR: files left after uninstall:" ; \
454 if test -n "$(DESTDIR)"; then \
455 echo " (check DESTDIR support)"; \
456 fi ; \
457 $(distuninstallcheck_listfiles) ; \
458 exit 1; } >&2
459 distcleancheck: distclean
460 @if test '$(srcdir)' = . ; then \
461 echo "ERROR: distcleancheck can only run from a VPATH build" ; \
462 exit 1 ; \
463 fi
464 @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
465 || { echo "ERROR: files left in build directory after distclean:" ; \
466 $(distcleancheck_listfiles) ; \
467 exit 1; } >&2
468 check-am: all-am
469 check: check-recursive
470 all-am: Makefile
471 installdirs: installdirs-recursive
472 installdirs-am:
473 install: install-recursive
474 install-exec: install-exec-recursive
475 install-data: install-data-recursive
476 uninstall: uninstall-recursive
477
478 install-am: all-am
479 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
480
481 installcheck: installcheck-recursive
482 install-strip:
483 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
484 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
485 `test -z '$(STRIP)' || \
486 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
487 mostlyclean-generic:
488
489 clean-generic:
490
491 distclean-generic:
492 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
493
494 maintainer-clean-generic:
495 @echo "This command is intended for maintainers to use"
496 @echo "it deletes files that may require special tools to rebuild."
497 clean: clean-recursive
498
499 clean-am: clean-generic mostlyclean-am
500
501 distclean: distclean-recursive
502 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
503 -rm -f Makefile
504 distclean-am: clean-am distclean-generic distclean-tags
505
506 dvi: dvi-recursive
507
508 dvi-am:
509
510 html: html-recursive
511
512 info: info-recursive
513
514 info-am:
515
516 install-data-am:
517
518 install-exec-am:
519
520 install-info: install-info-recursive
521
522 install-man:
523
524 installcheck-am:
525
526 maintainer-clean: maintainer-clean-recursive
527 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
528 -rm -rf $(top_srcdir)/autom4te.cache
529 -rm -f Makefile
530 maintainer-clean-am: distclean-am maintainer-clean-generic
531
532 mostlyclean: mostlyclean-recursive
533
534 mostlyclean-am: mostlyclean-generic
535
536 pdf: pdf-recursive
537
538 pdf-am:
539
540 ps: ps-recursive
541
542 ps-am:
543
544 uninstall-am: uninstall-info-am
545
546 uninstall-info: uninstall-info-recursive
547
548 .PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am am--refresh check \
549 check-am clean clean-generic clean-recursive ctags \
550 ctags-recursive dist dist-all dist-bzip2 dist-gzip dist-shar \
551 dist-tarZ dist-zip distcheck distclean distclean-generic \
552 distclean-recursive distclean-tags distcleancheck distdir \
553 distuninstallcheck dvi dvi-am html html-am info info-am \
554 install install-am install-data install-data-am install-exec \
555 install-exec-am install-info install-info-am install-man \
556 install-strip installcheck installcheck-am installdirs \
557 installdirs-am maintainer-clean maintainer-clean-generic \
558 maintainer-clean-recursive mostlyclean mostlyclean-generic \
559 mostlyclean-recursive pdf pdf-am ps ps-am tags tags-recursive \
560 uninstall uninstall-am uninstall-info-am
561
562 # Tell versions [3.59,3.63) of GNU make to not export all variables.
563 # Otherwise a system limit (for SysV at least) may be exceeded.
564 .NOEXPORT:
0 Virt Viewer News
1 ================
2
3 August 28, 2008
4 ---------------
5
6 - Support connecting to remote libvirt servers
7 - Support connecting to remote VNC consoles
8 - Support tunnelling VNC over SSH
9 - Support TLS x509 certificate credentials
10
11 August 15, 2007
12 ---------------
13
14 - Initial release
0 Virt Viewer
1 ===========
2
3 Virt Viewer provides a graphical viewer for the guest OS
4 display. At this time is supports guest OS using the VNC
5 protocol. Further protocols may be supported in the future
6 as user demand dicatates. The viewer can connect directly
7 to both local and remotely hosted guest OS, optionally
8 using SSL/TLS encryption.
9
10 Viewer Viewer uses the GTK-VNC widget to provide a display
11 of the VNC protocol. This is available from
12
13 http://gtk-vnc.sourceforge.net/
14
15 Viewer Viewer uses libvirt to lookup information about the
16 guest OS display. This is available from
17
18 http://libvirt.org/
19
20 Further information about the Virt Viewer application can be
21 found on the Virt Manager website:
22
23 http://virt-manager.org/
24
25 Feedback should be directed to the mailing list at
26
27 http://virt-manager.org/mailinglist.html
28
29 -- End
0 dnl
1 dnl Taken from gnome-common/macros2/gnome-compiler-flags.m4
2 dnl
3 dnl We've added:
4 dnl -Wextra -Wshadow -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Winline -Wredundant-decls
5 dnl We've removed
6 dnl CFLAGS="$realsave_CFLAGS"
7 dnl to avoid clobbering user-specified CFLAGS
8 dnl
9 AC_DEFUN([VIRT_VIEWER_COMPILE_WARNINGS],[
10 dnl ******************************
11 dnl More compiler warnings
12 dnl ******************************
13
14 AC_ARG_ENABLE(compile-warnings,
15 AC_HELP_STRING([--enable-compile-warnings=@<:@no/minimum/yes/maximum/error@:>@],
16 [Turn on compiler warnings]),,
17 [enable_compile_warnings="m4_default([$1],[maximum])"])
18
19 warnCFLAGS=
20
21 try_compiler_flags="-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables"
22
23 case "$enable_compile_warnings" in
24 no)
25 ;;
26 minimum)
27 try_compiler_flags="$try_compiler_flags -Wall"
28 ;;
29 yes)
30 try_compiler_flags="$try_compiler_flags -Wall -Wmissing-prototypes -std=c99"
31 ;;
32 maximum|error)
33 try_compiler_flags="$try_compiler_flags -Wall -Wmissing-prototypes -std=c99 -Wnested-externs -Wpointer-arith"
34 try_compiler_flags="$try_compiler_flags -Wextra -Wshadow -Wcast-align -Wwrite-strings -Waggregate-return"
35 try_compiler_flags="$try_compiler_flags -Wstrict-prototypes -Winline -Wredundant-decls -Wno-sign-compare"
36 if test "$enable_compile_warnings" = "error" ; then
37 try_compiler_flags="$try_compiler_flags -Werror"
38 fi
39 ;;
40 *)
41 AC_MSG_ERROR(Unknown argument '$enable_compile_warnings' to --enable-compile-warnings)
42 ;;
43 esac
44
45 compiler_flags=
46 for option in $try_compiler_flags; do
47 SAVE_CFLAGS="$CFLAGS"
48 CFLAGS="$CFLAGS $option"
49 AC_MSG_CHECKING([whether gcc understands $option])
50 AC_TRY_COMPILE([], [],
51 has_option=yes,
52 has_option=no,)
53 CFLAGS="$SAVE_CFLAGS"
54 AC_MSG_RESULT($has_option)
55 if test $has_option = yes; then
56 compiler_flags="$compiler_flags $option"
57 fi
58 unset has_option
59 unset SAVE_CFLAGS
60 done
61 unset option
62 unset try_compiler_flags
63
64 AC_ARG_ENABLE(iso-c,
65 AC_HELP_STRING([--enable-iso-c],
66 [Try to warn if code is not ISO C ]),,
67 [enable_iso_c=no])
68
69 AC_MSG_CHECKING(what language compliance flags to pass to the C compiler)
70 complCFLAGS=
71 if test "x$enable_iso_c" != "xno"; then
72 if test "x$GCC" = "xyes"; then
73 case " $CFLAGS " in
74 *[\ \ ]-ansi[\ \ ]*) ;;
75 *) complCFLAGS="$complCFLAGS -ansi" ;;
76 esac
77 case " $CFLAGS " in
78 *[\ \ ]-pedantic[\ \ ]*) ;;
79 *) complCFLAGS="$complCFLAGS -pedantic" ;;
80 esac
81 fi
82 fi
83 AC_MSG_RESULT($complCFLAGS)
84
85 WARN_CFLAGS="$compiler_flags $complCFLAGS"
86 AC_SUBST(WARN_CFLAGS)
87 ])
0 # generated automatically by aclocal 1.9.6 -*- Autoconf -*-
1
2 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
3 # 2005 Free Software Foundation, Inc.
4 # This file is free software; the Free Software Foundation
5 # gives unlimited permission to copy and/or distribute it,
6 # with or without modifications, as long as this notice is preserved.
7
8 # This program is distributed in the hope that it will be useful,
9 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
10 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
11 # PARTICULAR PURPOSE.
12
13 # pkg.m4 - Macros to locate and utilise pkg-config. -*- Autoconf -*-
14 #
15 # Copyright © 2004 Scott James Remnant <scott@netsplit.com>.
16 #
17 # This program is free software; you can redistribute it and/or modify
18 # it under the terms of the GNU General Public License as published by
19 # the Free Software Foundation; either version 2 of the License, or
20 # (at your option) any later version.
21 #
22 # This program is distributed in the hope that it will be useful, but
23 # WITHOUT ANY WARRANTY; without even the implied warranty of
24 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
25 # General Public License for more details.
26 #
27 # You should have received a copy of the GNU General Public License
28 # along with this program; if not, write to the Free Software
29 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
30 #
31 # As a special exception to the GNU General Public License, if you
32 # distribute this file as part of a program that contains a
33 # configuration script generated by Autoconf, you may include it under
34 # the same distribution terms that you use for the rest of that program.
35
36 # PKG_PROG_PKG_CONFIG([MIN-VERSION])
37 # ----------------------------------
38 AC_DEFUN([PKG_PROG_PKG_CONFIG],
39 [m4_pattern_forbid([^_?PKG_[A-Z_]+$])
40 m4_pattern_allow([^PKG_CONFIG(_PATH)?$])
41 AC_ARG_VAR([PKG_CONFIG], [path to pkg-config utility])dnl
42 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
43 AC_PATH_TOOL([PKG_CONFIG], [pkg-config])
44 fi
45 if test -n "$PKG_CONFIG"; then
46 _pkg_min_version=m4_default([$1], [0.9.0])
47 AC_MSG_CHECKING([pkg-config is at least version $_pkg_min_version])
48 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
49 AC_MSG_RESULT([yes])
50 else
51 AC_MSG_RESULT([no])
52 PKG_CONFIG=""
53 fi
54
55 fi[]dnl
56 ])# PKG_PROG_PKG_CONFIG
57
58 # PKG_CHECK_EXISTS(MODULES, [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])
59 #
60 # Check to see whether a particular set of modules exists. Similar
61 # to PKG_CHECK_MODULES(), but does not set variables or print errors.
62 #
63 #
64 # Similar to PKG_CHECK_MODULES, make sure that the first instance of
65 # this or PKG_CHECK_MODULES is called, or make sure to call
66 # PKG_CHECK_EXISTS manually
67 # --------------------------------------------------------------
68 AC_DEFUN([PKG_CHECK_EXISTS],
69 [AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl
70 if test -n "$PKG_CONFIG" && \
71 AC_RUN_LOG([$PKG_CONFIG --exists --print-errors "$1"]); then
72 m4_ifval([$2], [$2], [:])
73 m4_ifvaln([$3], [else
74 $3])dnl
75 fi])
76
77
78 # _PKG_CONFIG([VARIABLE], [COMMAND], [MODULES])
79 # ---------------------------------------------
80 m4_define([_PKG_CONFIG],
81 [if test -n "$PKG_CONFIG"; then
82 if test -n "$$1"; then
83 pkg_cv_[]$1="$$1"
84 else
85 PKG_CHECK_EXISTS([$3],
86 [pkg_cv_[]$1=`$PKG_CONFIG --[]$2 "$3" 2>/dev/null`],
87 [pkg_failed=yes])
88 fi
89 else
90 pkg_failed=untried
91 fi[]dnl
92 ])# _PKG_CONFIG
93
94 # _PKG_SHORT_ERRORS_SUPPORTED
95 # -----------------------------
96 AC_DEFUN([_PKG_SHORT_ERRORS_SUPPORTED],
97 [AC_REQUIRE([PKG_PROG_PKG_CONFIG])
98 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
99 _pkg_short_errors_supported=yes
100 else
101 _pkg_short_errors_supported=no
102 fi[]dnl
103 ])# _PKG_SHORT_ERRORS_SUPPORTED
104
105
106 # PKG_CHECK_MODULES(VARIABLE-PREFIX, MODULES, [ACTION-IF-FOUND],
107 # [ACTION-IF-NOT-FOUND])
108 #
109 #
110 # Note that if there is a possibility the first call to
111 # PKG_CHECK_MODULES might not happen, you should be sure to include an
112 # explicit call to PKG_PROG_PKG_CONFIG in your configure.ac
113 #
114 #
115 # --------------------------------------------------------------
116 AC_DEFUN([PKG_CHECK_MODULES],
117 [AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl
118 AC_ARG_VAR([$1][_CFLAGS], [C compiler flags for $1, overriding pkg-config])dnl
119 AC_ARG_VAR([$1][_LIBS], [linker flags for $1, overriding pkg-config])dnl
120
121 pkg_failed=no
122 AC_MSG_CHECKING([for $1])
123
124 _PKG_CONFIG([$1][_CFLAGS], [cflags], [$2])
125 _PKG_CONFIG([$1][_LIBS], [libs], [$2])
126
127 m4_define([_PKG_TEXT], [Alternatively, you may set the environment variables $1[]_CFLAGS
128 and $1[]_LIBS to avoid the need to call pkg-config.
129 See the pkg-config man page for more details.])
130
131 if test $pkg_failed = yes; then
132 _PKG_SHORT_ERRORS_SUPPORTED
133 if test $_pkg_short_errors_supported = yes; then
134 $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$2"`
135 else
136 $1[]_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$2"`
137 fi
138 # Put the nasty error message in config.log where it belongs
139 echo "$$1[]_PKG_ERRORS" >&AS_MESSAGE_LOG_FD
140
141 ifelse([$4], , [AC_MSG_ERROR(dnl
142 [Package requirements ($2) were not met:
143
144 $$1_PKG_ERRORS
145
146 Consider adjusting the PKG_CONFIG_PATH environment variable if you
147 installed software in a non-standard prefix.
148
149 _PKG_TEXT
150 ])],
151 [AC_MSG_RESULT([no])
152 $4])
153 elif test $pkg_failed = untried; then
154 ifelse([$4], , [AC_MSG_FAILURE(dnl
155 [The pkg-config script could not be found or is too old. Make sure it
156 is in your PATH or set the PKG_CONFIG environment variable to the full
157 path to pkg-config.
158
159 _PKG_TEXT
160
161 To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.])],
162 [$4])
163 else
164 $1[]_CFLAGS=$pkg_cv_[]$1[]_CFLAGS
165 $1[]_LIBS=$pkg_cv_[]$1[]_LIBS
166 AC_MSG_RESULT([yes])
167 ifelse([$3], , :, [$3])
168 fi[]dnl
169 ])# PKG_CHECK_MODULES
170
171 # Copyright (C) 2002, 2003, 2005 Free Software Foundation, Inc.
172 #
173 # This file is free software; the Free Software Foundation
174 # gives unlimited permission to copy and/or distribute it,
175 # with or without modifications, as long as this notice is preserved.
176
177 # AM_AUTOMAKE_VERSION(VERSION)
178 # ----------------------------
179 # Automake X.Y traces this macro to ensure aclocal.m4 has been
180 # generated from the m4 files accompanying Automake X.Y.
181 AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version="1.9"])
182
183 # AM_SET_CURRENT_AUTOMAKE_VERSION
184 # -------------------------------
185 # Call AM_AUTOMAKE_VERSION so it can be traced.
186 # This function is AC_REQUIREd by AC_INIT_AUTOMAKE.
187 AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
188 [AM_AUTOMAKE_VERSION([1.9.6])])
189
190 # AM_AUX_DIR_EXPAND -*- Autoconf -*-
191
192 # Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
193 #
194 # This file is free software; the Free Software Foundation
195 # gives unlimited permission to copy and/or distribute it,
196 # with or without modifications, as long as this notice is preserved.
197
198 # For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets
199 # $ac_aux_dir to `$srcdir/foo'. In other projects, it is set to
200 # `$srcdir', `$srcdir/..', or `$srcdir/../..'.
201 #
202 # Of course, Automake must honor this variable whenever it calls a
203 # tool from the auxiliary directory. The problem is that $srcdir (and
204 # therefore $ac_aux_dir as well) can be either absolute or relative,
205 # depending on how configure is run. This is pretty annoying, since
206 # it makes $ac_aux_dir quite unusable in subdirectories: in the top
207 # source directory, any form will work fine, but in subdirectories a
208 # relative path needs to be adjusted first.
209 #
210 # $ac_aux_dir/missing
211 # fails when called from a subdirectory if $ac_aux_dir is relative
212 # $top_srcdir/$ac_aux_dir/missing
213 # fails if $ac_aux_dir is absolute,
214 # fails when called from a subdirectory in a VPATH build with
215 # a relative $ac_aux_dir
216 #
217 # The reason of the latter failure is that $top_srcdir and $ac_aux_dir
218 # are both prefixed by $srcdir. In an in-source build this is usually
219 # harmless because $srcdir is `.', but things will broke when you
220 # start a VPATH build or use an absolute $srcdir.
221 #
222 # So we could use something similar to $top_srcdir/$ac_aux_dir/missing,
223 # iff we strip the leading $srcdir from $ac_aux_dir. That would be:
224 # am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"`
225 # and then we would define $MISSING as
226 # MISSING="\${SHELL} $am_aux_dir/missing"
227 # This will work as long as MISSING is not called from configure, because
228 # unfortunately $(top_srcdir) has no meaning in configure.
229 # However there are other variables, like CC, which are often used in
230 # configure, and could therefore not use this "fixed" $ac_aux_dir.
231 #
232 # Another solution, used here, is to always expand $ac_aux_dir to an
233 # absolute PATH. The drawback is that using absolute paths prevent a
234 # configured tree to be moved without reconfiguration.
235
236 AC_DEFUN([AM_AUX_DIR_EXPAND],
237 [dnl Rely on autoconf to set up CDPATH properly.
238 AC_PREREQ([2.50])dnl
239 # expand $ac_aux_dir to an absolute path
240 am_aux_dir=`cd $ac_aux_dir && pwd`
241 ])
242
243 # AM_CONDITIONAL -*- Autoconf -*-
244
245 # Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005
246 # Free Software Foundation, Inc.
247 #
248 # This file is free software; the Free Software Foundation
249 # gives unlimited permission to copy and/or distribute it,
250 # with or without modifications, as long as this notice is preserved.
251
252 # serial 7
253
254 # AM_CONDITIONAL(NAME, SHELL-CONDITION)
255 # -------------------------------------
256 # Define a conditional.
257 AC_DEFUN([AM_CONDITIONAL],
258 [AC_PREREQ(2.52)dnl
259 ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])],
260 [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
261 AC_SUBST([$1_TRUE])
262 AC_SUBST([$1_FALSE])
263 if $2; then
264 $1_TRUE=
265 $1_FALSE='#'
266 else
267 $1_TRUE='#'
268 $1_FALSE=
269 fi
270 AC_CONFIG_COMMANDS_PRE(
271 [if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
272 AC_MSG_ERROR([[conditional "$1" was never defined.
273 Usually this means the macro was only invoked conditionally.]])
274 fi])])
275
276
277 # Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005
278 # Free Software Foundation, Inc.
279 #
280 # This file is free software; the Free Software Foundation
281 # gives unlimited permission to copy and/or distribute it,
282 # with or without modifications, as long as this notice is preserved.
283
284 # serial 8
285
286 # There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
287 # written in clear, in which case automake, when reading aclocal.m4,
288 # will think it sees a *use*, and therefore will trigger all it's
289 # C support machinery. Also note that it means that autoscan, seeing
290 # CC etc. in the Makefile, will ask for an AC_PROG_CC use...
291
292
293 # _AM_DEPENDENCIES(NAME)
294 # ----------------------
295 # See how the compiler implements dependency checking.
296 # NAME is "CC", "CXX", "GCJ", or "OBJC".
297 # We try a few techniques and use that to set a single cache variable.
298 #
299 # We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was
300 # modified to invoke _AM_DEPENDENCIES(CC); we would have a circular
301 # dependency, and given that the user is not expected to run this macro,
302 # just rely on AC_PROG_CC.
303 AC_DEFUN([_AM_DEPENDENCIES],
304 [AC_REQUIRE([AM_SET_DEPDIR])dnl
305 AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl
306 AC_REQUIRE([AM_MAKE_INCLUDE])dnl
307 AC_REQUIRE([AM_DEP_TRACK])dnl
308
309 ifelse([$1], CC, [depcc="$CC" am_compiler_list=],
310 [$1], CXX, [depcc="$CXX" am_compiler_list=],
311 [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
312 [$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'],
313 [depcc="$$1" am_compiler_list=])
314
315 AC_CACHE_CHECK([dependency style of $depcc],
316 [am_cv_$1_dependencies_compiler_type],
317 [if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
318 # We make a subdir and do the tests there. Otherwise we can end up
319 # making bogus files that we don't know about and never remove. For
320 # instance it was reported that on HP-UX the gcc test will end up
321 # making a dummy file named `D' -- because `-MD' means `put the output
322 # in D'.
323 mkdir conftest.dir
324 # Copy depcomp to subdir because otherwise we won't find it if we're
325 # using a relative directory.
326 cp "$am_depcomp" conftest.dir
327 cd conftest.dir
328 # We will build objects and dependencies in a subdirectory because
329 # it helps to detect inapplicable dependency modes. For instance
330 # both Tru64's cc and ICC support -MD to output dependencies as a
331 # side effect of compilation, but ICC will put the dependencies in
332 # the current directory while Tru64 will put them in the object
333 # directory.
334 mkdir sub
335
336 am_cv_$1_dependencies_compiler_type=none
337 if test "$am_compiler_list" = ""; then
338 am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
339 fi
340 for depmode in $am_compiler_list; do
341 # Setup a source with many dependencies, because some compilers
342 # like to wrap large dependency lists on column 80 (with \), and
343 # we should not choose a depcomp mode which is confused by this.
344 #
345 # We need to recreate these files for each test, as the compiler may
346 # overwrite some of them when testing with obscure command lines.
347 # This happens at least with the AIX C compiler.
348 : > sub/conftest.c
349 for i in 1 2 3 4 5 6; do
350 echo '#include "conftst'$i'.h"' >> sub/conftest.c
351 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
352 # Solaris 8's {/usr,}/bin/sh.
353 touch sub/conftst$i.h
354 done
355 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
356
357 case $depmode in
358 nosideeffect)
359 # after this tag, mechanisms are not by side-effect, so they'll
360 # only be used when explicitly requested
361 if test "x$enable_dependency_tracking" = xyes; then
362 continue
363 else
364 break
365 fi
366 ;;
367 none) break ;;
368 esac
369 # We check with `-c' and `-o' for the sake of the "dashmstdout"
370 # mode. It turns out that the SunPro C++ compiler does not properly
371 # handle `-M -o', and we need to detect this.
372 if depmode=$depmode \
373 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
374 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
375 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
376 >/dev/null 2>conftest.err &&
377 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
378 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
379 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
380 # icc doesn't choke on unknown options, it will just issue warnings
381 # or remarks (even with -Werror). So we grep stderr for any message
382 # that says an option was ignored or not supported.
383 # When given -MP, icc 7.0 and 7.1 complain thusly:
384 # icc: Command line warning: ignoring option '-M'; no argument required
385 # The diagnosis changed in icc 8.0:
386 # icc: Command line remark: option '-MP' not supported
387 if (grep 'ignoring option' conftest.err ||
388 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
389 am_cv_$1_dependencies_compiler_type=$depmode
390 break
391 fi
392 fi
393 done
394
395 cd ..
396 rm -rf conftest.dir
397 else
398 am_cv_$1_dependencies_compiler_type=none
399 fi
400 ])
401 AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type])
402 AM_CONDITIONAL([am__fastdep$1], [
403 test "x$enable_dependency_tracking" != xno \
404 && test "$am_cv_$1_dependencies_compiler_type" = gcc3])
405 ])
406
407
408 # AM_SET_DEPDIR
409 # -------------
410 # Choose a directory name for dependency files.
411 # This macro is AC_REQUIREd in _AM_DEPENDENCIES
412 AC_DEFUN([AM_SET_DEPDIR],
413 [AC_REQUIRE([AM_SET_LEADING_DOT])dnl
414 AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl
415 ])
416
417
418 # AM_DEP_TRACK
419 # ------------
420 AC_DEFUN([AM_DEP_TRACK],
421 [AC_ARG_ENABLE(dependency-tracking,
422 [ --disable-dependency-tracking speeds up one-time build
423 --enable-dependency-tracking do not reject slow dependency extractors])
424 if test "x$enable_dependency_tracking" != xno; then
425 am_depcomp="$ac_aux_dir/depcomp"
426 AMDEPBACKSLASH='\'
427 fi
428 AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
429 AC_SUBST([AMDEPBACKSLASH])
430 ])
431
432 # Generate code to set up dependency tracking. -*- Autoconf -*-
433
434 # Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005
435 # Free Software Foundation, Inc.
436 #
437 # This file is free software; the Free Software Foundation
438 # gives unlimited permission to copy and/or distribute it,
439 # with or without modifications, as long as this notice is preserved.
440
441 #serial 3
442
443 # _AM_OUTPUT_DEPENDENCY_COMMANDS
444 # ------------------------------
445 AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
446 [for mf in $CONFIG_FILES; do
447 # Strip MF so we end up with the name of the file.
448 mf=`echo "$mf" | sed -e 's/:.*$//'`
449 # Check whether this is an Automake generated Makefile or not.
450 # We used to match only the files named `Makefile.in', but
451 # some people rename them; so instead we look at the file content.
452 # Grep'ing the first line is not enough: some people post-process
453 # each Makefile.in and add a new line on top of each file to say so.
454 # So let's grep whole file.
455 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
456 dirpart=`AS_DIRNAME("$mf")`
457 else
458 continue
459 fi
460 # Extract the definition of DEPDIR, am__include, and am__quote
461 # from the Makefile without running `make'.
462 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
463 test -z "$DEPDIR" && continue
464 am__include=`sed -n 's/^am__include = //p' < "$mf"`
465 test -z "am__include" && continue
466 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
467 # When using ansi2knr, U may be empty or an underscore; expand it
468 U=`sed -n 's/^U = //p' < "$mf"`
469 # Find all dependency output files, they are included files with
470 # $(DEPDIR) in their names. We invoke sed twice because it is the
471 # simplest approach to changing $(DEPDIR) to its actual value in the
472 # expansion.
473 for file in `sed -n "
474 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
475 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
476 # Make sure the directory exists.
477 test -f "$dirpart/$file" && continue
478 fdir=`AS_DIRNAME(["$file"])`
479 AS_MKDIR_P([$dirpart/$fdir])
480 # echo "creating $dirpart/$file"
481 echo '# dummy' > "$dirpart/$file"
482 done
483 done
484 ])# _AM_OUTPUT_DEPENDENCY_COMMANDS
485
486
487 # AM_OUTPUT_DEPENDENCY_COMMANDS
488 # -----------------------------
489 # This macro should only be invoked once -- use via AC_REQUIRE.
490 #
491 # This code is only required when automatic dependency tracking
492 # is enabled. FIXME. This creates each `.P' file that we will
493 # need in order to bootstrap the dependency handling code.
494 AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
495 [AC_CONFIG_COMMANDS([depfiles],
496 [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],
497 [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
498 ])
499
500 # Do all the work for Automake. -*- Autoconf -*-
501
502 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
503 # Free Software Foundation, Inc.
504 #
505 # This file is free software; the Free Software Foundation
506 # gives unlimited permission to copy and/or distribute it,
507 # with or without modifications, as long as this notice is preserved.
508
509 # serial 12
510
511 # This macro actually does too much. Some checks are only needed if
512 # your package does certain things. But this isn't really a big deal.
513
514 # AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE])
515 # AM_INIT_AUTOMAKE([OPTIONS])
516 # -----------------------------------------------
517 # The call with PACKAGE and VERSION arguments is the old style
518 # call (pre autoconf-2.50), which is being phased out. PACKAGE
519 # and VERSION should now be passed to AC_INIT and removed from
520 # the call to AM_INIT_AUTOMAKE.
521 # We support both call styles for the transition. After
522 # the next Automake release, Autoconf can make the AC_INIT
523 # arguments mandatory, and then we can depend on a new Autoconf
524 # release and drop the old call support.
525 AC_DEFUN([AM_INIT_AUTOMAKE],
526 [AC_PREREQ([2.58])dnl
527 dnl Autoconf wants to disallow AM_ names. We explicitly allow
528 dnl the ones we care about.
529 m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
530 AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
531 AC_REQUIRE([AC_PROG_INSTALL])dnl
532 # test to see if srcdir already configured
533 if test "`cd $srcdir && pwd`" != "`pwd`" &&
534 test -f $srcdir/config.status; then
535 AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
536 fi
537
538 # test whether we have cygpath
539 if test -z "$CYGPATH_W"; then
540 if (cygpath --version) >/dev/null 2>/dev/null; then
541 CYGPATH_W='cygpath -w'
542 else
543 CYGPATH_W=echo
544 fi
545 fi
546 AC_SUBST([CYGPATH_W])
547
548 # Define the identity of the package.
549 dnl Distinguish between old-style and new-style calls.
550 m4_ifval([$2],
551 [m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
552 AC_SUBST([PACKAGE], [$1])dnl
553 AC_SUBST([VERSION], [$2])],
554 [_AM_SET_OPTIONS([$1])dnl
555 AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
556 AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
557
558 _AM_IF_OPTION([no-define],,
559 [AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])
560 AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl
561
562 # Some tools Automake needs.
563 AC_REQUIRE([AM_SANITY_CHECK])dnl
564 AC_REQUIRE([AC_ARG_PROGRAM])dnl
565 AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version})
566 AM_MISSING_PROG(AUTOCONF, autoconf)
567 AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version})
568 AM_MISSING_PROG(AUTOHEADER, autoheader)
569 AM_MISSING_PROG(MAKEINFO, makeinfo)
570 AM_PROG_INSTALL_SH
571 AM_PROG_INSTALL_STRIP
572 AC_REQUIRE([AM_PROG_MKDIR_P])dnl
573 # We need awk for the "check" target. The system "awk" is bad on
574 # some platforms.
575 AC_REQUIRE([AC_PROG_AWK])dnl
576 AC_REQUIRE([AC_PROG_MAKE_SET])dnl
577 AC_REQUIRE([AM_SET_LEADING_DOT])dnl
578 _AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])],
579 [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
580 [_AM_PROG_TAR([v7])])])
581 _AM_IF_OPTION([no-dependencies],,
582 [AC_PROVIDE_IFELSE([AC_PROG_CC],
583 [_AM_DEPENDENCIES(CC)],
584 [define([AC_PROG_CC],
585 defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
586 AC_PROVIDE_IFELSE([AC_PROG_CXX],
587 [_AM_DEPENDENCIES(CXX)],
588 [define([AC_PROG_CXX],
589 defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
590 ])
591 ])
592
593
594 # When config.status generates a header, we must update the stamp-h file.
595 # This file resides in the same directory as the config header
596 # that is generated. The stamp files are numbered to have different names.
597
598 # Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the
599 # loop where config.status creates the headers, so we can generate
600 # our stamp files there.
601 AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK],
602 [# Compute $1's index in $config_headers.
603 _am_stamp_count=1
604 for _am_header in $config_headers :; do
605 case $_am_header in
606 $1 | $1:* )
607 break ;;
608 * )
609 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
610 esac
611 done
612 echo "timestamp for $1" >`AS_DIRNAME([$1])`/stamp-h[]$_am_stamp_count])
613
614 # Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
615 #
616 # This file is free software; the Free Software Foundation
617 # gives unlimited permission to copy and/or distribute it,
618 # with or without modifications, as long as this notice is preserved.
619
620 # AM_PROG_INSTALL_SH
621 # ------------------
622 # Define $install_sh.
623 AC_DEFUN([AM_PROG_INSTALL_SH],
624 [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
625 install_sh=${install_sh-"$am_aux_dir/install-sh"}
626 AC_SUBST(install_sh)])
627
628 # Copyright (C) 2003, 2005 Free Software Foundation, Inc.
629 #
630 # This file is free software; the Free Software Foundation
631 # gives unlimited permission to copy and/or distribute it,
632 # with or without modifications, as long as this notice is preserved.
633
634 # serial 2
635
636 # Check whether the underlying file-system supports filenames
637 # with a leading dot. For instance MS-DOS doesn't.
638 AC_DEFUN([AM_SET_LEADING_DOT],
639 [rm -rf .tst 2>/dev/null
640 mkdir .tst 2>/dev/null
641 if test -d .tst; then
642 am__leading_dot=.
643 else
644 am__leading_dot=_
645 fi
646 rmdir .tst 2>/dev/null
647 AC_SUBST([am__leading_dot])])
648
649 # Check to see how 'make' treats includes. -*- Autoconf -*-
650
651 # Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation, Inc.
652 #
653 # This file is free software; the Free Software Foundation
654 # gives unlimited permission to copy and/or distribute it,
655 # with or without modifications, as long as this notice is preserved.
656
657 # serial 3
658
659 # AM_MAKE_INCLUDE()
660 # -----------------
661 # Check to see how make treats includes.
662 AC_DEFUN([AM_MAKE_INCLUDE],
663 [am_make=${MAKE-make}
664 cat > confinc << 'END'
665 am__doit:
666 @echo done
667 .PHONY: am__doit
668 END
669 # If we don't find an include directive, just comment out the code.
670 AC_MSG_CHECKING([for style of include used by $am_make])
671 am__include="#"
672 am__quote=
673 _am_result=none
674 # First try GNU make style include.
675 echo "include confinc" > confmf
676 # We grep out `Entering directory' and `Leaving directory'
677 # messages which can occur if `w' ends up in MAKEFLAGS.
678 # In particular we don't look at `^make:' because GNU make might
679 # be invoked under some other name (usually "gmake"), in which
680 # case it prints its new name instead of `make'.
681 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
682 am__include=include
683 am__quote=
684 _am_result=GNU
685 fi
686 # Now try BSD make style include.
687 if test "$am__include" = "#"; then
688 echo '.include "confinc"' > confmf
689 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
690 am__include=.include
691 am__quote="\""
692 _am_result=BSD
693 fi
694 fi
695 AC_SUBST([am__include])
696 AC_SUBST([am__quote])
697 AC_MSG_RESULT([$_am_result])
698 rm -f confinc confmf
699 ])
700
701 # Fake the existence of programs that GNU maintainers use. -*- Autoconf -*-
702
703 # Copyright (C) 1997, 1999, 2000, 2001, 2003, 2005
704 # Free Software Foundation, Inc.
705 #
706 # This file is free software; the Free Software Foundation
707 # gives unlimited permission to copy and/or distribute it,
708 # with or without modifications, as long as this notice is preserved.
709
710 # serial 4
711
712 # AM_MISSING_PROG(NAME, PROGRAM)
713 # ------------------------------
714 AC_DEFUN([AM_MISSING_PROG],
715 [AC_REQUIRE([AM_MISSING_HAS_RUN])
716 $1=${$1-"${am_missing_run}$2"}
717 AC_SUBST($1)])
718
719
720 # AM_MISSING_HAS_RUN
721 # ------------------
722 # Define MISSING if not defined so far and test if it supports --run.
723 # If it does, set am_missing_run to use it, otherwise, to nothing.
724 AC_DEFUN([AM_MISSING_HAS_RUN],
725 [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
726 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
727 # Use eval to expand $SHELL
728 if eval "$MISSING --run true"; then
729 am_missing_run="$MISSING --run "
730 else
731 am_missing_run=
732 AC_MSG_WARN([`missing' script is too old or missing])
733 fi
734 ])
735
736 # Copyright (C) 2003, 2004, 2005 Free Software Foundation, Inc.
737 #
738 # This file is free software; the Free Software Foundation
739 # gives unlimited permission to copy and/or distribute it,
740 # with or without modifications, as long as this notice is preserved.
741
742 # AM_PROG_MKDIR_P
743 # ---------------
744 # Check whether `mkdir -p' is supported, fallback to mkinstalldirs otherwise.
745 #
746 # Automake 1.8 used `mkdir -m 0755 -p --' to ensure that directories
747 # created by `make install' are always world readable, even if the
748 # installer happens to have an overly restrictive umask (e.g. 077).
749 # This was a mistake. There are at least two reasons why we must not
750 # use `-m 0755':
751 # - it causes special bits like SGID to be ignored,
752 # - it may be too restrictive (some setups expect 775 directories).
753 #
754 # Do not use -m 0755 and let people choose whatever they expect by
755 # setting umask.
756 #
757 # We cannot accept any implementation of `mkdir' that recognizes `-p'.
758 # Some implementations (such as Solaris 8's) are not thread-safe: if a
759 # parallel make tries to run `mkdir -p a/b' and `mkdir -p a/c'
760 # concurrently, both version can detect that a/ is missing, but only
761 # one can create it and the other will error out. Consequently we
762 # restrict ourselves to GNU make (using the --version option ensures
763 # this.)
764 AC_DEFUN([AM_PROG_MKDIR_P],
765 [if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
766 # We used to keeping the `.' as first argument, in order to
767 # allow $(mkdir_p) to be used without argument. As in
768 # $(mkdir_p) $(somedir)
769 # where $(somedir) is conditionally defined. However this is wrong
770 # for two reasons:
771 # 1. if the package is installed by a user who cannot write `.'
772 # make install will fail,
773 # 2. the above comment should most certainly read
774 # $(mkdir_p) $(DESTDIR)$(somedir)
775 # so it does not work when $(somedir) is undefined and
776 # $(DESTDIR) is not.
777 # To support the latter case, we have to write
778 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
779 # so the `.' trick is pointless.
780 mkdir_p='mkdir -p --'
781 else
782 # On NextStep and OpenStep, the `mkdir' command does not
783 # recognize any option. It will interpret all options as
784 # directories to create, and then abort because `.' already
785 # exists.
786 for d in ./-p ./--version;
787 do
788 test -d $d && rmdir $d
789 done
790 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
791 if test -f "$ac_aux_dir/mkinstalldirs"; then
792 mkdir_p='$(mkinstalldirs)'
793 else
794 mkdir_p='$(install_sh) -d'
795 fi
796 fi
797 AC_SUBST([mkdir_p])])
798
799 # Helper functions for option handling. -*- Autoconf -*-
800
801 # Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation, Inc.
802 #
803 # This file is free software; the Free Software Foundation
804 # gives unlimited permission to copy and/or distribute it,
805 # with or without modifications, as long as this notice is preserved.
806
807 # serial 3
808
809 # _AM_MANGLE_OPTION(NAME)
810 # -----------------------
811 AC_DEFUN([_AM_MANGLE_OPTION],
812 [[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])
813
814 # _AM_SET_OPTION(NAME)
815 # ------------------------------
816 # Set option NAME. Presently that only means defining a flag for this option.
817 AC_DEFUN([_AM_SET_OPTION],
818 [m4_define(_AM_MANGLE_OPTION([$1]), 1)])
819
820 # _AM_SET_OPTIONS(OPTIONS)
821 # ----------------------------------
822 # OPTIONS is a space-separated list of Automake options.
823 AC_DEFUN([_AM_SET_OPTIONS],
824 [AC_FOREACH([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
825
826 # _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET])
827 # -------------------------------------------
828 # Execute IF-SET if OPTION is set, IF-NOT-SET otherwise.
829 AC_DEFUN([_AM_IF_OPTION],
830 [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
831
832 # Check to make sure that the build environment is sane. -*- Autoconf -*-
833
834 # Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005
835 # Free Software Foundation, Inc.
836 #
837 # This file is free software; the Free Software Foundation
838 # gives unlimited permission to copy and/or distribute it,
839 # with or without modifications, as long as this notice is preserved.
840
841 # serial 4
842
843 # AM_SANITY_CHECK
844 # ---------------
845 AC_DEFUN([AM_SANITY_CHECK],
846 [AC_MSG_CHECKING([whether build environment is sane])
847 # Just in case
848 sleep 1
849 echo timestamp > conftest.file
850 # Do `set' in a subshell so we don't clobber the current shell's
851 # arguments. Must try -L first in case configure is actually a
852 # symlink; some systems play weird games with the mod time of symlinks
853 # (eg FreeBSD returns the mod time of the symlink's containing
854 # directory).
855 if (
856 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
857 if test "$[*]" = "X"; then
858 # -L didn't work.
859 set X `ls -t $srcdir/configure conftest.file`
860 fi
861 rm -f conftest.file
862 if test "$[*]" != "X $srcdir/configure conftest.file" \
863 && test "$[*]" != "X conftest.file $srcdir/configure"; then
864
865 # If neither matched, then we have a broken ls. This can happen
866 # if, for instance, CONFIG_SHELL is bash and it inherits a
867 # broken ls alias from the environment. This has actually
868 # happened. Such a system could not be considered "sane".
869 AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken
870 alias in your environment])
871 fi
872
873 test "$[2]" = conftest.file
874 )
875 then
876 # Ok.
877 :
878 else
879 AC_MSG_ERROR([newly created file is older than distributed files!
880 Check your system clock])
881 fi
882 AC_MSG_RESULT(yes)])
883
884 # Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
885 #
886 # This file is free software; the Free Software Foundation
887 # gives unlimited permission to copy and/or distribute it,
888 # with or without modifications, as long as this notice is preserved.
889
890 # AM_PROG_INSTALL_STRIP
891 # ---------------------
892 # One issue with vendor `install' (even GNU) is that you can't
893 # specify the program used to strip binaries. This is especially
894 # annoying in cross-compiling environments, where the build's strip
895 # is unlikely to handle the host's binaries.
896 # Fortunately install-sh will honor a STRIPPROG variable, so we
897 # always use install-sh in `make install-strip', and initialize
898 # STRIPPROG with the value of the STRIP variable (set by the user).
899 AC_DEFUN([AM_PROG_INSTALL_STRIP],
900 [AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
901 # Installed binaries are usually stripped using `strip' when the user
902 # run `make install-strip'. However `strip' might not be the right
903 # tool to use in cross-compilation environments, therefore Automake
904 # will honor the `STRIP' environment variable to overrule this program.
905 dnl Don't test for $cross_compiling = yes, because it might be `maybe'.
906 if test "$cross_compiling" != no; then
907 AC_CHECK_TOOL([STRIP], [strip], :)
908 fi
909 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
910 AC_SUBST([INSTALL_STRIP_PROGRAM])])
911
912 # Check how to create a tarball. -*- Autoconf -*-
913
914 # Copyright (C) 2004, 2005 Free Software Foundation, Inc.
915 #
916 # This file is free software; the Free Software Foundation
917 # gives unlimited permission to copy and/or distribute it,
918 # with or without modifications, as long as this notice is preserved.
919
920 # serial 2
921
922 # _AM_PROG_TAR(FORMAT)
923 # --------------------
924 # Check how to create a tarball in format FORMAT.
925 # FORMAT should be one of `v7', `ustar', or `pax'.
926 #
927 # Substitute a variable $(am__tar) that is a command
928 # writing to stdout a FORMAT-tarball containing the directory
929 # $tardir.
930 # tardir=directory && $(am__tar) > result.tar
931 #
932 # Substitute a variable $(am__untar) that extract such
933 # a tarball read from stdin.
934 # $(am__untar) < result.tar
935 AC_DEFUN([_AM_PROG_TAR],
936 [# Always define AMTAR for backward compatibility.
937 AM_MISSING_PROG([AMTAR], [tar])
938 m4_if([$1], [v7],
939 [am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'],
940 [m4_case([$1], [ustar],, [pax],,
941 [m4_fatal([Unknown tar format])])
942 AC_MSG_CHECKING([how to create a $1 tar archive])
943 # Loop over all known methods to create a tar archive until one works.
944 _am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none'
945 _am_tools=${am_cv_prog_tar_$1-$_am_tools}
946 # Do not fold the above two line into one, because Tru64 sh and
947 # Solaris sh will not grok spaces in the rhs of `-'.
948 for _am_tool in $_am_tools
949 do
950 case $_am_tool in
951 gnutar)
952 for _am_tar in tar gnutar gtar;
953 do
954 AM_RUN_LOG([$_am_tar --version]) && break
955 done
956 am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"'
957 am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"'
958 am__untar="$_am_tar -xf -"
959 ;;
960 plaintar)
961 # Must skip GNU tar: if it does not support --format= it doesn't create
962 # ustar tarball either.
963 (tar --version) >/dev/null 2>&1 && continue
964 am__tar='tar chf - "$$tardir"'
965 am__tar_='tar chf - "$tardir"'
966 am__untar='tar xf -'
967 ;;
968 pax)
969 am__tar='pax -L -x $1 -w "$$tardir"'
970 am__tar_='pax -L -x $1 -w "$tardir"'
971 am__untar='pax -r'
972 ;;
973 cpio)
974 am__tar='find "$$tardir" -print | cpio -o -H $1 -L'
975 am__tar_='find "$tardir" -print | cpio -o -H $1 -L'
976 am__untar='cpio -i -H $1 -d'
977 ;;
978 none)
979 am__tar=false
980 am__tar_=false
981 am__untar=false
982 ;;
983 esac
984
985 # If the value was cached, stop now. We just wanted to have am__tar
986 # and am__untar set.
987 test -n "${am_cv_prog_tar_$1}" && break
988
989 # tar/untar a dummy directory, and stop if the command works
990 rm -rf conftest.dir
991 mkdir conftest.dir
992 echo GrepMe > conftest.dir/file
993 AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar])
994 rm -rf conftest.dir
995 if test -s conftest.tar; then
996 AM_RUN_LOG([$am__untar <conftest.tar])
997 grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
998 fi
999 done
1000 rm -rf conftest.dir
1001
1002 AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool])
1003 AC_MSG_RESULT([$am_cv_prog_tar_$1])])
1004 AC_SUBST([am__tar])
1005 AC_SUBST([am__untar])
1006 ]) # _AM_PROG_TAR
1007
1008 m4_include([acinclude.m4])
0 #! /bin/sh
1 # Wrapper for compilers which do not understand `-c -o'.
2
3 scriptversion=2005-05-14.22
4
5 # Copyright (C) 1999, 2000, 2003, 2004, 2005 Free Software Foundation, Inc.
6 # Written by Tom Tromey <tromey@cygnus.com>.
7 #
8 # This program is free software; you can redistribute it and/or modify
9 # it under the terms of the GNU General Public License as published by
10 # the Free Software Foundation; either version 2, or (at your option)
11 # any later version.
12 #
13 # This program is distributed in the hope that it will be useful,
14 # but WITHOUT ANY WARRANTY; without even the implied warranty of
15 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 # GNU General Public License for more details.
17 #
18 # You should have received a copy of the GNU General Public License
19 # along with this program; if not, write to the Free Software
20 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
21
22 # As a special exception to the GNU General Public License, if you
23 # distribute this file as part of a program that contains a
24 # configuration script generated by Autoconf, you may include it under
25 # the same distribution terms that you use for the rest of that program.
26
27 # This file is maintained in Automake, please report
28 # bugs to <bug-automake@gnu.org> or send patches to
29 # <automake-patches@gnu.org>.
30
31 case $1 in
32 '')
33 echo "$0: No command. Try \`$0 --help' for more information." 1>&2
34 exit 1;
35 ;;
36 -h | --h*)
37 cat <<\EOF
38 Usage: compile [--help] [--version] PROGRAM [ARGS]
39
40 Wrapper for compilers which do not understand `-c -o'.
41 Remove `-o dest.o' from ARGS, run PROGRAM with the remaining
42 arguments, and rename the output as expected.
43
44 If you are trying to build a whole package this is not the
45 right script to run: please start by reading the file `INSTALL'.
46
47 Report bugs to <bug-automake@gnu.org>.
48 EOF
49 exit $?
50 ;;
51 -v | --v*)
52 echo "compile $scriptversion"
53 exit $?
54 ;;
55 esac
56
57 ofile=
58 cfile=
59 eat=
60
61 for arg
62 do
63 if test -n "$eat"; then
64 eat=
65 else
66 case $1 in
67 -o)
68 # configure might choose to run compile as `compile cc -o foo foo.c'.
69 # So we strip `-o arg' only if arg is an object.
70 eat=1
71 case $2 in
72 *.o | *.obj)
73 ofile=$2
74 ;;
75 *)
76 set x "$@" -o "$2"
77 shift
78 ;;
79 esac
80 ;;
81 *.c)
82 cfile=$1
83 set x "$@" "$1"
84 shift
85 ;;
86 *)
87 set x "$@" "$1"
88 shift
89 ;;
90 esac
91 fi
92 shift
93 done
94
95 if test -z "$ofile" || test -z "$cfile"; then
96 # If no `-o' option was seen then we might have been invoked from a
97 # pattern rule where we don't need one. That is ok -- this is a
98 # normal compilation that the losing compiler can handle. If no
99 # `.c' file was seen then we are probably linking. That is also
100 # ok.
101 exec "$@"
102 fi
103
104 # Name of file we expect compiler to create.
105 cofile=`echo "$cfile" | sed -e 's|^.*/||' -e 's/\.c$/.o/'`
106
107 # Create the lock directory.
108 # Note: use `[/.-]' here to ensure that we don't use the same name
109 # that we are using for the .o file. Also, base the name on the expected
110 # object file name, since that is what matters with a parallel build.
111 lockdir=`echo "$cofile" | sed -e 's|[/.-]|_|g'`.d
112 while true; do
113 if mkdir "$lockdir" >/dev/null 2>&1; then
114 break
115 fi
116 sleep 1
117 done
118 # FIXME: race condition here if user kills between mkdir and trap.
119 trap "rmdir '$lockdir'; exit 1" 1 2 15
120
121 # Run the compile.
122 "$@"
123 ret=$?
124
125 if test -f "$cofile"; then
126 mv "$cofile" "$ofile"
127 elif test -f "${cofile}bj"; then
128 mv "${cofile}bj" "$ofile"
129 fi
130
131 rmdir "$lockdir"
132 exit $ret
133
134 # Local Variables:
135 # mode: shell-script
136 # sh-indentation: 2
137 # eval: (add-hook 'write-file-hooks 'time-stamp)
138 # time-stamp-start: "scriptversion="
139 # time-stamp-format: "%:y-%02m-%02d.%02H"
140 # time-stamp-end: "$"
141 # End:
0 #! /bin/sh
1 # Guess values for system-dependent variables and create Makefiles.
2 # Generated by GNU Autoconf 2.59.
3 #
4 # Copyright (C) 2003 Free Software Foundation, Inc.
5 # This configure script is free software; the Free Software Foundation
6 # gives unlimited permission to copy, distribute and modify it.
7 ## --------------------- ##
8 ## M4sh Initialization. ##
9 ## --------------------- ##
10
11 # Be Bourne compatible
12 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
13 emulate sh
14 NULLCMD=:
15 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
16 # is contrary to our usage. Disable this feature.
17 alias -g '${1+"$@"}'='"$@"'
18 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
19 set -o posix
20 fi
21 DUALCASE=1; export DUALCASE # for MKS sh
22
23 # Support unset when possible.
24 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
25 as_unset=unset
26 else
27 as_unset=false
28 fi
29
30
31 # Work around bugs in pre-3.0 UWIN ksh.
32 $as_unset ENV MAIL MAILPATH
33 PS1='$ '
34 PS2='> '
35 PS4='+ '
36
37 # NLS nuisances.
38 for as_var in \
39 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
40 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
41 LC_TELEPHONE LC_TIME
42 do
43 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
44 eval $as_var=C; export $as_var
45 else
46 $as_unset $as_var
47 fi
48 done
49
50 # Required to use basename.
51 if expr a : '\(a\)' >/dev/null 2>&1; then
52 as_expr=expr
53 else
54 as_expr=false
55 fi
56
57 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
58 as_basename=basename
59 else
60 as_basename=false
61 fi
62
63
64 # Name of the executable.
65 as_me=`$as_basename "$0" ||
66 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
67 X"$0" : 'X\(//\)$' \| \
68 X"$0" : 'X\(/\)$' \| \
69 . : '\(.\)' 2>/dev/null ||
70 echo X/"$0" |
71 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
72 /^X\/\(\/\/\)$/{ s//\1/; q; }
73 /^X\/\(\/\).*/{ s//\1/; q; }
74 s/.*/./; q'`
75
76
77 # PATH needs CR, and LINENO needs CR and PATH.
78 # Avoid depending upon Character Ranges.
79 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
80 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
81 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
82 as_cr_digits='0123456789'
83 as_cr_alnum=$as_cr_Letters$as_cr_digits
84
85 # The user is always right.
86 if test "${PATH_SEPARATOR+set}" != set; then
87 echo "#! /bin/sh" >conf$$.sh
88 echo "exit 0" >>conf$$.sh
89 chmod +x conf$$.sh
90 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
91 PATH_SEPARATOR=';'
92 else
93 PATH_SEPARATOR=:
94 fi
95 rm -f conf$$.sh
96 fi
97
98
99 as_lineno_1=$LINENO
100 as_lineno_2=$LINENO
101 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
102 test "x$as_lineno_1" != "x$as_lineno_2" &&
103 test "x$as_lineno_3" = "x$as_lineno_2" || {
104 # Find who we are. Look in the path if we contain no path at all
105 # relative or not.
106 case $0 in
107 *[\\/]* ) as_myself=$0 ;;
108 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
109 for as_dir in $PATH
110 do
111 IFS=$as_save_IFS
112 test -z "$as_dir" && as_dir=.
113 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
114 done
115
116 ;;
117 esac
118 # We did not find ourselves, most probably we were run as `sh COMMAND'
119 # in which case we are not to be found in the path.
120 if test "x$as_myself" = x; then
121 as_myself=$0
122 fi
123 if test ! -f "$as_myself"; then
124 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
125 { (exit 1); exit 1; }; }
126 fi
127 case $CONFIG_SHELL in
128 '')
129 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
130 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
131 do
132 IFS=$as_save_IFS
133 test -z "$as_dir" && as_dir=.
134 for as_base in sh bash ksh sh5; do
135 case $as_dir in
136 /*)
137 if ("$as_dir/$as_base" -c '
138 as_lineno_1=$LINENO
139 as_lineno_2=$LINENO
140 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
141 test "x$as_lineno_1" != "x$as_lineno_2" &&
142 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
143 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
144 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
145 CONFIG_SHELL=$as_dir/$as_base
146 export CONFIG_SHELL
147 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
148 fi;;
149 esac
150 done
151 done
152 ;;
153 esac
154
155 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
156 # uniformly replaced by the line number. The first 'sed' inserts a
157 # line-number line before each line; the second 'sed' does the real
158 # work. The second script uses 'N' to pair each line-number line
159 # with the numbered line, and appends trailing '-' during
160 # substitution so that $LINENO is not a special case at line end.
161 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
162 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
163 sed '=' <$as_myself |
164 sed '
165 N
166 s,$,-,
167 : loop
168 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
169 t loop
170 s,-$,,
171 s,^['$as_cr_digits']*\n,,
172 ' >$as_me.lineno &&
173 chmod +x $as_me.lineno ||
174 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
175 { (exit 1); exit 1; }; }
176
177 # Don't try to exec as it changes $[0], causing all sort of problems
178 # (the dirname of $[0] is not the place where we might find the
179 # original and so on. Autoconf is especially sensible to this).
180 . ./$as_me.lineno
181 # Exit status is that of the last command.
182 exit
183 }
184
185
186 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
187 *c*,-n*) ECHO_N= ECHO_C='
188 ' ECHO_T=' ' ;;
189 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
190 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
191 esac
192
193 if expr a : '\(a\)' >/dev/null 2>&1; then
194 as_expr=expr
195 else
196 as_expr=false
197 fi
198
199 rm -f conf$$ conf$$.exe conf$$.file
200 echo >conf$$.file
201 if ln -s conf$$.file conf$$ 2>/dev/null; then
202 # We could just check for DJGPP; but this test a) works b) is more generic
203 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
204 if test -f conf$$.exe; then
205 # Don't use ln at all; we don't have any links
206 as_ln_s='cp -p'
207 else
208 as_ln_s='ln -s'
209 fi
210 elif ln conf$$.file conf$$ 2>/dev/null; then
211 as_ln_s=ln
212 else
213 as_ln_s='cp -p'
214 fi
215 rm -f conf$$ conf$$.exe conf$$.file
216
217 if mkdir -p . 2>/dev/null; then
218 as_mkdir_p=:
219 else
220 test -d ./-p && rmdir ./-p
221 as_mkdir_p=false
222 fi
223
224 as_executable_p="test -f"
225
226 # Sed expression to map a string onto a valid CPP name.
227 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
228
229 # Sed expression to map a string onto a valid variable name.
230 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
231
232
233 # IFS
234 # We need space, tab and new line, in precisely that order.
235 as_nl='
236 '
237 IFS=" $as_nl"
238
239 # CDPATH.
240 $as_unset CDPATH
241
242
243 # Name of the host.
244 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
245 # so uname gets run too.
246 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
247
248 exec 6>&1
249
250 #
251 # Initializations.
252 #
253 ac_default_prefix=/usr/local
254 ac_config_libobj_dir=.
255 cross_compiling=no
256 subdirs=
257 MFLAGS=
258 MAKEFLAGS=
259 SHELL=${CONFIG_SHELL-/bin/sh}
260
261 # Maximum number of lines to put in a shell here document.
262 # This variable seems obsolete. It should probably be removed, and
263 # only ac_max_sed_lines should be used.
264 : ${ac_max_here_lines=38}
265
266 # Identity of this package.
267 PACKAGE_NAME=
268 PACKAGE_TARNAME=
269 PACKAGE_VERSION=
270 PACKAGE_STRING=
271 PACKAGE_BUGREPORT=
272
273 ac_unique_file="virt-viewer.spec.in"
274 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE WARN_CFLAGS PKG_CONFIG ac_pt_PKG_CONFIG LIBXML2_CFLAGS LIBXML2_LIBS LIBVIRT_CFLAGS LIBVIRT_LIBS GTK2_CFLAGS GTK2_LIBS GTKVNC_CFLAGS GTKVNC_LIBS LIBOBJS LTLIBOBJS'
275 ac_subst_files=''
276
277 # Initialize some variables set by options.
278 ac_init_help=
279 ac_init_version=false
280 # The variables have the same names as the options, with
281 # dashes changed to underlines.
282 cache_file=/dev/null
283 exec_prefix=NONE
284 no_create=
285 no_recursion=
286 prefix=NONE
287 program_prefix=NONE
288 program_suffix=NONE
289 program_transform_name=s,x,x,
290 silent=
291 site=
292 srcdir=
293 verbose=
294 x_includes=NONE
295 x_libraries=NONE
296
297 # Installation directory options.
298 # These are left unexpanded so users can "make install exec_prefix=/foo"
299 # and all the variables that are supposed to be based on exec_prefix
300 # by default will actually change.
301 # Use braces instead of parens because sh, perl, etc. also accept them.
302 bindir='${exec_prefix}/bin'
303 sbindir='${exec_prefix}/sbin'
304 libexecdir='${exec_prefix}/libexec'
305 datadir='${prefix}/share'
306 sysconfdir='${prefix}/etc'
307 sharedstatedir='${prefix}/com'
308 localstatedir='${prefix}/var'
309 libdir='${exec_prefix}/lib'
310 includedir='${prefix}/include'
311 oldincludedir='/usr/include'
312 infodir='${prefix}/info'
313 mandir='${prefix}/man'
314
315 ac_prev=
316 for ac_option
317 do
318 # If the previous option needs an argument, assign it.
319 if test -n "$ac_prev"; then
320 eval "$ac_prev=\$ac_option"
321 ac_prev=
322 continue
323 fi
324
325 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
326
327 # Accept the important Cygnus configure options, so we can diagnose typos.
328
329 case $ac_option in
330
331 -bindir | --bindir | --bindi | --bind | --bin | --bi)
332 ac_prev=bindir ;;
333 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
334 bindir=$ac_optarg ;;
335
336 -build | --build | --buil | --bui | --bu)
337 ac_prev=build_alias ;;
338 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
339 build_alias=$ac_optarg ;;
340
341 -cache-file | --cache-file | --cache-fil | --cache-fi \
342 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
343 ac_prev=cache_file ;;
344 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
345 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
346 cache_file=$ac_optarg ;;
347
348 --config-cache | -C)
349 cache_file=config.cache ;;
350
351 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
352 ac_prev=datadir ;;
353 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
354 | --da=*)
355 datadir=$ac_optarg ;;
356
357 -disable-* | --disable-*)
358 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
359 # Reject names that are not valid shell variable names.
360 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
361 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
362 { (exit 1); exit 1; }; }
363 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
364 eval "enable_$ac_feature=no" ;;
365
366 -enable-* | --enable-*)
367 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
368 # Reject names that are not valid shell variable names.
369 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
370 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
371 { (exit 1); exit 1; }; }
372 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
373 case $ac_option in
374 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
375 *) ac_optarg=yes ;;
376 esac
377 eval "enable_$ac_feature='$ac_optarg'" ;;
378
379 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
380 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
381 | --exec | --exe | --ex)
382 ac_prev=exec_prefix ;;
383 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
384 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
385 | --exec=* | --exe=* | --ex=*)
386 exec_prefix=$ac_optarg ;;
387
388 -gas | --gas | --ga | --g)
389 # Obsolete; use --with-gas.
390 with_gas=yes ;;
391
392 -help | --help | --hel | --he | -h)
393 ac_init_help=long ;;
394 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
395 ac_init_help=recursive ;;
396 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
397 ac_init_help=short ;;
398
399 -host | --host | --hos | --ho)
400 ac_prev=host_alias ;;
401 -host=* | --host=* | --hos=* | --ho=*)
402 host_alias=$ac_optarg ;;
403
404 -includedir | --includedir | --includedi | --included | --include \
405 | --includ | --inclu | --incl | --inc)
406 ac_prev=includedir ;;
407 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
408 | --includ=* | --inclu=* | --incl=* | --inc=*)
409 includedir=$ac_optarg ;;
410
411 -infodir | --infodir | --infodi | --infod | --info | --inf)
412 ac_prev=infodir ;;
413 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
414 infodir=$ac_optarg ;;
415
416 -libdir | --libdir | --libdi | --libd)
417 ac_prev=libdir ;;
418 -libdir=* | --libdir=* | --libdi=* | --libd=*)
419 libdir=$ac_optarg ;;
420
421 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
422 | --libexe | --libex | --libe)
423 ac_prev=libexecdir ;;
424 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
425 | --libexe=* | --libex=* | --libe=*)
426 libexecdir=$ac_optarg ;;
427
428 -localstatedir | --localstatedir | --localstatedi | --localstated \
429 | --localstate | --localstat | --localsta | --localst \
430 | --locals | --local | --loca | --loc | --lo)
431 ac_prev=localstatedir ;;
432 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
433 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
434 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
435 localstatedir=$ac_optarg ;;
436
437 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
438 ac_prev=mandir ;;
439 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
440 mandir=$ac_optarg ;;
441
442 -nfp | --nfp | --nf)
443 # Obsolete; use --without-fp.
444 with_fp=no ;;
445
446 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
447 | --no-cr | --no-c | -n)
448 no_create=yes ;;
449
450 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
451 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
452 no_recursion=yes ;;
453
454 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
455 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
456 | --oldin | --oldi | --old | --ol | --o)
457 ac_prev=oldincludedir ;;
458 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
459 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
460 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
461 oldincludedir=$ac_optarg ;;
462
463 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
464 ac_prev=prefix ;;
465 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
466 prefix=$ac_optarg ;;
467
468 -program-prefix | --program-prefix | --program-prefi | --program-pref \
469 | --program-pre | --program-pr | --program-p)
470 ac_prev=program_prefix ;;
471 -program-prefix=* | --program-prefix=* | --program-prefi=* \
472 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
473 program_prefix=$ac_optarg ;;
474
475 -program-suffix | --program-suffix | --program-suffi | --program-suff \
476 | --program-suf | --program-su | --program-s)
477 ac_prev=program_suffix ;;
478 -program-suffix=* | --program-suffix=* | --program-suffi=* \
479 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
480 program_suffix=$ac_optarg ;;
481
482 -program-transform-name | --program-transform-name \
483 | --program-transform-nam | --program-transform-na \
484 | --program-transform-n | --program-transform- \
485 | --program-transform | --program-transfor \
486 | --program-transfo | --program-transf \
487 | --program-trans | --program-tran \
488 | --progr-tra | --program-tr | --program-t)
489 ac_prev=program_transform_name ;;
490 -program-transform-name=* | --program-transform-name=* \
491 | --program-transform-nam=* | --program-transform-na=* \
492 | --program-transform-n=* | --program-transform-=* \
493 | --program-transform=* | --program-transfor=* \
494 | --program-transfo=* | --program-transf=* \
495 | --program-trans=* | --program-tran=* \
496 | --progr-tra=* | --program-tr=* | --program-t=*)
497 program_transform_name=$ac_optarg ;;
498
499 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
500 | -silent | --silent | --silen | --sile | --sil)
501 silent=yes ;;
502
503 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
504 ac_prev=sbindir ;;
505 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
506 | --sbi=* | --sb=*)
507 sbindir=$ac_optarg ;;
508
509 -sharedstatedir | --sharedstatedir | --sharedstatedi \
510 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
511 | --sharedst | --shareds | --shared | --share | --shar \
512 | --sha | --sh)
513 ac_prev=sharedstatedir ;;
514 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
515 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
516 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
517 | --sha=* | --sh=*)
518 sharedstatedir=$ac_optarg ;;
519
520 -site | --site | --sit)
521 ac_prev=site ;;
522 -site=* | --site=* | --sit=*)
523 site=$ac_optarg ;;
524
525 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
526 ac_prev=srcdir ;;
527 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
528 srcdir=$ac_optarg ;;
529
530 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
531 | --syscon | --sysco | --sysc | --sys | --sy)
532 ac_prev=sysconfdir ;;
533 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
534 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
535 sysconfdir=$ac_optarg ;;
536
537 -target | --target | --targe | --targ | --tar | --ta | --t)
538 ac_prev=target_alias ;;
539 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
540 target_alias=$ac_optarg ;;
541
542 -v | -verbose | --verbose | --verbos | --verbo | --verb)
543 verbose=yes ;;
544
545 -version | --version | --versio | --versi | --vers | -V)
546 ac_init_version=: ;;
547
548 -with-* | --with-*)
549 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
550 # Reject names that are not valid shell variable names.
551 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
552 { echo "$as_me: error: invalid package name: $ac_package" >&2
553 { (exit 1); exit 1; }; }
554 ac_package=`echo $ac_package| sed 's/-/_/g'`
555 case $ac_option in
556 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
557 *) ac_optarg=yes ;;
558 esac
559 eval "with_$ac_package='$ac_optarg'" ;;
560
561 -without-* | --without-*)
562 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
563 # Reject names that are not valid shell variable names.
564 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
565