Codebase list bluez-firmware / 240abfd
Import Upstream version 1.0 Nobuhiro Iwamatsu 5 years ago
17 changed file(s) with 5391 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
0 Marcel Holtmann <marcel@holtmann.org>
1 Original author.
2 Primary maintainer.
0 GNU GENERAL PUBLIC LICENSE
1 Version 2, June 1991
2
3 Copyright (C) 1989, 1991 Free Software Foundation, Inc.
4 59 Temple Place, Suite 330, Boston, MA 02111-1307 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 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 ver 1.0:
1 Initial public release.
0 Copyright (C) 1994, 1995, 1996, 1999, 2000, 2001, 2002 Free Software
1 Foundation, Inc.
2
3 This file is free documentation; the Free Software Foundation gives
4 unlimited permission to copy, distribute and modify it.
5
6 Basic Installation
7 ==================
8
9 These are generic installation instructions.
10
11 The `configure' shell script attempts to guess correct values for
12 various system-dependent variables used during compilation. It uses
13 those values to create a `Makefile' in each directory of the package.
14 It may also create one or more `.h' files containing system-dependent
15 definitions. Finally, it creates a shell script `config.status' that
16 you can run in the future to recreate the current configuration, and a
17 file `config.log' containing compiler output (useful mainly for
18 debugging `configure').
19
20 It can also use an optional file (typically called `config.cache'
21 and enabled with `--cache-file=config.cache' or simply `-C') that saves
22 the results of its tests to speed up reconfiguring. (Caching is
23 disabled by default to prevent problems with accidental use of stale
24 cache files.)
25
26 If you need to do unusual things to compile the package, please try
27 to figure out how `configure' could check whether to do them, and mail
28 diffs or instructions to the address given in the `README' so they can
29 be considered for the next release. If you are using the cache, and at
30 some point `config.cache' contains results you don't want to keep, you
31 may remove or edit it.
32
33 The file `configure.ac' (or `configure.in') is used to create
34 `configure' by a program called `autoconf'. You only need
35 `configure.ac' if you want to change it or regenerate `configure' using
36 a newer version of `autoconf'.
37
38 The simplest way to compile this package is:
39
40 1. `cd' to the directory containing the package's source code and type
41 `./configure' to configure the package for your system. If you're
42 using `csh' on an old version of System V, you might need to type
43 `sh ./configure' instead to prevent `csh' from trying to execute
44 `configure' itself.
45
46 Running `configure' takes awhile. While running, it prints some
47 messages telling which features it is checking for.
48
49 2. Type `make' to compile the package.
50
51 3. Optionally, type `make check' to run any self-tests that come with
52 the package.
53
54 4. Type `make install' to install the programs and any data files and
55 documentation.
56
57 5. You can remove the program binaries and object files from the
58 source code directory by typing `make clean'. To also remove the
59 files that `configure' created (so you can compile the package for
60 a different kind of computer), type `make distclean'. There is
61 also a `make maintainer-clean' target, but that is intended mainly
62 for the package's developers. If you use it, you may have to get
63 all sorts of other programs in order to regenerate files that came
64 with the distribution.
65
66 Compilers and Options
67 =====================
68
69 Some systems require unusual options for compilation or linking that
70 the `configure' script does not know about. Run `./configure --help'
71 for details on some of the pertinent environment variables.
72
73 You can give `configure' initial values for configuration parameters
74 by setting variables in the command line or in the environment. Here
75 is an example:
76
77 ./configure CC=c89 CFLAGS=-O2 LIBS=-lposix
78
79 *Note Defining Variables::, for more details.
80
81 Compiling For Multiple Architectures
82 ====================================
83
84 You can compile the package for more than one kind of computer at the
85 same time, by placing the object files for each architecture in their
86 own directory. To do this, you must use a version of `make' that
87 supports the `VPATH' variable, such as GNU `make'. `cd' to the
88 directory where you want the object files and executables to go and run
89 the `configure' script. `configure' automatically checks for the
90 source code in the directory that `configure' is in and in `..'.
91
92 If you have to use a `make' that does not support the `VPATH'
93 variable, you have to compile the package for one architecture at a
94 time in the source code directory. After you have installed the
95 package for one architecture, use `make distclean' before reconfiguring
96 for another architecture.
97
98 Installation Names
99 ==================
100
101 By default, `make install' will install the package's files in
102 `/usr/local/bin', `/usr/local/man', etc. You can specify an
103 installation prefix other than `/usr/local' by giving `configure' the
104 option `--prefix=PATH'.
105
106 You can specify separate installation prefixes for
107 architecture-specific files and architecture-independent files. If you
108 give `configure' the option `--exec-prefix=PATH', the package will use
109 PATH as the prefix for installing programs and libraries.
110 Documentation and other data files will still use the regular prefix.
111
112 In addition, if you use an unusual directory layout you can give
113 options like `--bindir=PATH' to specify different values for particular
114 kinds of files. Run `configure --help' for a list of the directories
115 you can set and what kinds of files go in them.
116
117 If the package supports it, you can cause programs to be installed
118 with an extra prefix or suffix on their names by giving `configure' the
119 option `--program-prefix=PREFIX' or `--program-suffix=SUFFIX'.
120
121 Optional Features
122 =================
123
124 Some packages pay attention to `--enable-FEATURE' options to
125 `configure', where FEATURE indicates an optional part of the package.
126 They may also pay attention to `--with-PACKAGE' options, where PACKAGE
127 is something like `gnu-as' or `x' (for the X Window System). The
128 `README' should mention any `--enable-' and `--with-' options that the
129 package recognizes.
130
131 For packages that use the X Window System, `configure' can usually
132 find the X include and library files automatically, but if it doesn't,
133 you can use the `configure' options `--x-includes=DIR' and
134 `--x-libraries=DIR' to specify their locations.
135
136 Specifying the System Type
137 ==========================
138
139 There may be some features `configure' cannot figure out
140 automatically, but needs to determine by the type of machine the package
141 will run on. Usually, assuming the package is built to be run on the
142 _same_ architectures, `configure' can figure that out, but if it prints
143 a message saying it cannot guess the machine type, give it the
144 `--build=TYPE' option. TYPE can either be a short name for the system
145 type, such as `sun4', or a canonical name which has the form:
146
147 CPU-COMPANY-SYSTEM
148
149 where SYSTEM can have one of these forms:
150
151 OS KERNEL-OS
152
153 See the file `config.sub' for the possible values of each field. If
154 `config.sub' isn't included in this package, then this package doesn't
155 need to know the machine type.
156
157 If you are _building_ compiler tools for cross-compiling, you should
158 use the `--target=TYPE' option to select the type of system they will
159 produce code for.
160
161 If you want to _use_ a cross compiler, that generates code for a
162 platform different from the build platform, you should specify the
163 "host" platform (i.e., that on which the generated programs will
164 eventually be run) with `--host=TYPE'.
165
166 Sharing Defaults
167 ================
168
169 If you want to set default values for `configure' scripts to share,
170 you can create a site shell script called `config.site' that gives
171 default values for variables like `CC', `cache_file', and `prefix'.
172 `configure' looks for `PREFIX/share/config.site' if it exists, then
173 `PREFIX/etc/config.site' if it exists. Or, you can set the
174 `CONFIG_SITE' environment variable to the location of the site script.
175 A warning: not all `configure' scripts look for a site script.
176
177 Defining Variables
178 ==================
179
180 Variables not defined in a site shell script can be set in the
181 environment passed to `configure'. However, some packages may run
182 configure again during the build, and the customized values of these
183 variables may be lost. In order to avoid this problem, you should set
184 them in the `configure' command line, using `VAR=value'. For example:
185
186 ./configure CC=/usr/local2/bin/gcc
187
188 will cause the specified gcc to be used as the C compiler (unless it is
189 overridden in the site shell script).
190
191 `configure' Invocation
192 ======================
193
194 `configure' recognizes the following options to control how it
195 operates.
196
197 `--help'
198 `-h'
199 Print a summary of the options to `configure', and exit.
200
201 `--version'
202 `-V'
203 Print the version of Autoconf used to generate the `configure'
204 script, and exit.
205
206 `--cache-file=FILE'
207 Enable the cache: use and save the results of the tests in FILE,
208 traditionally `config.cache'. FILE defaults to `/dev/null' to
209 disable caching.
210
211 `--config-cache'
212 `-C'
213 Alias for `--cache-file=config.cache'.
214
215 `--quiet'
216 `--silent'
217 `-q'
218 Do not print messages saying which checks are being made. To
219 suppress all normal output, redirect it to `/dev/null' (any error
220 messages will still be shown).
221
222 `--srcdir=DIR'
223 Look for the package's source code in directory DIR. Usually
224 `configure' can determine that directory automatically.
225
226 `configure' also accepts some other, not widely useful, options. Run
227 `configure --help' for more details.
228
0 #
1 # $Id: Makefile.am,v 1.2 2004/07/26 22:17:36 holtmann Exp $
2 #
3
4 firmwaredir = /lib/firmware
5
6 firmware = \
7 broadcom/BCM-LEGAL.txt \
8 broadcom/BCM2033-MD.hex \
9 broadcom/BCM2033-FW.bin
10
11 EXTRA_DIST = $(firmware)
12
13 MAINTAINERCLEANFILES = Makefile.in \
14 aclocal.m4 configure config.h.in \
15 missing install-sh mkinstalldirs
16
17 install-data-local: $(firmware)
18 $(mkinstalldirs) $(DESTDIR)$(firmwaredir)
19 list='$?'; \
20 for i in $$list; do \
21 $(INSTALL_DATA) $(srcdir)/$$i $(DESTDIR)$(firmwaredir); \
22 done
23
24 uninstall-local: $(firmware)
25 list='$(notdir $?)'; \
26 for i in $$list; do \
27 rm -f $(DESTDIR)$(firmwaredir)/$$i; \
28 done
0 # Makefile.in generated by automake 1.7.9 from Makefile.am.
1 # @configure_input@
2
3 # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
4 # 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
16 #
17 # $Id: Makefile.am,v 1.2 2004/07/26 22:17:36 holtmann Exp $
18 #
19
20 srcdir = @srcdir@
21 top_srcdir = @top_srcdir@
22 VPATH = @srcdir@
23 pkgdatadir = $(datadir)/@PACKAGE@
24 pkglibdir = $(libdir)/@PACKAGE@
25 pkgincludedir = $(includedir)/@PACKAGE@
26 top_builddir = .
27
28 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
29 INSTALL = @INSTALL@
30 install_sh_DATA = $(install_sh) -c -m 644
31 install_sh_PROGRAM = $(install_sh) -c
32 install_sh_SCRIPT = $(install_sh) -c
33 INSTALL_HEADER = $(INSTALL_DATA)
34 transform = $(program_transform_name)
35 NORMAL_INSTALL = :
36 PRE_INSTALL = :
37 POST_INSTALL = :
38 NORMAL_UNINSTALL = :
39 PRE_UNINSTALL = :
40 POST_UNINSTALL = :
41 ACLOCAL = @ACLOCAL@
42 AMTAR = @AMTAR@
43 AUTOCONF = @AUTOCONF@
44 AUTOHEADER = @AUTOHEADER@
45 AUTOMAKE = @AUTOMAKE@
46 AWK = @AWK@
47 CYGPATH_W = @CYGPATH_W@
48 DEFS = @DEFS@
49 ECHO_C = @ECHO_C@
50 ECHO_N = @ECHO_N@
51 ECHO_T = @ECHO_T@
52 INSTALL_DATA = @INSTALL_DATA@
53 INSTALL_PROGRAM = @INSTALL_PROGRAM@
54 INSTALL_SCRIPT = @INSTALL_SCRIPT@
55 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
56 LIBOBJS = @LIBOBJS@
57 LIBS = @LIBS@
58 LTLIBOBJS = @LTLIBOBJS@
59 MAINT = @MAINT@
60 MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@
61 MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
62 MAKEINFO = @MAKEINFO@
63 PACKAGE = @PACKAGE@
64 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
65 PACKAGE_NAME = @PACKAGE_NAME@
66 PACKAGE_STRING = @PACKAGE_STRING@
67 PACKAGE_TARNAME = @PACKAGE_TARNAME@
68 PACKAGE_VERSION = @PACKAGE_VERSION@
69 PATH_SEPARATOR = @PATH_SEPARATOR@
70 SET_MAKE = @SET_MAKE@
71 SHELL = @SHELL@
72 STRIP = @STRIP@
73 VERSION = @VERSION@
74 ac_ct_STRIP = @ac_ct_STRIP@
75 am__leading_dot = @am__leading_dot@
76 bindir = @bindir@
77 build_alias = @build_alias@
78 datadir = @datadir@
79 exec_prefix = @exec_prefix@
80 host_alias = @host_alias@
81 includedir = @includedir@
82 infodir = @infodir@
83 install_sh = @install_sh@
84 libdir = @libdir@
85 libexecdir = @libexecdir@
86 localstatedir = @localstatedir@
87 mandir = @mandir@
88 oldincludedir = @oldincludedir@
89 prefix = @prefix@
90 program_transform_name = @program_transform_name@
91 sbindir = @sbindir@
92 sharedstatedir = @sharedstatedir@
93 sysconfdir = @sysconfdir@
94 target_alias = @target_alias@
95
96 firmwaredir = /lib/firmware
97
98 firmware = \
99 broadcom/BCM-LEGAL.txt \
100 broadcom/BCM2033-MD.hex \
101 broadcom/BCM2033-FW.bin
102
103
104 EXTRA_DIST = $(firmware)
105
106 MAINTAINERCLEANFILES = Makefile.in \
107 aclocal.m4 configure config.h.in \
108 missing install-sh mkinstalldirs
109
110 subdir = .
111 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
112 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
113 CONFIG_CLEAN_FILES =
114 depcomp =
115 am__depfiles_maybe =
116 DIST_SOURCES =
117 DIST_COMMON = README $(srcdir)/Makefile.in $(srcdir)/configure AUTHORS \
118 COPYING ChangeLog INSTALL Makefile.am NEWS aclocal.m4 \
119 configure.in install-sh missing mkinstalldirs
120 all: all-am
121
122 .SUFFIXES:
123
124 am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
125 configure.lineno
126 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
127 cd $(top_srcdir) && \
128 $(AUTOMAKE) --gnu --ignore-deps Makefile
129 Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in $(top_builddir)/config.status
130 cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)
131
132 $(top_builddir)/config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
133 $(SHELL) ./config.status --recheck
134 $(srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
135 cd $(srcdir) && $(AUTOCONF)
136
137 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ configure.in
138 cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
139 uninstall-info-am:
140 tags: TAGS
141 TAGS:
142
143 ctags: CTAGS
144 CTAGS:
145
146 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
147
148 top_distdir = .
149 distdir = $(PACKAGE)-$(VERSION)
150
151 am__remove_distdir = \
152 { test ! -d $(distdir) \
153 || { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \
154 && rm -fr $(distdir); }; }
155
156 GZIP_ENV = --best
157 distuninstallcheck_listfiles = find . -type f -print
158 distcleancheck_listfiles = find . -type f -print
159
160 distdir: $(DISTFILES)
161 $(am__remove_distdir)
162 mkdir $(distdir)
163 $(mkinstalldirs) $(distdir)/broadcom
164 @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
165 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
166 list='$(DISTFILES)'; for file in $$list; do \
167 case $$file in \
168 $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
169 $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
170 esac; \
171 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
172 dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
173 if test "$$dir" != "$$file" && test "$$dir" != "."; then \
174 dir="/$$dir"; \
175 $(mkinstalldirs) "$(distdir)$$dir"; \
176 else \
177 dir=''; \
178 fi; \
179 if test -d $$d/$$file; then \
180 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
181 cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
182 fi; \
183 cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
184 else \
185 test -f $(distdir)/$$file \
186 || cp -p $$d/$$file $(distdir)/$$file \
187 || exit 1; \
188 fi; \
189 done
190 -find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
191 ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
192 ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
193 ! -type d ! -perm -444 -exec $(SHELL) $(install_sh) -c -m a+r {} {} \; \
194 || chmod -R a+r $(distdir)
195 dist-gzip: distdir
196 $(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
197 $(am__remove_distdir)
198
199 dist dist-all: distdir
200 $(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
201 $(am__remove_distdir)
202
203 # This target untars the dist file and tries a VPATH configuration. Then
204 # it guarantees that the distribution is self-contained by making another
205 # tarfile.
206 distcheck: dist
207 $(am__remove_distdir)
208 GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(AMTAR) xf -
209 chmod -R a-w $(distdir); chmod a+w $(distdir)
210 mkdir $(distdir)/_build
211 mkdir $(distdir)/_inst
212 chmod a-w $(distdir)
213 dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
214 && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
215 && cd $(distdir)/_build \
216 && ../configure --srcdir=.. --prefix="$$dc_install_base" \
217 $(DISTCHECK_CONFIGURE_FLAGS) \
218 && $(MAKE) $(AM_MAKEFLAGS) \
219 && $(MAKE) $(AM_MAKEFLAGS) dvi \
220 && $(MAKE) $(AM_MAKEFLAGS) check \
221 && $(MAKE) $(AM_MAKEFLAGS) install \
222 && $(MAKE) $(AM_MAKEFLAGS) installcheck \
223 && $(MAKE) $(AM_MAKEFLAGS) uninstall \
224 && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
225 distuninstallcheck \
226 && chmod -R a-w "$$dc_install_base" \
227 && ({ \
228 (cd ../.. && $(mkinstalldirs) "$$dc_destdir") \
229 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
230 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
231 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
232 distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
233 } || { rm -rf "$$dc_destdir"; exit 1; }) \
234 && rm -rf "$$dc_destdir" \
235 && $(MAKE) $(AM_MAKEFLAGS) dist-gzip \
236 && rm -f $(distdir).tar.gz \
237 && $(MAKE) $(AM_MAKEFLAGS) distcleancheck
238 $(am__remove_distdir)
239 @echo "$(distdir).tar.gz is ready for distribution" | \
240 sed 'h;s/./=/g;p;x;p;x'
241 distuninstallcheck:
242 @cd $(distuninstallcheck_dir) \
243 && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \
244 || { echo "ERROR: files left after uninstall:" ; \
245 if test -n "$(DESTDIR)"; then \
246 echo " (check DESTDIR support)"; \
247 fi ; \
248 $(distuninstallcheck_listfiles) ; \
249 exit 1; } >&2
250 distcleancheck: distclean
251 @if test '$(srcdir)' = . ; then \
252 echo "ERROR: distcleancheck can only run from a VPATH build" ; \
253 exit 1 ; \
254 fi
255 @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
256 || { echo "ERROR: files left in build directory after distclean:" ; \
257 $(distcleancheck_listfiles) ; \
258 exit 1; } >&2
259 check-am: all-am
260 check: check-am
261 all-am: Makefile
262
263 installdirs:
264 install: install-am
265 install-exec: install-exec-am
266 install-data: install-data-am
267 uninstall: uninstall-am
268
269 install-am: all-am
270 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
271
272 installcheck: installcheck-am
273 install-strip:
274 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
275 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
276 `test -z '$(STRIP)' || \
277 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
278 mostlyclean-generic:
279
280 clean-generic:
281
282 distclean-generic:
283 -rm -f $(CONFIG_CLEAN_FILES)
284
285 maintainer-clean-generic:
286 @echo "This command is intended for maintainers to use"
287 @echo "it deletes files that may require special tools to rebuild."
288 -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
289 clean: clean-am
290
291 clean-am: clean-generic mostlyclean-am
292
293 distclean: distclean-am
294 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
295 -rm -f Makefile
296 distclean-am: clean-am distclean-generic
297
298 dvi: dvi-am
299
300 dvi-am:
301
302 info: info-am
303
304 info-am:
305
306 install-data-am: install-data-local
307
308 install-exec-am:
309
310 install-info: install-info-am
311
312 install-man:
313
314 installcheck-am:
315
316 maintainer-clean: maintainer-clean-am
317 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
318 -rm -rf $(top_srcdir)/autom4te.cache
319 -rm -f Makefile
320 maintainer-clean-am: distclean-am maintainer-clean-generic
321
322 mostlyclean: mostlyclean-am
323
324 mostlyclean-am: mostlyclean-generic
325
326 pdf: pdf-am
327
328 pdf-am:
329
330 ps: ps-am
331
332 ps-am:
333
334 uninstall-am: uninstall-info-am uninstall-local
335
336 .PHONY: all all-am check check-am clean clean-generic dist dist-all \
337 dist-gzip distcheck distclean distclean-generic distcleancheck \
338 distdir distuninstallcheck dvi dvi-am info info-am install \
339 install-am install-data install-data-am install-data-local \
340 install-exec install-exec-am install-info install-info-am \
341 install-man install-strip installcheck installcheck-am \
342 installdirs maintainer-clean maintainer-clean-generic \
343 mostlyclean mostlyclean-generic pdf pdf-am ps ps-am uninstall \
344 uninstall-am uninstall-info-am uninstall-local
345
346
347 install-data-local: $(firmware)
348 $(mkinstalldirs) $(DESTDIR)$(firmwaredir)
349 list='$?'; \
350 for i in $$list; do \
351 $(INSTALL_DATA) $(srcdir)/$$i $(DESTDIR)$(firmwaredir); \
352 done
353
354 uninstall-local: $(firmware)
355 list='$(notdir $?)'; \
356 for i in $$list; do \
357 rm -f $(DESTDIR)$(firmwaredir)/$$i; \
358 done
359 # Tell versions [3.59,3.63) of GNU make to not export all variables.
360 # Otherwise a system limit (for SysV at least) may be exceeded.
361 .NOEXPORT:
(New empty file)
0 BlueZ - Bluetooth protocol stack for Linux
1
2 Copyright (C) 2003-2004 Marcel Holtmann <marcel@holtmann.org>
3
4 Bluetooth firmware
5
6
7 1. Compilation and installation
8
9 In order to install Bluetooth firmware you need following software packages:
10 - Linux Bluetooth protocol stack (BlueZ)
11
12 To configure run:
13 ./configure
14
15 Configure automatically searches for all required components and packages.
16
17 To compile and install run:
18 make install
19
20
21 2. Information
22
23 Mailing lists:
24 bluez-users@lists.sf.net - BlueZ general questions and discussions
25 bluez-devel@lists.sf.net - BlueZ development
26
27 For additional information about the project visit BlueZ web site:
28 http://www.bluez.org
0 # generated automatically by aclocal 1.7.9 -*- Autoconf -*-
1
2 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002
3 # 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 # Do all the work for Automake. -*- Autoconf -*-
14
15 # This macro actually does too much some checks are only needed if
16 # your package does certain things. But this isn't really a big deal.
17
18 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
19 # Free Software Foundation, Inc.
20
21 # This program is free software; you can redistribute it and/or modify
22 # it under the terms of the GNU General Public License as published by
23 # the Free Software Foundation; either version 2, or (at your option)
24 # any later version.
25
26 # This program is distributed in the hope that it will be useful,
27 # but WITHOUT ANY WARRANTY; without even the implied warranty of
28 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
29 # GNU General Public License for more details.
30
31 # You should have received a copy of the GNU General Public License
32 # along with this program; if not, write to the Free Software
33 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
34 # 02111-1307, USA.
35
36 # serial 10
37
38 AC_PREREQ([2.54])
39
40 # Autoconf 2.50 wants to disallow AM_ names. We explicitly allow
41 # the ones we care about.
42 m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
43
44 # AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE])
45 # AM_INIT_AUTOMAKE([OPTIONS])
46 # -----------------------------------------------
47 # The call with PACKAGE and VERSION arguments is the old style
48 # call (pre autoconf-2.50), which is being phased out. PACKAGE
49 # and VERSION should now be passed to AC_INIT and removed from
50 # the call to AM_INIT_AUTOMAKE.
51 # We support both call styles for the transition. After
52 # the next Automake release, Autoconf can make the AC_INIT
53 # arguments mandatory, and then we can depend on a new Autoconf
54 # release and drop the old call support.
55 AC_DEFUN([AM_INIT_AUTOMAKE],
56 [AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
57 AC_REQUIRE([AC_PROG_INSTALL])dnl
58 # test to see if srcdir already configured
59 if test "`cd $srcdir && pwd`" != "`pwd`" &&
60 test -f $srcdir/config.status; then
61 AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
62 fi
63
64 # test whether we have cygpath
65 if test -z "$CYGPATH_W"; then
66 if (cygpath --version) >/dev/null 2>/dev/null; then
67 CYGPATH_W='cygpath -w'
68 else
69 CYGPATH_W=echo
70 fi
71 fi
72 AC_SUBST([CYGPATH_W])
73
74 # Define the identity of the package.
75 dnl Distinguish between old-style and new-style calls.
76 m4_ifval([$2],
77 [m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
78 AC_SUBST([PACKAGE], [$1])dnl
79 AC_SUBST([VERSION], [$2])],
80 [_AM_SET_OPTIONS([$1])dnl
81 AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
82 AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
83
84 _AM_IF_OPTION([no-define],,
85 [AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])
86 AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl
87
88 # Some tools Automake needs.
89 AC_REQUIRE([AM_SANITY_CHECK])dnl
90 AC_REQUIRE([AC_ARG_PROGRAM])dnl
91 AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version})
92 AM_MISSING_PROG(AUTOCONF, autoconf)
93 AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version})
94 AM_MISSING_PROG(AUTOHEADER, autoheader)
95 AM_MISSING_PROG(MAKEINFO, makeinfo)
96 AM_MISSING_PROG(AMTAR, tar)
97 AM_PROG_INSTALL_SH
98 AM_PROG_INSTALL_STRIP
99 # We need awk for the "check" target. The system "awk" is bad on
100 # some platforms.
101 AC_REQUIRE([AC_PROG_AWK])dnl
102 AC_REQUIRE([AC_PROG_MAKE_SET])dnl
103 AC_REQUIRE([AM_SET_LEADING_DOT])dnl
104
105 _AM_IF_OPTION([no-dependencies],,
106 [AC_PROVIDE_IFELSE([AC_PROG_CC],
107 [_AM_DEPENDENCIES(CC)],
108 [define([AC_PROG_CC],
109 defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
110 AC_PROVIDE_IFELSE([AC_PROG_CXX],
111 [_AM_DEPENDENCIES(CXX)],
112 [define([AC_PROG_CXX],
113 defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
114 ])
115 ])
116
117
118 # When config.status generates a header, we must update the stamp-h file.
119 # This file resides in the same directory as the config header
120 # that is generated. The stamp files are numbered to have different names.
121
122 # Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the
123 # loop where config.status creates the headers, so we can generate
124 # our stamp files there.
125 AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK],
126 [# Compute $1's index in $config_headers.
127 _am_stamp_count=1
128 for _am_header in $config_headers :; do
129 case $_am_header in
130 $1 | $1:* )
131 break ;;
132 * )
133 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
134 esac
135 done
136 echo "timestamp for $1" >`AS_DIRNAME([$1])`/stamp-h[]$_am_stamp_count])
137
138 # Copyright 2002 Free Software Foundation, Inc.
139
140 # This program is free software; you can redistribute it and/or modify
141 # it under the terms of the GNU General Public License as published by
142 # the Free Software Foundation; either version 2, or (at your option)
143 # any later version.
144
145 # This program is distributed in the hope that it will be useful,
146 # but WITHOUT ANY WARRANTY; without even the implied warranty of
147 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
148 # GNU General Public License for more details.
149
150 # You should have received a copy of the GNU General Public License
151 # along with this program; if not, write to the Free Software
152 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
153
154 # AM_AUTOMAKE_VERSION(VERSION)
155 # ----------------------------
156 # Automake X.Y traces this macro to ensure aclocal.m4 has been
157 # generated from the m4 files accompanying Automake X.Y.
158 AC_DEFUN([AM_AUTOMAKE_VERSION],[am__api_version="1.7"])
159
160 # AM_SET_CURRENT_AUTOMAKE_VERSION
161 # -------------------------------
162 # Call AM_AUTOMAKE_VERSION so it can be traced.
163 # This function is AC_REQUIREd by AC_INIT_AUTOMAKE.
164 AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
165 [AM_AUTOMAKE_VERSION([1.7.9])])
166
167 # Helper functions for option handling. -*- Autoconf -*-
168
169 # Copyright 2001, 2002 Free Software Foundation, Inc.
170
171 # This program is free software; you can redistribute it and/or modify
172 # it under the terms of the GNU General Public License as published by
173 # the Free Software Foundation; either version 2, or (at your option)
174 # any later version.
175
176 # This program is distributed in the hope that it will be useful,
177 # but WITHOUT ANY WARRANTY; without even the implied warranty of
178 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
179 # GNU General Public License for more details.
180
181 # You should have received a copy of the GNU General Public License
182 # along with this program; if not, write to the Free Software
183 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
184 # 02111-1307, USA.
185
186 # serial 2
187
188 # _AM_MANGLE_OPTION(NAME)
189 # -----------------------
190 AC_DEFUN([_AM_MANGLE_OPTION],
191 [[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])
192
193 # _AM_SET_OPTION(NAME)
194 # ------------------------------
195 # Set option NAME. Presently that only means defining a flag for this option.
196 AC_DEFUN([_AM_SET_OPTION],
197 [m4_define(_AM_MANGLE_OPTION([$1]), 1)])
198
199 # _AM_SET_OPTIONS(OPTIONS)
200 # ----------------------------------
201 # OPTIONS is a space-separated list of Automake options.
202 AC_DEFUN([_AM_SET_OPTIONS],
203 [AC_FOREACH([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
204
205 # _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET])
206 # -------------------------------------------
207 # Execute IF-SET if OPTION is set, IF-NOT-SET otherwise.
208 AC_DEFUN([_AM_IF_OPTION],
209 [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
210
211 #
212 # Check to make sure that the build environment is sane.
213 #
214
215 # Copyright 1996, 1997, 2000, 2001 Free Software Foundation, Inc.
216
217 # This program is free software; you can redistribute it and/or modify
218 # it under the terms of the GNU General Public License as published by
219 # the Free Software Foundation; either version 2, or (at your option)
220 # any later version.
221
222 # This program is distributed in the hope that it will be useful,
223 # but WITHOUT ANY WARRANTY; without even the implied warranty of
224 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
225 # GNU General Public License for more details.
226
227 # You should have received a copy of the GNU General Public License
228 # along with this program; if not, write to the Free Software
229 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
230 # 02111-1307, USA.
231
232 # serial 3
233
234 # AM_SANITY_CHECK
235 # ---------------
236 AC_DEFUN([AM_SANITY_CHECK],
237 [AC_MSG_CHECKING([whether build environment is sane])
238 # Just in case
239 sleep 1
240 echo timestamp > conftest.file
241 # Do `set' in a subshell so we don't clobber the current shell's
242 # arguments. Must try -L first in case configure is actually a
243 # symlink; some systems play weird games with the mod time of symlinks
244 # (eg FreeBSD returns the mod time of the symlink's containing
245 # directory).
246 if (
247 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
248 if test "$[*]" = "X"; then
249 # -L didn't work.
250 set X `ls -t $srcdir/configure conftest.file`
251 fi
252 rm -f conftest.file
253 if test "$[*]" != "X $srcdir/configure conftest.file" \
254 && test "$[*]" != "X conftest.file $srcdir/configure"; then
255
256 # If neither matched, then we have a broken ls. This can happen
257 # if, for instance, CONFIG_SHELL is bash and it inherits a
258 # broken ls alias from the environment. This has actually
259 # happened. Such a system could not be considered "sane".
260 AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken
261 alias in your environment])
262 fi
263
264 test "$[2]" = conftest.file
265 )
266 then
267 # Ok.
268 :
269 else
270 AC_MSG_ERROR([newly created file is older than distributed files!
271 Check your system clock])
272 fi
273 AC_MSG_RESULT(yes)])
274
275 # -*- Autoconf -*-
276
277
278 # Copyright 1997, 1999, 2000, 2001 Free Software Foundation, Inc.
279
280 # This program is free software; you can redistribute it and/or modify
281 # it under the terms of the GNU General Public License as published by
282 # the Free Software Foundation; either version 2, or (at your option)
283 # any later version.
284
285 # This program is distributed in the hope that it will be useful,
286 # but WITHOUT ANY WARRANTY; without even the implied warranty of
287 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
288 # GNU General Public License for more details.
289
290 # You should have received a copy of the GNU General Public License
291 # along with this program; if not, write to the Free Software
292 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
293 # 02111-1307, USA.
294
295 # serial 3
296
297 # AM_MISSING_PROG(NAME, PROGRAM)
298 # ------------------------------
299 AC_DEFUN([AM_MISSING_PROG],
300 [AC_REQUIRE([AM_MISSING_HAS_RUN])
301 $1=${$1-"${am_missing_run}$2"}
302 AC_SUBST($1)])
303
304
305 # AM_MISSING_HAS_RUN
306 # ------------------
307 # Define MISSING if not defined so far and test if it supports --run.
308 # If it does, set am_missing_run to use it, otherwise, to nothing.
309 AC_DEFUN([AM_MISSING_HAS_RUN],
310 [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
311 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
312 # Use eval to expand $SHELL
313 if eval "$MISSING --run true"; then
314 am_missing_run="$MISSING --run "
315 else
316 am_missing_run=
317 AC_MSG_WARN([`missing' script is too old or missing])
318 fi
319 ])
320
321 # AM_AUX_DIR_EXPAND
322
323 # Copyright 2001 Free Software Foundation, Inc.
324
325 # This program is free software; you can redistribute it and/or modify
326 # it under the terms of the GNU General Public License as published by
327 # the Free Software Foundation; either version 2, or (at your option)
328 # any later version.
329
330 # This program is distributed in the hope that it will be useful,
331 # but WITHOUT ANY WARRANTY; without even the implied warranty of
332 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
333 # GNU General Public License for more details.
334
335 # You should have received a copy of the GNU General Public License
336 # along with this program; if not, write to the Free Software
337 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
338 # 02111-1307, USA.
339
340 # For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets
341 # $ac_aux_dir to `$srcdir/foo'. In other projects, it is set to
342 # `$srcdir', `$srcdir/..', or `$srcdir/../..'.
343 #
344 # Of course, Automake must honor this variable whenever it calls a
345 # tool from the auxiliary directory. The problem is that $srcdir (and
346 # therefore $ac_aux_dir as well) can be either absolute or relative,
347 # depending on how configure is run. This is pretty annoying, since
348 # it makes $ac_aux_dir quite unusable in subdirectories: in the top
349 # source directory, any form will work fine, but in subdirectories a
350 # relative path needs to be adjusted first.
351 #
352 # $ac_aux_dir/missing
353 # fails when called from a subdirectory if $ac_aux_dir is relative
354 # $top_srcdir/$ac_aux_dir/missing
355 # fails if $ac_aux_dir is absolute,
356 # fails when called from a subdirectory in a VPATH build with
357 # a relative $ac_aux_dir
358 #
359 # The reason of the latter failure is that $top_srcdir and $ac_aux_dir
360 # are both prefixed by $srcdir. In an in-source build this is usually
361 # harmless because $srcdir is `.', but things will broke when you
362 # start a VPATH build or use an absolute $srcdir.
363 #
364 # So we could use something similar to $top_srcdir/$ac_aux_dir/missing,
365 # iff we strip the leading $srcdir from $ac_aux_dir. That would be:
366 # am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"`
367 # and then we would define $MISSING as
368 # MISSING="\${SHELL} $am_aux_dir/missing"
369 # This will work as long as MISSING is not called from configure, because
370 # unfortunately $(top_srcdir) has no meaning in configure.
371 # However there are other variables, like CC, which are often used in
372 # configure, and could therefore not use this "fixed" $ac_aux_dir.
373 #
374 # Another solution, used here, is to always expand $ac_aux_dir to an
375 # absolute PATH. The drawback is that using absolute paths prevent a
376 # configured tree to be moved without reconfiguration.
377
378 # Rely on autoconf to set up CDPATH properly.
379 AC_PREREQ([2.50])
380
381 AC_DEFUN([AM_AUX_DIR_EXPAND], [
382 # expand $ac_aux_dir to an absolute path
383 am_aux_dir=`cd $ac_aux_dir && pwd`
384 ])
385
386 # AM_PROG_INSTALL_SH
387 # ------------------
388 # Define $install_sh.
389
390 # Copyright 2001 Free Software Foundation, Inc.
391
392 # This program is free software; you can redistribute it and/or modify
393 # it under the terms of the GNU General Public License as published by
394 # the Free Software Foundation; either version 2, or (at your option)
395 # any later version.
396
397 # This program is distributed in the hope that it will be useful,
398 # but WITHOUT ANY WARRANTY; without even the implied warranty of
399 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
400 # GNU General Public License for more details.
401
402 # You should have received a copy of the GNU General Public License
403 # along with this program; if not, write to the Free Software
404 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
405 # 02111-1307, USA.
406
407 AC_DEFUN([AM_PROG_INSTALL_SH],
408 [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
409 install_sh=${install_sh-"$am_aux_dir/install-sh"}
410 AC_SUBST(install_sh)])
411
412 # AM_PROG_INSTALL_STRIP
413
414 # Copyright 2001 Free Software Foundation, Inc.
415
416 # This program is free software; you can redistribute it and/or modify
417 # it under the terms of the GNU General Public License as published by
418 # the Free Software Foundation; either version 2, or (at your option)
419 # any later version.
420
421 # This program is distributed in the hope that it will be useful,
422 # but WITHOUT ANY WARRANTY; without even the implied warranty of
423 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
424 # GNU General Public License for more details.
425
426 # You should have received a copy of the GNU General Public License
427 # along with this program; if not, write to the Free Software
428 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
429 # 02111-1307, USA.
430
431 # One issue with vendor `install' (even GNU) is that you can't
432 # specify the program used to strip binaries. This is especially
433 # annoying in cross-compiling environments, where the build's strip
434 # is unlikely to handle the host's binaries.
435 # Fortunately install-sh will honor a STRIPPROG variable, so we
436 # always use install-sh in `make install-strip', and initialize
437 # STRIPPROG with the value of the STRIP variable (set by the user).
438 AC_DEFUN([AM_PROG_INSTALL_STRIP],
439 [AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
440 # Installed binaries are usually stripped using `strip' when the user
441 # run `make install-strip'. However `strip' might not be the right
442 # tool to use in cross-compilation environments, therefore Automake
443 # will honor the `STRIP' environment variable to overrule this program.
444 dnl Don't test for $cross_compiling = yes, because it might be `maybe'.
445 if test "$cross_compiling" != no; then
446 AC_CHECK_TOOL([STRIP], [strip], :)
447 fi
448 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
449 AC_SUBST([INSTALL_STRIP_PROGRAM])])
450
451 # -*- Autoconf -*-
452 # Copyright (C) 2003 Free Software Foundation, Inc.
453
454 # This program is free software; you can redistribute it and/or modify
455 # it under the terms of the GNU General Public License as published by
456 # the Free Software Foundation; either version 2, or (at your option)
457 # any later version.
458
459 # This program is distributed in the hope that it will be useful,
460 # but WITHOUT ANY WARRANTY; without even the implied warranty of
461 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
462 # GNU General Public License for more details.
463
464 # You should have received a copy of the GNU General Public License
465 # along with this program; if not, write to the Free Software
466 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
467 # 02111-1307, USA.
468
469 # serial 1
470
471 # Check whether the underlying file-system supports filenames
472 # with a leading dot. For instance MS-DOS doesn't.
473 AC_DEFUN([AM_SET_LEADING_DOT],
474 [rm -rf .tst 2>/dev/null
475 mkdir .tst 2>/dev/null
476 if test -d .tst; then
477 am__leading_dot=.
478 else
479 am__leading_dot=_
480 fi
481 rmdir .tst 2>/dev/null
482 AC_SUBST([am__leading_dot])])
483
484 # serial 5 -*- Autoconf -*-
485
486 # Copyright (C) 1999, 2000, 2001, 2002, 2003 Free Software Foundation, Inc.
487
488 # This program is free software; you can redistribute it and/or modify
489 # it under the terms of the GNU General Public License as published by
490 # the Free Software Foundation; either version 2, or (at your option)
491 # any later version.
492
493 # This program is distributed in the hope that it will be useful,
494 # but WITHOUT ANY WARRANTY; without even the implied warranty of
495 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
496 # GNU General Public License for more details.
497
498 # You should have received a copy of the GNU General Public License
499 # along with this program; if not, write to the Free Software
500 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
501 # 02111-1307, USA.
502
503
504 # There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
505 # written in clear, in which case automake, when reading aclocal.m4,
506 # will think it sees a *use*, and therefore will trigger all it's
507 # C support machinery. Also note that it means that autoscan, seeing
508 # CC etc. in the Makefile, will ask for an AC_PROG_CC use...
509
510
511
512 # _AM_DEPENDENCIES(NAME)
513 # ----------------------
514 # See how the compiler implements dependency checking.
515 # NAME is "CC", "CXX", "GCJ", or "OBJC".
516 # We try a few techniques and use that to set a single cache variable.
517 #
518 # We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was
519 # modified to invoke _AM_DEPENDENCIES(CC); we would have a circular
520 # dependency, and given that the user is not expected to run this macro,
521 # just rely on AC_PROG_CC.
522 AC_DEFUN([_AM_DEPENDENCIES],
523 [AC_REQUIRE([AM_SET_DEPDIR])dnl
524 AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl
525 AC_REQUIRE([AM_MAKE_INCLUDE])dnl
526 AC_REQUIRE([AM_DEP_TRACK])dnl
527
528 ifelse([$1], CC, [depcc="$CC" am_compiler_list=],
529 [$1], CXX, [depcc="$CXX" am_compiler_list=],
530 [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
531 [$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'],
532 [depcc="$$1" am_compiler_list=])
533
534 AC_CACHE_CHECK([dependency style of $depcc],
535 [am_cv_$1_dependencies_compiler_type],
536 [if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
537 # We make a subdir and do the tests there. Otherwise we can end up
538 # making bogus files that we don't know about and never remove. For
539 # instance it was reported that on HP-UX the gcc test will end up
540 # making a dummy file named `D' -- because `-MD' means `put the output
541 # in D'.
542 mkdir conftest.dir
543 # Copy depcomp to subdir because otherwise we won't find it if we're
544 # using a relative directory.
545 cp "$am_depcomp" conftest.dir
546 cd conftest.dir
547 # We will build objects and dependencies in a subdirectory because
548 # it helps to detect inapplicable dependency modes. For instance
549 # both Tru64's cc and ICC support -MD to output dependencies as a
550 # side effect of compilation, but ICC will put the dependencies in
551 # the current directory while Tru64 will put them in the object
552 # directory.
553 mkdir sub
554
555 am_cv_$1_dependencies_compiler_type=none
556 if test "$am_compiler_list" = ""; then
557 am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
558 fi
559 for depmode in $am_compiler_list; do
560 # Setup a source with many dependencies, because some compilers
561 # like to wrap large dependency lists on column 80 (with \), and
562 # we should not choose a depcomp mode which is confused by this.
563 #
564 # We need to recreate these files for each test, as the compiler may
565 # overwrite some of them when testing with obscure command lines.
566 # This happens at least with the AIX C compiler.
567 : > sub/conftest.c
568 for i in 1 2 3 4 5 6; do
569 echo '#include "conftst'$i'.h"' >> sub/conftest.c
570 : > sub/conftst$i.h
571 done
572 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
573
574 case $depmode in
575 nosideeffect)
576 # after this tag, mechanisms are not by side-effect, so they'll
577 # only be used when explicitly requested
578 if test "x$enable_dependency_tracking" = xyes; then
579 continue
580 else
581 break
582 fi
583 ;;
584 none) break ;;
585 esac
586 # We check with `-c' and `-o' for the sake of the "dashmstdout"
587 # mode. It turns out that the SunPro C++ compiler does not properly
588 # handle `-M -o', and we need to detect this.
589 if depmode=$depmode \
590 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
591 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
592 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
593 >/dev/null 2>conftest.err &&
594 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
595 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
596 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
597 # icc doesn't choke on unknown options, it will just issue warnings
598 # (even with -Werror). So we grep stderr for any message
599 # that says an option was ignored.
600 if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else
601 am_cv_$1_dependencies_compiler_type=$depmode
602 break
603 fi
604 fi
605 done
606
607 cd ..
608 rm -rf conftest.dir
609 else
610 am_cv_$1_dependencies_compiler_type=none
611 fi
612 ])
613 AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type])
614 AM_CONDITIONAL([am__fastdep$1], [
615 test "x$enable_dependency_tracking" != xno \
616 && test "$am_cv_$1_dependencies_compiler_type" = gcc3])
617 ])
618
619
620 # AM_SET_DEPDIR
621 # -------------
622 # Choose a directory name for dependency files.
623 # This macro is AC_REQUIREd in _AM_DEPENDENCIES
624 AC_DEFUN([AM_SET_DEPDIR],
625 [AC_REQUIRE([AM_SET_LEADING_DOT])dnl
626 AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl
627 ])
628
629
630 # AM_DEP_TRACK
631 # ------------
632 AC_DEFUN([AM_DEP_TRACK],
633 [AC_ARG_ENABLE(dependency-tracking,
634 [ --disable-dependency-tracking Speeds up one-time builds
635 --enable-dependency-tracking Do not reject slow dependency extractors])
636 if test "x$enable_dependency_tracking" != xno; then
637 am_depcomp="$ac_aux_dir/depcomp"
638 AMDEPBACKSLASH='\'
639 fi
640 AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
641 AC_SUBST([AMDEPBACKSLASH])
642 ])
643
644 # Generate code to set up dependency tracking. -*- Autoconf -*-
645
646 # Copyright 1999, 2000, 2001, 2002 Free Software Foundation, Inc.
647
648 # This program is free software; you can redistribute it and/or modify
649 # it under the terms of the GNU General Public License as published by
650 # the Free Software Foundation; either version 2, or (at your option)
651 # any later version.
652
653 # This program is distributed in the hope that it will be useful,
654 # but WITHOUT ANY WARRANTY; without even the implied warranty of
655 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
656 # GNU General Public License for more details.
657
658 # You should have received a copy of the GNU General Public License
659 # along with this program; if not, write to the Free Software
660 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
661 # 02111-1307, USA.
662
663 #serial 2
664
665 # _AM_OUTPUT_DEPENDENCY_COMMANDS
666 # ------------------------------
667 AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
668 [for mf in $CONFIG_FILES; do
669 # Strip MF so we end up with the name of the file.
670 mf=`echo "$mf" | sed -e 's/:.*$//'`
671 # Check whether this is an Automake generated Makefile or not.
672 # We used to match only the files named `Makefile.in', but
673 # some people rename them; so instead we look at the file content.
674 # Grep'ing the first line is not enough: some people post-process
675 # each Makefile.in and add a new line on top of each file to say so.
676 # So let's grep whole file.
677 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
678 dirpart=`AS_DIRNAME("$mf")`
679 else
680 continue
681 fi
682 grep '^DEP_FILES *= *[[^ @%:@]]' < "$mf" > /dev/null || continue
683 # Extract the definition of DEP_FILES from the Makefile without
684 # running `make'.
685 DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
686 test -z "$DEPDIR" && continue
687 # When using ansi2knr, U may be empty or an underscore; expand it
688 U=`sed -n -e '/^U = / s///p' < "$mf"`
689 test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
690 # We invoke sed twice because it is the simplest approach to
691 # changing $(DEPDIR) to its actual value in the expansion.
692 for file in `sed -n -e '
693 /^DEP_FILES = .*\\\\$/ {
694 s/^DEP_FILES = //
695 :loop
696 s/\\\\$//
697 p
698 n
699 /\\\\$/ b loop
700 p
701 }
702 /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
703 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
704 # Make sure the directory exists.
705 test -f "$dirpart/$file" && continue
706 fdir=`AS_DIRNAME(["$file"])`
707 AS_MKDIR_P([$dirpart/$fdir])
708 # echo "creating $dirpart/$file"
709 echo '# dummy' > "$dirpart/$file"
710 done
711 done
712 ])# _AM_OUTPUT_DEPENDENCY_COMMANDS
713
714
715 # AM_OUTPUT_DEPENDENCY_COMMANDS
716 # -----------------------------
717 # This macro should only be invoked once -- use via AC_REQUIRE.
718 #
719 # This code is only required when automatic dependency tracking
720 # is enabled. FIXME. This creates each `.P' file that we will
721 # need in order to bootstrap the dependency handling code.
722 AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
723 [AC_CONFIG_COMMANDS([depfiles],
724 [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],
725 [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
726 ])
727
728 # Check to see how 'make' treats includes. -*- Autoconf -*-
729
730 # Copyright (C) 2001, 2002, 2003 Free Software Foundation, Inc.
731
732 # This program is free software; you can redistribute it and/or modify
733 # it under the terms of the GNU General Public License as published by
734 # the Free Software Foundation; either version 2, or (at your option)
735 # any later version.
736
737 # This program is distributed in the hope that it will be useful,
738 # but WITHOUT ANY WARRANTY; without even the implied warranty of
739 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
740 # GNU General Public License for more details.
741
742 # You should have received a copy of the GNU General Public License
743 # along with this program; if not, write to the Free Software
744 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
745 # 02111-1307, USA.
746
747 # serial 2
748
749 # AM_MAKE_INCLUDE()
750 # -----------------
751 # Check to see how make treats includes.
752 AC_DEFUN([AM_MAKE_INCLUDE],
753 [am_make=${MAKE-make}
754 cat > confinc << 'END'
755 am__doit:
756 @echo done
757 .PHONY: am__doit
758 END
759 # If we don't find an include directive, just comment out the code.
760 AC_MSG_CHECKING([for style of include used by $am_make])
761 am__include="#"
762 am__quote=
763 _am_result=none
764 # First try GNU make style include.
765 echo "include confinc" > confmf
766 # We grep out `Entering directory' and `Leaving directory'
767 # messages which can occur if `w' ends up in MAKEFLAGS.
768 # In particular we don't look at `^make:' because GNU make might
769 # be invoked under some other name (usually "gmake"), in which
770 # case it prints its new name instead of `make'.
771 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
772 am__include=include
773 am__quote=
774 _am_result=GNU
775 fi
776 # Now try BSD make style include.
777 if test "$am__include" = "#"; then
778 echo '.include "confinc"' > confmf
779 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
780 am__include=.include
781 am__quote="\""
782 _am_result=BSD
783 fi
784 fi
785 AC_SUBST([am__include])
786 AC_SUBST([am__quote])
787 AC_MSG_RESULT([$_am_result])
788 rm -f confinc confmf
789 ])
790
791 # AM_CONDITIONAL -*- Autoconf -*-
792
793 # Copyright 1997, 2000, 2001 Free Software Foundation, Inc.
794
795 # This program is free software; you can redistribute it and/or modify
796 # it under the terms of the GNU General Public License as published by
797 # the Free Software Foundation; either version 2, or (at your option)
798 # any later version.
799
800 # This program is distributed in the hope that it will be useful,
801 # but WITHOUT ANY WARRANTY; without even the implied warranty of
802 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
803 # GNU General Public License for more details.
804
805 # You should have received a copy of the GNU General Public License
806 # along with this program; if not, write to the Free Software
807 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
808 # 02111-1307, USA.
809
810 # serial 5
811
812 AC_PREREQ(2.52)
813
814 # AM_CONDITIONAL(NAME, SHELL-CONDITION)
815 # -------------------------------------
816 # Define a conditional.
817 AC_DEFUN([AM_CONDITIONAL],
818 [ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])],
819 [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
820 AC_SUBST([$1_TRUE])
821 AC_SUBST([$1_FALSE])
822 if $2; then
823 $1_TRUE=
824 $1_FALSE='#'
825 else
826 $1_TRUE='#'
827 $1_FALSE=
828 fi
829 AC_CONFIG_COMMANDS_PRE(
830 [if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
831 AC_MSG_ERROR([conditional "$1" was never defined.
832 Usually this means the macro was only invoked conditionally.])
833 fi])])
834
835 # Add --enable-maintainer-mode option to configure.
836 # From Jim Meyering
837
838 # Copyright 1996, 1998, 2000, 2001, 2002 Free Software Foundation, Inc.
839
840 # This program is free software; you can redistribute it and/or modify
841 # it under the terms of the GNU General Public License as published by
842 # the Free Software Foundation; either version 2, or (at your option)
843 # any later version.
844
845 # This program is distributed in the hope that it will be useful,
846 # but WITHOUT ANY WARRANTY; without even the implied warranty of
847 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
848 # GNU General Public License for more details.
849
850 # You should have received a copy of the GNU General Public License
851 # along with this program; if not, write to the Free Software
852 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
853 # 02111-1307, USA.
854
855 # serial 2
856
857 AC_DEFUN([AM_MAINTAINER_MODE],
858 [AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles])
859 dnl maintainer-mode is disabled by default
860 AC_ARG_ENABLE(maintainer-mode,
861 [ --enable-maintainer-mode enable make rules and dependencies not useful
862 (and sometimes confusing) to the casual installer],
863 USE_MAINTAINER_MODE=$enableval,
864 USE_MAINTAINER_MODE=no)
865 AC_MSG_RESULT([$USE_MAINTAINER_MODE])
866 AM_CONDITIONAL(MAINTAINER_MODE, [test $USE_MAINTAINER_MODE = yes])
867 MAINT=$MAINTAINER_MODE_TRUE
868 AC_SUBST(MAINT)dnl
869 ]
870 )
871
872 AU_DEFUN([jm_MAINTAINER_MODE], [AM_MAINTAINER_MODE])
873
0 BCM firmware version 2.16
1 Copyright (c) 2000-2003 Broadcom Corporation
2
3 Contact info:
4 bluetooth_help@broadcom.com
Binary diff not shown
0 :1076ED008F14D3E514648094894008E5142437FF82
1 :0C76FD0002776AE5142430FF12776A223D
2 :0276B3008F1234
3 :1076B500E5127804A2E713D8FB540FF513FF1276F1
4 :0B76C500EDE512540FF513FF0276ED07
5 :05780C007F5B02776ABA
6 :057811007F5D02776AB3
7 :10758B0012780CE4F511E51190780693FF12776AE7
8 :10759B000511E511C3940640ED7F021276ED7F5F76
9 :1075AB0012776A7F041276ED7F5F12776A7F011282
10 :1075BB0076ED907C00E0FF1276B3907C01E0FF1239
11 :0575CB0076B302781107
12 :0777F800907DC67401F02230
13 :03781B00027400F4
14 :107537001277F8C20112768DD290C296C2001277E6
15 :10754700C38F10E51024DA601F24A86032245B7013
16 :10755700EDAF1012776AC29012781B900001E0FE1F
17 :10756700A3E0FF1277FF80D6AF1012776AD2B4126A
18 :10757700781B900001E0FEA3E0FF1277FF80BF12A7
19 :04758700758B80BAC6
20 :0B77CF005390F3EF25E025E0429022EC
21 :10740000E4F511F512F513AF131277CFD201E5139E
22 :10741000640370030274E030021D127635400512D9
23 :10742000778A80F6AE11AF12AD07AC06AB1A7F0AB1
24 :107430007E7F1276D0801612772250FBAE11AF12EB
25 :10744000AD07AC06AB1A7F077E7F1276D0E51A2512
26 :1074500012F512E43511F511E4F51AE5131460077D
27 :10746000146066240270A7E5127004E5116474705C
28 :1074700040E5127004E511648060933002151276C5
29 :1074800035400512778A80F6AD1A7F0A7E7F127624
30 :10749000E5800E12772250FBAD1A7F077E7F1276B1
31 :1074A000E5E51A2512F512E43511F511E4F51A8017
32 :1074B000C0E5124511600302740E751180F51205C6
33 :1074C00013AF131277CF02740EE5127004E5116446
34 :1074D000C0600302740E7F2E12776A051302740EC9
35 :0174E0002289
36 :05781600427BFE00F3BF
37 :0A77E500907F04EFF0A3F0A3F02260
38 :10768D00C202E4F51A1277101277F87F011277E52E
39 :10769D001277B55003D202227F021277E512779945
40 :0676AD0050E61274E12218
41 :0F777B00907F00EFF0A3EDF0A37401F0E4F02293
42 :1074E1007DC17F0712777B12775950FBE4F51112AA
43 :1074F10077590511E511C3942040F4907BFEE0FD1E
44 :10750100E4FF12777B907BFFE0FD0F12777BE4FDB8
45 :107511007F0412777B7D287F0612777B7DE30F1234
46 :10752100777B7D407F0B12777B7D607F0D12777BB0
47 :067531007D201F02777BA4
48 :10774800907F00EFF0907F027402F0907F01E0FFDD
49 :01775800220E
50 :0E7799007F0A127748EF20E003D38001C3225D
51 :0977EF0012779950031277F82279
52 :107722001277EF907F247404F0E030E205751A407E
53 :04773200D322C32279
54 :107759001277EF7F09127748EF30E203D38001C334
55 :0177690022FD
56 :0E77A7008F1512775950FB907F07E515F022E1
57 :107603001277EFE51A70271277225008751A401582
58 :107613001AD32222907F24E0FFEF5408FFEFF0906B
59 :107623007F24E0FFEF30E303C32222D32222151A83
60 :02763300D32260
61 :0B77DA0012760350FB907F07E0FF22B7
62 :0E77B500907F22E0FFEF30E703D38001C32274
63 :0F778A00907F227480F01277B550031277F822A7
64 :10763500E51A7028907F23E0FFEF30E11C907F234F
65 :10764500E0FFEF5402FFEFF0907F0FE0FF8F1AE5A8
66 :0E7655001A7003C32222D32222C32222D32280
67 :1075D0008F18907F20E0FFEF30E40B907F20741035
68 :1075E000F012778A80EC907F09E518F0907F0DE02B
69 :1075F000FFEF4402FFEFF0907F0DE0FFEF54FDFF3F
70 :03760000EFF02286
71 :10773600127635400512778A80F6151A907F0AE090
72 :02774600FF2220
73 :0C77C30030020512773622221277DA22FB
74 :10776A008F19200206AF191277A722AF191275D006
75 :01777A0022EC
76 :0300000002766322
77 :10766300D2900000758120907816127689F81276F0
78 :1076730089F9127689FA127689FB88838982EAF07E
79 :0A768300A3EBF0027537E4A3932295
80 :10770900F0A308B805FA22E4F8907F20141277094B
81 :09771900E4907F25F812770922A3
82 :0777FF00E48F828E837322E8
83 :1076D0008E838F828C858D84758600E00586F0A36D
84 :0D76E0000586DBF7228E838F82E0DDFD2220
85 :067806004242544D445FB4
86 :00000001FF
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_default_prefix=/usr
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 AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM AWK SET_MAKE am__leading_dot MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT 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 { echo "$as_me: error: invalid package name: $ac_package" >&2
566 { (exit 1); exit 1; }; }
567 ac_package=`echo $ac_package | sed 's/-/_/g'`
568 eval "with_$ac_package=no" ;;
569
570 --x)
571 # Obsolete; use --with-x.
572 with_x=yes ;;
573
574 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
575 | --x-incl | --x-inc | --x-in | --x-i)
576 ac_prev=x_includes ;;
577 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
578 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
579 x_includes=$ac_optarg ;;
580
581 -x-libraries | --x-libraries | --x-librarie | --x-librari \
582 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
583 ac_prev=x_libraries ;;
584 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
585 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
586 x_libraries=$ac_optarg ;;
587
588 -*) { echo "$as_me: error: unrecognized option: $ac_option
589 Try \`$0 --help' for more information." >&2
590 { (exit 1); exit 1; }; }
591 ;;
592
593 *=*)
594 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
595 # Reject names that are not valid shell variable names.
596 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
597 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
598 { (exit 1); exit 1; }; }
599 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
600 eval "$ac_envvar='$ac_optarg'"
601 export $ac_envvar ;;
602
603 *)
604 # FIXME: should be removed in autoconf 3.0.
605 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
606 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
607 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
608 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
609 ;;
610
611 esac
612 done
613
614 if test -n "$ac_prev"; then
615 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
616 { echo "$as_me: error: missing argument to $ac_option" >&2
617 { (exit 1); exit 1; }; }
618 fi
619
620 # Be sure to have absolute paths.
621 for ac_var in exec_prefix prefix
622 do
623 eval ac_val=$`echo $ac_var`
624 case $ac_val in
625 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
626 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
627 { (exit 1); exit 1; }; };;
628 esac
629 done
630
631 # Be sure to have absolute paths.
632 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
633 localstatedir libdir includedir oldincludedir infodir mandir
634 do
635 eval ac_val=$`echo $ac_var`
636 case $ac_val in
637 [\\/$]* | ?:[\\/]* ) ;;
638 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
639 { (exit 1); exit 1; }; };;
640 esac
641 done
642
643 # There might be people who depend on the old broken behavior: `$host'
644 # used to hold the argument of --host etc.
645 # FIXME: To remove some day.
646 build=$build_alias
647 host=$host_alias
648 target=$target_alias
649
650 # FIXME: To remove some day.
651 if test "x$host_alias" != x; then
652 if test "x$build_alias" = x; then
653 cross_compiling=maybe
654 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
655 If a cross compiler is detected then cross compile mode will be used." >&2
656 elif test "x$build_alias" != "x$host_alias"; then
657 cross_compiling=yes
658 fi
659 fi
660
661 ac_tool_prefix=
662 test -n "$host_alias" && ac_tool_prefix=$host_alias-
663
664 test "$silent" = yes && exec 6>/dev/null
665
666
667 # Find the source files, if location was not specified.
668 if test -z "$srcdir"; then
669 ac_srcdir_defaulted=yes
670 # Try the directory containing this script, then its parent.
671 ac_confdir=`(dirname "$0") 2>/dev/null ||
672 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
673 X"$0" : 'X\(//\)[^/]' \| \
674 X"$0" : 'X\(//\)$' \| \
675 X"$0" : 'X\(/\)' \| \
676 . : '\(.\)' 2>/dev/null ||
677 echo X"$0" |
678 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
679 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
680 /^X\(\/\/\)$/{ s//\1/; q; }
681 /^X\(\/\).*/{ s//\1/; q; }
682 s/.*/./; q'`
683 srcdir=$ac_confdir
684 if test ! -r $srcdir/$ac_unique_file; then
685 srcdir=..
686 fi
687 else
688 ac_srcdir_defaulted=no
689 fi
690 if test ! -r $srcdir/$ac_unique_file; then
691 if test "$ac_srcdir_defaulted" = yes; then
692 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
693 { (exit 1); exit 1; }; }
694 else
695 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
696 { (exit 1); exit 1; }; }
697 fi
698 fi
699 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
700 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
701 { (exit 1); exit 1; }; }
702 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
703 ac_env_build_alias_set=${build_alias+set}
704 ac_env_build_alias_value=$build_alias
705 ac_cv_env_build_alias_set=${build_alias+set}
706 ac_cv_env_build_alias_value=$build_alias
707 ac_env_host_alias_set=${host_alias+set}
708 ac_env_host_alias_value=$host_alias
709 ac_cv_env_host_alias_set=${host_alias+set}
710 ac_cv_env_host_alias_value=$host_alias
711 ac_env_target_alias_set=${target_alias+set}
712 ac_env_target_alias_value=$target_alias
713 ac_cv_env_target_alias_set=${target_alias+set}
714 ac_cv_env_target_alias_value=$target_alias
715
716 #
717 # Report the --help message.
718 #
719 if test "$ac_init_help" = "long"; then
720 # Omit some internal or obsolete options to make the list less imposing.
721 # This message is too long to be a string in the A/UX 3.1 sh.
722 cat <<_ACEOF
723 \`configure' configures this package to adapt to many kinds of systems.
724
725 Usage: $0 [OPTION]... [VAR=VALUE]...
726
727 To assign environment variables (e.g., CC, CFLAGS...), specify them as
728 VAR=VALUE. See below for descriptions of some of the useful variables.
729
730 Defaults for the options are specified in brackets.
731
732 Configuration:
733 -h, --help display this help and exit
734 --help=short display options specific to this package
735 --help=recursive display the short help of all the included packages
736 -V, --version display version information and exit
737 -q, --quiet, --silent do not print \`checking...' messages
738 --cache-file=FILE cache test results in FILE [disabled]
739 -C, --config-cache alias for \`--cache-file=config.cache'
740 -n, --no-create do not create output files
741 --srcdir=DIR find the sources in DIR [configure dir or \`..']
742
743 _ACEOF
744
745 cat <<_ACEOF
746 Installation directories:
747 --prefix=PREFIX install architecture-independent files in PREFIX
748 [$ac_default_prefix]
749 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
750 [PREFIX]
751
752 By default, \`make install' will install all the files in
753 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
754 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
755 for instance \`--prefix=\$HOME'.
756
757 For better control, use the options below.
758
759 Fine tuning of the installation directories:
760 --bindir=DIR user executables [EPREFIX/bin]
761 --sbindir=DIR system admin executables [EPREFIX/sbin]
762 --libexecdir=DIR program executables [EPREFIX/libexec]
763 --datadir=DIR read-only architecture-independent data [PREFIX/share]
764 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
765 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
766 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
767 --libdir=DIR object code libraries [EPREFIX/lib]
768 --includedir=DIR C header files [PREFIX/include]
769 --oldincludedir=DIR C header files for non-gcc [/usr/include]
770 --infodir=DIR info documentation [PREFIX/info]
771 --mandir=DIR man documentation [PREFIX/man]
772 _ACEOF
773
774 cat <<\_ACEOF
775
776 Program names:
777 --program-prefix=PREFIX prepend PREFIX to installed program names
778 --program-suffix=SUFFIX append SUFFIX to installed program names
779 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
780 _ACEOF
781 fi
782
783 if test -n "$ac_init_help"; then
784
785 cat <<\_ACEOF
786
787 Optional Features:
788 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
789 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
790 --enable-maintainer-mode enable make rules and dependencies not useful
791 (and sometimes confusing) to the casual installer
792
793 _ACEOF
794 fi
795
796 if test "$ac_init_help" = "recursive"; then
797 # If there are subdirs, report their specific --help.
798 ac_popdir=`pwd`
799 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
800 test -d $ac_dir || continue
801 ac_builddir=.
802
803 if test "$ac_dir" != .; then
804 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
805 # A "../" for each directory in $ac_dir_suffix.
806 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
807 else
808 ac_dir_suffix= ac_top_builddir=
809 fi
810
811 case $srcdir in
812 .) # No --srcdir option. We are building in place.
813 ac_srcdir=.
814 if test -z "$ac_top_builddir"; then
815 ac_top_srcdir=.
816 else
817 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
818 fi ;;
819 [\\/]* | ?:[\\/]* ) # Absolute path.
820 ac_srcdir=$srcdir$ac_dir_suffix;
821 ac_top_srcdir=$srcdir ;;
822 *) # Relative path.
823 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
824 ac_top_srcdir=$ac_top_builddir$srcdir ;;
825 esac
826
827 # Do not use `cd foo && pwd` to compute absolute paths, because
828 # the directories may not exist.
829 case `pwd` in
830 .) ac_abs_builddir="$ac_dir";;
831 *)
832 case "$ac_dir" in
833 .) ac_abs_builddir=`pwd`;;
834 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
835 *) ac_abs_builddir=`pwd`/"$ac_dir";;
836 esac;;
837 esac
838 case $ac_abs_builddir in
839 .) ac_abs_top_builddir=${ac_top_builddir}.;;
840 *)
841 case ${ac_top_builddir}. in
842 .) ac_abs_top_builddir=$ac_abs_builddir;;
843 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
844 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
845 esac;;
846 esac
847 case $ac_abs_builddir in
848 .) ac_abs_srcdir=$ac_srcdir;;
849 *)
850 case $ac_srcdir in
851 .) ac_abs_srcdir=$ac_abs_builddir;;
852 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
853 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
854 esac;;
855 esac
856 case $ac_abs_builddir in
857 .) ac_abs_top_srcdir=$ac_top_srcdir;;
858 *)
859 case $ac_top_srcdir in
860 .) ac_abs_top_srcdir=$ac_abs_builddir;;
861 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
862 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
863 esac;;
864 esac
865
866 cd $ac_dir
867 # Check for guested configure; otherwise get Cygnus style configure.
868 if test -f $ac_srcdir/configure.gnu; then
869 echo
870 $SHELL $ac_srcdir/configure.gnu --help=recursive
871 elif test -f $ac_srcdir/configure; then
872 echo
873 $SHELL $ac_srcdir/configure --help=recursive
874 elif test -f $ac_srcdir/configure.ac ||
875 test -f $ac_srcdir/configure.in; then
876 echo
877 $ac_configure --help
878 else
879 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
880 fi
881 cd "$ac_popdir"
882 done
883 fi
884
885 test -n "$ac_init_help" && exit 0
886 if $ac_init_version; then
887 cat <<\_ACEOF
888
889 Copyright (C) 2003 Free Software Foundation, Inc.
890 This configure script is free software; the Free Software Foundation
891 gives unlimited permission to copy, distribute and modify it.
892 _ACEOF
893 exit 0
894 fi
895 exec 5>config.log
896 cat >&5 <<_ACEOF
897 This file contains any messages produced by compilers while
898 running configure, to aid debugging if configure makes a mistake.
899
900 It was created by $as_me, which was
901 generated by GNU Autoconf 2.59. Invocation command line was
902
903 $ $0 $@
904
905 _ACEOF
906 {
907 cat <<_ASUNAME
908 ## --------- ##
909 ## Platform. ##
910 ## --------- ##
911
912 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
913 uname -m = `(uname -m) 2>/dev/null || echo unknown`
914 uname -r = `(uname -r) 2>/dev/null || echo unknown`
915 uname -s = `(uname -s) 2>/dev/null || echo unknown`
916 uname -v = `(uname -v) 2>/dev/null || echo unknown`
917
918 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
919 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
920
921 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
922 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
923 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
924 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
925 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
926 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
927 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
928
929 _ASUNAME
930
931 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
932 for as_dir in $PATH
933 do
934 IFS=$as_save_IFS
935 test -z "$as_dir" && as_dir=.
936 echo "PATH: $as_dir"
937 done
938
939 } >&5
940
941 cat >&5 <<_ACEOF
942
943
944 ## ----------- ##
945 ## Core tests. ##
946 ## ----------- ##
947
948 _ACEOF
949
950
951 # Keep a trace of the command line.
952 # Strip out --no-create and --no-recursion so they do not pile up.
953 # Strip out --silent because we don't want to record it for future runs.
954 # Also quote any args containing shell meta-characters.
955 # Make two passes to allow for proper duplicate-argument suppression.
956 ac_configure_args=
957 ac_configure_args0=
958 ac_configure_args1=
959 ac_sep=
960 ac_must_keep_next=false
961 for ac_pass in 1 2
962 do
963 for ac_arg
964 do
965 case $ac_arg in
966 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
967 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
968 | -silent | --silent | --silen | --sile | --sil)
969 continue ;;
970 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
971 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
972 esac
973 case $ac_pass in
974 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
975 2)
976 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
977 if test $ac_must_keep_next = true; then
978 ac_must_keep_next=false # Got value, back to normal.
979 else
980 case $ac_arg in
981 *=* | --config-cache | -C | -disable-* | --disable-* \
982 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
983 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
984 | -with-* | --with-* | -without-* | --without-* | --x)
985 case "$ac_configure_args0 " in
986 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
987 esac
988 ;;
989 -* ) ac_must_keep_next=true ;;
990 esac
991 fi
992 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
993 # Get rid of the leading space.
994 ac_sep=" "
995 ;;
996 esac
997 done
998 done
999 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1000 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1001
1002 # When interrupted or exit'd, cleanup temporary files, and complete
1003 # config.log. We remove comments because anyway the quotes in there
1004 # would cause problems or look ugly.
1005 # WARNING: Be sure not to use single quotes in there, as some shells,
1006 # such as our DU 5.0 friend, will then `close' the trap.
1007 trap 'exit_status=$?
1008 # Save into config.log some information that might help in debugging.
1009 {
1010 echo
1011
1012 cat <<\_ASBOX
1013 ## ---------------- ##
1014 ## Cache variables. ##
1015 ## ---------------- ##
1016 _ASBOX
1017 echo
1018 # The following way of writing the cache mishandles newlines in values,
1019 {
1020 (set) 2>&1 |
1021 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1022 *ac_space=\ *)
1023 sed -n \
1024 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1025 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1026 ;;
1027 *)
1028 sed -n \
1029 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1030 ;;
1031 esac;
1032 }
1033 echo
1034
1035 cat <<\_ASBOX
1036 ## ----------------- ##
1037 ## Output variables. ##
1038 ## ----------------- ##
1039 _ASBOX
1040 echo
1041 for ac_var in $ac_subst_vars
1042 do
1043 eval ac_val=$`echo $ac_var`
1044 echo "$ac_var='"'"'$ac_val'"'"'"
1045 done | sort
1046 echo
1047
1048 if test -n "$ac_subst_files"; then
1049 cat <<\_ASBOX
1050 ## ------------- ##
1051 ## Output files. ##
1052 ## ------------- ##
1053 _ASBOX
1054 echo
1055 for ac_var in $ac_subst_files
1056 do
1057 eval ac_val=$`echo $ac_var`
1058 echo "$ac_var='"'"'$ac_val'"'"'"
1059 done | sort
1060 echo
1061 fi
1062
1063 if test -s confdefs.h; then
1064 cat <<\_ASBOX
1065 ## ----------- ##
1066 ## confdefs.h. ##
1067 ## ----------- ##
1068 _ASBOX
1069 echo
1070 sed "/^$/d" confdefs.h | sort
1071 echo
1072 fi
1073 test "$ac_signal" != 0 &&
1074 echo "$as_me: caught signal $ac_signal"
1075 echo "$as_me: exit $exit_status"
1076 } >&5
1077 rm -f core *.core &&
1078 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1079 exit $exit_status
1080 ' 0
1081 for ac_signal in 1 2 13 15; do
1082 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1083 done
1084 ac_signal=0
1085
1086 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1087 rm -rf conftest* confdefs.h
1088 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1089 echo >confdefs.h
1090
1091 # Predefined preprocessor variables.
1092
1093 cat >>confdefs.h <<_ACEOF
1094 #define PACKAGE_NAME "$PACKAGE_NAME"
1095 _ACEOF
1096
1097
1098 cat >>confdefs.h <<_ACEOF
1099 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1100 _ACEOF
1101
1102
1103 cat >>confdefs.h <<_ACEOF
1104 #define PACKAGE_VERSION "$PACKAGE_VERSION"