Codebase list ibutils / upstream/1.5.7
Imported Upstream version 1.5.7 Ana Guerrero López 9 years ago
390 changed file(s) with 259284 addition(s) and 136875 deletion(s). Raw diff Collapse all Expand all
0 #--
1 # Copyright (c) 2004 Mellanox Technologies LTD. All rights reserved.
2 #
3 # This software is available to you under a choice of one of two
4 # licenses. You may choose to be licensed under the terms of the GNU
5 # General Public License (GPL) Version 2, available from the file
6 # COPYING in the main directory of this source tree, or the
7 # OpenIB.org BSD license below:
8 #
9 # Redistribution and use in source and binary forms, with or
10 # without modification, are permitted provided that the following
11 # conditions are met:
12 #
13 # - Redistributions of source code must retain the above
14 # copyright notice, this list of conditions and the following
15 # disclaimer.
16 #
17 # - Redistributions in binary form must reproduce the above
18 # copyright notice, this list of conditions and the following
19 # disclaimer in the documentation and/or other materials
20 # provided with the distribution.
21 #
22 # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
23 # EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
24 # MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
25 # NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
26 # BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
27 # ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
28 # CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
29 # SOFTWARE.
30 #
31 # $Id$
32 #--
0 This software is available to you under a choice of one of two
1 licenses. You may chose to be licensed under the terms of the
2 OpenIB.org BSD license or the GNU General Public License (GPL)
3 Version 2, both included below.
4
5 Copyright (c) 2004-2010 Mellanox Technologies LTD. All rights reserved.
6
7 ==================================================================
8
9 OpenIB.org BSD license
10
11 Redistribution and use in source and binary forms, with or without
12 modification, are permitted provided that the following conditions
13 are met:
14
15 * Redistributions of source code must retain the above copyright
16 notice, this list of conditions and the following disclaimer.
17
18 * Redistributions in binary form must reproduce the above
19 copyright notice, this list of conditions and the following
20 disclaimer in the documentation and/or other materials provided
21 with the distribution.
22
23 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
24 "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
25 LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
26 FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
27 COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
28 INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
29 BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
30 LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
31 CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
32 LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
33 ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
34 POSSIBILITY OF SUCH DAMAGE.
35
36 ==================================================================
37
38 GNU GENERAL PUBLIC LICENSE
39 Version 2, June 1991
40
41 Copyright (C) 1989, 1991 Free Software Foundation, Inc.
42 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
43 Everyone is permitted to copy and distribute verbatim copies
44 of this license document, but changing it is not allowed.
45
46 Preamble
47
48 The licenses for most software are designed to take away your
49 freedom to share and change it. By contrast, the GNU General Public
50 License is intended to guarantee your freedom to share and change free
51 software--to make sure the software is free for all its users. This
52 General Public License applies to most of the Free Software
53 Foundation's software and to any other program whose authors commit to
54 using it. (Some other Free Software Foundation software is covered by
55 the GNU Library General Public License instead.) You can apply it to
56 your programs, too.
57
58 When we speak of free software, we are referring to freedom, not
59 price. Our General Public Licenses are designed to make sure that you
60 have the freedom to distribute copies of free software (and charge for
61 this service if you wish), that you receive source code or can get it
62 if you want it, that you can change the software or use pieces of it
63 in new free programs; and that you know you can do these things.
64
65 To protect your rights, we need to make restrictions that forbid
66 anyone to deny you these rights or to ask you to surrender the rights.
67 These restrictions translate to certain responsibilities for you if you
68 distribute copies of the software, or if you modify it.
69
70 For example, if you distribute copies of such a program, whether
71 gratis or for a fee, you must give the recipients all the rights that
72 you have. You must make sure that they, too, receive or can get the
73 source code. And you must show them these terms so they know their
74 rights.
75
76 We protect your rights with two steps: (1) copyright the software, and
77 (2) offer you this license which gives you legal permission to copy,
78 distribute and/or modify the software.
79
80 Also, for each author's protection and ours, we want to make certain
81 that everyone understands that there is no warranty for this free
82 software. If the software is modified by someone else and passed on, we
83 want its recipients to know that what they have is not the original, so
84 that any problems introduced by others will not reflect on the original
85 authors' reputations.
86
87 Finally, any free program is threatened constantly by software
88 patents. We wish to avoid the danger that redistributors of a free
89 program will individually obtain patent licenses, in effect making the
90 program proprietary. To prevent this, we have made it clear that any
91 patent must be licensed for everyone's free use or not licensed at all.
92
93 The precise terms and conditions for copying, distribution and
94 modification follow.
95
96 GNU GENERAL PUBLIC LICENSE
97 TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
98
99 0. This License applies to any program or other work which contains
100 a notice placed by the copyright holder saying it may be distributed
101 under the terms of this General Public License. The "Program", below,
102 refers to any such program or work, and a "work based on the Program"
103 means either the Program or any derivative work under copyright law:
104 that is to say, a work containing the Program or a portion of it,
105 either verbatim or with modifications and/or translated into another
106 language. (Hereinafter, translation is included without limitation in
107 the term "modification".) Each licensee is addressed as "you".
108
109 Activities other than copying, distribution and modification are not
110 covered by this License; they are outside its scope. The act of
111 running the Program is not restricted, and the output from the Program
112 is covered only if its contents constitute a work based on the
113 Program (independent of having been made by running the Program).
114 Whether that is true depends on what the Program does.
115
116 1. You may copy and distribute verbatim copies of the Program's
117 source code as you receive it, in any medium, provided that you
118 conspicuously and appropriately publish on each copy an appropriate
119 copyright notice and disclaimer of warranty; keep intact all the
120 notices that refer to this License and to the absence of any warranty;
121 and give any other recipients of the Program a copy of this License
122 along with the Program.
123
124 You may charge a fee for the physical act of transferring a copy, and
125 you may at your option offer warranty protection in exchange for a fee.
126
127 2. You may modify your copy or copies of the Program or any portion
128 of it, thus forming a work based on the Program, and copy and
129 distribute such modifications or work under the terms of Section 1
130 above, provided that you also meet all of these conditions:
131
132 a) You must cause the modified files to carry prominent notices
133 stating that you changed the files and the date of any change.
134
135 b) You must cause any work that you distribute or publish, that in
136 whole or in part contains or is derived from the Program or any
137 part thereof, to be licensed as a whole at no charge to all third
138 parties under the terms of this License.
139
140 c) If the modified program normally reads commands interactively
141 when run, you must cause it, when started running for such
142 interactive use in the most ordinary way, to print or display an
143 announcement including an appropriate copyright notice and a
144 notice that there is no warranty (or else, saying that you provide
145 a warranty) and that users may redistribute the program under
146 these conditions, and telling the user how to view a copy of this
147 License. (Exception: if the Program itself is interactive but
148 does not normally print such an announcement, your work based on
149 the Program is not required to print an announcement.)
150
151 These requirements apply to the modified work as a whole. If
152 identifiable sections of that work are not derived from the Program,
153 and can be reasonably considered independent and separate works in
154 themselves, then this License, and its terms, do not apply to those
155 sections when you distribute them as separate works. But when you
156 distribute the same sections as part of a whole which is a work based
157 on the Program, the distribution of the whole must be on the terms of
158 this License, whose permissions for other licensees extend to the
159 entire whole, and thus to each and every part regardless of who wrote it.
160
161 Thus, it is not the intent of this section to claim rights or contest
162 your rights to work written entirely by you; rather, the intent is to
163 exercise the right to control the distribution of derivative or
164 collective works based on the Program.
165
166 In addition, mere aggregation of another work not based on the Program
167 with the Program (or with a work based on the Program) on a volume of
168 a storage or distribution medium does not bring the other work under
169 the scope of this License.
170
171 3. You may copy and distribute the Program (or a work based on it,
172 under Section 2) in object code or executable form under the terms of
173 Sections 1 and 2 above provided that you also do one of the following:
174
175 a) Accompany it with the complete corresponding machine-readable
176 source code, which must be distributed under the terms of Sections
177 1 and 2 above on a medium customarily used for software interchange; or,
178
179 b) Accompany it with a written offer, valid for at least three
180 years, to give any third party, for a charge no more than your
181 cost of physically performing source distribution, a complete
182 machine-readable copy of the corresponding source code, to be
183 distributed under the terms of Sections 1 and 2 above on a medium
184 customarily used for software interchange; or,
185
186 c) Accompany it with the information you received as to the offer
187 to distribute corresponding source code. (This alternative is
188 allowed only for noncommercial distribution and only if you
189 received the program in object code or executable form with such
190 an offer, in accord with Subsection b above.)
191
192 The source code for a work means the preferred form of the work for
193 making modifications to it. For an executable work, complete source
194 code means all the source code for all modules it contains, plus any
195 associated interface definition files, plus the scripts used to
196 control compilation and installation of the executable. However, as a
197 special exception, the source code distributed need not include
198 anything that is normally distributed (in either source or binary
199 form) with the major components (compiler, kernel, and so on) of the
200 operating system on which the executable runs, unless that component
201 itself accompanies the executable.
202
203 If distribution of executable or object code is made by offering
204 access to copy from a designated place, then offering equivalent
205 access to copy the source code from the same place counts as
206 distribution of the source code, even though third parties are not
207 compelled to copy the source along with the object code.
208
209 4. You may not copy, modify, sublicense, or distribute the Program
210 except as expressly provided under this License. Any attempt
211 otherwise to copy, modify, sublicense or distribute the Program is
212 void, and will automatically terminate your rights under this License.
213 However, parties who have received copies, or rights, from you under
214 this License will not have their licenses terminated so long as such
215 parties remain in full compliance.
216
217 5. You are not required to accept this License, since you have not
218 signed it. However, nothing else grants you permission to modify or
219 distribute the Program or its derivative works. These actions are
220 prohibited by law if you do not accept this License. Therefore, by
221 modifying or distributing the Program (or any work based on the
222 Program), you indicate your acceptance of this License to do so, and
223 all its terms and conditions for copying, distributing or modifying
224 the Program or works based on it.
225
226 6. Each time you redistribute the Program (or any work based on the
227 Program), the recipient automatically receives a license from the
228 original licensor to copy, distribute or modify the Program subject to
229 these terms and conditions. You may not impose any further
230 restrictions on the recipients' exercise of the rights granted herein.
231 You are not responsible for enforcing compliance by third parties to
232 this License.
233
234 7. If, as a consequence of a court judgment or allegation of patent
235 infringement or for any other reason (not limited to patent issues),
236 conditions are imposed on you (whether by court order, agreement or
237 otherwise) that contradict the conditions of this License, they do not
238 excuse you from the conditions of this License. If you cannot
239 distribute so as to satisfy simultaneously your obligations under this
240 License and any other pertinent obligations, then as a consequence you
241 may not distribute the Program at all. For example, if a patent
242 license would not permit royalty-free redistribution of the Program by
243 all those who receive copies directly or indirectly through you, then
244 the only way you could satisfy both it and this License would be to
245 refrain entirely from distribution of the Program.
246
247 If any portion of this section is held invalid or unenforceable under
248 any particular circumstance, the balance of the section is intended to
249 apply and the section as a whole is intended to apply in other
250 circumstances.
251
252 It is not the purpose of this section to induce you to infringe any
253 patents or other property right claims or to contest validity of any
254 such claims; this section has the sole purpose of protecting the
255 integrity of the free software distribution system, which is
256 implemented by public license practices. Many people have made
257 generous contributions to the wide range of software distributed
258 through that system in reliance on consistent application of that
259 system; it is up to the author/donor to decide if he or she is willing
260 to distribute software through any other system and a licensee cannot
261 impose that choice.
262
263 This section is intended to make thoroughly clear what is believed to
264 be a consequence of the rest of this License.
265
266 8. If the distribution and/or use of the Program is restricted in
267 certain countries either by patents or by copyrighted interfaces, the
268 original copyright holder who places the Program under this License
269 may add an explicit geographical distribution limitation excluding
270 those countries, so that distribution is permitted only in or among
271 countries not thus excluded. In such case, this License incorporates
272 the limitation as if written in the body of this License.
273
274 9. The Free Software Foundation may publish revised and/or new versions
275 of the General Public License from time to time. Such new versions will
276 be similar in spirit to the present version, but may differ in detail to
277 address new problems or concerns.
278
279 Each version is given a distinguishing version number. If the Program
280 specifies a version number of this License which applies to it and "any
281 later version", you have the option of following the terms and conditions
282 either of that version or of any later version published by the Free
283 Software Foundation. If the Program does not specify a version number of
284 this License, you may choose any version ever published by the Free Software
285 Foundation.
286
287 10. If you wish to incorporate parts of the Program into other free
288 programs whose distribution conditions are different, write to the author
289 to ask for permission. For software which is copyrighted by the Free
290 Software Foundation, write to the Free Software Foundation; we sometimes
291 make exceptions for this. Our decision will be guided by the two goals
292 of preserving the free status of all derivatives of our free software and
293 of promoting the sharing and reuse of software generally.
294
295 NO WARRANTY
296
297 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
298 FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
299 OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
300 PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
301 OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
302 MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
303 TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
304 PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
305 REPAIR OR CORRECTION.
306
307 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
308 WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
309 REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
310 INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
311 OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
312 TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
313 YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
314 PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
315 POSSIBILITY OF SUCH DAMAGES.
316
317 END OF TERMS AND CONDITIONS
318
319 How to Apply These Terms to Your New Programs
320
321 If you develop a new program, and you want it to be of the greatest
322 possible use to the public, the best way to achieve this is to make it
323 free software which everyone can redistribute and change under these terms.
324
325 To do so, attach the following notices to the program. It is safest
326 to attach them to the start of each source file to most effectively
327 convey the exclusion of warranty; and each file should have at least
328 the "copyright" line and a pointer to where the full notice is found.
329
330 <one line to give the program's name and a brief idea of what it does.>
331 Copyright (C) <year> <name of author>
332
333 This program is free software; you can redistribute it and/or modify
334 it under the terms of the GNU General Public License as published by
335 the Free Software Foundation; either version 2 of the License, or
336 (at your option) any later version.
337
338 This program is distributed in the hope that it will be useful,
339 but WITHOUT ANY WARRANTY; without even the implied warranty of
340 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
341 GNU General Public License for more details.
342
343 You should have received a copy of the GNU General Public License
344 along with this program; if not, write to the Free Software
345 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
346
347
348 Also add information on how to contact you by electronic and paper mail.
349
350 If the program is interactive, make it output a short notice like this
351 when it starts in an interactive mode:
352
353 Gnomovision version 69, Copyright (C) year name of author
354 Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
355 This is free software, and you are welcome to redistribute it
356 under certain conditions; type `show c' for details.
357
358 The hypothetical commands `show w' and `show c' should show the appropriate
359 parts of the General Public License. Of course, the commands you use may
360 be called something other than `show w' and `show c'; they could even be
361 mouse-clicks or menu items--whatever suits your program.
362
363 You should also get your employer (if you work as a programmer) or your
364 school, if any, to sign a "copyright disclaimer" for the program, if
365 necessary. Here is a sample; alter the names:
366
367 Yoyodyne, Inc., hereby disclaims all copyright interest in the program
368 `Gnomovision' (which makes passes at compilers) written by James Hacker.
369
370 <signature of Ty Coon>, 1 April 1989
371 Ty Coon, President of Vice
372
373 This General Public License does not permit incorporating your program into
374 proprietary programs. If your program is a subroutine library, you may
375 consider it more useful to permit linking proprietary applications with the
376 library. If this is what you want to do, use the GNU Library General
377 Public License instead of this License.
+0
-231
INSTALL less more
0 Installation Instructions
1 *************************
2
3 Copyright (C) 1994, 1995, 1996, 1999, 2000, 2001, 2002, 2004 Free
4 Software Foundation, Inc.
5
6 This file is free documentation; the Free Software Foundation gives
7 unlimited permission to copy, distribute and modify it.
8
9 Basic Installation
10 ==================
11
12 These are generic installation instructions.
13
14 The `configure' shell script attempts to guess correct values for
15 various system-dependent variables used during compilation. It uses
16 those values to create a `Makefile' in each directory of the package.
17 It may also create one or more `.h' files containing system-dependent
18 definitions. Finally, it creates a shell script `config.status' that
19 you can run in the future to recreate the current configuration, and a
20 file `config.log' containing compiler output (useful mainly for
21 debugging `configure').
22
23 It can also use an optional file (typically called `config.cache'
24 and enabled with `--cache-file=config.cache' or simply `-C') that saves
25 the results of its tests to speed up reconfiguring. (Caching is
26 disabled by default to prevent problems with accidental use of stale
27 cache files.)
28
29 If you need to do unusual things to compile the package, please try
30 to figure out how `configure' could check whether to do them, and mail
31 diffs or instructions to the address given in the `README' so they can
32 be considered for the next release. If you are using the cache, and at
33 some point `config.cache' contains results you don't want to keep, you
34 may remove or edit it.
35
36 The file `configure.ac' (or `configure.in') is used to create
37 `configure' by a program called `autoconf'. You only need
38 `configure.ac' if you want to change it or regenerate `configure' using
39 a newer version of `autoconf'.
40
41 The simplest way to compile this package is:
42
43 1. `cd' to the directory containing the package's source code and type
44 `./configure' to configure the package for your system. If you're
45 using `csh' on an old version of System V, you might need to type
46 `sh ./configure' instead to prevent `csh' from trying to execute
47 `configure' itself.
48
49 Running `configure' takes awhile. While running, it prints some
50 messages telling which features it is checking for.
51
52 2. Type `make' to compile the package.
53
54 3. Optionally, type `make check' to run any self-tests that come with
55 the package.
56
57 4. Type `make install' to install the programs and any data files and
58 documentation.
59
60 5. You can remove the program binaries and object files from the
61 source code directory by typing `make clean'. To also remove the
62 files that `configure' created (so you can compile the package for
63 a different kind of computer), type `make distclean'. There is
64 also a `make maintainer-clean' target, but that is intended mainly
65 for the package's developers. If you use it, you may have to get
66 all sorts of other programs in order to regenerate files that came
67 with the distribution.
68
69 Compilers and Options
70 =====================
71
72 Some systems require unusual options for compilation or linking that the
73 `configure' script does not know about. Run `./configure --help' for
74 details on some of the pertinent environment variables.
75
76 You can give `configure' initial values for configuration parameters
77 by setting variables in the command line or in the environment. Here
78 is an example:
79
80 ./configure CC=c89 CFLAGS=-O2 LIBS=-lposix
81
82 *Note Defining Variables::, for more details.
83
84 Compiling For Multiple Architectures
85 ====================================
86
87 You can compile the package for more than one kind of computer at the
88 same time, by placing the object files for each architecture in their
89 own directory. To do this, you must use a version of `make' that
90 supports the `VPATH' variable, such as GNU `make'. `cd' to the
91 directory where you want the object files and executables to go and run
92 the `configure' script. `configure' automatically checks for the
93 source code in the directory that `configure' is in and in `..'.
94
95 If you have to use a `make' that does not support the `VPATH'
96 variable, you have to compile the package for one architecture at a
97 time in the source code directory. After you have installed the
98 package for one architecture, use `make distclean' before reconfiguring
99 for another architecture.
100
101 Installation Names
102 ==================
103
104 By default, `make install' will install the package's files in
105 `/usr/local/bin', `/usr/local/man', etc. You can specify an
106 installation prefix other than `/usr/local' by giving `configure' the
107 option `--prefix=PREFIX'.
108
109 You can specify separate installation prefixes for
110 architecture-specific files and architecture-independent files. If you
111 give `configure' the option `--exec-prefix=PREFIX', the package will
112 use PREFIX as the prefix for installing programs and libraries.
113 Documentation and other data files will still use the regular prefix.
114
115 In addition, if you use an unusual directory layout you can give
116 options like `--bindir=DIR' to specify different values for particular
117 kinds of files. Run `configure --help' for a list of the directories
118 you can set and what kinds of files go in them.
119
120 If the package supports it, you can cause programs to be installed
121 with an extra prefix or suffix on their names by giving `configure' the
122 option `--program-prefix=PREFIX' or `--program-suffix=SUFFIX'.
123
124 Optional Features
125 =================
126
127 Some packages pay attention to `--enable-FEATURE' options to
128 `configure', where FEATURE indicates an optional part of the package.
129 They may also pay attention to `--with-PACKAGE' options, where PACKAGE
130 is something like `gnu-as' or `x' (for the X Window System). The
131 `README' should mention any `--enable-' and `--with-' options that the
132 package recognizes.
133
134 For packages that use the X Window System, `configure' can usually
135 find the X include and library files automatically, but if it doesn't,
136 you can use the `configure' options `--x-includes=DIR' and
137 `--x-libraries=DIR' to specify their locations.
138
139 Specifying the System Type
140 ==========================
141
142 There may be some features `configure' cannot figure out automatically,
143 but needs to determine by the type of machine the package will run on.
144 Usually, assuming the package is built to be run on the _same_
145 architectures, `configure' can figure that out, but if it prints a
146 message saying it cannot guess the machine type, give it the
147 `--build=TYPE' option. TYPE can either be a short name for the system
148 type, such as `sun4', or a canonical name which has the form:
149
150 CPU-COMPANY-SYSTEM
151
152 where SYSTEM can have one of these forms:
153
154 OS KERNEL-OS
155
156 See the file `config.sub' for the possible values of each field. If
157 `config.sub' isn't included in this package, then this package doesn't
158 need to know the machine type.
159
160 If you are _building_ compiler tools for cross-compiling, you should
161 use the `--target=TYPE' option to select the type of system they will
162 produce code for.
163
164 If you want to _use_ a cross compiler, that generates code for a
165 platform different from the build platform, you should specify the
166 "host" platform (i.e., that on which the generated programs will
167 eventually be run) with `--host=TYPE'.
168
169 Sharing Defaults
170 ================
171
172 If you want to set default values for `configure' scripts to share, you
173 can create a site shell script called `config.site' that gives default
174 values for variables like `CC', `cache_file', and `prefix'.
175 `configure' looks for `PREFIX/share/config.site' if it exists, then
176 `PREFIX/etc/config.site' if it exists. Or, you can set the
177 `CONFIG_SITE' environment variable to the location of the site script.
178 A warning: not all `configure' scripts look for a site script.
179
180 Defining Variables
181 ==================
182
183 Variables not defined in a site shell script can be set in the
184 environment passed to `configure'. However, some packages may run
185 configure again during the build, and the customized values of these
186 variables may be lost. In order to avoid this problem, you should set
187 them in the `configure' command line, using `VAR=value'. For example:
188
189 ./configure CC=/usr/local2/bin/gcc
190
191 will cause the specified gcc to be used as the C compiler (unless it is
192 overridden in the site shell script).
193
194 `configure' Invocation
195 ======================
196
197 `configure' recognizes the following options to control how it operates.
198
199 `--help'
200 `-h'
201 Print a summary of the options to `configure', and exit.
202
203 `--version'
204 `-V'
205 Print the version of Autoconf used to generate the `configure'
206 script, and exit.
207
208 `--cache-file=FILE'
209 Enable the cache: use and save the results of the tests in FILE,
210 traditionally `config.cache'. FILE defaults to `/dev/null' to
211 disable caching.
212
213 `--config-cache'
214 `-C'
215 Alias for `--cache-file=config.cache'.
216
217 `--quiet'
218 `--silent'
219 `-q'
220 Do not print messages saying which checks are being made. To
221 suppress all normal output, redirect it to `/dev/null' (any error
222 messages will still be shown).
223
224 `--srcdir=DIR'
225 Look for the package's source code in directory DIR. Usually
226 `configure' can determine that directory automatically.
227
228 `configure' also accepts some other, not widely useful, options. Run
229 `configure --help' for more details.
230
00 #--
1 # Copyright (c) 2004 Mellanox Technologies LTD. All rights reserved.
1 # Copyright (c) 2004-2010 Mellanox Technologies LTD. All rights reserved.
22 #
33 # This software is available to you under a choice of one of two
44 # licenses. You may choose to be licensed under the terms of the GNU
2727 # ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
2828 # CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
2929 # SOFTWARE.
30 #
31 # $Id$
3230 #--
3331
3432 #AUTOMAKE_OPTIONS = gnits
4644
4745 ACLOCAL = aclocal -I $(ac_aux_dir)
4846
49 EXTRA_DIST = ibutils.spec.in
47 EXTRA_DIST = ibutils.spec.in ibmgtsim
5048
5149 dist-hook: ibutils.spec
5250 cp ibutils.spec $(distdir)
0 # Makefile.in generated by automake 1.9.6 from Makefile.am.
0 # Makefile.in generated by automake 1.11.1 from Makefile.am.
11 # @configure_input@
22
33 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
4 # 2003, 2004, 2005 Free Software Foundation, Inc.
4 # 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
5 # Inc.
56 # This Makefile.in is free software; the Free Software Foundation
67 # gives unlimited permission to copy and/or distribute it,
78 # with or without modifications, as long as this notice is preserved.
1415 @SET_MAKE@
1516
1617 #--
17 # Copyright (c) 2004 Mellanox Technologies LTD. All rights reserved.
18 # Copyright (c) 2004-2010 Mellanox Technologies LTD. All rights reserved.
1819 #
1920 # This software is available to you under a choice of one of two
2021 # licenses. You may choose to be licensed under the terms of the GNU
4344 # ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
4445 # CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
4546 # SOFTWARE.
46 #
47 # $Id$
4847 #--
4948
5049 #AUTOMAKE_OPTIONS = gnits
51 srcdir = @srcdir@
52 top_srcdir = @top_srcdir@
5350 VPATH = @srcdir@
5451 pkgdatadir = $(datadir)/@PACKAGE@
52 pkgincludedir = $(includedir)/@PACKAGE@
5553 pkglibdir = $(libdir)/@PACKAGE@
56 pkgincludedir = $(includedir)/@PACKAGE@
57 top_builddir = .
54 pkglibexecdir = $(libexecdir)/@PACKAGE@
5855 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
59 INSTALL = @INSTALL@
6056 install_sh_DATA = $(install_sh) -c -m 644
6157 install_sh_PROGRAM = $(install_sh) -c
6258 install_sh_SCRIPT = $(install_sh) -c
7167 subdir = .
7268 DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \
7369 $(srcdir)/Makefile.in $(srcdir)/ibutils.spec.in \
74 $(top_srcdir)/configure AUTHORS COPYING ChangeLog INSTALL NEWS \
70 $(top_srcdir)/configure AUTHORS COPYING ChangeLog NEWS \
7571 config/install-sh config/missing
7672 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
7773 am__aclocal_m4_deps = $(top_srcdir)/config/osm.m4 \
7975 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
8076 $(ACLOCAL_M4)
8177 am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
82 configure.lineno configure.status.lineno
78 configure.lineno config.status.lineno
8379 mkinstalldirs = $(install_sh) -d
8480 CONFIG_CLEAN_FILES = ibutils.spec
81 CONFIG_CLEAN_VPATH_FILES =
8582 SOURCES =
8683 DIST_SOURCES =
8784 RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
8885 html-recursive info-recursive install-data-recursive \
89 install-exec-recursive install-info-recursive \
90 install-recursive installcheck-recursive installdirs-recursive \
91 pdf-recursive ps-recursive uninstall-info-recursive \
92 uninstall-recursive
86 install-dvi-recursive install-exec-recursive \
87 install-html-recursive install-info-recursive \
88 install-pdf-recursive install-ps-recursive install-recursive \
89 installcheck-recursive installdirs-recursive pdf-recursive \
90 ps-recursive uninstall-recursive
91 RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
92 distclean-recursive maintainer-clean-recursive
93 AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
94 $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \
95 distdir dist dist-all distcheck
9396 ETAGS = etags
9497 CTAGS = ctags
9598 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
9699 distdir = $(PACKAGE)-$(VERSION)
97100 top_distdir = $(distdir)
98101 am__remove_distdir = \
99 { test ! -d $(distdir) \
100 || { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \
101 && rm -fr $(distdir); }; }
102 { test ! -d "$(distdir)" \
103 || { find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \
104 && rm -fr "$(distdir)"; }; }
105 am__relativize = \
106 dir0=`pwd`; \
107 sed_first='s,^\([^/]*\)/.*$$,\1,'; \
108 sed_rest='s,^[^/]*/*,,'; \
109 sed_last='s,^.*/\([^/]*\)$$,\1,'; \
110 sed_butlast='s,/*[^/]*$$,,'; \
111 while test -n "$$dir1"; do \
112 first=`echo "$$dir1" | sed -e "$$sed_first"`; \
113 if test "$$first" != "."; then \
114 if test "$$first" = ".."; then \
115 dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
116 dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
117 else \
118 first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
119 if test "$$first2" = "$$first"; then \
120 dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
121 else \
122 dir2="../$$dir2"; \
123 fi; \
124 dir0="$$dir0"/"$$first"; \
125 fi; \
126 fi; \
127 dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
128 done; \
129 reldir="$$dir2"
102130 DIST_ARCHIVES = $(distdir).tar.gz
103131 GZIP_ENV = --best
104132 distuninstallcheck_listfiles = find . -type f -print
109137 AUTOHEADER = @AUTOHEADER@
110138 AUTOMAKE = @AUTOMAKE@
111139 AWK = @AWK@
112 BUILD_IBMGTSIM_FALSE = @BUILD_IBMGTSIM_FALSE@
113 BUILD_IBMGTSIM_TRUE = @BUILD_IBMGTSIM_TRUE@
114140 CYGPATH_W = @CYGPATH_W@
115141 DEFS = @DEFS@
116142 ECHO_C = @ECHO_C@
117143 ECHO_N = @ECHO_N@
118144 ECHO_T = @ECHO_T@
145 INSTALL = @INSTALL@
119146 INSTALL_DATA = @INSTALL_DATA@
120147 INSTALL_PROGRAM = @INSTALL_PROGRAM@
121148 INSTALL_SCRIPT = @INSTALL_SCRIPT@
124151 LIBS = @LIBS@
125152 LTLIBOBJS = @LTLIBOBJS@
126153 MAINT = @MAINT@
127 MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@
128 MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
129154 MAKEINFO = @MAKEINFO@
155 MKDIR_P = @MKDIR_P@
130156 OSM_BUILD = @OSM_BUILD@
131 OSM_BUILD_OPENIB_FALSE = @OSM_BUILD_OPENIB_FALSE@
132 OSM_BUILD_OPENIB_TRUE = @OSM_BUILD_OPENIB_TRUE@
133157 OSM_CFLAGS = @OSM_CFLAGS@
134158 OSM_LDFLAGS = @OSM_LDFLAGS@
135159 OSM_VENDOR = @OSM_VENDOR@
136 OSM_VENDOR_MTL_FALSE = @OSM_VENDOR_MTL_FALSE@
137 OSM_VENDOR_MTL_TRUE = @OSM_VENDOR_MTL_TRUE@
138 OSM_VENDOR_SIM_FALSE = @OSM_VENDOR_SIM_FALSE@
139 OSM_VENDOR_SIM_TRUE = @OSM_VENDOR_SIM_TRUE@
140 OSM_VENDOR_TS_FALSE = @OSM_VENDOR_TS_FALSE@
141 OSM_VENDOR_TS_TRUE = @OSM_VENDOR_TS_TRUE@
142160 PACKAGE = @PACKAGE@
143161 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
144162 PACKAGE_NAME = @PACKAGE_NAME@
145163 PACKAGE_STRING = @PACKAGE_STRING@
146164 PACKAGE_TARNAME = @PACKAGE_TARNAME@
165 PACKAGE_URL = @PACKAGE_URL@
147166 PACKAGE_VERSION = @PACKAGE_VERSION@
148167 PATH_SEPARATOR = @PATH_SEPARATOR@
149168 SET_MAKE = @SET_MAKE@
150169 SHELL = @SHELL@
151170 STRIP = @STRIP@
152171 VERSION = @VERSION@
153 ac_ct_STRIP = @ac_ct_STRIP@
172 abs_builddir = @abs_builddir@
173 abs_srcdir = @abs_srcdir@
174 abs_top_builddir = @abs_top_builddir@
175 abs_top_srcdir = @abs_top_srcdir@
154176 am__leading_dot = @am__leading_dot@
155177 am__tar = @am__tar@
156178 am__untar = @am__untar@
157179 bindir = @bindir@
158180 build_alias = @build_alias@
181 builddir = @builddir@
159182 datadir = @datadir@
183 datarootdir = @datarootdir@
184 docdir = @docdir@
185 dvidir = @dvidir@
160186 exec_prefix = @exec_prefix@
161187 host_alias = @host_alias@
188 htmldir = @htmldir@
162189 includedir = @includedir@
163190 infodir = @infodir@
164191 install_sh = @install_sh@
165192 libdir = @libdir@
166193 libexecdir = @libexecdir@
194 localedir = @localedir@
167195 localstatedir = @localstatedir@
168196 mandir = @mandir@
169197 mkdir_p = @mkdir_p@
170198 oldincludedir = @oldincludedir@
199 pdfdir = @pdfdir@
171200 prefix = @prefix@
172201 program_transform_name = @program_transform_name@
202 psdir = @psdir@
173203 sbindir = @sbindir@
174204 sharedstatedir = @sharedstatedir@
205 srcdir = @srcdir@
175206 subdirs = @subdirs@
176207 sysconfdir = @sysconfdir@
177208 target_alias = @target_alias@
209 top_build_prefix = @top_build_prefix@
210 top_builddir = @top_builddir@
211 top_srcdir = @top_srcdir@
178212 with_osm = @with_osm@
179213
180214 # note that order matters: make the lib first then use it
184218
185219 # this will control the update of the files in order
186220 MAINTAINERCLEANFILES = Makefile.in aclocal.m4 configure config-h.in
187 EXTRA_DIST = ibutils.spec.in
221 EXTRA_DIST = ibutils.spec.in ibmgtsim
188222 all: all-recursive
189223
190224 .SUFFIXES:
194228 @for dep in $?; do \
195229 case '$(am__configure_deps)' in \
196230 *$$dep*) \
197 echo ' cd $(srcdir) && $(AUTOMAKE) --foreign '; \
198 cd $(srcdir) && $(AUTOMAKE) --foreign \
231 echo ' cd $(srcdir) && $(AUTOMAKE) --foreign'; \
232 $(am__cd) $(srcdir) && $(AUTOMAKE) --foreign \
199233 && exit 0; \
200234 exit 1;; \
201235 esac; \
202236 done; \
203 echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \
204 cd $(top_srcdir) && \
205 $(AUTOMAKE) --foreign Makefile
237 echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \
238 $(am__cd) $(top_srcdir) && \
239 $(AUTOMAKE) --foreign Makefile
206240 .PRECIOUS: Makefile
207241 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
208242 @case '$?' in \
218252 $(SHELL) ./config.status --recheck
219253
220254 $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
221 cd $(srcdir) && $(AUTOCONF)
255 $(am__cd) $(srcdir) && $(AUTOCONF)
222256 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
223 cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
257 $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
258 $(am__aclocal_m4_deps):
224259 ibutils.spec: $(top_builddir)/config.status $(srcdir)/ibutils.spec.in
225260 cd $(top_builddir) && $(SHELL) ./config.status $@
226 uninstall-info-am:
227261
228262 # This directory's subdirectories are mostly independent; you can cd
229263 # into them and run `make' without going through this Makefile.
232266 # (which will cause the Makefiles to be regenerated when you run `make');
233267 # (2) otherwise, pass the desired values on the `make' command line.
234268 $(RECURSIVE_TARGETS):
235 @failcom='exit 1'; \
269 @fail= failcom='exit 1'; \
236270 for f in x $$MAKEFLAGS; do \
237271 case $$f in \
238272 *=* | --[!k]*);; \
249283 else \
250284 local_target="$$target"; \
251285 fi; \
252 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
286 ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
253287 || eval $$failcom; \
254288 done; \
255289 if test "$$dot_seen" = "no"; then \
256290 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
257291 fi; test -z "$$fail"
258292
259 mostlyclean-recursive clean-recursive distclean-recursive \
260 maintainer-clean-recursive:
261 @failcom='exit 1'; \
293 $(RECURSIVE_CLEAN_TARGETS):
294 @fail= failcom='exit 1'; \
262295 for f in x $$MAKEFLAGS; do \
263296 case $$f in \
264297 *=* | --[!k]*);; \
284317 else \
285318 local_target="$$target"; \
286319 fi; \
287 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
320 ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
288321 || eval $$failcom; \
289322 done && test -z "$$fail"
290323 tags-recursive:
291324 list='$(SUBDIRS)'; for subdir in $$list; do \
292 test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
325 test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
293326 done
294327 ctags-recursive:
295328 list='$(SUBDIRS)'; for subdir in $$list; do \
296 test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
329 test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
297330 done
298331
299332 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
301334 unique=`for i in $$list; do \
302335 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
303336 done | \
304 $(AWK) ' { files[$$0] = 1; } \
305 END { for (i in files) print i; }'`; \
337 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
338 END { if (nonempty) { for (i in files) print i; }; }'`; \
306339 mkid -fID $$unique
307340 tags: TAGS
308341
309342 TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
310343 $(TAGS_FILES) $(LISP)
311 tags=; \
344 set x; \
312345 here=`pwd`; \
313346 if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
314347 include_option=--etags-include; \
320353 list='$(SUBDIRS)'; for subdir in $$list; do \
321354 if test "$$subdir" = .; then :; else \
322355 test ! -f $$subdir/TAGS || \
323 tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
356 set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
324357 fi; \
325358 done; \
326359 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
327360 unique=`for i in $$list; do \
328361 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
329362 done | \
330 $(AWK) ' { files[$$0] = 1; } \
331 END { for (i in files) print i; }'`; \
332 if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
363 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
364 END { if (nonempty) { for (i in files) print i; }; }'`; \
365 shift; \
366 if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
333367 test -n "$$unique" || unique=$$empty_fix; \
334 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
335 $$tags $$unique; \
368 if test $$# -gt 0; then \
369 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
370 "$$@" $$unique; \
371 else \
372 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
373 $$unique; \
374 fi; \
336375 fi
337376 ctags: CTAGS
338377 CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
339378 $(TAGS_FILES) $(LISP)
340 tags=; \
341 here=`pwd`; \
342379 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
343380 unique=`for i in $$list; do \
344381 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
345382 done | \
346 $(AWK) ' { files[$$0] = 1; } \
347 END { for (i in files) print i; }'`; \
348 test -z "$(CTAGS_ARGS)$$tags$$unique" \
383 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
384 END { if (nonempty) { for (i in files) print i; }; }'`; \
385 test -z "$(CTAGS_ARGS)$$unique" \
349386 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
350 $$tags $$unique
387 $$unique
351388
352389 GTAGS:
353390 here=`$(am__cd) $(top_builddir) && pwd` \
354 && cd $(top_srcdir) \
355 && gtags -i $(GTAGS_ARGS) $$here
391 && $(am__cd) $(top_srcdir) \
392 && gtags -i $(GTAGS_ARGS) "$$here"
356393
357394 distclean-tags:
358395 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
359396
360397 distdir: $(DISTFILES)
361398 $(am__remove_distdir)
362 mkdir $(distdir)
363 $(mkdir_p) $(distdir)/. $(distdir)/config
364 @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
365 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
366 list='$(DISTFILES)'; for file in $$list; do \
367 case $$file in \
368 $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
369 $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
370 esac; \
399 test -d "$(distdir)" || mkdir "$(distdir)"
400 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
401 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
402 list='$(DISTFILES)'; \
403 dist_files=`for file in $$list; do echo $$file; done | \
404 sed -e "s|^$$srcdirstrip/||;t" \
405 -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
406 case $$dist_files in \
407 */*) $(MKDIR_P) `echo "$$dist_files" | \
408 sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
409 sort -u` ;; \
410 esac; \
411 for file in $$dist_files; do \
371412 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
372 dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
373 if test "$$dir" != "$$file" && test "$$dir" != "."; then \
374 dir="/$$dir"; \
375 $(mkdir_p) "$(distdir)$$dir"; \
413 if test -d $$d/$$file; then \
414 dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
415 if test -d "$(distdir)/$$file"; then \
416 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
417 fi; \
418 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
419 cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
420 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
421 fi; \
422 cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
376423 else \
377 dir=''; \
378 fi; \
379 if test -d $$d/$$file; then \
380 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
381 cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
382 fi; \
383 cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
384 else \
385 test -f $(distdir)/$$file \
386 || cp -p $$d/$$file $(distdir)/$$file \
424 test -f "$(distdir)/$$file" \
425 || cp -p $$d/$$file "$(distdir)/$$file" \
387426 || exit 1; \
388427 fi; \
389428 done
390 list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
429 @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
391430 if test "$$subdir" = .; then :; else \
392431 test -d "$(distdir)/$$subdir" \
393 || $(mkdir_p) "$(distdir)/$$subdir" \
432 || $(MKDIR_P) "$(distdir)/$$subdir" \
394433 || exit 1; \
395 distdir=`$(am__cd) $(distdir) && pwd`; \
396 top_distdir=`$(am__cd) $(top_distdir) && pwd`; \
397 (cd $$subdir && \
434 fi; \
435 done
436 @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
437 if test "$$subdir" = .; then :; else \
438 dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
439 $(am__relativize); \
440 new_distdir=$$reldir; \
441 dir1=$$subdir; dir2="$(top_distdir)"; \
442 $(am__relativize); \
443 new_top_distdir=$$reldir; \
444 echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
445 echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
446 ($(am__cd) $$subdir && \
398447 $(MAKE) $(AM_MAKEFLAGS) \
399 top_distdir="$$top_distdir" \
400 distdir="$$distdir/$$subdir" \
448 top_distdir="$$new_top_distdir" \
449 distdir="$$new_distdir" \
450 am__remove_distdir=: \
451 am__skip_length_check=: \
452 am__skip_mode_fix=: \
401453 distdir) \
402454 || exit 1; \
403455 fi; \
405457 $(MAKE) $(AM_MAKEFLAGS) \
406458 top_distdir="$(top_distdir)" distdir="$(distdir)" \
407459 dist-hook
408 -find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
460 -test -n "$(am__skip_mode_fix)" \
461 || find "$(distdir)" -type d ! -perm -755 \
462 -exec chmod u+rwx,go+rx {} \; -o \
409463 ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
410464 ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
411 ! -type d ! -perm -444 -exec $(SHELL) $(install_sh) -c -m a+r {} {} \; \
412 || chmod -R a+r $(distdir)
465 ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
466 || chmod -R a+r "$(distdir)"
413467 dist-gzip: distdir
414468 tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
415469 $(am__remove_distdir)
416470
417471 dist-bzip2: distdir
418472 tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2
473 $(am__remove_distdir)
474
475 dist-lzma: distdir
476 tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma
477 $(am__remove_distdir)
478
479 dist-xz: distdir
480 tardir=$(distdir) && $(am__tar) | xz -c >$(distdir).tar.xz
419481 $(am__remove_distdir)
420482
421483 dist-tarZ: distdir
441503 distcheck: dist
442504 case '$(DIST_ARCHIVES)' in \
443505 *.tar.gz*) \
444 GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(am__untar) ;;\
506 GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\
445507 *.tar.bz2*) \
446 bunzip2 -c $(distdir).tar.bz2 | $(am__untar) ;;\
508 bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
509 *.tar.lzma*) \
510 lzma -dc $(distdir).tar.lzma | $(am__untar) ;;\
511 *.tar.xz*) \
512 xz -dc $(distdir).tar.xz | $(am__untar) ;;\
447513 *.tar.Z*) \
448514 uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
449515 *.shar.gz*) \
450 GZIP=$(GZIP_ENV) gunzip -c $(distdir).shar.gz | unshar ;;\
516 GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\
451517 *.zip*) \
452518 unzip $(distdir).zip ;;\
453519 esac
455521 mkdir $(distdir)/_build
456522 mkdir $(distdir)/_inst
457523 chmod a-w $(distdir)
524 test -d $(distdir)/_build || exit 0; \
458525 dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
459526 && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
460 && cd $(distdir)/_build \
527 && am__cwd=`pwd` \
528 && $(am__cd) $(distdir)/_build \
461529 && ../configure --srcdir=.. --prefix="$$dc_install_base" \
462530 $(DISTCHECK_CONFIGURE_FLAGS) \
463531 && $(MAKE) $(AM_MAKEFLAGS) \
479547 && rm -rf "$$dc_destdir" \
480548 && $(MAKE) $(AM_MAKEFLAGS) dist \
481549 && rm -rf $(DIST_ARCHIVES) \
482 && $(MAKE) $(AM_MAKEFLAGS) distcleancheck
550 && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \
551 && cd "$$am__cwd" \
552 || exit 1
483553 $(am__remove_distdir)
484554 @(echo "$(distdir) archives ready for distribution: "; \
485555 list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
486 sed -e '1{h;s/./=/g;p;x;}' -e '$${p;x;}'
556 sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
487557 distuninstallcheck:
488 @cd $(distuninstallcheck_dir) \
558 @$(am__cd) '$(distuninstallcheck_dir)' \
489559 && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \
490560 || { echo "ERROR: files left after uninstall:" ; \
491561 if test -n "$(DESTDIR)"; then \
527597
528598 distclean-generic:
529599 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
600 -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
530601
531602 maintainer-clean-generic:
532603 @echo "This command is intended for maintainers to use"
547618
548619 html: html-recursive
549620
621 html-am:
622
550623 info: info-recursive
551624
552625 info-am:
553626
554627 install-data-am:
555628
629 install-dvi: install-dvi-recursive
630
631 install-dvi-am:
632
556633 install-exec-am:
557634
635 install-html: install-html-recursive
636
637 install-html-am:
638
558639 install-info: install-info-recursive
559640
641 install-info-am:
642
560643 install-man:
644
645 install-pdf: install-pdf-recursive
646
647 install-pdf-am:
648
649 install-ps: install-ps-recursive
650
651 install-ps-am:
561652
562653 installcheck-am:
563654
579670
580671 ps-am:
581672
582 uninstall-am: uninstall-info-am
583
584 uninstall-info: uninstall-info-recursive
585
586 .PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am am--refresh check \
587 check-am clean clean-generic clean-recursive ctags \
588 ctags-recursive dist dist-all dist-bzip2 dist-gzip dist-hook \
589 dist-shar dist-tarZ dist-zip distcheck distclean \
590 distclean-generic distclean-recursive distclean-tags \
673 uninstall-am:
674
675 .MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) ctags-recursive \
676 install-am install-strip tags-recursive
677
678 .PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
679 all all-am am--refresh check check-am clean clean-generic \
680 ctags ctags-recursive dist dist-all dist-bzip2 dist-gzip \
681 dist-hook dist-lzma dist-shar dist-tarZ dist-xz dist-zip \
682 distcheck distclean distclean-generic distclean-tags \
591683 distcleancheck distdir distuninstallcheck dvi dvi-am html \
592684 html-am info info-am install install-am install-data \
593 install-data-am install-exec install-exec-am install-info \
594 install-info-am install-man install-strip installcheck \
685 install-data-am install-dvi install-dvi-am install-exec \
686 install-exec-am install-html install-html-am install-info \
687 install-info-am install-man install-pdf install-pdf-am \
688 install-ps install-ps-am install-strip installcheck \
595689 installcheck-am installdirs installdirs-am maintainer-clean \
596 maintainer-clean-generic maintainer-clean-recursive \
597 mostlyclean mostlyclean-generic mostlyclean-recursive pdf \
598 pdf-am ps ps-am tags tags-recursive uninstall uninstall-am \
599 uninstall-info-am
690 maintainer-clean-generic mostlyclean mostlyclean-generic pdf \
691 pdf-am ps ps-am tags tags-recursive uninstall uninstall-am
600692
601693
602694 dist-hook: ibutils.spec
605697 #dist-hook:
606698 # cd $(distdir)
607699 # cp -rf $(top_srcdir)/Clusters Clusters
700
608701 # Tell versions [3.59,3.63) of GNU make to not export all variables.
609702 # Otherwise a system limit (for SysV at least) may be exceeded.
610703 .NOEXPORT:
0 # generated automatically by aclocal 1.9.6 -*- Autoconf -*-
0 # generated automatically by aclocal 1.11.1 -*- Autoconf -*-
11
22 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
3 # 2005 Free Software Foundation, Inc.
3 # 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
44 # This file is free software; the Free Software Foundation
55 # gives unlimited permission to copy and/or distribute it,
66 # with or without modifications, as long as this notice is preserved.
1010 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
1111 # PARTICULAR PURPOSE.
1212
13 # Copyright (C) 2002, 2003, 2005 Free Software Foundation, Inc.
13 m4_ifndef([AC_AUTOCONF_VERSION],
14 [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
15 m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.65],,
16 [m4_warning([this file was generated for autoconf 2.65.
17 You have another version of autoconf. It may work, but is not guaranteed to.
18 If you have problems, you may need to regenerate the build system entirely.
19 To do so, use the procedure documented by the package, typically `autoreconf'.])])
20
21 # Copyright (C) 2002, 2003, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1422 #
1523 # This file is free software; the Free Software Foundation
1624 # gives unlimited permission to copy and/or distribute it,
2028 # ----------------------------
2129 # Automake X.Y traces this macro to ensure aclocal.m4 has been
2230 # generated from the m4 files accompanying Automake X.Y.
23 AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version="1.9"])
31 # (This private macro should not be called outside this file.)
32 AC_DEFUN([AM_AUTOMAKE_VERSION],
33 [am__api_version='1.11'
34 dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
35 dnl require some minimum version. Point them to the right macro.
36 m4_if([$1], [1.11.1], [],
37 [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
38 ])
39
40 # _AM_AUTOCONF_VERSION(VERSION)
41 # -----------------------------
42 # aclocal traces this macro to find the Autoconf version.
43 # This is a private macro too. Using m4_define simplifies
44 # the logic in aclocal, which can simply ignore this definition.
45 m4_define([_AM_AUTOCONF_VERSION], [])
2446
2547 # AM_SET_CURRENT_AUTOMAKE_VERSION
2648 # -------------------------------
27 # Call AM_AUTOMAKE_VERSION so it can be traced.
28 # This function is AC_REQUIREd by AC_INIT_AUTOMAKE.
49 # Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
50 # This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
2951 AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
30 [AM_AUTOMAKE_VERSION([1.9.6])])
52 [AM_AUTOMAKE_VERSION([1.11.1])dnl
53 m4_ifndef([AC_AUTOCONF_VERSION],
54 [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
55 _AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
3156
3257 # AM_AUX_DIR_EXPAND -*- Autoconf -*-
3358
84109
85110 # AM_CONDITIONAL -*- Autoconf -*-
86111
87 # Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005
112 # Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006, 2008
88113 # Free Software Foundation, Inc.
89114 #
90115 # This file is free software; the Free Software Foundation
91116 # gives unlimited permission to copy and/or distribute it,
92117 # with or without modifications, as long as this notice is preserved.
93118
94 # serial 7
119 # serial 9
95120
96121 # AM_CONDITIONAL(NAME, SHELL-CONDITION)
97122 # -------------------------------------
100125 [AC_PREREQ(2.52)dnl
101126 ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])],
102127 [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
103 AC_SUBST([$1_TRUE])
104 AC_SUBST([$1_FALSE])
128 AC_SUBST([$1_TRUE])dnl
129 AC_SUBST([$1_FALSE])dnl
130 _AM_SUBST_NOTMAKE([$1_TRUE])dnl
131 _AM_SUBST_NOTMAKE([$1_FALSE])dnl
132 m4_define([_AM_COND_VALUE_$1], [$2])dnl
105133 if $2; then
106134 $1_TRUE=
107135 $1_FALSE='#'
117145
118146 # Do all the work for Automake. -*- Autoconf -*-
119147
120 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
121 # Free Software Foundation, Inc.
122 #
123 # This file is free software; the Free Software Foundation
124 # gives unlimited permission to copy and/or distribute it,
125 # with or without modifications, as long as this notice is preserved.
126
127 # serial 12
148 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
149 # 2005, 2006, 2008, 2009 Free Software Foundation, Inc.
150 #
151 # This file is free software; the Free Software Foundation
152 # gives unlimited permission to copy and/or distribute it,
153 # with or without modifications, as long as this notice is preserved.
154
155 # serial 16
128156
129157 # This macro actually does too much. Some checks are only needed if
130158 # your package does certain things. But this isn't really a big deal.
141169 # arguments mandatory, and then we can depend on a new Autoconf
142170 # release and drop the old call support.
143171 AC_DEFUN([AM_INIT_AUTOMAKE],
144 [AC_PREREQ([2.58])dnl
172 [AC_PREREQ([2.62])dnl
145173 dnl Autoconf wants to disallow AM_ names. We explicitly allow
146174 dnl the ones we care about.
147175 m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
148176 AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
149177 AC_REQUIRE([AC_PROG_INSTALL])dnl
150 # test to see if srcdir already configured
151 if test "`cd $srcdir && pwd`" != "`pwd`" &&
152 test -f $srcdir/config.status; then
153 AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
178 if test "`cd $srcdir && pwd`" != "`pwd`"; then
179 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
180 # is not polluted with repeated "-I."
181 AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl
182 # test to see if srcdir already configured
183 if test -f $srcdir/config.status; then
184 AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
185 fi
154186 fi
155187
156188 # test whether we have cygpath
170202 AC_SUBST([PACKAGE], [$1])dnl
171203 AC_SUBST([VERSION], [$2])],
172204 [_AM_SET_OPTIONS([$1])dnl
205 dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT.
206 m4_if(m4_ifdef([AC_PACKAGE_NAME], 1)m4_ifdef([AC_PACKAGE_VERSION], 1), 11,,
207 [m4_fatal([AC_INIT should be called with package and version arguments])])dnl
173208 AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
174209 AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
175210
185220 AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version})
186221 AM_MISSING_PROG(AUTOHEADER, autoheader)
187222 AM_MISSING_PROG(MAKEINFO, makeinfo)
188 AM_PROG_INSTALL_SH
189 AM_PROG_INSTALL_STRIP
223 AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
224 AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl
190225 AC_REQUIRE([AM_PROG_MKDIR_P])dnl
191226 # We need awk for the "check" target. The system "awk" is bad on
192227 # some platforms.
194229 AC_REQUIRE([AC_PROG_MAKE_SET])dnl
195230 AC_REQUIRE([AM_SET_LEADING_DOT])dnl
196231 _AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])],
197 [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
198 [_AM_PROG_TAR([v7])])])
232 [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
233 [_AM_PROG_TAR([v7])])])
199234 _AM_IF_OPTION([no-dependencies],,
200235 [AC_PROVIDE_IFELSE([AC_PROG_CC],
201 [_AM_DEPENDENCIES(CC)],
202 [define([AC_PROG_CC],
203 defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
236 [_AM_DEPENDENCIES(CC)],
237 [define([AC_PROG_CC],
238 defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
204239 AC_PROVIDE_IFELSE([AC_PROG_CXX],
205 [_AM_DEPENDENCIES(CXX)],
206 [define([AC_PROG_CXX],
207 defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
240 [_AM_DEPENDENCIES(CXX)],
241 [define([AC_PROG_CXX],
242 defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
243 AC_PROVIDE_IFELSE([AC_PROG_OBJC],
244 [_AM_DEPENDENCIES(OBJC)],
245 [define([AC_PROG_OBJC],
246 defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl
208247 ])
248 _AM_IF_OPTION([silent-rules], [AC_REQUIRE([AM_SILENT_RULES])])dnl
249 dnl The `parallel-tests' driver may need to know about EXEEXT, so add the
250 dnl `am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This macro
251 dnl is hooked onto _AC_COMPILER_EXEEXT early, see below.
252 AC_CONFIG_COMMANDS_PRE(dnl
253 [m4_provide_if([_AM_COMPILER_EXEEXT],
254 [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl
209255 ])
256
257 dnl Hook into `_AC_COMPILER_EXEEXT' early to learn its expansion. Do not
258 dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further
259 dnl mangled by Autoconf and run in a shell conditional statement.
260 m4_define([_AC_COMPILER_EXEEXT],
261 m4_defn([_AC_COMPILER_EXEEXT])[m4_provide([_AM_COMPILER_EXEEXT])])
210262
211263
212264 # When config.status generates a header, we must update the stamp-h file.
218270 # our stamp files there.
219271 AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK],
220272 [# Compute $1's index in $config_headers.
273 _am_arg=$1
221274 _am_stamp_count=1
222275 for _am_header in $config_headers :; do
223276 case $_am_header in
224 $1 | $1:* )
277 $_am_arg | $_am_arg:* )
225278 break ;;
226279 * )
227280 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
228281 esac
229282 done
230 echo "timestamp for $1" >`AS_DIRNAME([$1])`/stamp-h[]$_am_stamp_count])
231
232 # Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
283 echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
284
285 # Copyright (C) 2001, 2003, 2005, 2008 Free Software Foundation, Inc.
233286 #
234287 # This file is free software; the Free Software Foundation
235288 # gives unlimited permission to copy and/or distribute it,
240293 # Define $install_sh.
241294 AC_DEFUN([AM_PROG_INSTALL_SH],
242295 [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
243 install_sh=${install_sh-"$am_aux_dir/install-sh"}
296 if test x"${install_sh}" != xset; then
297 case $am_aux_dir in
298 *\ * | *\ *)
299 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
300 *)
301 install_sh="\${SHELL} $am_aux_dir/install-sh"
302 esac
303 fi
244304 AC_SUBST(install_sh)])
245305
246306 # Copyright (C) 2003, 2005 Free Software Foundation, Inc.
267327 # Add --enable-maintainer-mode option to configure. -*- Autoconf -*-
268328 # From Jim Meyering
269329
270 # Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004, 2005
330 # Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004, 2005, 2008
271331 # Free Software Foundation, Inc.
272332 #
273333 # This file is free software; the Free Software Foundation
274334 # gives unlimited permission to copy and/or distribute it,
275335 # with or without modifications, as long as this notice is preserved.
276336
277 # serial 4
278
337 # serial 5
338
339 # AM_MAINTAINER_MODE([DEFAULT-MODE])
340 # ----------------------------------
341 # Control maintainer-specific portions of Makefiles.
342 # Default is to disable them, unless `enable' is passed literally.
343 # For symmetry, `disable' may be passed as well. Anyway, the user
344 # can override the default with the --enable/--disable switch.
279345 AC_DEFUN([AM_MAINTAINER_MODE],
280 [AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles])
281 dnl maintainer-mode is disabled by default
282 AC_ARG_ENABLE(maintainer-mode,
283 [ --enable-maintainer-mode enable make rules and dependencies not useful
346 [m4_case(m4_default([$1], [disable]),
347 [enable], [m4_define([am_maintainer_other], [disable])],
348 [disable], [m4_define([am_maintainer_other], [enable])],
349 [m4_define([am_maintainer_other], [enable])
350 m4_warn([syntax], [unexpected argument to AM@&t@_MAINTAINER_MODE: $1])])
351 AC_MSG_CHECKING([whether to am_maintainer_other maintainer-specific portions of Makefiles])
352 dnl maintainer-mode's default is 'disable' unless 'enable' is passed
353 AC_ARG_ENABLE([maintainer-mode],
354 [ --][am_maintainer_other][-maintainer-mode am_maintainer_other make rules and dependencies not useful
284355 (and sometimes confusing) to the casual installer],
285 USE_MAINTAINER_MODE=$enableval,
286 USE_MAINTAINER_MODE=no)
356 [USE_MAINTAINER_MODE=$enableval],
357 [USE_MAINTAINER_MODE=]m4_if(am_maintainer_other, [enable], [no], [yes]))
287358 AC_MSG_RESULT([$USE_MAINTAINER_MODE])
288 AM_CONDITIONAL(MAINTAINER_MODE, [test $USE_MAINTAINER_MODE = yes])
359 AM_CONDITIONAL([MAINTAINER_MODE], [test $USE_MAINTAINER_MODE = yes])
289360 MAINT=$MAINTAINER_MODE_TRUE
290 AC_SUBST(MAINT)dnl
361 AC_SUBST([MAINT])dnl
291362 ]
292363 )
293364
295366
296367 # Fake the existence of programs that GNU maintainers use. -*- Autoconf -*-
297368
298 # Copyright (C) 1997, 1999, 2000, 2001, 2003, 2005
369 # Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005, 2008
299370 # Free Software Foundation, Inc.
300371 #
301372 # This file is free software; the Free Software Foundation
302373 # gives unlimited permission to copy and/or distribute it,
303374 # with or without modifications, as long as this notice is preserved.
304375
305 # serial 4
376 # serial 6
306377
307378 # AM_MISSING_PROG(NAME, PROGRAM)
308379 # ------------------------------
318389 # If it does, set am_missing_run to use it, otherwise, to nothing.
319390 AC_DEFUN([AM_MISSING_HAS_RUN],
320391 [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
321 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
392 AC_REQUIRE_AUX_FILE([missing])dnl
393 if test x"${MISSING+set}" != xset; then
394 case $am_aux_dir in
395 *\ * | *\ *)
396 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
397 *)
398 MISSING="\${SHELL} $am_aux_dir/missing" ;;
399 esac
400 fi
322401 # Use eval to expand $SHELL
323402 if eval "$MISSING --run true"; then
324403 am_missing_run="$MISSING --run "
328407 fi
329408 ])
330409
331 # Copyright (C) 2003, 2004, 2005 Free Software Foundation, Inc.
410 # Copyright (C) 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
332411 #
333412 # This file is free software; the Free Software Foundation
334413 # gives unlimited permission to copy and/or distribute it,
336415
337416 # AM_PROG_MKDIR_P
338417 # ---------------
339 # Check whether `mkdir -p' is supported, fallback to mkinstalldirs otherwise.
340 #
341 # Automake 1.8 used `mkdir -m 0755 -p --' to ensure that directories
342 # created by `make install' are always world readable, even if the
343 # installer happens to have an overly restrictive umask (e.g. 077).
344 # This was a mistake. There are at least two reasons why we must not
345 # use `-m 0755':
346 # - it causes special bits like SGID to be ignored,
347 # - it may be too restrictive (some setups expect 775 directories).
348 #
349 # Do not use -m 0755 and let people choose whatever they expect by
350 # setting umask.
351 #
352 # We cannot accept any implementation of `mkdir' that recognizes `-p'.
353 # Some implementations (such as Solaris 8's) are not thread-safe: if a
354 # parallel make tries to run `mkdir -p a/b' and `mkdir -p a/c'
355 # concurrently, both version can detect that a/ is missing, but only
356 # one can create it and the other will error out. Consequently we
357 # restrict ourselves to GNU make (using the --version option ensures
358 # this.)
418 # Check for `mkdir -p'.
359419 AC_DEFUN([AM_PROG_MKDIR_P],
360 [if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
361 # We used to keeping the `.' as first argument, in order to
362 # allow $(mkdir_p) to be used without argument. As in
363 # $(mkdir_p) $(somedir)
364 # where $(somedir) is conditionally defined. However this is wrong
365 # for two reasons:
366 # 1. if the package is installed by a user who cannot write `.'
367 # make install will fail,
368 # 2. the above comment should most certainly read
369 # $(mkdir_p) $(DESTDIR)$(somedir)
370 # so it does not work when $(somedir) is undefined and
371 # $(DESTDIR) is not.
372 # To support the latter case, we have to write
373 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
374 # so the `.' trick is pointless.
375 mkdir_p='mkdir -p --'
376 else
377 # On NextStep and OpenStep, the `mkdir' command does not
378 # recognize any option. It will interpret all options as
379 # directories to create, and then abort because `.' already
380 # exists.
381 for d in ./-p ./--version;
382 do
383 test -d $d && rmdir $d
384 done
385 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
386 if test -f "$ac_aux_dir/mkinstalldirs"; then
387 mkdir_p='$(mkinstalldirs)'
388 else
389 mkdir_p='$(install_sh) -d'
390 fi
391 fi
392 AC_SUBST([mkdir_p])])
420 [AC_PREREQ([2.60])dnl
421 AC_REQUIRE([AC_PROG_MKDIR_P])dnl
422 dnl Automake 1.8 to 1.9.6 used to define mkdir_p. We now use MKDIR_P,
423 dnl while keeping a definition of mkdir_p for backward compatibility.
424 dnl @MKDIR_P@ is magic: AC_OUTPUT adjusts its value for each Makefile.
425 dnl However we cannot define mkdir_p as $(MKDIR_P) for the sake of
426 dnl Makefile.ins that do not define MKDIR_P, so we do our own
427 dnl adjustment using top_builddir (which is defined more often than
428 dnl MKDIR_P).
429 AC_SUBST([mkdir_p], ["$MKDIR_P"])dnl
430 case $mkdir_p in
431 [[\\/$]]* | ?:[[\\/]]*) ;;
432 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
433 esac
434 ])
393435
394436 # Helper functions for option handling. -*- Autoconf -*-
395437
396 # Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation, Inc.
397 #
398 # This file is free software; the Free Software Foundation
399 # gives unlimited permission to copy and/or distribute it,
400 # with or without modifications, as long as this notice is preserved.
401
402 # serial 3
438 # Copyright (C) 2001, 2002, 2003, 2005, 2008 Free Software Foundation, Inc.
439 #
440 # This file is free software; the Free Software Foundation
441 # gives unlimited permission to copy and/or distribute it,
442 # with or without modifications, as long as this notice is preserved.
443
444 # serial 4
403445
404446 # _AM_MANGLE_OPTION(NAME)
405447 # -----------------------
416458 # ----------------------------------
417459 # OPTIONS is a space-separated list of Automake options.
418460 AC_DEFUN([_AM_SET_OPTIONS],
419 [AC_FOREACH([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
461 [m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
420462
421463 # _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET])
422464 # -------------------------------------------
426468
427469 # Check to make sure that the build environment is sane. -*- Autoconf -*-
428470
429 # Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005
471 # Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005, 2008
430472 # Free Software Foundation, Inc.
431473 #
432474 # This file is free software; the Free Software Foundation
433475 # gives unlimited permission to copy and/or distribute it,
434476 # with or without modifications, as long as this notice is preserved.
435477
436 # serial 4
478 # serial 5
437479
438480 # AM_SANITY_CHECK
439481 # ---------------
442484 # Just in case
443485 sleep 1
444486 echo timestamp > conftest.file
487 # Reject unsafe characters in $srcdir or the absolute working directory
488 # name. Accept space and tab only in the latter.
489 am_lf='
490 '
491 case `pwd` in
492 *[[\\\"\#\$\&\'\`$am_lf]]*)
493 AC_MSG_ERROR([unsafe absolute working directory name]);;
494 esac
495 case $srcdir in
496 *[[\\\"\#\$\&\'\`$am_lf\ \ ]]*)
497 AC_MSG_ERROR([unsafe srcdir value: `$srcdir']);;
498 esac
499
445500 # Do `set' in a subshell so we don't clobber the current shell's
446501 # arguments. Must try -L first in case configure is actually a
447502 # symlink; some systems play weird games with the mod time of symlinks
448503 # (eg FreeBSD returns the mod time of the symlink's containing
449504 # directory).
450505 if (
451 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
506 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
452507 if test "$[*]" = "X"; then
453508 # -L didn't work.
454 set X `ls -t $srcdir/configure conftest.file`
509 set X `ls -t "$srcdir/configure" conftest.file`
455510 fi
456511 rm -f conftest.file
457512 if test "$[*]" != "X $srcdir/configure conftest.file" \
501556 if test "$cross_compiling" != no; then
502557 AC_CHECK_TOOL([STRIP], [strip], :)
503558 fi
504 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
559 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
505560 AC_SUBST([INSTALL_STRIP_PROGRAM])])
561
562 # Copyright (C) 2006, 2008 Free Software Foundation, Inc.
563 #
564 # This file is free software; the Free Software Foundation
565 # gives unlimited permission to copy and/or distribute it,
566 # with or without modifications, as long as this notice is preserved.
567
568 # serial 2
569
570 # _AM_SUBST_NOTMAKE(VARIABLE)
571 # ---------------------------
572 # Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in.
573 # This macro is traced by Automake.
574 AC_DEFUN([_AM_SUBST_NOTMAKE])
575
576 # AM_SUBST_NOTMAKE(VARIABLE)
577 # ---------------------------
578 # Public sister of _AM_SUBST_NOTMAKE.
579 AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
506580
507581 # Check how to create a tarball. -*- Autoconf -*-
508582
0 @%:@! /bin/sh
1 @%:@ Guess values for system-dependent variables and create Makefiles.
2 @%:@ Generated by GNU Autoconf 2.65 for ibutils 1.5.7.
3 @%:@
4 @%:@ Report bugs to <linux-rdma@vger.kernel.org>.
5 @%:@
6 @%:@
7 @%:@ Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8 @%:@ 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
9 @%:@ Inc.
10 @%:@
11 @%:@
12 @%:@ This configure script is free software; the Free Software Foundation
13 @%:@ gives unlimited permission to copy, distribute and modify it.
14 ## -------------------- ##
15 ## M4sh Initialization. ##
16 ## -------------------- ##
17
18 # Be more Bourne compatible
19 DUALCASE=1; export DUALCASE # for MKS sh
20 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
21 emulate sh
22 NULLCMD=:
23 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
24 # is contrary to our usage. Disable this feature.
25 alias -g '${1+"$@"}'='"$@"'
26 setopt NO_GLOB_SUBST
27 else
28 case `(set -o) 2>/dev/null` in @%:@(
29 *posix*) :
30 set -o posix ;; @%:@(
31 *) :
32 ;;
33 esac
34 fi
35
36
37 as_nl='
38 '
39 export as_nl
40 # Printing a long string crashes Solaris 7 /usr/bin/printf.
41 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
44 # Prefer a ksh shell builtin over an external printf program on Solaris,
45 # but without wasting forks for bash or zsh.
46 if test -z "$BASH_VERSION$ZSH_VERSION" \
47 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo='print -r --'
49 as_echo_n='print -rn --'
50 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
51 as_echo='printf %s\n'
52 as_echo_n='printf %s'
53 else
54 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
55 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
56 as_echo_n='/usr/ucb/echo -n'
57 else
58 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
59 as_echo_n_body='eval
60 arg=$1;
61 case $arg in @%:@(
62 *"$as_nl"*)
63 expr "X$arg" : "X\\(.*\\)$as_nl";
64 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 esac;
66 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
67 '
68 export as_echo_n_body
69 as_echo_n='sh -c $as_echo_n_body as_echo'
70 fi
71 export as_echo_body
72 as_echo='sh -c $as_echo_body as_echo'
73 fi
74
75 # The user is always right.
76 if test "${PATH_SEPARATOR+set}" != set; then
77 PATH_SEPARATOR=:
78 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
79 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
80 PATH_SEPARATOR=';'
81 }
82 fi
83
84
85 # IFS
86 # We need space, tab and new line, in precisely that order. Quoting is
87 # there to prevent editors from complaining about space-tab.
88 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
89 # splitting by setting IFS to empty value.)
90 IFS=" "" $as_nl"
91
92 # Find who we are. Look in the path if we contain no directory separator.
93 case $0 in @%:@((
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 for as_dir in $PATH
97 do
98 IFS=$as_save_IFS
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
101 done
102 IFS=$as_save_IFS
103
104 ;;
105 esac
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x; then
109 as_myself=$0
110 fi
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 exit 1
114 fi
115
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\${$as_var+set} = xset \
122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
123 done
124 PS1='$ '
125 PS2='> '
126 PS4='+ '
127
128 # NLS nuisances.
129 LC_ALL=C
130 export LC_ALL
131 LANGUAGE=C
132 export LANGUAGE
133
134 # CDPATH.
135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
136
137 if test "x$CONFIG_SHELL" = x; then
138 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
139 emulate sh
140 NULLCMD=:
141 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
142 # is contrary to our usage. Disable this feature.
143 alias -g '\${1+\"\$@\"}'='\"\$@\"'
144 setopt NO_GLOB_SUBST
145 else
146 case \`(set -o) 2>/dev/null\` in @%:@(
147 *posix*) :
148 set -o posix ;; @%:@(
149 *) :
150 ;;
151 esac
152 fi
153 "
154 as_required="as_fn_return () { (exit \$1); }
155 as_fn_success () { as_fn_return 0; }
156 as_fn_failure () { as_fn_return 1; }
157 as_fn_ret_success () { return 0; }
158 as_fn_ret_failure () { return 1; }
159
160 exitcode=0
161 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
162 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
163 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
164 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
165 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
166
167 else
168 exitcode=1; echo positional parameters were not saved.
169 fi
170 test x\$exitcode = x0 || exit 1"
171 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
172 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
173 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
174 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1"
175 if (eval "$as_required") 2>/dev/null; then :
176 as_have_required=yes
177 else
178 as_have_required=no
179 fi
180 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
181
182 else
183 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
184 as_found=false
185 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
186 do
187 IFS=$as_save_IFS
188 test -z "$as_dir" && as_dir=.
189 as_found=:
190 case $as_dir in @%:@(
191 /*)
192 for as_base in sh bash ksh sh5; do
193 # Try only shells that exist, to save several forks.
194 as_shell=$as_dir/$as_base
195 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
196 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
197 CONFIG_SHELL=$as_shell as_have_required=yes
198 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
199 break 2
200 fi
201 fi
202 done;;
203 esac
204 as_found=false
205 done
206 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
207 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
208 CONFIG_SHELL=$SHELL as_have_required=yes
209 fi; }
210 IFS=$as_save_IFS
211
212
213 if test "x$CONFIG_SHELL" != x; then :
214 # We cannot yet assume a decent shell, so we have to provide a
215 # neutralization value for shells without unset; and this also
216 # works around shells that cannot unset nonexistent variables.
217 BASH_ENV=/dev/null
218 ENV=/dev/null
219 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
220 export CONFIG_SHELL
221 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
222 fi
223
224 if test x$as_have_required = xno; then :
225 $as_echo "$0: This script requires a shell more modern than all"
226 $as_echo "$0: the shells that I found on your system."
227 if test x${ZSH_VERSION+set} = xset ; then
228 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
229 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
230 else
231 $as_echo "$0: Please tell bug-autoconf@gnu.org and
232 $0: linux-rdma@vger.kernel.org about your system, including
233 $0: any error possibly output before this message. Then
234 $0: install a modern shell, or manually run the script
235 $0: under such a shell if you do have one."
236 fi
237 exit 1
238 fi
239 fi
240 fi
241 SHELL=${CONFIG_SHELL-/bin/sh}
242 export SHELL
243 # Unset more variables known to interfere with behavior of common tools.
244 CLICOLOR_FORCE= GREP_OPTIONS=
245 unset CLICOLOR_FORCE GREP_OPTIONS
246
247 ## --------------------- ##
248 ## M4sh Shell Functions. ##
249 ## --------------------- ##
250 @%:@ as_fn_unset VAR
251 @%:@ ---------------
252 @%:@ Portably unset VAR.
253 as_fn_unset ()
254 {
255 { eval $1=; unset $1;}
256 }
257 as_unset=as_fn_unset
258
259 @%:@ as_fn_set_status STATUS
260 @%:@ -----------------------
261 @%:@ Set @S|@? to STATUS, without forking.
262 as_fn_set_status ()
263 {
264 return $1
265 } @%:@ as_fn_set_status
266
267 @%:@ as_fn_exit STATUS
268 @%:@ -----------------
269 @%:@ Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
270 as_fn_exit ()
271 {
272 set +e
273 as_fn_set_status $1
274 exit $1
275 } @%:@ as_fn_exit
276
277 @%:@ as_fn_mkdir_p
278 @%:@ -------------
279 @%:@ Create "@S|@as_dir" as a directory, including parents if necessary.
280 as_fn_mkdir_p ()
281 {
282
283 case $as_dir in #(
284 -*) as_dir=./$as_dir;;
285 esac
286 test -d "$as_dir" || eval $as_mkdir_p || {
287 as_dirs=
288 while :; do
289 case $as_dir in #(
290 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
291 *) as_qdir=$as_dir;;
292 esac
293 as_dirs="'$as_qdir' $as_dirs"
294 as_dir=`$as_dirname -- "$as_dir" ||
295 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
296 X"$as_dir" : 'X\(//\)[^/]' \| \
297 X"$as_dir" : 'X\(//\)$' \| \
298 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
299 $as_echo X"$as_dir" |
300 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
301 s//\1/
302 q
303 }
304 /^X\(\/\/\)[^/].*/{
305 s//\1/
306 q
307 }
308 /^X\(\/\/\)$/{
309 s//\1/
310 q
311 }
312 /^X\(\/\).*/{
313 s//\1/
314 q
315 }
316 s/.*/./; q'`
317 test -d "$as_dir" && break
318 done
319 test -z "$as_dirs" || eval "mkdir $as_dirs"
320 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
321
322
323 } @%:@ as_fn_mkdir_p
324 @%:@ as_fn_append VAR VALUE
325 @%:@ ----------------------
326 @%:@ Append the text in VALUE to the end of the definition contained in VAR. Take
327 @%:@ advantage of any shell optimizations that allow amortized linear growth over
328 @%:@ repeated appends, instead of the typical quadratic growth present in naive
329 @%:@ implementations.
330 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
331 eval 'as_fn_append ()
332 {
333 eval $1+=\$2
334 }'
335 else
336 as_fn_append ()
337 {
338 eval $1=\$$1\$2
339 }
340 fi # as_fn_append
341
342 @%:@ as_fn_arith ARG...
343 @%:@ ------------------
344 @%:@ Perform arithmetic evaluation on the ARGs, and store the result in the
345 @%:@ global @S|@as_val. Take advantage of shells that can avoid forks. The arguments
346 @%:@ must be portable across @S|@(()) and expr.
347 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
348 eval 'as_fn_arith ()
349 {
350 as_val=$(( $* ))
351 }'
352 else
353 as_fn_arith ()
354 {
355 as_val=`expr "$@" || test $? -eq 1`
356 }
357 fi # as_fn_arith
358
359
360 @%:@ as_fn_error ERROR [LINENO LOG_FD]
361 @%:@ ---------------------------------
362 @%:@ Output "`basename @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are
363 @%:@ provided, also output the error to LOG_FD, referencing LINENO. Then exit the
364 @%:@ script with status @S|@?, using 1 if that was 0.
365 as_fn_error ()
366 {
367 as_status=$?; test $as_status -eq 0 && as_status=1
368 if test "$3"; then
369 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
370 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
371 fi
372 $as_echo "$as_me: error: $1" >&2
373 as_fn_exit $as_status
374 } @%:@ as_fn_error
375
376 if expr a : '\(a\)' >/dev/null 2>&1 &&
377 test "X`expr 00001 : '.*\(...\)'`" = X001; then
378 as_expr=expr
379 else
380 as_expr=false
381 fi
382
383 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
384 as_basename=basename
385 else
386 as_basename=false
387 fi
388
389 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
390 as_dirname=dirname
391 else
392 as_dirname=false
393 fi
394
395 as_me=`$as_basename -- "$0" ||
396 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
397 X"$0" : 'X\(//\)$' \| \
398 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
399 $as_echo X/"$0" |
400 sed '/^.*\/\([^/][^/]*\)\/*$/{
401 s//\1/
402 q
403 }
404 /^X\/\(\/\/\)$/{
405 s//\1/
406 q
407 }
408 /^X\/\(\/\).*/{
409 s//\1/
410 q
411 }
412 s/.*/./; q'`
413
414 # Avoid depending upon Character Ranges.
415 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
416 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
417 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
418 as_cr_digits='0123456789'
419 as_cr_alnum=$as_cr_Letters$as_cr_digits
420
421
422 as_lineno_1=$LINENO as_lineno_1a=$LINENO
423 as_lineno_2=$LINENO as_lineno_2a=$LINENO
424 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
425 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
426 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
427 sed -n '
428 p
429 /[$]LINENO/=
430 ' <$as_myself |
431 sed '
432 s/[$]LINENO.*/&-/
433 t lineno
434 b
435 :lineno
436 N
437 :loop
438 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
439 t loop
440 s/-\n.*//
441 ' >$as_me.lineno &&
442 chmod +x "$as_me.lineno" ||
443 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
444
445 # Don't try to exec as it changes $[0], causing all sort of problems
446 # (the dirname of $[0] is not the place where we might find the
447 # original and so on. Autoconf is especially sensitive to this).
448 . "./$as_me.lineno"
449 # Exit status is that of the last command.
450 exit
451 }
452
453 ECHO_C= ECHO_N= ECHO_T=
454 case `echo -n x` in @%:@(((((
455 -n*)
456 case `echo 'xy\c'` in
457 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
458 xy) ECHO_C='\c';;
459 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
460 ECHO_T=' ';;
461 esac;;
462 *)
463 ECHO_N='-n';;
464 esac
465
466 rm -f conf$$ conf$$.exe conf$$.file
467 if test -d conf$$.dir; then
468 rm -f conf$$.dir/conf$$.file
469 else
470 rm -f conf$$.dir
471 mkdir conf$$.dir 2>/dev/null
472 fi
473 if (echo >conf$$.file) 2>/dev/null; then
474 if ln -s conf$$.file conf$$ 2>/dev/null; then
475 as_ln_s='ln -s'
476 # ... but there are two gotchas:
477 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
478 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
479 # In both cases, we have to default to `cp -p'.
480 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
481 as_ln_s='cp -p'
482 elif ln conf$$.file conf$$ 2>/dev/null; then
483 as_ln_s=ln
484 else
485 as_ln_s='cp -p'
486 fi
487 else
488 as_ln_s='cp -p'
489 fi
490 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
491 rmdir conf$$.dir 2>/dev/null
492
493 if mkdir -p . 2>/dev/null; then
494 as_mkdir_p='mkdir -p "$as_dir"'
495 else
496 test -d ./-p && rmdir ./-p
497 as_mkdir_p=false
498 fi
499
500 if test -x / >/dev/null 2>&1; then
501 as_test_x='test -x'
502 else
503 if ls -dL / >/dev/null 2>&1; then
504 as_ls_L_option=L
505 else
506 as_ls_L_option=
507 fi
508 as_test_x='
509 eval sh -c '\''
510 if test -d "$1"; then
511 test -d "$1/.";
512 else
513 case $1 in @%:@(
514 -*)set "./$1";;
515 esac;
516 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in @%:@((
517 ???[sx]*):;;*)false;;esac;fi
518 '\'' sh
519 '
520 fi
521 as_executable_p=$as_test_x
522
523 # Sed expression to map a string onto a valid CPP name.
524 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
525
526 # Sed expression to map a string onto a valid variable name.
527 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
528
529
530 test -n "$DJDIR" || exec 7<&0 </dev/null
531 exec 6>&1
532
533 # Name of the host.
534 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
535 # so uname gets run too.
536 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
537
538 #
539 # Initializations.
540 #
541 ac_default_prefix=/usr/local
542 ac_clean_files=
543 ac_config_libobj_dir=.
544 LIB@&t@OBJS=
545 cross_compiling=no
546 subdirs=
547 MFLAGS=
548 MAKEFLAGS=
549
550 # Identity of this package.
551 PACKAGE_NAME='ibutils'
552 PACKAGE_TARNAME='ibutils'
553 PACKAGE_VERSION='1.5.7'
554 PACKAGE_STRING='ibutils 1.5.7'
555 PACKAGE_BUGREPORT='linux-rdma@vger.kernel.org'
556 PACKAGE_URL=''
557
558 enable_option_checking=no
559 ac_subst_vars='LTLIBOBJS
560 LIB@&t@OBJS
561 BUILD_IBMGTSIM_FALSE
562 BUILD_IBMGTSIM_TRUE
563 subdirs
564 OSM_BUILD
565 OSM_VENDOR
566 OSM_LDFLAGS
567 OSM_CFLAGS
568 with_osm
569 OSM_BUILD_OPENIB_FALSE
570 OSM_BUILD_OPENIB_TRUE
571 OSM_VENDOR_SIM_FALSE
572 OSM_VENDOR_SIM_TRUE
573 OSM_VENDOR_MTL_FALSE
574 OSM_VENDOR_MTL_TRUE
575 OSM_VENDOR_TS_FALSE
576 OSM_VENDOR_TS_TRUE
577 MAINT
578 MAINTAINER_MODE_FALSE
579 MAINTAINER_MODE_TRUE
580 am__untar
581 am__tar
582 AMTAR
583 am__leading_dot
584 SET_MAKE
585 AWK
586 mkdir_p
587 MKDIR_P
588 INSTALL_STRIP_PROGRAM
589 STRIP
590 install_sh
591 MAKEINFO
592 AUTOHEADER
593 AUTOMAKE
594 AUTOCONF
595 ACLOCAL
596 VERSION
597 PACKAGE
598 CYGPATH_W
599 am__isrc
600 INSTALL_DATA
601 INSTALL_SCRIPT
602 INSTALL_PROGRAM
603 target_alias
604 host_alias
605 build_alias
606 LIBS
607 ECHO_T
608 ECHO_N
609 ECHO_C
610 DEFS
611 mandir
612 localedir
613 libdir
614 psdir
615 pdfdir
616 dvidir
617 htmldir
618 infodir
619 docdir
620 oldincludedir
621 includedir
622 localstatedir
623 sharedstatedir
624 sysconfdir
625 datadir
626 datarootdir
627 libexecdir
628 sbindir
629 bindir
630 program_transform_name
631 prefix
632 exec_prefix
633 PACKAGE_URL
634 PACKAGE_BUGREPORT
635 PACKAGE_STRING
636 PACKAGE_VERSION
637 PACKAGE_TARNAME
638 PACKAGE_NAME
639 PATH_SEPARATOR
640 SHELL'
641 ac_subst_files=''
642 ac_user_opts='
643 enable_option_checking
644 enable_maintainer_mode
645 enable_debug
646 enable_libcheck
647 with_osm
648 with_osm_libs
649 enable_ibmgtsim
650 '
651 ac_precious_vars='build_alias
652 host_alias
653 target_alias'
654 ac_subdirs_all='ibis ibdm ibdiag
655 ibmgtsim'
656
657 # Initialize some variables set by options.
658 ac_init_help=
659 ac_init_version=false
660 ac_unrecognized_opts=
661 ac_unrecognized_sep=
662 # The variables have the same names as the options, with
663 # dashes changed to underlines.
664 cache_file=/dev/null
665 exec_prefix=NONE
666 no_create=
667 no_recursion=
668 prefix=NONE
669 program_prefix=NONE
670 program_suffix=NONE
671 program_transform_name=s,x,x,
672 silent=
673 site=
674 srcdir=
675 verbose=
676 x_includes=NONE
677 x_libraries=NONE
678
679 # Installation directory options.
680 # These are left unexpanded so users can "make install exec_prefix=/foo"
681 # and all the variables that are supposed to be based on exec_prefix
682 # by default will actually change.
683 # Use braces instead of parens because sh, perl, etc. also accept them.
684 # (The list follows the same order as the GNU Coding Standards.)
685 bindir='${exec_prefix}/bin'
686 sbindir='${exec_prefix}/sbin'
687 libexecdir='${exec_prefix}/libexec'
688 datarootdir='${prefix}/share'
689 datadir='${datarootdir}'
690 sysconfdir='${prefix}/etc'
691 sharedstatedir='${prefix}/com'
692 localstatedir='${prefix}/var'
693 includedir='${prefix}/include'
694 oldincludedir='/usr/include'
695 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
696 infodir='${datarootdir}/info'
697 htmldir='${docdir}'
698 dvidir='${docdir}'
699 pdfdir='${docdir}'
700 psdir='${docdir}'
701 libdir='${exec_prefix}/lib'
702 localedir='${datarootdir}/locale'
703 mandir='${datarootdir}/man'
704
705 ac_prev=
706 ac_dashdash=
707 for ac_option
708 do
709 # If the previous option needs an argument, assign it.
710 if test -n "$ac_prev"; then
711 eval $ac_prev=\$ac_option
712 ac_prev=
713 continue
714 fi
715
716 case $ac_option in
717 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
718 *) ac_optarg=yes ;;
719 esac
720
721 # Accept the important Cygnus configure options, so we can diagnose typos.
722
723 case $ac_dashdash$ac_option in
724 --)
725 ac_dashdash=yes ;;
726
727 -bindir | --bindir | --bindi | --bind | --bin | --bi)
728 ac_prev=bindir ;;
729 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
730 bindir=$ac_optarg ;;
731
732 -build | --build | --buil | --bui | --bu)
733 ac_prev=build_alias ;;
734 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
735 build_alias=$ac_optarg ;;
736
737 -cache-file | --cache-file | --cache-fil | --cache-fi \
738 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
739 ac_prev=cache_file ;;
740 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
741 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
742 cache_file=$ac_optarg ;;
743
744 --config-cache | -C)
745 cache_file=config.cache ;;
746
747 -datadir | --datadir | --datadi | --datad)
748 ac_prev=datadir ;;
749 -datadir=* | --datadir=* | --datadi=* | --datad=*)
750 datadir=$ac_optarg ;;
751
752 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
753 | --dataroo | --dataro | --datar)
754 ac_prev=datarootdir ;;
755 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
756 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
757 datarootdir=$ac_optarg ;;
758
759 -disable-* | --disable-*)
760 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
761 # Reject names that are not valid shell variable names.
762 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
763 as_fn_error "invalid feature name: $ac_useropt"
764 ac_useropt_orig=$ac_useropt
765 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
766 case $ac_user_opts in
767 *"
768 "enable_$ac_useropt"
769 "*) ;;
770 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
771 ac_unrecognized_sep=', ';;
772 esac
773 eval enable_$ac_useropt=no ;;
774
775 -docdir | --docdir | --docdi | --doc | --do)
776 ac_prev=docdir ;;
777 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
778 docdir=$ac_optarg ;;
779
780 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
781 ac_prev=dvidir ;;
782 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
783 dvidir=$ac_optarg ;;
784
785 -enable-* | --enable-*)
786 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
787 # Reject names that are not valid shell variable names.
788 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
789 as_fn_error "invalid feature name: $ac_useropt"
790 ac_useropt_orig=$ac_useropt
791 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
792 case $ac_user_opts in
793 *"
794 "enable_$ac_useropt"
795 "*) ;;
796 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
797 ac_unrecognized_sep=', ';;
798 esac
799 eval enable_$ac_useropt=\$ac_optarg ;;
800
801 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
802 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
803 | --exec | --exe | --ex)
804 ac_prev=exec_prefix ;;
805 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
806 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
807 | --exec=* | --exe=* | --ex=*)
808 exec_prefix=$ac_optarg ;;
809
810 -gas | --gas | --ga | --g)
811 # Obsolete; use --with-gas.
812 with_gas=yes ;;
813
814 -help | --help | --hel | --he | -h)
815 ac_init_help=long ;;
816 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
817 ac_init_help=recursive ;;
818 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
819 ac_init_help=short ;;
820
821 -host | --host | --hos | --ho)
822 ac_prev=host_alias ;;
823 -host=* | --host=* | --hos=* | --ho=*)
824 host_alias=$ac_optarg ;;
825
826 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
827 ac_prev=htmldir ;;
828 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
829 | --ht=*)
830 htmldir=$ac_optarg ;;
831
832 -includedir | --includedir | --includedi | --included | --include \
833 | --includ | --inclu | --incl | --inc)
834 ac_prev=includedir ;;
835 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
836 | --includ=* | --inclu=* | --incl=* | --inc=*)
837 includedir=$ac_optarg ;;
838
839 -infodir | --infodir | --infodi | --infod | --info | --inf)
840 ac_prev=infodir ;;
841 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
842 infodir=$ac_optarg ;;
843
844 -libdir | --libdir | --libdi | --libd)
845 ac_prev=libdir ;;
846 -libdir=* | --libdir=* | --libdi=* | --libd=*)
847 libdir=$ac_optarg ;;
848
849 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
850 | --libexe | --libex | --libe)
851 ac_prev=libexecdir ;;
852 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
853 | --libexe=* | --libex=* | --libe=*)
854 libexecdir=$ac_optarg ;;
855
856 -localedir | --localedir | --localedi | --localed | --locale)
857 ac_prev=localedir ;;
858 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
859 localedir=$ac_optarg ;;
860
861 -localstatedir | --localstatedir | --localstatedi | --localstated \
862 | --localstate | --localstat | --localsta | --localst | --locals)
863 ac_prev=localstatedir ;;
864 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
865 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
866 localstatedir=$ac_optarg ;;
867
868 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
869 ac_prev=mandir ;;
870 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
871 mandir=$ac_optarg ;;
872
873 -nfp | --nfp | --nf)
874 # Obsolete; use --without-fp.
875 with_fp=no ;;
876
877 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
878 | --no-cr | --no-c | -n)
879 no_create=yes ;;
880
881 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
882 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
883 no_recursion=yes ;;
884
885 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
886 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
887 | --oldin | --oldi | --old | --ol | --o)
888 ac_prev=oldincludedir ;;
889 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
890 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
891 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
892 oldincludedir=$ac_optarg ;;
893
894 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
895 ac_prev=prefix ;;
896 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
897 prefix=$ac_optarg ;;
898
899 -program-prefix | --program-prefix | --program-prefi | --program-pref \
900 | --program-pre | --program-pr | --program-p)
901 ac_prev=program_prefix ;;
902 -program-prefix=* | --program-prefix=* | --program-prefi=* \
903 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
904 program_prefix=$ac_optarg ;;
905
906 -program-suffix | --program-suffix | --program-suffi | --program-suff \
907 | --program-suf | --program-su | --program-s)
908 ac_prev=program_suffix ;;
909 -program-suffix=* | --program-suffix=* | --program-suffi=* \
910 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
911 program_suffix=$ac_optarg ;;
912
913 -program-transform-name | --program-transform-name \
914 | --program-transform-nam | --program-transform-na \
915 | --program-transform-n | --program-transform- \
916 | --program-transform | --program-transfor \
917 | --program-transfo | --program-transf \
918 | --program-trans | --program-tran \
919 | --progr-tra | --program-tr | --program-t)
920 ac_prev=program_transform_name ;;
921 -program-transform-name=* | --program-transform-name=* \
922 | --program-transform-nam=* | --program-transform-na=* \
923 | --program-transform-n=* | --program-transform-=* \
924 | --program-transform=* | --program-transfor=* \
925 | --program-transfo=* | --program-transf=* \
926 | --program-trans=* | --program-tran=* \
927 | --progr-tra=* | --program-tr=* | --program-t=*)
928 program_transform_name=$ac_optarg ;;
929
930 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
931 ac_prev=pdfdir ;;
932 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
933 pdfdir=$ac_optarg ;;
934
935 -psdir | --psdir | --psdi | --psd | --ps)
936 ac_prev=psdir ;;
937 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
938 psdir=$ac_optarg ;;
939
940 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
941 | -silent | --silent | --silen | --sile | --sil)
942 silent=yes ;;
943
944 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
945 ac_prev=sbindir ;;
946 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
947 | --sbi=* | --sb=*)
948 sbindir=$ac_optarg ;;
949
950 -sharedstatedir | --sharedstatedir | --sharedstatedi \
951 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
952 | --sharedst | --shareds | --shared | --share | --shar \
953 | --sha | --sh)
954 ac_prev=sharedstatedir ;;
955 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
956 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
957 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
958 | --sha=* | --sh=*)
959 sharedstatedir=$ac_optarg ;;
960
961 -site | --site | --sit)
962 ac_prev=site ;;
963 -site=* | --site=* | --sit=*)
964 site=$ac_optarg ;;
965
966 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
967 ac_prev=srcdir ;;
968 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
969 srcdir=$ac_optarg ;;
970
971 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
972 | --syscon | --sysco | --sysc | --sys | --sy)
973 ac_prev=sysconfdir ;;
974 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
975 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
976 sysconfdir=$ac_optarg ;;
977
978 -target | --target | --targe | --targ | --tar | --ta | --t)
979 ac_prev=target_alias ;;
980 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
981 target_alias=$ac_optarg ;;
982
983 -v | -verbose | --verbose | --verbos | --verbo | --verb)
984 verbose=yes ;;
985
986 -version | --version | --versio | --versi | --vers | -V)
987 ac_init_version=: ;;
988
989 -with-* | --with-*)
990 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
991 # Reject names that are not valid shell variable names.
992 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
993 as_fn_error "invalid package name: $ac_useropt"
994 ac_useropt_orig=$ac_useropt
995 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
996 case $ac_user_opts in
997 *"
998 "with_$ac_useropt"
999 "*) ;;
1000 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1001 ac_unrecognized_sep=', ';;
1002 esac
1003 eval with_$ac_useropt=\$ac_optarg ;;
1004
1005 -without-* | --without-*)
1006 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1007 # Reject names that are not valid shell variable names.
1008 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1009 as_fn_error "invalid package name: $ac_useropt"
1010 ac_useropt_orig=$ac_useropt
1011 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1012 case $ac_user_opts in
1013 *"
1014 "with_$ac_useropt"
1015 "*) ;;
1016 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1017 ac_unrecognized_sep=', ';;
1018 esac
1019 eval with_$ac_useropt=no ;;
1020
1021 --x)
1022 # Obsolete; use --with-x.
1023 with_x=yes ;;
1024
1025 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1026 | --x-incl | --x-inc | --x-in | --x-i)
1027 ac_prev=x_includes ;;
1028 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1029 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1030 x_includes=$ac_optarg ;;
1031
1032 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1033 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1034 ac_prev=x_libraries ;;
1035 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1036 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1037 x_libraries=$ac_optarg ;;
1038
1039 -*) as_fn_error "unrecognized option: \`$ac_option'
1040 Try \`$0 --help' for more information."
1041 ;;
1042
1043 *=*)
1044 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1045 # Reject names that are not valid shell variable names.
1046 case $ac_envvar in #(
1047 '' | [0-9]* | *[!_$as_cr_alnum]* )
1048 as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1049 esac
1050 eval $ac_envvar=\$ac_optarg
1051 export $ac_envvar ;;
1052
1053 *)
1054 # FIXME: should be removed in autoconf 3.0.
1055 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1056 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1057 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1058 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1059 ;;
1060
1061 esac
1062 done
1063
1064 if test -n "$ac_prev"; then
1065 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1066 as_fn_error "missing argument to $ac_option"
1067 fi
1068
1069 if test -n "$ac_unrecognized_opts"; then
1070 case $enable_option_checking in
1071 no) ;;
1072 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1073 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1074 esac
1075 fi
1076
1077 # Check all directory arguments for consistency.
1078 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1079 datadir sysconfdir sharedstatedir localstatedir includedir \
1080 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1081 libdir localedir mandir
1082 do
1083 eval ac_val=\$$ac_var
1084 # Remove trailing slashes.
1085 case $ac_val in
1086 */ )
1087 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1088 eval $ac_var=\$ac_val;;
1089 esac
1090 # Be sure to have absolute directory names.
1091 case $ac_val in
1092 [\\/$]* | ?:[\\/]* ) continue;;
1093 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1094 esac
1095 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1096 done
1097
1098 # There might be people who depend on the old broken behavior: `$host'
1099 # used to hold the argument of --host etc.
1100 # FIXME: To remove some day.
1101 build=$build_alias
1102 host=$host_alias
1103 target=$target_alias
1104
1105 # FIXME: To remove some day.
1106 if test "x$host_alias" != x; then
1107 if test "x$build_alias" = x; then
1108 cross_compiling=maybe
1109 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1110 If a cross compiler is detected then cross compile mode will be used." >&2
1111 elif test "x$build_alias" != "x$host_alias"; then
1112 cross_compiling=yes
1113 fi
1114 fi
1115
1116 ac_tool_prefix=
1117 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1118
1119 test "$silent" = yes && exec 6>/dev/null
1120
1121
1122 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1123 ac_ls_di=`ls -di .` &&
1124 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1125 as_fn_error "working directory cannot be determined"
1126 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1127 as_fn_error "pwd does not report name of working directory"
1128
1129
1130 # Find the source files, if location was not specified.
1131 if test -z "$srcdir"; then
1132 ac_srcdir_defaulted=yes
1133 # Try the directory containing this script, then the parent directory.
1134 ac_confdir=`$as_dirname -- "$as_myself" ||
1135 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1136 X"$as_myself" : 'X\(//\)[^/]' \| \
1137 X"$as_myself" : 'X\(//\)$' \| \
1138 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1139 $as_echo X"$as_myself" |
1140 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1141 s//\1/
1142 q
1143 }
1144 /^X\(\/\/\)[^/].*/{
1145 s//\1/
1146 q
1147 }
1148 /^X\(\/\/\)$/{
1149 s//\1/
1150 q
1151 }
1152 /^X\(\/\).*/{
1153 s//\1/
1154 q
1155 }
1156 s/.*/./; q'`
1157 srcdir=$ac_confdir
1158 if test ! -r "$srcdir/$ac_unique_file"; then
1159 srcdir=..
1160 fi
1161 else
1162 ac_srcdir_defaulted=no
1163 fi
1164 if test ! -r "$srcdir/$ac_unique_file"; then
1165 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1166 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1167 fi
1168 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1169 ac_abs_confdir=`(
1170 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1171 pwd)`
1172 # When building in place, set srcdir=.
1173 if test "$ac_abs_confdir" = "$ac_pwd"; then
1174 srcdir=.
1175 fi
1176 # Remove unnecessary trailing slashes from srcdir.
1177 # Double slashes in file names in object file debugging info
1178 # mess up M-x gdb in Emacs.
1179 case $srcdir in
1180 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1181 esac
1182 for ac_var in $ac_precious_vars; do
1183 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1184 eval ac_env_${ac_var}_value=\$${ac_var}
1185 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1186 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1187 done
1188
1189 #
1190 # Report the --help message.
1191 #
1192 if test "$ac_init_help" = "long"; then
1193 # Omit some internal or obsolete options to make the list less imposing.
1194 # This message is too long to be a string in the A/UX 3.1 sh.
1195 cat <<_ACEOF
1196 \`configure' configures ibutils 1.5.7 to adapt to many kinds of systems.
1197
1198 Usage: $0 [OPTION]... [VAR=VALUE]...
1199
1200 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1201 VAR=VALUE. See below for descriptions of some of the useful variables.
1202
1203 Defaults for the options are specified in brackets.
1204
1205 Configuration:
1206 -h, --help display this help and exit
1207 --help=short display options specific to this package
1208 --help=recursive display the short help of all the included packages
1209 -V, --version display version information and exit
1210 -q, --quiet, --silent do not print \`checking...' messages
1211 --cache-file=FILE cache test results in FILE [disabled]
1212 -C, --config-cache alias for \`--cache-file=config.cache'
1213 -n, --no-create do not create output files
1214 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1215
1216 Installation directories:
1217 --prefix=PREFIX install architecture-independent files in PREFIX
1218 @<:@@S|@ac_default_prefix@:>@
1219 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1220 @<:@PREFIX@:>@
1221
1222 By default, \`make install' will install all the files in
1223 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1224 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1225 for instance \`--prefix=\$HOME'.
1226
1227 For better control, use the options below.
1228
1229 Fine tuning of the installation directories:
1230 --bindir=DIR user executables [EPREFIX/bin]
1231 --sbindir=DIR system admin executables [EPREFIX/sbin]
1232 --libexecdir=DIR program executables [EPREFIX/libexec]
1233 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1234 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1235 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1236 --libdir=DIR object code libraries [EPREFIX/lib]
1237 --includedir=DIR C header files [PREFIX/include]
1238 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1239 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1240 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1241 --infodir=DIR info documentation [DATAROOTDIR/info]
1242 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1243 --mandir=DIR man documentation [DATAROOTDIR/man]
1244 --docdir=DIR documentation root @<:@DATAROOTDIR/doc/ibutils@:>@
1245 --htmldir=DIR html documentation [DOCDIR]
1246 --dvidir=DIR dvi documentation [DOCDIR]
1247 --pdfdir=DIR pdf documentation [DOCDIR]
1248 --psdir=DIR ps documentation [DOCDIR]
1249 _ACEOF
1250
1251 cat <<\_ACEOF
1252
1253 Program names:
1254 --program-prefix=PREFIX prepend PREFIX to installed program names
1255 --program-suffix=SUFFIX append SUFFIX to installed program names
1256 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1257 _ACEOF
1258 fi
1259
1260 if test -n "$ac_init_help"; then
1261 case $ac_init_help in
1262 short | recursive ) echo "Configuration of ibutils 1.5.7:";;
1263 esac
1264 cat <<\_ACEOF
1265
1266 Optional Features:
1267 --disable-option-checking ignore unrecognized --enable/--with options
1268 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1269 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1270 --enable-maintainer-mode enable make rules and dependencies not useful
1271 (and sometimes confusing) to the casual installer
1272 --enable-debug Turn on debugging
1273 --enable-libcheck Enable Dependency Checking
1274 --enable-ibmgtsim Build ibmgtsim
1275
1276 Optional Packages:
1277 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1278 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1279 --with-osm=<dir> define OSM prefix
1280 --with-osm-libs=<dir> define where to find OSM libs
1281
1282 Report bugs to <linux-rdma@vger.kernel.org>.
1283 _ACEOF
1284 ac_status=$?
1285 fi
1286
1287 if test "$ac_init_help" = "recursive"; then
1288 # If there are subdirs, report their specific --help.
1289 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1290 test -d "$ac_dir" ||
1291 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1292 continue
1293 ac_builddir=.
1294
1295 case "$ac_dir" in
1296 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1297 *)
1298 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1299 # A ".." for each directory in $ac_dir_suffix.
1300 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1301 case $ac_top_builddir_sub in
1302 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1303 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1304 esac ;;
1305 esac
1306 ac_abs_top_builddir=$ac_pwd
1307 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1308 # for backward compatibility:
1309 ac_top_builddir=$ac_top_build_prefix
1310
1311 case $srcdir in
1312 .) # We are building in place.
1313 ac_srcdir=.
1314 ac_top_srcdir=$ac_top_builddir_sub
1315 ac_abs_top_srcdir=$ac_pwd ;;
1316 [\\/]* | ?:[\\/]* ) # Absolute name.
1317 ac_srcdir=$srcdir$ac_dir_suffix;
1318 ac_top_srcdir=$srcdir
1319 ac_abs_top_srcdir=$srcdir ;;
1320 *) # Relative name.
1321 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1322 ac_top_srcdir=$ac_top_build_prefix$srcdir
1323 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1324 esac
1325 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1326
1327 cd "$ac_dir" || { ac_status=$?; continue; }
1328 # Check for guested configure.
1329 if test -f "$ac_srcdir/configure.gnu"; then
1330 echo &&
1331 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1332 elif test -f "$ac_srcdir/configure"; then
1333 echo &&
1334 $SHELL "$ac_srcdir/configure" --help=recursive
1335 else
1336 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1337 fi || ac_status=$?
1338 cd "$ac_pwd" || { ac_status=$?; break; }
1339 done
1340 fi
1341
1342 test -n "$ac_init_help" && exit $ac_status
1343 if $ac_init_version; then
1344 cat <<\_ACEOF
1345 ibutils configure 1.5.7
1346 generated by GNU Autoconf 2.65
1347
1348 Copyright (C) 2009 Free Software Foundation, Inc.
1349 This configure script is free software; the Free Software Foundation
1350 gives unlimited permission to copy, distribute and modify it.
1351 _ACEOF
1352 exit
1353 fi
1354
1355 ## ------------------------ ##
1356 ## Autoconf initialization. ##
1357 ## ------------------------ ##
1358 cat >config.log <<_ACEOF
1359 This file contains any messages produced by compilers while
1360 running configure, to aid debugging if configure makes a mistake.
1361
1362 It was created by ibutils $as_me 1.5.7, which was
1363 generated by GNU Autoconf 2.65. Invocation command line was
1364
1365 $ $0 $@
1366
1367 _ACEOF
1368 exec 5>>config.log
1369 {
1370 cat <<_ASUNAME
1371 ## --------- ##
1372 ## Platform. ##
1373 ## --------- ##
1374
1375 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1376 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1377 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1378 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1379 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1380
1381 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1382 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1383
1384 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1385 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1386 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1387 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1388 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1389 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1390 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1391
1392 _ASUNAME
1393
1394 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1395 for as_dir in $PATH
1396 do
1397 IFS=$as_save_IFS
1398 test -z "$as_dir" && as_dir=.
1399 $as_echo "PATH: $as_dir"
1400 done
1401 IFS=$as_save_IFS